|
@@ -962,8 +962,8 @@ module.exports = app => {
|
|
|
audit_amount: audit_amount.join(','),
|
|
|
};
|
|
|
if (nextAudits.length === 0) {
|
|
|
- list_update.samount = bl.spamount;
|
|
|
- list_update.checked_amount = bl.spamount;
|
|
|
+ list_update.samount = bl.spamount || 0;
|
|
|
+ list_update.checked_amount = bl.spamount || 0;
|
|
|
list_update.checked_price = this.ctx.helper.mul(bl.unit_price, list_update.checked_amount, tp_decimal);
|
|
|
// 统计计价和不计价金额
|
|
|
valuation_tp = bl.is_valuation ? this.ctx.helper.add(valuation_tp, list_update.checked_price) : valuation_tp;
|