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

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>
@@ -117,6 +118,7 @@
<wait-bill-list ref="waitBillList" @ok="waitBillListOk"></wait-bill-list>
<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>
@@ -127,6 +129,7 @@
import ImportItemModal from '../dialog/ImportItemModal'
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'
@@ -146,6 +149,7 @@
WaitBillList,
WorkflowIframe,
BillPrintIframe,
BillPrintProIframe,
JUpload,
JDate,
VNodes: {