This commit is contained in:
linfso 2025-01-10 14:22:33 +08:00
parent 151bf79074
commit 32d18307f6

View File

@ -549,44 +549,6 @@ export default {
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
}
}).catch(() => {});
// this.$prompt('确定打印,输入打印份数', "提示", {
// confirmButtonText: "确定打印",
// cancelButtonText: "不打印",
// distinguishCancelAndClose: true,
// closeOnClickModal: false,
// inputValue: 1,
// inputValidator (value) {
// if (value) {
// return true;
// }else{
// return false;
// }
// },
// inputErrorMessage: "文件名不能为空"
// }).then(async ({ value }) => {
// let cnt=parseInt(value);
// if(cnt){
// let orderList=[];
// this.currentSelection.forEach(item=>{
// orderList.push(item.billCode);
// });
// for(let i=0; i<cnt; i++){
// // batchPrint(orderList,tplCode,orderDetailList)
// this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
// }
// }else{
// let orderList=[];
// this.currentSelection.forEach(item=>{
// orderList.push(item.billCode);
// });
// // batchPrint(orderList,tplCode,orderDetailList)
// this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
// }
// }).catch(() => {});
},
handlePrintPreview(){
let orderList=[];