Commit 78e25b48 authored by ‘yangmengxue’'s avatar ‘yangmengxue’

paying回显问题

parent 264c2466
...@@ -173,7 +173,6 @@ ...@@ -173,7 +173,6 @@
:visible.sync="bankDialogVisible" :visible.sync="bankDialogVisible"
title="银行卡支付" title="银行卡支付"
width="200" width="200"
@open="openBank"
> >
<div class="bank_pay"> <div class="bank_pay">
<div><span>收款单位:</span>{{ payee }}</div> <div><span>收款单位:</span>{{ payee }}</div>
...@@ -295,17 +294,21 @@ export default { ...@@ -295,17 +294,21 @@ export default {
}; };
}, },
created() { created() {
this.getAccount();
this.commonApi(33);
const code = this.$store.state.indexIdentity; const code = this.$store.state.indexIdentity;
this.has_amount = window.localStorage.getItem("has_amount" + code); this.has_amount = window.localStorage.getItem("has_amount" + code);
// 已上传的银行付款图片 // 已上传的银行付款图片
let bank_infoFile = window.localStorage.getItem( let bank_infoFile = window.localStorage.getItem(
"sign_up_payfile_" + window.localStorage.getItem("index-phone-all") + code "sign_up_payfile_" + window.localStorage.getItem("index-phone-all") + code
); );
JSON.parse(bank_infoFile).map((i) => { if (bank_infoFile) {
if (i.url != "") { JSON.parse(bank_infoFile).map((i) => {
this.isBank_infoFile = true; if (i.url != "") {
} this.isBank_infoFile = true;
}); }
});
}
if ( if (
bank_infoFile && bank_infoFile &&
this.isBank_infoFile == true && this.isBank_infoFile == true &&
...@@ -314,8 +317,6 @@ export default { ...@@ -314,8 +317,6 @@ export default {
console.log(JSON.parse(bank_infoFile)); console.log(JSON.parse(bank_infoFile));
this.fileList = JSON.parse(bank_infoFile); this.fileList = JSON.parse(bank_infoFile);
} }
this.getAccount();
this.commonApi(33);
}, },
methods: { methods: {
handleClose(done) { handleClose(done) {
...@@ -458,12 +459,8 @@ export default { ...@@ -458,12 +459,8 @@ export default {
this.personalInfo = res.data.info; this.personalInfo = res.data.info;
// this.personalInfo.create_time = parseTime(res.data.info.create_time); // this.personalInfo.create_time = parseTime(res.data.info.create_time);
}); });
},
openBank(){
}, },
// 上传银行卡转账截图 // 上传银行卡转账截图
// 图片上传成功前钩子 // 图片上传成功前钩子
beforeAvatarUpload(file) { beforeAvatarUpload(file) {
// console.log(file, "beforeImage"); // console.log(file, "beforeImage");
......
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