|
@@ -502,18 +502,17 @@ const setGoBack=async (item)=>{
|
|
|
showLoading()
|
|
showLoading()
|
|
|
const apiCall = mode.value ? boxReturn : taskContinue
|
|
const apiCall = mode.value ? boxReturn : taskContinue
|
|
|
const params = mode.value
|
|
const params = mode.value
|
|
|
- ? {warehouse,container,boxCode,externalCode:asnCode,stationCode,locationId,taskType:'ASRS'}
|
|
|
|
|
- : {warehouse, boxCode, stationCode, externalCode: asnCode, emptyRobot: false}
|
|
|
|
|
- const boxRes= await apiCall(params).then(res=>{
|
|
|
|
|
- if(!mode.value && stationCode && dataList.value[0]?.remainBoxCount==1 ){
|
|
|
|
|
- const params = {warehouse, stationCode, taskCode: equipment}
|
|
|
|
|
- releaseCustomTaskStation(params).then(res=>{})
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(err=>{
|
|
|
|
|
|
|
+ ? {warehouse,container,boxCode:workBinNo.value,externalCode:asnCode,stationCode,locationId,taskType:'ASRS'}
|
|
|
|
|
+ : {warehouse, boxCode:workBinNo.value, stationCode, externalCode: asnCode, emptyRobot: false}
|
|
|
|
|
+ const boxRes= await apiCall(params).catch(err=>{
|
|
|
closeLoading()
|
|
closeLoading()
|
|
|
})
|
|
})
|
|
|
closeLoading()
|
|
closeLoading()
|
|
|
if(boxRes){
|
|
if(boxRes){
|
|
|
|
|
+ if(!mode.value && stationCode && dataList.value[0]?.remainBoxCount==1 ){
|
|
|
|
|
+ const params = {warehouse, stationCode, taskCode: equipment}
|
|
|
|
|
+ releaseCustomTaskStation(params).then(res=>{})
|
|
|
|
|
+ }
|
|
|
reset()
|
|
reset()
|
|
|
barcodeActive.value={}
|
|
barcodeActive.value={}
|
|
|
workBinNo.value=''
|
|
workBinNo.value=''
|