Browse Source

完善销售订单

master
yunuo970428 11 months ago
parent
commit
13f6cda852
  1. 4
      src/views/salesOrder/salesOrderAdd.vue

4
src/views/salesOrder/salesOrderAdd.vue

@ -641,8 +641,10 @@ export default {
const choose = this.bankAccount_list.filter((item) => item.dictKey === value) const choose = this.bankAccount_list.filter((item) => item.dictKey === value)
if (choose !== null && choose.length > 0) { if (choose !== null && choose.length > 0) {
this.formobj.bankAccount = choose[0].dictValue this.formobj.bankAccount = choose[0].dictValue
this.formobj.accounts = []
} else { } else {
this.formobj.bankAccount = '' this.formobj.bankAccount = ''
this.formobj.accounts = []
} }
}, },
// //
@ -893,6 +895,8 @@ export default {
row.taxTotalAmount = Math.round((parseFloat(row.unTaxPrice) * parseFloat(row.count !== '' ? row.count : '0')) * 100) / 100 row.taxTotalAmount = Math.round((parseFloat(row.unTaxPrice) * parseFloat(row.count !== '' ? row.count : '0')) * 100) / 100
}, },
handleAccount() { handleAccount() {
this.formobj.bankAccount = ''
this.formobj.bankAccountKey = ''
this.dialogVisible = true this.dialogVisible = true
const aa = [] const aa = []
if (this.bankAccount_list.length > 0) { if (this.bankAccount_list.length > 0) {

Loading…
Cancel
Save