|
@@ -67,13 +67,19 @@
|
|
|
</a-descriptions>
|
|
|
</div>
|
|
|
<div v-if="detail.keepType == 'RELATION_BOOK'">
|
|
|
- <a-table class="sTable" :columns="columns" :pagination="false" :data-source="tableData" bordered>
|
|
|
+ <v-table
|
|
|
+ class="sTable"
|
|
|
+ :columns="columns"
|
|
|
+ :scroll="{ y: 300 }"
|
|
|
+ :showPagination="false"
|
|
|
+ :data-source="tableData"
|
|
|
+ bordered>
|
|
|
<!-- 收款单号 -->
|
|
|
<template slot="bookNo" slot-scope="text, record">
|
|
|
<span v-if="$hasPermissions('B_fc_detail')" class="link-bule" @click="viewDetail(record)">{{ record.bookNo }}</span>
|
|
|
<span v-else>{{ record.bookNo }}</span>
|
|
|
</template>
|
|
|
- </a-table>
|
|
|
+ </v-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="btn-box">
|
|
@@ -108,7 +114,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
-import { STable, VSelect } from '@/components'
|
|
|
+import { VTable, VSelect } from '@/components'
|
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
|
import printModel from '../receiptPrint/printModel.vue'
|
|
|
import detailModal from '@/views/financialManagement/financialCollection/detail.vue'
|
|
@@ -118,7 +124,7 @@ import { getProcessInstance } from '@/api/expenseManagement'
|
|
|
export default {
|
|
|
name: 'VoucherModal',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, commonModal, printModel, detailModal, collectDetailModal },
|
|
|
+ components: { VTable, VSelect, commonModal, printModel, detailModal, collectDetailModal },
|
|
|
props: {
|
|
|
openModal: { // 弹框显示状态
|
|
|
type: Boolean,
|
|
@@ -146,17 +152,17 @@ export default {
|
|
|
spinning: false,
|
|
|
detail: null, // 单据详情数据
|
|
|
columns: [
|
|
|
- { title: '序号', dataIndex: 'no', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '序号', dataIndex: 'no', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '收款单号', scopedSlots: { customRender: 'bookNo' }, width: '10%', align: 'center' },
|
|
|
{ title: '申请人', dataIndex: 'applyPersonName', width: '6%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
- { title: '财务收款事由', dataIndex: 'bookReason', width: '12%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
+ { title: '财务收款事由', dataIndex: 'bookReason', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '订单总金额', dataIndex: 'orderTotalAmount', width: '8%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
{ title: '收款总金额', dataIndex: 'receiptTotalAmount', width: '8%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
{ title: '使用授信总金额', dataIndex: 'useTotalAmount', width: '8%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
{ title: '授信还款总金额', dataIndex: 'payTotalAmount', width: '8%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
{ title: '余款抵扣总金额', dataIndex: 'balanceTotalAmount', width: '8%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
- { title: '审核时间', dataIndex: 'auditDate', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '状态', dataIndex: 'statusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
+ { title: '审核时间', dataIndex: 'auditDate', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '状态', dataIndex: 'statusDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
],
|
|
|
tableData: [], // 列表数据
|
|
|
associatedLoading: false, // 关联收款单 按钮 loading
|