Commit 132b32d6 by qinjianhui

fix: 问题修改

parent 74491db1
......@@ -203,11 +203,15 @@ export function submitInspectionApi(
},
)
}
export function clearBoxApi(factoryNo: number, box: number | null) {
export function clearBoxApi(
factoryNo: number,
box: number | null,
warehouseId: number | string,
) {
return axios.get<never, BaseRespData<never>>(
'factory/podJomallOrderUs/delPodBoxOrderDetailsByBox',
{
params: { factoryNo, box },
params: { factoryNo, box, warehouseId },
},
)
}
......
......@@ -749,7 +749,11 @@ const handleClearBox = async () => {
return
}
try {
const res = await clearBoxApi(factoryNo, boxIndex.value || null)
const res = await clearBoxApi(
factoryNo,
boxIndex.value || null,
warehouseId.value,
)
if (res.code !== 200) {
ElMessage.warning(res.message)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment