|
|
@ -56,10 +56,10 @@ |
|
|
|
<el-table-column fixed width="50" type="selection" align="center"/> |
|
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
|
<el-table-column prop="paymentState" label="转付状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="loanContractNo" label="贷款合同编号" align="center" width="120" /> |
|
|
|
<el-table-column prop="loanContractNo" label="贷款合同编号" align="center" width="160" /> |
|
|
|
<el-table-column prop="vinNo" label="车架号" align="center" width="120" /> |
|
|
|
<el-table-column prop="bankName" label="资方" align="center" width="150" /> |
|
|
|
<el-table-column prop="bankContractNo" label="资方合同编号" align="center" width="120" /> |
|
|
|
<el-table-column prop="bankContractNo" label="资方合同编号" align="center" width="160" /> |
|
|
|
<el-table-column prop="customer" label="客户名称" align="center" min-width="120" /> |
|
|
|
<el-table-column prop="borrowerName" label="贷款人" align="center" width="100" /> |
|
|
|
<el-table-column prop="period" label="期数" align="center" width="80" /> |
|
|
@ -127,6 +127,7 @@ export default { |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
sids: [], |
|
|
|
multipleSelection: [], |
|
|
|
overdue_list: [ |
|
|
|
{ |
|
|
|
dictKey: '0', |
|
|
@ -201,6 +202,7 @@ export default { |
|
|
|
}, |
|
|
|
handleSelectionChange(row) { |
|
|
|
const aa = [] |
|
|
|
this.multipleSelection = row |
|
|
|
row.forEach((element) => { |
|
|
|
aa.push(element.sid) |
|
|
|
}) |
|
|
@ -225,8 +227,22 @@ export default { |
|
|
|
}, |
|
|
|
toAdd() { |
|
|
|
if (this.sids.length > 0) { |
|
|
|
this.viewState = 3 |
|
|
|
this.$refs['divAdd'].showAdd(this.sids) |
|
|
|
if (this.multipleSelection.length > 0) { |
|
|
|
let aa = '0' |
|
|
|
this.multipleSelection.forEach((e) => { |
|
|
|
if (e.paymentState === '转付中') { |
|
|
|
aa = '1' |
|
|
|
return |
|
|
|
} |
|
|
|
}) |
|
|
|
// 1代表选择的数据中包含转付状态为转付中的,不允许进行代收代付操作 |
|
|
|
if (aa === '0') { |
|
|
|
this.viewState = 3 |
|
|
|
this.$refs['divAdd'].showAdd(this.sids) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择转付状态为待转付的记录进行代收代付操作' }) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请至少选择一条记录进行操作' }) |
|
|
|
} |
|
|
|