Commit 7bddc437 by linjinhong

fix:修改单件打单后刷不了下一件的问题

parent 44495a17
...@@ -983,6 +983,13 @@ const print = (data: OrderData, forcePrint = false, callback?: () => void) => { ...@@ -983,6 +983,13 @@ const print = (data: OrderData, forcePrint = false, callback?: () => void) => {
item.data.printResult = 'printFail' item.data.printResult = 'printFail'
} }
} }
if (_boxIndex == 0) {
if (status) {
;(podOrderDetailsData.value as OrderData).printResult = 'printSuccess'
} else {
;(podOrderDetailsData.value as OrderData).printResult = 'printFail'
}
}
const factoryNo = userStore.user?.factory.id const factoryNo = userStore.user?.factory.id
if (!factoryNo) return if (!factoryNo) return
orderStore.setPodBoxList({ orderStore.setPodBoxList({
......
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