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} });