|
|
@@ -583,7 +583,8 @@ const _getRecommendedLocation = async (item, options = {}) => {
|
|
|
? [...new Set(listByLot.map(loc => loc.locationId).filter(Boolean))]
|
|
|
: undefined
|
|
|
try {
|
|
|
- const params = { warehouse, lotNum: lotNumber, owner, sku, qty: quantity, lotAtt08 }
|
|
|
+ const total = barcodeQuantity(barcodeActiveList.value)
|
|
|
+ const params = { warehouse, lotNum: lotNumber, owner, sku, qty: total, lotAtt08 }
|
|
|
if (locationType.value) params.locationUse = locationType.value
|
|
|
if (fromChangeLocation && uniqueLocationIds) params.excludedLocations = uniqueLocationIds
|
|
|
if (containerNo.value?.includes('TH-')) params.scene = 'RETURN_SHELVE'
|