|
|
@ -211,15 +211,21 @@ export function byPacking(label, locationCode, fromInventoryStatuses, callback) |
|
|
|
action: "==", |
|
|
|
value: locationCode |
|
|
|
}) |
|
|
|
if (fromInventoryStatuses != null && fromInventoryStatuses != "") { |
|
|
|
if (fromInventoryStatuses) { |
|
|
|
var status = "" |
|
|
|
fromInventoryStatuses.forEach(res => { |
|
|
|
status = res + "," |
|
|
|
}) |
|
|
|
|
|
|
|
filters.push({ |
|
|
|
column: "inventoryStatus", |
|
|
|
action: "in", |
|
|
|
value: fromInventoryStatuses |
|
|
|
value: status |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var params = { |
|
|
|
filters: filters, |
|
|
|
pageNo: 1, |
|
|
@ -274,11 +280,16 @@ export function byBatch(label, locationCode, fromInventoryStatuses, callback) { |
|
|
|
value: locationCode |
|
|
|
}) |
|
|
|
|
|
|
|
if (fromInventoryStatuses != null && fromInventoryStatuses != "") { |
|
|
|
if (fromInventoryStatuses) { |
|
|
|
var status = "" |
|
|
|
fromInventoryStatuses.forEach(res => { |
|
|
|
status = res + "," |
|
|
|
}) |
|
|
|
|
|
|
|
filters.push({ |
|
|
|
column: "inventoryStatus", |
|
|
|
action: "in", |
|
|
|
value: fromInventoryStatuses |
|
|
|
value: status |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
@ -346,11 +357,16 @@ export function byQuantity(label, locationCode, fromInventoryStatuses, callback) |
|
|
|
value: locationCode |
|
|
|
}) |
|
|
|
|
|
|
|
if (fromInventoryStatuses != null && fromInventoryStatuses != "") { |
|
|
|
if (fromInventoryStatuses) { |
|
|
|
var status = "" |
|
|
|
fromInventoryStatuses.forEach(res => { |
|
|
|
status = res + "," |
|
|
|
}) |
|
|
|
|
|
|
|
filters.push({ |
|
|
|
column: "inventoryStatus", |
|
|
|
action: "in", |
|
|
|
value: fromInventoryStatuses |
|
|
|
value: status |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
@ -400,11 +416,16 @@ export function byUniqueId(label, locationCode, fromInventoryStatuses, callback) |
|
|
|
value: label.packingNumber |
|
|
|
}) |
|
|
|
|
|
|
|
if (fromInventoryStatuses != null && fromInventoryStatuses != "") { |
|
|
|
if (fromInventoryStatuses) { |
|
|
|
var status = "" |
|
|
|
fromInventoryStatuses.forEach(res => { |
|
|
|
status = res + "," |
|
|
|
}) |
|
|
|
|
|
|
|
filters.push({ |
|
|
|
column: "inventoryStatus", |
|
|
|
action: "in", |
|
|
|
value: fromInventoryStatuses |
|
|
|
value: status |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|