|
@@ -856,6 +856,8 @@ module.exports = app => {
|
|
|
};
|
|
|
if (postData.audit_next_id === undefined) {
|
|
|
list_update.samount = amount !== null ? amount : '';
|
|
|
+ list_update.checked_amount = amount !== null ? parseFloat(amount) : 0;
|
|
|
+ list_update.checked_price = amount !== null ? this.ctx.helper.mul(changeListInfo.unit_price, list_update.checked_amount, tp_decimal) : 0;
|
|
|
}
|
|
|
await this.transaction.update(this.ctx.service.changeAuditList.tableName, list_update);
|
|
|
}
|