Commit d3cf6971 by qinjianhui

fix: 打单bug

parent 505785bd
...@@ -800,7 +800,10 @@ const handlePrinterChange = (value: string) => { ...@@ -800,7 +800,10 @@ const handlePrinterChange = (value: string) => {
const print = (data: OrderData, forcePrint = false, callback?: () => void) => { const print = (data: OrderData, forcePrint = false, callback?: () => void) => {
const _boxIndex = boxIndex.value const _boxIndex = boxIndex.value
if (!forcePrint && data.printResult) return if (!forcePrint && data.printResult) {
callback && callback()
return
}
props.printOrder(data, (status: boolean) => { props.printOrder(data, (status: boolean) => {
callback && callback() callback && callback()
......
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