diff --git a/app/service/gzt.js b/app/service/gzt.js index c926ab3..5aaad43 100644 --- a/app/service/gzt.js +++ b/app/service/gzt.js @@ -220,7 +220,7 @@ class Gzt extends Service { await this._packWmsOrder(gzt, order, sid); } else if (order.FLAG != 0 || order.ISLOCK == 1) { ctx.logger.info(`[scan] 订单-已拦截/取消,拒绝打包 | barcode=${barcode} | FLAG=${order.FLAG} | ISLOCK=${order.ISLOCK}`); - this._push(sid, 'msg', '订单已拦截/取消,禁止打包'); + this._push(sid, 'msg', '订单拦截'); } else if (order.PLSENDFLAG === 0) { ctx.logger.info(`[scan] 订单-未复核,拒绝打包 | barcode=${barcode} | PLSENDFLAG=${order.PLSENDFLAG}`); this._push(sid, 'msg', '订单未复核'); @@ -291,12 +291,12 @@ class Gzt extends Service { const check = this.ctx.service.newWms.checkOrderStatus(order); if (check.intercepted) { ctx.logger.info(`[scan] 外部WMS订单已拦截/取消,拒绝打包 | POSTNUM=${order.POSTNUM} | status=${order.status} | intercept_flag=${order.intercept_flag}`); - this._push(sid, 'msg', '订单已拦截/取消,禁止打包'); + this._push(sid, 'msg', '订单拦截'); return; } if (check.packed) { ctx.logger.info(`[scan] 外部WMS订单已打包,跳过回传 | POSTNUM=${order.POSTNUM} | pack_flag=${order.pack_flag} | pack_status=${order.pack_status}`); - this._push(sid, 'msg', '订单已打包,请勿重复打包'); + this._push(sid, 'msg', '订单已打包'); return; } // 设置工作台ID,使用 gzt 表的 other_id