解决单据明细中重复商品进行批次发货遇到的问题
This commit is contained in:
parent
d453c659cc
commit
f0ecf2b7c2
@ -280,7 +280,8 @@
|
||||
{ title: '税率', key: 'taxRate', width: '3%', type: FormTypes.inputNumber,placeholder: '%'},
|
||||
{ title: '税额', key: 'taxMoney', width: '5%', type: FormTypes.inputNumber, readonly: true, statistics: true },
|
||||
{ title: '价税合计', key: 'taxLastMoney', width: '5%', type: FormTypes.inputNumber, statistics: true },
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input },
|
||||
{ title: '关联id', key: 'linkId', width: '5%', type: FormTypes.hidden },
|
||||
]
|
||||
},
|
||||
confirmLoading: false,
|
||||
@ -425,6 +426,7 @@
|
||||
info.taxMoney = (info.allPrice*taxRate/100).toFixed(2)-0
|
||||
info.taxLastMoney = (info.allPrice + info.taxMoney).toFixed(2)-0
|
||||
}
|
||||
info.linkId = info.id
|
||||
allTaxLastMoney += info.taxLastMoney
|
||||
listEx.push(info)
|
||||
this.changeColumnShow(info)
|
||||
|
||||
@ -212,7 +212,8 @@
|
||||
{ title: '税率', key: 'taxRate', width: '3%', type: FormTypes.inputNumber,placeholder: '%'},
|
||||
{ title: '税额', key: 'taxMoney', width: '5%', type: FormTypes.inputNumber, readonly: true, statistics: true },
|
||||
{ title: '价税合计', key: 'taxLastMoney', width: '5%', type: FormTypes.inputNumber, statistics: true },
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input}
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input},
|
||||
{ title: '关联id', key: 'linkId', width: '5%', type: FormTypes.hidden },
|
||||
]
|
||||
},
|
||||
confirmLoading: false,
|
||||
@ -334,6 +335,7 @@
|
||||
info.taxLastMoney = info.allPrice
|
||||
discountLastMoney += info.allPrice
|
||||
}
|
||||
info.linkId = info.id
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue({
|
||||
|
||||
@ -284,7 +284,8 @@
|
||||
{ title: '税率', key: 'taxRate', width: '3%', type: FormTypes.inputNumber,placeholder: '%'},
|
||||
{ title: '税额', key: 'taxMoney', width: '5%', type: FormTypes.inputNumber, readonly: true, statistics: true },
|
||||
{ title: '价税合计', key: 'taxLastMoney', width: '5%', type: FormTypes.inputNumber, statistics: true },
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input },
|
||||
{ title: '关联id', key: 'linkId', width: '5%', type: FormTypes.hidden },
|
||||
]
|
||||
},
|
||||
confirmLoading: false,
|
||||
@ -431,6 +432,7 @@
|
||||
info.taxMoney = (info.allPrice*taxRate/100).toFixed(2)-0
|
||||
info.taxLastMoney = (info.allPrice + info.taxMoney).toFixed(2)-0
|
||||
}
|
||||
info.linkId = info.id
|
||||
allTaxLastMoney += info.taxLastMoney
|
||||
listEx.push(info)
|
||||
this.changeColumnShow(info)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user