This commit is contained in:
wuteng 2025-07-17 17:21:14 +08:00
parent e87b5e7672
commit 668c9b0bc1

View File

@ -162,7 +162,9 @@
</el-col>
<el-col :span="1.5">
<TanexPrinterPanel ref="tanexPrinter" :isShowPinters="true" :isShowTpl="true" :isShowSubBillRange="true" @onPrint="handleBatchPrint"></TanexPrinterPanel> </el-col>
<TanexPrinterPanel ref="tanexPrinter" :isShowPinters="true" :isShowTpl="true" :isShowSubBillRange="true" @onPrint="handleBatchPrint"></TanexPrinterPanel>
</el-col>
</el-row>
</div>
<el-table-column label="序号" align="center" min-width="60">
@ -291,13 +293,11 @@ import ProblemTypePicker from '@/views/emis/EmisBaseTools/ProblemTypePicker.vue'
import TanexPrinterPanel from '@/views/emis/EmisBaseTools/TanexPrinterPanel.vue';
import { formatSearchStr,deepClone } from '@/utils/index'
import {timeDiffTime,timeFormat} from '@/utils/dateUtils'
import TanexPrinterBatchPanel from "../EmisBaseTools/TanexPrinterBatchPanel.vue";
export default {
name: "WaybillIsPrinted",
components: {
TanexPrinterPanel,
TanexPrinterBatchPanel,
elDateAdvPicker,
emisWaybillForm,
CountryPicker1,
@ -577,9 +577,11 @@ export default {
// batchPrint(orderList,tplCode,orderDetailList)
if(printCnt){
console.log("====printCnt==>",printCnt)
for(let i=0; i<printCnt; i++){
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
}
}else{
this.$refs.tanexPrinter.batchPrint(orderList,null,this.currentSelection);
}