给单据的编辑界面增加打印按钮
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
style="top:20px;height: 95%;">
|
||||
<template slot="footer">
|
||||
<a-button @click="handleCancel">取消</a-button>
|
||||
<a-button v-if="billPrintFlag" @click="handlePrint('请购单')">三联打印预览</a-button>
|
||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||
<!--发起多级审核-->
|
||||
@@ -93,6 +94,7 @@
|
||||
<import-item-modal ref="importItemModalForm" @ok="importItemModalFormOk"></import-item-modal>
|
||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||
<workflow-iframe ref="modalWorkflow" @ok="workflowModalFormOk"></workflow-iframe>
|
||||
<bill-print-iframe ref="modalPrint"></bill-print-iframe>
|
||||
</j-modal>
|
||||
</template>
|
||||
<script>
|
||||
@@ -100,6 +102,7 @@
|
||||
import ImportItemModal from '../dialog/ImportItemModal'
|
||||
import HistoryBillList from '../dialog/HistoryBillList'
|
||||
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||
import BillPrintIframe from '../dialog/BillPrintIframe'
|
||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
@@ -114,6 +117,7 @@
|
||||
ImportItemModal,
|
||||
HistoryBillList,
|
||||
WorkflowIframe,
|
||||
BillPrintIframe,
|
||||
JUpload,
|
||||
JDate,
|
||||
VNodes: {
|
||||
@@ -236,6 +240,7 @@
|
||||
this.copyAddInit(this.prefixNo)
|
||||
}
|
||||
this.initSystemConfig()
|
||||
this.initPlatform()
|
||||
},
|
||||
/** 整理成formData */
|
||||
classifyIntoFormData(allValues) {
|
||||
|
||||
Reference in New Issue
Block a user