zhaohuanhuan 3 долоо хоног өмнө
parent
commit
8961926880

+ 2 - 2
src/views/haikang/putaway/putaway/index.vue

@@ -465,7 +465,7 @@ const setPutaway=async (type)=>{
           ? boxReturn
           ? boxReturn
           : taskContinue
           : taskContinue
         const params = mode.value
         const params = mode.value
-          ? {warehouse,container,boxCode:workBinNo.value,stationCode,locationId,externalCode:asnCode,taskType:'ASRS'}
+          ? {warehouse,container,boxCode:workBinNo.value,stationCode,locationId,externalCode:equipment,taskType:'ASRS'}
           : {warehouse, boxCode: workBinNo.value, stationCode, externalCode: asnCode, emptyRobot: false}
           : {warehouse, boxCode: workBinNo.value, stationCode, externalCode: asnCode, emptyRobot: false}
         apiCall(params).then(res=>{
         apiCall(params).then(res=>{
           closeLoading()
           closeLoading()
@@ -502,7 +502,7 @@ 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:workBinNo.value,externalCode:asnCode,stationCode,locationId,taskType:'ASRS'}
+        ? {warehouse,container,boxCode:workBinNo.value,externalCode:equipment,stationCode,locationId,taskType:'ASRS'}
         : {warehouse, boxCode:workBinNo.value, stationCode, externalCode: asnCode, emptyRobot: false}
         : {warehouse, boxCode:workBinNo.value, stationCode, externalCode: asnCode, emptyRobot: false}
       const boxRes= await apiCall(params).catch(err=>{
       const boxRes= await apiCall(params).catch(err=>{
         closeLoading()
         closeLoading()