Commit 17dd16ed authored by caimeng's avatar caimeng
parent 9601ad7b
......@@ -211,7 +211,6 @@
<el-button size="small" type="primary" @click="handleConfirmBlack">确 定</el-button>
</div>
</el-dialog>
handleAddBlack
</div>
</template>
......
......@@ -99,7 +99,7 @@
<el-table-column
align="center"
prop="accountAmt"
label="手续费"
label="担保费"
></el-table-column>
<el-table-column
align="center"
......@@ -366,7 +366,7 @@ export default {
headerStyle() {
return "tableHeaderStyle";
},
async init() {
const res = await this.$$get(
"/detail/customer/" + this.advanceLoanAmt.loanNo
......
......@@ -78,7 +78,7 @@
<el-collapse-item title="减免记录" name="5">
<ReliefList :params="applyInfo"></ReliefList>
</el-collapse-item>
<el-collapse-item title="服务费退款记录" name="6">
<el-collapse-item title="退款记录" name="6">
<ServiceRefund :params="applyInfo"></ServiceRefund>
</el-collapse-item>
</el-collapse>
......
......@@ -41,10 +41,25 @@
<el-button type="text" size="small" @click="handleShow(scope.row,'SettleReport','结清报告')">结清报告
</el-button>
</template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'OWNBUSINESS'&&zyItem">
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'OWNBUSINESS' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
<!--偷懒写法-->
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSJQ' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSDR' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSZY' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
</template>
</el-table-column>
</el-table>
......@@ -106,14 +121,12 @@ export default {
}
},
async created() {
// console.log(localStorage.getItem('btnUrl'), 999888888);
const btnUrl=localStorage.getItem('btnUrl');
if(btnUrl){
this.zyItem=btnUrl
}else{
this.zyItem=null
}
console.log(this.zyItem,'bynurl');
const {clientNo, clientProductName} = this.params;
const res = await this.$$post('/loan/getLoanListByClientNo/', {productName: clientProductName, clientNo: clientNo});
const {success, result} = res.data;
......
......@@ -16,7 +16,8 @@
<el-table-column align="center" prop="creator" label="创建人"></el-table-column>
<el-table-column align="center" prop="gmtCreated" label="创建时间" :formatter="dateFormat"></el-table-column>
<el-table-column align="center" prop="gmtModified" label="更新时间" :formatter="dateFormat"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="备注"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="退款说明"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="退款方式"></el-table-column>
</el-table>
</div>
<div class="pages">
......@@ -151,7 +152,7 @@ export default {
this.form.current = 1;
this.init();
},
}
}
</script>
......
......@@ -7,10 +7,11 @@
:visible.sync="visible"
:before-close="handleClose">
<div class="page-dialog">
<div class="btn-box" style="height: 200px">
<el-button size="small" plain type="info" v-if="result.status==='FAIL'">生成失败</el-button>
<el-button size="small" plain type="success" @click="handleClick" v-else-if="result.status==='SUCCESS'">点击下载
</el-button>
<el-button size="small" plain type="success" @click="handleClick" v-else-if="result.status==='SUCCESS'">点击下载</el-button>
<el-button size="small" plain type="primary" v-else-if="result.status==='PROCESS'">生成中...</el-button>
</div>
</div>
......@@ -58,13 +59,12 @@ export default {
async created() {
const params = this.params;
// console.log(params, '很多信息');
console.log(params,'参数')
if (params.loanNo) {
const {capitalCode, clientName, certNo,idCard, loanNo,externalNo} = params;
this.form.capitalCode = capitalCode;
this.form.certNo = idCard;
this.form.certName = clientName;
//this.form.loanNo = loanNo;
this.form.loanNo = externalNo;
await this.init()
}
......@@ -94,6 +94,10 @@ export default {
handleClick() {
const url = this.result.fileUrl;
window.open(url, "_blank");
},
// 结清报告查询
onSubmit(){
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment