|
@@ -645,7 +645,7 @@ const _getRecommendedLocation = async (item, options = {}) => {
|
|
|
const uniqueLocationIds = fromChangeLocation ? getExcludedLocationIds(excludedLocations.value) : undefined
|
|
const uniqueLocationIds = fromChangeLocation ? getExcludedLocationIds(excludedLocations.value) : undefined
|
|
|
try {
|
|
try {
|
|
|
const total = barcodeQuantity(barcodeActiveList.value)
|
|
const total = barcodeQuantity(barcodeActiveList.value)
|
|
|
- const statisticsKey=barcodeActiveList.value[0].taskNo+'_'+barcodeActiveList.value[0].lotNumber
|
|
|
|
|
|
|
+ const statisticsKey=barcodeActiveList.value[0].taskNo || barcodeActiveList.value[0].businessNo +'_'+barcodeActiveList.value[0].lotNumber
|
|
|
const params = { warehouse, lotNum: lotNumber, owner, sku, qty: total, lotAtt08}
|
|
const params = { warehouse, lotNum: lotNumber, owner, sku, qty: total, lotAtt08}
|
|
|
if (locationType.value) params.locationUse = locationType.value
|
|
if (locationType.value) params.locationUse = locationType.value
|
|
|
if (options.changeTypeName) params.locationType = options.changeTypeName
|
|
if (options.changeTypeName) params.locationType = options.changeTypeName
|