取消银行卡信息

This commit is contained in:
DESKTOP-GMUNQ1B\k 2024-04-03 09:33:51 +08:00
parent 9582f1eecf
commit db58cbaea5
2 changed files with 28 additions and 80 deletions

View File

@ -54,7 +54,12 @@
<el-table-column label="支行名称" min-width="150" prop="financial_account.bank_branch" />
<el-table-column label="银行账号" min-width="150" prop="financial_account.bank_code" />
<el-table-column label="手机号码" min-width="150" prop="merchantInfo.mer_phone" />
<el-table-column label="身份证号码" min-width="160" prop="financial_account.id_card" />
<el-table-column label="身份证号码" min-width="160" prop="financial_account.id_card">
<template slot-scope="scope">
<span class="spBlock">{{ scope.row.financial_account.id_card ? scope.row.financial_account.id_card : '-'
}}</span>
</template>
</el-table-column>
<el-table-column label="凭证">
<template slot-scope="scope">
<div v-if="scope.row.financial_account.financial_img" style="display:flex;" class="demo-image__preview">
@ -93,16 +98,24 @@
<div class="section" style="padding-top:10px;">
<div class="title">商户信息</div>
<div class="list">
<div class="item"><label class="name">商户名称</label>{{ transferData.merchantInfo.mer_name }}</div>
<div class="item"><label class="name">商户名称</label><input placeholder="请输入商户名称"
:disabled="type == 1 ? false : true" v-model="transferData.merchantInfo.mer_name"></div>
<div class="item"><label class="name">商户ID</label>{{ transferData.merchantInfo.mer_id }} </div>
<div class="item"><label class="name">开户银行</label>{{ transferData.financial_account.bank }}</div>
<div class="item"><label class="name">银行账号</label>{{ transferData.financial_account.bank_code }}</div>
<div class="item"><label class="name">开户户名</label>{{ transferData.financial_account.name }}</div>
<div class="item"><label class="name">开户网点</label>{{ transferData.financial_account.bank_branch }}</div>
<div class="item"><label class="name">真实姓名</label>{{ transferData.merchantInfo.real_name }}</div>
<div class="item"><label class="name">开户银行</label><input placeholder="请输入开户银行"
:disabled="type == 1 ? false : true" v-model="transferData.financial_account.bank"></div>
<div class="item"><label class="name">银行账号</label><input placeholder="请输入银行账号"
:disabled="type == 1 ? false : true" v-model="transferData.financial_account.bank_code" /> </div>
<div class="item"><label class="name">开户户名</label><input placeholder="请输入开户户名"
v-model="transferData.financial_account.name" :disabled="type == 1 ? false : true" />
</div>
<div class="item"><label class="name">开户网点</label><input placeholder="请输入开户网点"
v-model="transferData.financial_account.bank_branch" :disabled="type == 1 ? false : true" /> </div>
<div class="item"><label class="name">真实姓名</label><input placeholder="请输入真实姓名"
v-model="transferData.merchantInfo.real_name" :disabled="type == 1 ? false : true" />
</div>
<div class="item"><label class="name">备注</label>{{ transferData.fail_msg ? transferData.fail_msg : '-' }}
</div>
<div class="item" v-if="srcParse(transferData).length > 0"><label class="name">凭证</label>
<div class="item" v-if="transferData.financial_account.financial_img"><label class="name">凭证</label>
<el-image v-for="(item, indx) in srcParse(transferData)" :key="indx" :src="item"
:preview-src-list="srcParse(transferData)" style="width:100px;height:100px;margin-right:10px;" />
</div>
@ -194,9 +207,10 @@ export default {
//
srcParse(item) {
if (!item) return [];
if (item && item.financial_account.financial_img && item.financial_account.financial_img.indexOf(',') > -1) {
if (!item.financial_account.financial_img) return [];
if (item.financial_account.financial_img.indexOf(',') > -1) {
return item.financial_account.financial_img.split(",");
} else if (item && item.financial_account.financial_img) {
} else {
return [item.financial_account.financial_img]
}
},
@ -229,6 +243,7 @@ export default {
this.$refs.ruleForm.validate(valid => {
if (valid) {
this.auditForm.id = this.transferData.id
this.auditForm.financial_account = this.transferData.financial_account;
bandAuditApi(this.auditForm).then(res => {
this.$message.success(res.message);
this.dialogVisible = false;
@ -243,9 +258,10 @@ export default {
//
transferMark(item, type) {
console.log(item)
this.transferData = JSON.parse(JSON.stringify(item));
this.auditForm.status = '';
this.auditForm.fail_msg = '';
this.transferData = item;
this.dialogVisible = true;
this.type = type;
},

View File

@ -172,23 +172,7 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="statusAuditForm.is_company == 1 ? '对公账号:' : '银行卡号:'">
<el-input readony :value="statusAuditForm.bank_code" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开户银行:">
<el-input readony :value="statusAuditForm.bank_username" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开户网点:">
<el-input readony :value="statusAuditForm.bank_opening" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="资质:">
@ -200,16 +184,6 @@
</el-form-item>
</el-col>
<el-col :span="24" v-if="statusAuditForm.is_company == 0">
<el-form-item label="银行卡照片:">
<div class="demo-image__preview">
<el-image style="width: 80px;height: 60px;margin-right: 10px;"
v-for="(ii, index) in statusAuditForm.bank_img" :key="index" :src="ii" class="preview"
:preview-src-list="[ii]" />
</div>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="备注:">
<el-input readony :value="statusAuditForm.mark" />
@ -292,23 +266,7 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="statusAuditForm.is_company == 1 ? '对公账号:' : '银行卡号:'">
<el-input readony :value="statusAuditForm.bank_code" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开户银行:">
<el-input readony :value="statusAuditForm.bank_username" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开户网点:">
<el-input readony :value="statusAuditForm.bank_opening" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="资质:">
@ -320,15 +278,7 @@
</el-form-item>
</el-col>
<el-col :span="24" v-if="statusAuditForm.is_company == 0">
<el-form-item label="银行卡照片:">
<div class="demo-image__preview">
<el-image style="width: 80px;height: 60px;margin-right: 10px;"
v-for="(ii, index) in statusAuditForm.bank_img" :key="index" :src="ii" class="preview"
:preview-src-list="[ii]" />
</div>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="备注:">
@ -495,15 +445,6 @@ export default {
//
onchangeIsShow(item) {
this.statusAuditVisible = true;
if (item.financial_bank) {
let bi = JSON.parse(item.financial_bank);
item.bank_username = bi.bank;
item.bank_code = bi.bank_code;
item.bank_opening = bi.bank_branch;
if (bi.bank_front[0]) {
this.$set(item, 'bank_img', bi.bank_front);
}
}
this.statusAuditForm = item;
this.$set(this.statusAuditForm, 'state', 1);
this.$set(this.statusAuditForm, 'create_mer', 1);
@ -539,15 +480,6 @@ export default {
handleView(item) {
console.log(item)
this.statusAuditForm = item;
if (item.financial_bank) {
let bi = JSON.parse(item.financial_bank);
item.bank_username = bi.bank;
item.bank_code = bi.bank_code;
item.bank_opening = bi.bank_branch;
if (bi.bank_front[0]) {
this.$set(item, 'bank_img', bi.bank_front);
}
}
this.formShow = true;
},