|
@@ -38,7 +38,7 @@
|
|
{{ detail.qty }}
|
|
{{ detail.qty }}
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
<a-descriptions-item label="总售价">
|
|
<a-descriptions-item label="总售价">
|
|
- {{ detail.totalAmount }}
|
|
|
|
|
|
+ {{ toThousands(detail.totalAmount) }}
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
<a-descriptions-item label="业务状态">
|
|
<a-descriptions-item label="业务状态">
|
|
{{ detail.billStatusDictValue || '--' }}
|
|
{{ detail.billStatusDictValue || '--' }}
|
|
@@ -67,7 +67,7 @@
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
</div>
|
|
</div>
|
|
<div v-if="detail.keepType == 'RELATION_BOOK'">
|
|
<div v-if="detail.keepType == 'RELATION_BOOK'">
|
|
- <a-table :columns="columns" :pagination="false" :data-source="tableData" bordered>
|
|
|
|
|
|
+ <a-table class="sTable" :columns="columns" :pagination="false" :data-source="tableData" bordered>
|
|
<!-- 收款单号 -->
|
|
<!-- 收款单号 -->
|
|
<template slot="bookNo" slot-scope="text, record">
|
|
<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-if="$hasPermissions('B_fc_detail')" class="link-bule" @click="viewDetail(record)">{{ record.bookNo }}</span>
|
|
@@ -105,6 +105,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import { commonMixin } from '@/utils/mixin'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
import printModel from '../receiptPrint/printModel.vue'
|
|
import printModel from '../receiptPrint/printModel.vue'
|
|
@@ -114,6 +115,7 @@ import { settleReceiptFindBySn } from '@/api/settleReceipt.js'
|
|
import { getBatchLastProcessInstance } from '@/api/financeBook'
|
|
import { getBatchLastProcessInstance } from '@/api/financeBook'
|
|
export default {
|
|
export default {
|
|
name: 'VoucherModal',
|
|
name: 'VoucherModal',
|
|
|
|
+ mixins: [commonMixin],
|
|
components: { STable, VSelect, commonModal, printModel, detailModal, collectDetailModal },
|
|
components: { STable, VSelect, commonModal, printModel, detailModal, collectDetailModal },
|
|
props: {
|
|
props: {
|
|
openModal: { // 弹框显示状态
|
|
openModal: { // 弹框显示状态
|
|
@@ -145,12 +147,12 @@ export default {
|
|
{ title: '序号', dataIndex: 'no', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '序号', dataIndex: 'no', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '收款单号', scopedSlots: { customRender: 'bookNo' }, width: '10%', align: 'center' },
|
|
{ title: '收款单号', scopedSlots: { customRender: 'bookNo' }, width: '10%', align: 'center' },
|
|
{ title: '申请人', dataIndex: 'applyPersonName', width: '6%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '申请人', dataIndex: 'applyPersonName', width: '6%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- { title: '财务收款事由', dataIndex: 'bookReason', width: '12%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
- { title: '订单总金额', dataIndex: 'orderTotalAmount', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
- { title: '收款总金额', dataIndex: 'receiptTotalAmount', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
- { title: '使用授信总金额', dataIndex: 'useTotalAmount', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
- { title: '授信还款总金额', dataIndex: 'payTotalAmount', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
- { title: '余款抵扣总金额', dataIndex: 'balanceTotalAmount', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
|
|
+ { title: '财务收款事由', dataIndex: 'bookReason', width: '12%', 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: 'auditDate', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '状态', dataIndex: 'statusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
{ title: '状态', dataIndex: 'statusDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
],
|
|
],
|