This commit is contained in:
linfso 2024-10-15 09:08:57 +08:00
parent 9d1367c93e
commit a8b3bc4a38

View File

@ -540,11 +540,12 @@ export default {
// batchPrint(orderList,tplCode,orderDetailList) // batchPrint(orderList,tplCode,orderDetailList)
if(printCnt){ if(printCnt){
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
}else{
for(let i=0; i<printCnt; i++){ for(let i=0; i<printCnt; i++){
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection); this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
} }
}else{
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
} }
}).catch(() => {}); }).catch(() => {});