Commit 3d8a80095317f12541c66e54dddb65ffcdb1e332
1 parent
712ef41a
feat: 经销标准合同 -新增&编辑-底部dom移入uni-list里-解决日期组件被 foot(提交合计等)遮盖问题
Showing
2 changed files
with
52 additions
and
50 deletions
| @@ -178,41 +178,42 @@ | @@ -178,41 +178,42 @@ | ||
| 178 | <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | 178 | <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> |
| 179 | </template> | 179 | </template> |
| 180 | </uni-list-item> | 180 | </uni-list-item> |
| 181 | + <view class="footer"> | ||
| 182 | + <div class="total"> | ||
| 183 | + <div class="total-text"> | ||
| 184 | + 合计 | ||
| 185 | + </div> | ||
| 186 | + <div class="total-item"> | ||
| 187 | + <div class="total-item-text"> | ||
| 188 | + 数量 | ||
| 189 | + </div> | ||
| 190 | + <div class="total-item-price"> | ||
| 191 | + {{ (totalQuantity || 0).toFixed(2) }}kg | ||
| 192 | + </div> | ||
| 193 | + </div> | ||
| 194 | + <div class="total-item"> | ||
| 195 | + <div class="total-item-text"> | ||
| 196 | + 不含税金额 | ||
| 197 | + </div> | ||
| 198 | + <div class="total-item-price text-red"> | ||
| 199 | + ¥{{ (totalAmountExcludingTax || 0).toFixed(2) }} | ||
| 200 | + </div> | ||
| 201 | + </div> | ||
| 202 | + <div class="total-item"> | ||
| 203 | + <div class="total-item-text"> | ||
| 204 | + 总金额 | ||
| 205 | + </div> | ||
| 206 | + <div class="total-item-price text-red"> | ||
| 207 | + ¥{{ (totalAmountIncludingTax || 0).toFixed(2) }} | ||
| 208 | + </div> | ||
| 209 | + </div> | ||
| 210 | + </div> | ||
| 211 | + <button class="btn submit" type="primary" @click="onSubmit">提交</button> | ||
| 212 | + </view> | ||
| 181 | </uni-list> | 213 | </uni-list> |
| 182 | 214 | ||
| 183 | </scroll-view> | 215 | </scroll-view> |
| 184 | - <view class="footer"> | ||
| 185 | - <div class="total"> | ||
| 186 | - <div class="total-text"> | ||
| 187 | - 合计 | ||
| 188 | - </div> | ||
| 189 | - <div class="total-item"> | ||
| 190 | - <div class="total-item-text"> | ||
| 191 | - 数量 | ||
| 192 | - </div> | ||
| 193 | - <div class="total-item-price"> | ||
| 194 | - {{ (totalQuantity || 0).toFixed(2) }}kg | ||
| 195 | - </div> | ||
| 196 | - </div> | ||
| 197 | - <div class="total-item"> | ||
| 198 | - <div class="total-item-text"> | ||
| 199 | - 不含税金额 | ||
| 200 | - </div> | ||
| 201 | - <div class="total-item-price text-red"> | ||
| 202 | - ¥{{ (totalAmountExcludingTax || 0).toFixed(2) }} | ||
| 203 | - </div> | ||
| 204 | - </div> | ||
| 205 | - <div class="total-item"> | ||
| 206 | - <div class="total-item-text"> | ||
| 207 | - 总金额 | ||
| 208 | - </div> | ||
| 209 | - <div class="total-item-price text-red"> | ||
| 210 | - ¥{{ (totalAmountIncludingTax || 0).toFixed(2) }} | ||
| 211 | - </div> | ||
| 212 | - </div> | ||
| 213 | - </div> | ||
| 214 | - <button class="btn submit" type="primary" @click="onSubmit">提交</button> | ||
| 215 | - </view> | 216 | + |
| 216 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" | 217 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" |
| 217 | v-model="sheet.value" @confirm="onSheetConfirm" /> | 218 | v-model="sheet.value" @confirm="onSheetConfirm" /> |
| 218 | <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" | 219 | <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" |
| @@ -177,26 +177,27 @@ | @@ -177,26 +177,27 @@ | ||
| 177 | <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | 177 | <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> |
| 178 | </template> | 178 | </template> |
| 179 | </uni-list-item> | 179 | </uni-list-item> |
| 180 | + <view class="footer"> | ||
| 181 | + <div class="total"> | ||
| 182 | + <div class="total-text">合计</div> | ||
| 183 | + <div class="total-item"> | ||
| 184 | + <div class="total-item-text">数量</div> | ||
| 185 | + <div class="total-item-price">{{ (totalQuantity || 0).toFixed(2) }}kg</div> | ||
| 186 | + </div> | ||
| 187 | + <div class="total-item"> | ||
| 188 | + <div class="total-item-text">不含税金额</div> | ||
| 189 | + <div class="total-item-price text-red">¥{{ (totalAmountExcludingTax || 0).toFixed(2) }}</div> | ||
| 190 | + </div> | ||
| 191 | + <div class="total-item"> | ||
| 192 | + <div class="total-item-text">总金额</div> | ||
| 193 | + <div class="total-item-price text-red">¥{{ (totalAmountIncludingTax || 0).toFixed(2) }}</div> | ||
| 194 | + </div> | ||
| 195 | + </div> | ||
| 196 | + <button class="btn submit" type="primary" @click="onSubmit">保存</button> | ||
| 197 | + </view> | ||
| 180 | </uni-list> | 198 | </uni-list> |
| 181 | </scroll-view> | 199 | </scroll-view> |
| 182 | - <view class="footer"> | ||
| 183 | - <div class="total"> | ||
| 184 | - <div class="total-text">合计</div> | ||
| 185 | - <div class="total-item"> | ||
| 186 | - <div class="total-item-text">数量</div> | ||
| 187 | - <div class="total-item-price">{{ (totalQuantity || 0).toFixed(2) }}kg</div> | ||
| 188 | - </div> | ||
| 189 | - <div class="total-item"> | ||
| 190 | - <div class="total-item-text">不含税金额</div> | ||
| 191 | - <div class="total-item-price text-red">¥{{ (totalAmountExcludingTax || 0).toFixed(2) }}</div> | ||
| 192 | - </div> | ||
| 193 | - <div class="total-item"> | ||
| 194 | - <div class="total-item-text">总金额</div> | ||
| 195 | - <div class="total-item-price text-red">¥{{ (totalAmountIncludingTax || 0).toFixed(2) }}</div> | ||
| 196 | - </div> | ||
| 197 | - </div> | ||
| 198 | - <button class="btn submit" type="primary" @click="onSubmit">保存</button> | ||
| 199 | - </view> | 200 | + |
| 200 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" | 201 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" |
| 201 | v-model="sheet.value" @confirm="onSheetConfirm" /> | 202 | v-model="sheet.value" @confirm="onSheetConfirm" /> |
| 202 | <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" | 203 | <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" |