给单据的编辑页面也加上打印

This commit is contained in:
jishenghua
2025-05-13 22:56:14 +08:00
parent 3517f65a3e
commit 01fbf44c97
15 changed files with 71 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
style="top:20px;height: 95%;">
<template slot="footer">
<a-button @click="handleCancel">取消</a-button>
<a-button v-if="billPrintFlag && isShowPrintBtn" @click="handlePrintPro('组装单')">三联打印新版预览</a-button>
<a-button v-if="billPrintFlag && isShowPrintBtn" @click="handlePrint('组装单')">三联打印预览</a-button>
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存Ctrl+S</a-button>
@@ -91,6 +92,7 @@
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
<workflow-iframe ref="modalWorkflow" @ok="workflowModalFormOk"></workflow-iframe>
<bill-print-iframe ref="modalPrint"></bill-print-iframe>
<bill-print-pro-iframe ref="modalPrintPro"></bill-print-pro-iframe>
</j-modal>
</template>
<script>
@@ -99,6 +101,7 @@
import BatchSetDepot from '../dialog/BatchSetDepot'
import WorkflowIframe from '@/components/tools/WorkflowIframe'
import BillPrintIframe from '../dialog/BillPrintIframe'
import BillPrintProIframe from '../dialog/BillPrintProIframe'
import { FormTypes } from '@/utils/JEditableTableUtil'
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
import { BillModalMixin } from '../mixins/BillModalMixin'
@@ -115,6 +118,7 @@
BatchSetDepot,
WorkflowIframe,
BillPrintIframe,
BillPrintProIframe,
JUpload,
JDate
},