Commit 423d74ae by wusiyi

fix: 尝试修复扫下一单偶发上一单不自动打单完成问题 #1001679

parent 3e0881e1
......@@ -531,7 +531,6 @@ const podBoxList = computed(() => {
return orderStore.podBoxList
})
const coverImage = ref<string>('')
let currentCode = ''
const tableRef = ref()
watch(visible, async (value: boolean) => {
......@@ -851,9 +850,12 @@ const handleSearch = () => {
}
productionOrder.value = ''
isLock.value = true
const everyPower = podOrderDetailsData.value?.productList?.every(
(item) => item.power,
)
// 尝试修复扫下一单上一单不自动打单完成问题
const everyPower =
podOrderDetailsData.value?.pickingNumber ===
podOrderDetailsData.value?.purchaseNumber
console.log('⭐⭐⭐everyPower', everyPower)
if (props.wallType === 'sort' && !isAutoPrint.value) {
getPackingData(code)
return
......@@ -866,6 +868,8 @@ const handleSearch = () => {
* notPrintSuccess 未能获取打印状态
*/
// 非配货分拣 打印成功提示;配货分拣:开启自动打单且打印成功,提交;配货分拣:不开启自动打单,不提示
console.log('⭐⭐⭐查询printResult', podOrderDetailsData.value?.printResult)
if (
podOrderDetailsData.value?.printResult === 'printSuccess' &&
(props.wallType !== 'sort' ||
......
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