解决单据关联跳转的时候优化金额计算精度的问题
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
selectType: 'list',
|
||||
linkNumber: '',
|
||||
organId: '',
|
||||
discount: '',
|
||||
discountMoney: '',
|
||||
deposit: '',
|
||||
remark: '',
|
||||
queryParam: {
|
||||
@@ -261,7 +261,7 @@
|
||||
let record = this.selectBillRows[0]
|
||||
this.linkNumber = record.number
|
||||
this.organId = record.organId
|
||||
this.discount = record.discount
|
||||
this.discountMoney = record.discountMoney
|
||||
this.deposit = record.changeAmount - record.finishDeposit
|
||||
this.remark = record.remark
|
||||
this.loadDetailData(1)
|
||||
@@ -269,7 +269,7 @@
|
||||
} else {
|
||||
if(this.selectedDetailRowKeys.length) {
|
||||
this.getSelectBillDetailRows()
|
||||
this.$emit('ok', this.selectBillDetailRows, this.linkNumber, this.organId, this.discount, this.deposit, this.remark)
|
||||
this.$emit('ok', this.selectBillDetailRows, this.linkNumber, this.organId, this.discountMoney, this.deposit, this.remark)
|
||||
this.close()
|
||||
} else {
|
||||
this.$message.warning('抱歉,请选择单据明细!')
|
||||
|
||||
Reference in New Issue
Block a user