|
@@ -21,22 +21,27 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<template v-if="advanced">
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="24">
|
|
|
<a-form-item label="申请人">
|
|
|
<employee style="width: 100%;" id="financialCollectionList-Employee" placeholder="请选择申请人" v-model="queryParam.applyPersonSn"></employee>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="24">
|
|
|
<a-form-item label="收款事由">
|
|
|
<a-input id="financialCollectionList-bookReason" v-model.trim="queryParam.bookReason" allowClear placeholder="请输入收款事由"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="4" :sm="24">
|
|
|
+ <a-form-item label="付款方">
|
|
|
+ <a-input id="financialCollectionList-dealerName" v-model.trim="queryParam.dealerName" allowClear placeholder="请输入付款方"/>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="审核时间">
|
|
|
<rangeDate ref="rangeAuditDate" :value="auditDate" @change="dateAuditChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <a-col :md="4" :sm="24">
|
|
|
<a-form-item label="状态">
|
|
|
<v-select
|
|
|
v-model="queryParam.status"
|
|
@@ -58,10 +63,19 @@
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
- </div>
|
|
|
- <!-- 操作按钮 -->
|
|
|
- <div class="table-operator" v-if="$hasPermissions('B_fc_new')">
|
|
|
- <a-button type="primary" class="button-error" @click="handleAdd">新增</a-button>
|
|
|
+ <!-- 操作按钮 -->
|
|
|
+ <div class="table-operator" v-if="$hasPermissions('B_fc_new')">
|
|
|
+ <a-button type="primary" class="button-error" @click="handleAdd">新增</a-button>
|
|
|
+ </div>
|
|
|
+ <a-alert type="info" style="margin-bottom:10px">
|
|
|
+ <div slot="message">
|
|
|
+ 订单总金额:{{ countData&&countData.orderTotalAmount||0 }}元;
|
|
|
+ 收款总金额:{{ countData&&countData.receiptTotalAmount||0 }}元;
|
|
|
+ 使用授信总金额:{{ countData&&countData.useTotalAmount||0 }}元;
|
|
|
+ 授信还款总金额:{{ countData&&countData.payTotalAmount||0 }}元;
|
|
|
+ 余款抵扣总金额:{{ countData&&countData.balanceTotalAmount||0 }}元;
|
|
|
+ </div>
|
|
|
+ </a-alert>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<s-table
|
|
@@ -164,7 +178,8 @@ export default {
|
|
|
auditEndDate: '',
|
|
|
applyPersonSn: undefined,
|
|
|
bookReason: '',
|
|
|
- status: undefined
|
|
|
+ status: undefined,
|
|
|
+ dealerName: ''
|
|
|
},
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
creatDate: [], // 创建时间
|
|
@@ -190,7 +205,8 @@ export default {
|
|
|
return data
|
|
|
})
|
|
|
},
|
|
|
- total: 0 // 合计
|
|
|
+ total: 0, // 合计
|
|
|
+ countData: null
|
|
|
}
|
|
|
},
|
|
|
// 根据权限显示列表字段
|
|
@@ -202,7 +218,8 @@ export default {
|
|
|
{ title: '收款单号', scopedSlots: { customRender: 'bookNo' }, width: '8%', align: 'center' },
|
|
|
{ title: '关联备货单', scopedSlots: { customRender: 'dispatchNum' }, width: '6%', align: 'center' },
|
|
|
{ title: '申请人', dataIndex: 'applyPersonName', align: 'center', width: '6%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
- { title: '收款事由', dataIndex: 'bookReason', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '收款事由', dataIndex: 'bookReason', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '付款方', dataIndex: 'dealerName', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '订单总金额', dataIndex: 'orderTotalAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '收款总金额', dataIndex: 'receiptTotalAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '使用授信总金额', dataIndex: 'useTotalAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
@@ -210,7 +227,7 @@ export default {
|
|
|
{ title: '余款抵扣总金额', dataIndex: 'balanceTotalAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '审核时间', dataIndex: 'auditDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '状态', dataIndex: 'statusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '12%', align: 'center' }
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
|
]
|
|
|
return arr
|
|
|
}
|
|
@@ -236,6 +253,7 @@ export default {
|
|
|
if (this.advanced) {
|
|
|
this.$refs.rangeAuditDate.resetDate(this.auditDate)
|
|
|
}
|
|
|
+ this.queryParam.dealerName = ''
|
|
|
this.queryParam.auditBeginDate = ''
|
|
|
this.queryParam.auditEndDate = ''
|
|
|
this.queryParam.bookNo = ''
|
|
@@ -320,7 +338,7 @@ export default {
|
|
|
},
|
|
|
setTableH () {
|
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 235
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 210
|
|
|
}
|
|
|
},
|
|
|
watch: {
|