|
@ -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; |
|
|