|
@@ -1231,10 +1231,10 @@ module.exports = app => {
|
|
|
for (const cl of changeList) {
|
|
|
const audit_amount = cl.audit_amount.split(',');
|
|
|
const last_amount = audit_amount[audit_amount.length - 1] ? audit_amount[audit_amount.length - 1] : 0;
|
|
|
- audit_amount.splice(-1, 1);
|
|
|
+ // audit_amount.splice(-1, 1);
|
|
|
const list_update = {
|
|
|
id: cl.id,
|
|
|
- audit_amount: audit_amount.join(','),
|
|
|
+ // audit_amount: audit_amount.join(','),
|
|
|
spamount: parseFloat(last_amount),
|
|
|
};
|
|
|
total_price = this.ctx.helper.add(total_price, this.ctx.helper.mul(cl.unit_price, parseFloat(last_amount), tp_decimal));
|