Procházet zdrojové kódy

立库-上架-料箱回库增加库位

zhaohuanhuan před 1 měsícem
rodič
revize
2d55b39013
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      src/views/haikang/putaway/putaway/index.vue

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

@@ -458,8 +458,8 @@ const setPutaway=async (type)=>{
     })
       .then(() => {
         showLoading()
-        const {container,asnCode,stationCode}=locationDetailList.value[0]
-        boxReturn({warehouse,container,boxCode:workBinNo.value,stationCode,externalCode:asnCode,taskType:mode.value?'ASRS':'HIK'}).then(res=>{
+        const {container,asnCode,stationCode,locationId}=locationDetailList.value[0]
+        boxReturn({warehouse,container,boxCode:workBinNo.value,stationCode,locationId,externalCode:asnCode,taskType:mode.value?'ASRS':'HIK'}).then(res=>{
           closeLoading()
           scanSuccess()
           tips.value = `料箱回库成功,请继续扫描料箱编号`
@@ -486,9 +486,9 @@ const setGoBack=async (item)=>{
   const res= await _setBoxInboundInventory()
   if(res){
     if(item.active==1){
-      const {warehouse,container,boxCode,asnCode,stationCode}=barcodeActive.value
+      const {warehouse,container,boxCode,asnCode,stationCode,locationId}=barcodeActive.value
       showLoading()
-      const boxRes= await boxReturn({warehouse,container,boxCode,externalCode:asnCode,stationCode,taskType:mode.value?'ASRS':'HIK'}).catch(err=>{
+      const boxRes= await boxReturn({warehouse,container,boxCode,externalCode:asnCode,stationCode,locationId,taskType:mode.value?'ASRS':'HIK'}).catch(err=>{
         closeLoading()
       })
       closeLoading()