This commit is contained in:
SK-20231103YIXF\Administrator 2024-04-09 09:22:14 +08:00
parent 7ce2829aa5
commit e8d2053c69
2 changed files with 7 additions and 2 deletions

View File

@ -267,6 +267,7 @@
this.isCompany = isCompany; this.isCompany = isCompany;
if (isCompany != 1) { if (isCompany != 1) {
this.bindForm.is_own = 0; this.bindForm.is_own = 0;
this.bindForm.name = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.real_name;
this.list = [{ this.list = [{
name: '法人账户' name: '法人账户'
}]; }];
@ -359,7 +360,8 @@
// //
if (this.bindForm.is_own === 0) { if (this.bindForm.is_own === 0) {
if (!this.bindForm.temp.length > 0) return this.$util.Tips({ const isCompany = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.is_company;
if (!this.bindForm.temp.length > 0 && isCompany == 1) return this.$util.Tips({
title: '请上传凭证!' title: '请上传凭证!'
}); });
this.bindForm.financial_img = this.bindForm.temp.join(","); this.bindForm.financial_img = this.bindForm.temp.join(",");

View File

@ -191,7 +191,10 @@
// //
this.userInfo = JSON.parse(this.$Cache.get("USER_INFO")); this.userInfo = JSON.parse(this.$Cache.get("USER_INFO"));
console.log(this.userInfo.mer_info.is_company) // uni.showToast({
// title: `123\n\t`,
// icon: "none"
// })
}, },
methods: { methods: {