|
@@ -342,8 +342,8 @@ module.exports = app => {
|
|
|
cl.detail,
|
|
|
cl.lid,
|
|
|
];
|
|
|
- ototalCost += ctx.helper.accMul(cl.unit_price, cl.oamount);
|
|
|
- ctotalCost += ctx.helper.accMul(cl.unit_price, cl.camount);
|
|
|
+ ototalCost += ctx.helper.mul(cl.unit_price, cl.oamount, ctx.tender.info.decimal.tp);
|
|
|
+ ctotalCost += ctx.helper.mul(cl.unit_price, cl.camount, ctx.tender.info.decimal.tp);
|
|
|
if (cl.lid !== 0) {
|
|
|
changeListData.push(cLArray.join(';'));
|
|
|
} else {
|