Browse Source

修改扫描提示

hella_online_20240803
lijuncheng 3 months ago
parent
commit
64bc62b1a3
  1. 8
      src/mycomponents/scan/winScanPackAndLocation.vue
  2. 3
      src/pages/putaway/job/putawayDetail.vue

8
src/mycomponents/scan/winScanPackAndLocation.vue

@ -458,7 +458,11 @@
getQueryCondition() { getQueryCondition() {
let condition = '按照以下条件:\n'; let condition = '按照以下条件:\n';
let label = this.scanResult.label; 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) { switch (this.managementPrecision) {
case 'BY_PACKAGING': case 'BY_PACKAGING':
condition = condition + '物料号=[' + label.itemCode + ']\n箱码=[' + label.packingNumber + condition = condition + '物料号=[' + label.itemCode + ']\n箱码=[' + label.packingNumber +
@ -479,7 +483,7 @@
condition = condition + '物料号=[' + label.itemCode + ']' condition = condition + '物料号=[' + label.itemCode + ']'
break; break;
} }
if (this.inventoryStatus.length > 0) { if (status) {
condition = condition + '\n库存状态=[' + status + ']' condition = condition + '\n库存状态=[' + status + ']'
} }
return condition; return condition;

3
src/pages/putaway/job/putawayDetail.vue

@ -43,7 +43,8 @@
</winScanPackAndLocationNoBalance> --> </winScanPackAndLocationNoBalance> -->
<winScanPackAndLocation :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult' <winScanPackAndLocation :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult'
:noShowBalanceMessage="true">
:noShowBalanceMessage="false">
</winScanPackAndLocation> </winScanPackAndLocation>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>

Loading…
Cancel
Save