Commit 1ca9e0f5 by wusiyi

fix: 修复清空箱子列表不清空bug

parent dbe9fe32
...@@ -1238,14 +1238,13 @@ const handleClearBox = async () => { ...@@ -1238,14 +1238,13 @@ const handleClearBox = async () => {
} }
ElMessage.success('清空成功') ElMessage.success('清空成功')
if (props.type === 'cn') { updatePodBoxList({
props.orderStore.setPodBoxList({ boxList: null,
boxList: null, factoryNo,
factoryNo, box: boxIndex.value || undefined,
box: boxIndex.value || undefined, warehouseId: warehouseId.value,
warehouseId: warehouseId.value, })
})
}
boxIndex.value = null boxIndex.value = null
podOrderDetailsData.value = {} podOrderDetailsData.value = {}
coverImage.value = '' coverImage.value = ''
......
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