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

paying回显问题

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