|
|
@@ -284,7 +284,7 @@ const matchingBarcodeItem = (data, barcode) => {
|
|
|
// 获取库存数据
|
|
|
const _getRecommendedLocation = async (lotNum, owner) => {
|
|
|
try {
|
|
|
- const params = { warehouse, lotNum, owner,zoneGroup:'WH01-02-01' }
|
|
|
+ const params = { warehouse, lotNum, owner,zoneGroup:'WH01-02' }
|
|
|
const res = await getRecommendedLocation(params)
|
|
|
locationList.value = res.data
|
|
|
// 'EA'数据
|
|
|
@@ -477,7 +477,7 @@ const executeReleaseWall = (storedData, hasCache) => {
|
|
|
}
|
|
|
saveBinStorageData(storedData)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 重置相关状态
|
|
|
bin.value = ''
|
|
|
searchBarcode.value = ''
|
|
|
@@ -507,7 +507,7 @@ const handleReleaseWall = () => {
|
|
|
// 获取存储的数据并检查是否有该分拨墙的绑定数据
|
|
|
const storedData = getBinStorageData()
|
|
|
const containerList = []
|
|
|
-
|
|
|
+
|
|
|
for (const container in storedData) {
|
|
|
if (storedData[container][wallNo.value] && Object.keys(storedData[container][wallNo.value]).length > 0) {
|
|
|
containerList.push(container)
|
|
|
@@ -515,7 +515,7 @@ const handleReleaseWall = () => {
|
|
|
}
|
|
|
|
|
|
const hasCache = containerList.length > 0
|
|
|
- const message = hasCache
|
|
|
+ const message = hasCache
|
|
|
? `确定要释放分拨墙 ${wallNo.value} 吗?\n将会删除以下容器的分拨墙数据:\n${containerList.join(', ')}`
|
|
|
: `确定要释放分拨墙 ${wallNo.value} 吗?`
|
|
|
|