diff --git a/src/mycomponents/scan/winScanPackAndLocation.vue b/src/mycomponents/scan/winScanPackAndLocation.vue index 60c9b134..2a9a8253 100644 --- a/src/mycomponents/scan/winScanPackAndLocation.vue +++ b/src/mycomponents/scan/winScanPackAndLocation.vue @@ -458,7 +458,11 @@ getQueryCondition() { let condition = '按照以下条件:\n'; let label = this.scanResult.label; - let status = getInventoryStatusDesc(this.inventoryStatus); + var isShowStatus = this.balanceFromInventoryStatuses ? this.fromInventoryStatuses : undefined + if(isShowStatus){ + let status = getInventoryStatusDesc(isShowStatus); + } + switch (this.managementPrecision) { case 'BY_PACKAGING': condition = condition + '物料号=[' + label.itemCode + ']\n箱码=[' + label.packingNumber + @@ -479,7 +483,7 @@ condition = condition + '物料号=[' + label.itemCode + ']' break; } - if (this.inventoryStatus.length > 0) { + if (status) { condition = condition + '\n库存状态=[' + status + ']' } return condition; diff --git a/src/pages/putaway/job/putawayDetail.vue b/src/pages/putaway/job/putawayDetail.vue index 80540675..2c3eb71f 100644 --- a/src/pages/putaway/job/putawayDetail.vue +++ b/src/pages/putaway/job/putawayDetail.vue @@ -43,7 +43,8 @@ --> + + :noShowBalanceMessage="false">