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