MaiXinRong 4 months ago
parent
commit
73e62d9ff2
1 changed files with 1 additions and 1 deletions
  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) {
         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 op = await this.getDataById(data.id);
                 const bills = await this.ctx.service.reviseBills.getDataById(op.lid);
                 const bills = await this.ctx.service.reviseBills.getDataById(op.lid);
                 const billsPos = await this.getAllDataByCondition({where: {tid: tid, lid: op.lid} });
                 const billsPos = await this.getAllDataByCondition({where: {tid: tid, lid: op.lid} });