Commit 3938c266 by wusiyi

fix: 修复配货分拣打印失败也提交打单成功nug

parent 495b530e
......@@ -216,6 +216,8 @@
>,不占用播种墙
</div>
<div class="box-top-item-status">
{{ isAutoPrint }}
{{ podOrderDetailsData?.printResult }}
<span
v-if="
isAutoPrint &&
......@@ -735,14 +737,18 @@ const renderItemBox = (bool: boolean) => {
if (productList.every((item) => item.power)) {
if (userStore.user?.id !== boxItem.fromUser) return
// 配货分拣 非自动打单的配货区: 不打印 不打单完成; 自动打单的配货区: 打印后打单完成
// 配货分拣 非自动打单的配货区: 不打印 不打单完成; 自动打单的配货区: 打印成功后打单完成
if (props.wallType === 'sort' && !isAutoPrint.value) {
renderLock = false
return
}
print(data, false, () => {
if (props.wallType === 'sort' && isAutoPrint.value) {
if (
props.wallType === 'sort' &&
isAutoPrint.value &&
data.printResult === 'printSuccess'
) {
submitInspection(() => {
getPackingData(currentCode)
renderLock = false
......
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