|
|
|
@ -2614,7 +2614,6 @@
|
|
|
|
|
let query = {
|
|
|
|
|
warehousingPoundList: storageList
|
|
|
|
|
}
|
|
|
|
|
debugger
|
|
|
|
|
request({
|
|
|
|
|
url: `/api/scm/WarehousingStorage/getWarehousingstorageoutboundPoundlist`,
|
|
|
|
|
method: 'post',
|
|
|
|
@ -2626,33 +2625,33 @@
|
|
|
|
|
//扣杂
|
|
|
|
|
item.bucklesWeight = 0;
|
|
|
|
|
//小计重量
|
|
|
|
|
item.subtotalWeight = this.jnpf.floatSub(item.netWeight, item.bucklesWeight);
|
|
|
|
|
item.subtotalWeight = this.jnpf.floatSub(item.netWeight, item.bucklesWeight).toFixed(2);
|
|
|
|
|
//合同小计(含税)
|
|
|
|
|
item.contractSubtotal = this.jnpf.floatMul(Number(item.subtotalWeight), Number(item.contractPrice));
|
|
|
|
|
item.contractSubtotal = this.jnpf.floatMul(Number(item.subtotalWeight), Number(item.contractPrice)).toFixed(2);
|
|
|
|
|
//结算数量
|
|
|
|
|
item.settlementSum = Number(item.subtotalWeight);
|
|
|
|
|
//结算单价(含税)
|
|
|
|
|
item.settlementPrice = Number(item.settlementPrice);
|
|
|
|
|
//结算小计(含税)
|
|
|
|
|
item.settlementSubtotal = this.jnpf.floatMul(Number(item.settlementSum), Number(item.settlementPrice));
|
|
|
|
|
item.settlementSubtotal = this.jnpf.floatMul(Number(item.settlementSum), Number(item.settlementPrice)).toFixed(2);
|
|
|
|
|
//结算单价(不含税)
|
|
|
|
|
item.settlementPriceNo = this.jnpf.floatDiv(Number(item.settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(item.rate)), 100));
|
|
|
|
|
item.settlementPriceNo = this.jnpf.floatDiv(Number(item.settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(item.rate)), 100)).toFixed(2);
|
|
|
|
|
//结算小计(不含税)
|
|
|
|
|
item.settlementSubtotalNo = this.jnpf.floatMul(Number(item.settlementSum), Number(item.settlementPriceNo));
|
|
|
|
|
item.settlementSubtotalNo = this.jnpf.floatMul(Number(item.settlementSum), Number(item.settlementPriceNo)).toFixed(2);
|
|
|
|
|
//其他费用类型(1:增加(+) 2:减少(-))
|
|
|
|
|
item.otherType = '1';
|
|
|
|
|
//其他费用
|
|
|
|
|
item.otherExpenses = 0;
|
|
|
|
|
if(item.otherType == '1'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
item.settlementTotal = this.jnpf.floatAdd(item.settlementSubtotal, item.otherExpenses);
|
|
|
|
|
item.settlementTotal = this.jnpf.floatAdd(item.settlementSubtotal, item.otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
item.settlementTotalNo = this.jnpf.floatAdd(item.settlementSubtotalNo, item.otherExpenses);
|
|
|
|
|
item.settlementTotalNo = this.jnpf.floatAdd(item.settlementSubtotalNo, item.otherExpenses).toFixed(2);
|
|
|
|
|
}else if(item.otherType == '2'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
item.settlementTotal = this.jnpf.floatSub(item.settlementSubtotal, item.otherExpenses);
|
|
|
|
|
item.settlementTotal = this.jnpf.floatSub(item.settlementSubtotal, item.otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
item.settlementTotalNo = this.jnpf.floatSub(item.settlementSubtotalNo, item.otherExpenses);
|
|
|
|
|
item.settlementTotalNo = this.jnpf.floatSub(item.settlementSubtotalNo, item.otherExpenses).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -2660,18 +2659,18 @@
|
|
|
|
|
},
|
|
|
|
|
bucklesWeightChangeData(row, index){
|
|
|
|
|
//小计重量
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].subtotalWeight = this.jnpf.floatSub(Number(this.dataForm.cwaccountvoucherList[index].netWeight), Number(this.dataForm.cwaccountvoucherList[index].bucklesWeight));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].subtotalWeight = this.jnpf.floatSub(Number(this.dataForm.cwaccountvoucherList[index].netWeight), Number(this.dataForm.cwaccountvoucherList[index].bucklesWeight)).toFixed(2);
|
|
|
|
|
//合同小计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].contractSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].subtotalWeight), Number(this.dataForm.cwaccountvoucherList[index].contractPrice));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].contractSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].subtotalWeight), Number(this.dataForm.cwaccountvoucherList[index].contractPrice)).toFixed(2);
|
|
|
|
|
//结算数量
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSum = this.dataForm.cwaccountvoucherList[index].subtotalWeight;
|
|
|
|
|
//结算小计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice)).toFixed(2);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPrice = Number(this.dataForm.cwaccountvoucherList[index].contractPrice);
|
|
|
|
|
//结算单价(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100)).toFixed(2);
|
|
|
|
|
//结算小计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo)).toFixed(2);
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.dataForm.cwaccountvoucherList[index].settlementSubtotal;
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
@ -2702,60 +2701,60 @@
|
|
|
|
|
//结算单价(含税)
|
|
|
|
|
//item.settlementPrice = Number(item.contractPrice);
|
|
|
|
|
//结算小计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice)).toFixed(2);
|
|
|
|
|
//结算单价(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100)).toFixed(2);
|
|
|
|
|
//结算小计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo)).toFixed(2);
|
|
|
|
|
//其他费用类型(1:增加(+) 2:减少(-))
|
|
|
|
|
if(this.dataForm.cwaccountvoucherList[index].otherType == '1'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}else if(this.dataForm.cwaccountvoucherList[index].otherType == '2'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
settlementSubtotalChange(row, index){
|
|
|
|
|
//结算数量
|
|
|
|
|
//item.settlementSum = Number(item.subtotalWeight);
|
|
|
|
|
//结算单价(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPrice = this.jnpf.floatDiv(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].settlementSum);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPrice = this.jnpf.floatDiv(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].settlementSum).toFixed(2);
|
|
|
|
|
//结算小计(含税)
|
|
|
|
|
//this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice));
|
|
|
|
|
//this.dataForm.cwaccountvoucherList[index].settlementSubtotal = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPrice)).toFixed(2);
|
|
|
|
|
//结算单价(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementPriceNo = this.jnpf.floatDiv(Number(this.dataForm.cwaccountvoucherList[index].settlementPrice), this.jnpf.floatDiv(this.jnpf.floatAdd(100 + Number(this.dataForm.cwaccountvoucherList[index].rate)), 100)).toFixed(2);
|
|
|
|
|
//结算小计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo));
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo = this.jnpf.floatMul(Number(this.dataForm.cwaccountvoucherList[index].settlementSum), Number(this.dataForm.cwaccountvoucherList[index].settlementPriceNo)).toFixed(2);
|
|
|
|
|
//其他费用类型(1:增加(+) 2:减少(-))
|
|
|
|
|
if(this.dataForm.cwaccountvoucherList[index].otherType == '1'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}else if(this.dataForm.cwaccountvoucherList[index].otherType == '2'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
otherTypeChange(row, index){
|
|
|
|
|
//其他费用类型(1:增加(+) 2:减少(-))
|
|
|
|
|
if(this.dataForm.cwaccountvoucherList[index].otherType == '1'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatAdd(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}else if(this.dataForm.cwaccountvoucherList[index].otherType == '2'){
|
|
|
|
|
//结算合计(含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotal = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotal, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
//结算合计(不含税)
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses);
|
|
|
|
|
this.dataForm.cwaccountvoucherList[index].settlementTotalNo = this.jnpf.floatSub(this.dataForm.cwaccountvoucherList[index].settlementSubtotalNo, this.dataForm.cwaccountvoucherList[index].otherExpenses).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
delcwaccountvoucherList(index) {
|
|
|
|
@ -2782,15 +2781,15 @@
|
|
|
|
|
return item.productId === cur.productId
|
|
|
|
|
})
|
|
|
|
|
if (found) {
|
|
|
|
|
found.settlementSum = this.jnpf.floatAdd(Number(found.settlementSum), Number(cur.settlementSum));
|
|
|
|
|
found.settlementSubtotal = this.jnpf.floatAdd(Number(found.settlementSubtotal), Number(cur.settlementSubtotal));
|
|
|
|
|
found.settlementSubtotalNo = this.jnpf.floatAdd(Number(found.settlementSubtotalNo), Number(cur.settlementSubtotalNo));
|
|
|
|
|
found.settlementTotal = this.jnpf.floatAdd(Number(found.settlementTotal), Number(cur.settlementTotal));
|
|
|
|
|
found.settlementTotalNo = this.jnpf.floatAdd(Number(found.settlementTotalNo), Number(cur.settlementTotalNo));
|
|
|
|
|
found.settlementSum = this.jnpf.floatAdd(Number(found.settlementSum), Number(cur.settlementSum)).toFixed(2);
|
|
|
|
|
found.settlementSubtotal = this.jnpf.floatAdd(Number(found.settlementSubtotal), Number(cur.settlementSubtotal)).toFixed(2);
|
|
|
|
|
found.settlementSubtotalNo = this.jnpf.floatAdd(Number(found.settlementSubtotalNo), Number(cur.settlementSubtotalNo)).toFixed(2);
|
|
|
|
|
found.settlementTotal = this.jnpf.floatAdd(Number(found.settlementTotal), Number(cur.settlementTotal)).toFixed(2);
|
|
|
|
|
found.settlementTotalNo = this.jnpf.floatAdd(Number(found.settlementTotalNo), Number(cur.settlementTotalNo)).toFixed(2);
|
|
|
|
|
if(cur.otherType == '1'){
|
|
|
|
|
found.otherExpenses = this.jnpf.floatAdd(Number(found.otherExpenses), Number(cur.otherExpenses));
|
|
|
|
|
found.otherExpenses = this.jnpf.floatAdd(Number(found.otherExpenses), Number(cur.otherExpenses)).toFixed(2);
|
|
|
|
|
}else if(cur.otherType == '2'){
|
|
|
|
|
found.otherExpenses = this.jnpf.floatSub(Number(found.otherExpenses), Number(cur.otherExpenses));
|
|
|
|
|
found.otherExpenses = this.jnpf.floatSub(Number(found.otherExpenses), Number(cur.otherExpenses)).toFixed(2);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
acc.push({ productId: cur.productId, productName: cur.productName, spec:cur.spec, rate:cur.rate, settlementSum: cur.settlementSum, settlementTotal: cur.settlementTotal, settlementUnit: cur.unit, settlementPrice: cur.settlementPrice, settlementSubtotal: cur.settlementSubtotal, settlementPriceNo: cur.settlementPriceNo, settlementSubtotalNo: cur.settlementSubtotalNo, otherType: cur.otherType, otherExpenses: cur.otherExpenses, settlementTotal: cur.settlementTotal, settlementTotalNo: cur.settlementTotalNo})
|
|
|
|
@ -2810,8 +2809,8 @@
|
|
|
|
|
}
|
|
|
|
|
this.dataForm.cwaccountsummaryList = this.sameReduce(this.dataForm.cwaccountvoucherList);
|
|
|
|
|
this.dataForm.cwaccountsummaryList.forEach(item => {
|
|
|
|
|
item.settlementPrice = this.jnpf.floatDiv(item.settlementSubtotal, item.settlementSum);
|
|
|
|
|
item.settlementPriceNo = this.jnpf.floatDiv(item.settlementSubtotalNo, item.settlementSum);
|
|
|
|
|
item.settlementPrice = this.jnpf.floatDiv(item.settlementSubtotal, item.settlementSum).toFixed(2);
|
|
|
|
|
item.settlementPriceNo = this.jnpf.floatDiv(item.settlementSubtotalNo, item.settlementSum).toFixed(2);
|
|
|
|
|
})
|
|
|
|
|
/* let item = {
|
|
|
|
|
productId: undefined,
|
|
|
|
|