|
@@ -10,7 +10,6 @@
|
|
|
width="70%">
|
|
|
<!-- 详情 -->
|
|
|
<div class="mainContent">
|
|
|
- <div class="printBox"><Print :disabled="localDataSource.length==0" :showExport="false" @handlePrint="handlePrint"></Print></div>
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<a-collapse :activeKey="['1']">
|
|
|
<a-collapse-panel key="1" header="基础信息">
|
|
@@ -123,17 +122,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- // 打印预览/快捷打印
|
|
|
- handlePrint (type, printerType) {
|
|
|
- const _this = this
|
|
|
- _this.spinning = true
|
|
|
- const url = allocLinkagePutDetailPrint
|
|
|
- const params = { sn: this.$route.params.sn, type: printerType, showFlag: this.$hasPermissions('M_ShowAllCost') ? 1 : 0 }
|
|
|
- // 打印或导出
|
|
|
- hdPrint(printerType, type, url, params, '连锁调入单', function () {
|
|
|
- _this.spinning = false
|
|
|
- })
|
|
|
- },
|
|
|
// 获取详情
|
|
|
getDetail (id) {
|
|
|
findPayDetail({ id: id }).then(res => {
|