|
|
@@ -111,10 +111,10 @@ import { androidFocus, getHeader, goBack, playVoiceBin, scanError, scanSuccess }
|
|
|
import InputBarcode from '@/views/outbound/picking/components/InputBarcode.vue'
|
|
|
import { closeListener, openListener, scanInit } from '@/utils/keydownListener'
|
|
|
import { useStore } from '@/store/modules/user'
|
|
|
-import { finishTask, getRecommendedLocation, getWaitPutawayList, setBindAllocateWall } from '@/api/haikang'
|
|
|
+import { getRecommendedLocation } from '@/api/haikang'
|
|
|
import { barcodeToUpperCase } from '@/utils/dataType'
|
|
|
import { closeLoading, showLoading } from '@/utils/loading'
|
|
|
-import { getWaitPutawayInfo, getWaitPutawayListNew } from '@/api/putaway'
|
|
|
+import { getWaitPutawayListNew } from '@/api/putaway'
|
|
|
import { bindAllocateWall } from '@/api/robot'
|
|
|
try {
|
|
|
getHeader()
|
|
|
@@ -419,7 +419,7 @@ const setLocation = (item) => {
|
|
|
container: containerNo.value,
|
|
|
barcode: barcodeActive.value.barcode,
|
|
|
bin: bin.value,
|
|
|
- location: locationActive.value[0].location,
|
|
|
+ location: [locationActive.value[0].location],
|
|
|
lotNum: barcodeActive.value.lotNumber,
|
|
|
sysVersion: 'V6'
|
|
|
}
|
|
|
@@ -430,7 +430,7 @@ const setLocation = (item) => {
|
|
|
// 提交格口绑定数据
|
|
|
const submitBinBinding = (data, storedData) => {
|
|
|
showLoading()
|
|
|
- setBindAllocateWall(data).then(() => {
|
|
|
+ bindAllocateWall(data).then(() => {
|
|
|
// 接口请求成功后再缓存数据
|
|
|
saveBinStorageData(storedData)
|
|
|
tips.value = `请将${searchBarcode.value},放入分拨墙-${wallNo.value}-《${data.bin}》格口`
|