瀏覽代碼

修复计算bug

laiguoran 4 年之前
父節點
當前提交
b3d168009b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/change_audit_list.js

+ 1 - 1
app/service/change_audit_list.js

@@ -133,7 +133,7 @@ module.exports = app => {
                 // 判断是否可删
                 await transaction.delete(this.tableName, { id });
                 // 重新算变更令总额
-                // await this.calcQuantityByML(transaction, mb_id);
+                await this.calcCamountSum(transaction);
                 await transaction.commit();
                 return true;
             } catch (err) {