解决单据跳转的时候的无法加载供应商和客户的bug
This commit is contained in:
@@ -394,19 +394,18 @@
|
||||
}
|
||||
this.materialTable.dataSource = listEx
|
||||
///给优惠后金额重新赋值
|
||||
if(allTaxLastMoney) {
|
||||
let discountLastMoney = (allTaxLastMoney).toFixed(2)-0
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue({
|
||||
'organId': organId,
|
||||
'linkNumber': linkNumber,
|
||||
'getAmount': discountLastMoney,
|
||||
'changeAmount': discountLastMoney,
|
||||
'backAmount': 0,
|
||||
'remark': remark
|
||||
})
|
||||
allTaxLastMoney = allTaxLastMoney?allTaxLastMoney:0
|
||||
let discountLastMoney = (allTaxLastMoney).toFixed(2)-0
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue({
|
||||
'organId': organId,
|
||||
'linkNumber': linkNumber,
|
||||
'getAmount': discountLastMoney,
|
||||
'changeAmount': discountLastMoney,
|
||||
'backAmount': 0,
|
||||
'remark': remark
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user