Ver Fonte

立库-上架-料箱回库增加参数

zhaohuanhuan há 1 mês atrás
pai
commit
06196c2777
1 ficheiros alterados com 4 adições e 4 exclusões
  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}=locationDetailList.value[0]
-        boxReturn({warehouse,container,boxCode:workBinNo.value,externalCode:asnCode,taskType:mode.value?'ASRS':'HIK'}).then(res=>{
+        const {container,asnCode,stationCode}=locationDetailList.value[0]
+        boxReturn({warehouse,container,boxCode:workBinNo.value,stationCode,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}=barcodeActive.value
+      const {warehouse,container,boxCode,asnCode,stationCode}=barcodeActive.value
       showLoading()
-      const boxRes= await boxReturn({warehouse,container,boxCode,externalCode:asnCode,taskType:mode.value?'ASRS':'HIK'}).catch(err=>{
+      const boxRes= await boxReturn({warehouse,container,boxCode,externalCode:asnCode,stationCode,taskType:mode.value?'ASRS':'HIK'}).catch(err=>{
         closeLoading()
       })
       closeLoading()