MaiXinRong 4 月之前
父节点
当前提交
73e62d9ff2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/revise_pos.js

+ 1 - 1
app/service/revise_pos.js

@@ -162,7 +162,7 @@ module.exports = app => {
         }
 
         async updatePos(tid, data) {
-            if (data.sgfh_qty !== undefined || data.sjcl_qty !== undefined || data.qtcl_qty !== undefined) {
+            if (data.sgfh_qty !== undefined || data.sjcl_qty !== undefined || data.qtcl_qty !== undefined || data.ex_qty1 !== undefined) {
                 const op = await this.getDataById(data.id);
                 const bills = await this.ctx.service.reviseBills.getDataById(op.lid);
                 const billsPos = await this.getAllDataByCondition({where: {tid: tid, lid: op.lid} });