"eladmin-common/git@ustchcs.com:gujinli1118/eladmin.git" did not exist on "6c5e7061fe5f06afe3a5b8a2162a0b4dc0d517c0"
Commit c9c0bbc5 authored by 季圣华's avatar 季圣华
Browse files

解决组装拆卸单的多选商品的bug

parent a3415ea4
...@@ -278,6 +278,12 @@ export const BillModalMixin = { ...@@ -278,6 +278,12 @@ export const BillModalMixin = {
let taxLastMoneyTotal = 0 let taxLastMoneyTotal = 0
for (let j = 0; j < mArr.length; j++) { for (let j = 0; j < mArr.length; j++) {
taxLastMoneyTotal += mArr[j].taxLastMoney-0 taxLastMoneyTotal += mArr[j].taxLastMoney-0
//组合和拆分单据给商品类型进行重新赋值
if(j===0) {
mArr[0].mType = '组合件'
} else {
mArr[j].mType = '普通子件'
}
} }
this.materialTable.dataSource = mArr this.materialTable.dataSource = mArr
target.statisticsColumns.taxLastMoney = taxLastMoneyTotal target.statisticsColumns.taxLastMoney = taxLastMoneyTotal
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment