给单据的编辑界面增加打印按钮
This commit is contained in:
@@ -11,6 +11,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>
|
||||
<!--发起多级审核-->
|
||||
@@ -164,6 +165,7 @@
|
||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||
<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>
|
||||
</j-modal>
|
||||
</template>
|
||||
<script>
|
||||
@@ -175,6 +177,7 @@
|
||||
import AccountModal from '../../system/modules/AccountModal'
|
||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||
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'
|
||||
@@ -194,6 +197,7 @@
|
||||
AccountModal,
|
||||
BatchSetDepot,
|
||||
WorkflowIframe,
|
||||
BillPrintIframe,
|
||||
JUpload,
|
||||
JDate,
|
||||
VNodes: {
|
||||
@@ -341,6 +345,7 @@
|
||||
this.initSupplier(0)
|
||||
this.initDepot()
|
||||
this.initAccount(0)
|
||||
this.initPlatform()
|
||||
},
|
||||
//提交单据时整理成formData
|
||||
classifyIntoFormData(allValues) {
|
||||
|
||||
Reference in New Issue
Block a user