优化单据的查看界面

This commit is contained in:
季圣华 2022-06-01 00:18:57 +08:00
parent cee119c213
commit feb5b0ee38

View File

@ -1398,7 +1398,7 @@
} else {
this.model.getAmount = this.model.changeAmount
}
this.model.debt = (this.model.discountLastMoney + this.model.otherMoney - this.model.deposit - this.model.changeAmount).toFixed(2)
this.model.debt = (this.model.discountLastMoney + this.model.otherMoney - (this.model.deposit + this.model.changeAmount)).toFixed(2)
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'id'))
});