Commit 9af2f98c by wusiyi

fix: 配货分拣自动打单后不打单完成

parent a5b4887e
...@@ -727,12 +727,6 @@ const renderItemBox = (bool: boolean) => { ...@@ -727,12 +727,6 @@ const renderItemBox = (bool: boolean) => {
} }
print(data, false, () => { print(data, false, () => {
if (isAutoPrint.value && data.printResult === 'printSuccess') {
submitInspection(() => {
renderLock = false
})
return
}
renderLock = false renderLock = false
}) })
} else { } else {
...@@ -844,7 +838,10 @@ const handleSearch = () => { ...@@ -844,7 +838,10 @@ const handleSearch = () => {
* notPrintSuccess 未能获取打印状态 * notPrintSuccess 未能获取打印状态
*/ */
// 配货分拣:开启自动打单且打印成功,提交;不开启自动打单,不提示 // 配货分拣:开启自动打单且打印成功,提交;不开启自动打单,不提示
if (podOrderDetailsData.value?.printResult === 'printSuccess') { if (
podOrderDetailsData.value?.printResult === 'printSuccess' &&
isAutoPrint.value
) {
submitInspection(() => { submitInspection(() => {
getPackingData(code) getPackingData(code)
}) })
......
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