|
|
@@ -130,7 +130,7 @@ import {
|
|
|
updateReturnTaskUsedQty
|
|
|
} from "@/api/returnTask/index";
|
|
|
import { movementReturn } from '@/api/check/index'
|
|
|
-import { boxReturn } from '@/api/haikang'
|
|
|
+import { taskContinue } from '@/api/haikang'
|
|
|
import InputBarcode from '@/views/outbound/picking/components/InputBarcode.vue'
|
|
|
import GoBoxBack from '@/views/haikang/putaway/components/GoBoxBack.vue'
|
|
|
|
|
|
@@ -568,17 +568,15 @@ const onComplete = () => {
|
|
|
const currentBinItem = binList.value.find(item =>
|
|
|
item.containerCode && (item.containerCode === workBinNo.value || item.containerCode.startsWith(`${workBinNo.value}-`))
|
|
|
)
|
|
|
-
|
|
|
const container = currentBinItem?.container || containerNo.value
|
|
|
const externalCode = currentBinItem?.externalCode || taskNo.value
|
|
|
-
|
|
|
showConfirmDialog({
|
|
|
title: '料箱回库',
|
|
|
message: `${workBinNo.value},是否执行料箱回库?`,
|
|
|
})
|
|
|
.then(() => {
|
|
|
showLoading()
|
|
|
- boxReturn({ warehouse, container, boxCode: workBinNo.value, externalCode,taskType:'HIK' }).then(res => {
|
|
|
+ taskContinue({warehouse, boxCode: workBinNo.value, stationCode:'HK02', externalCode, emptyRobot: false}).then(res => {
|
|
|
closeLoading()
|
|
|
scanSuccess()
|
|
|
tips.value = '料箱回库成功,请继续扫描料箱编号'
|
|
|
@@ -642,7 +640,7 @@ const setGoBack = async (item) => {
|
|
|
const externalCode = taskNo.value
|
|
|
showLoading()
|
|
|
try {
|
|
|
- await boxReturn({ warehouse, container, boxCode: workBinNo.value, externalCode,taskType:'HIK' })
|
|
|
+ await taskContinue({warehouse, boxCode: workBinNo.value, stationCode:'HK02', externalCode, emptyRobot: false})
|
|
|
closeLoading()
|
|
|
scanSuccess()
|
|
|
if(binList.value==0){
|