diff --git a/src/js/api.js b/src/js/api.js index 960a873..66faf33 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -1,5 +1,5 @@ -// export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试 -export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式 +export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试 +// export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式 // export const ORIGIN = `http://192.168.1.135:9090`; // 20210927 测试 diff --git a/src/subpackage/party/pages/login/regist.vue b/src/subpackage/party/pages/login/regist.vue index d98f74c..11f8cf7 100644 --- a/src/subpackage/party/pages/login/regist.vue +++ b/src/subpackage/party/pages/login/regist.vue @@ -553,8 +553,8 @@ this.submitData.mailing_address = res.Response.Address; this.submitData.extension.legal_person_name = res.Response.Person; this.submitData.agency_code = res.Response.RegNum; - const t = this.company_types.find(item => item.label === res.Response.Type); - this.submitData.extension.company_type = t.value; + // const t = this.company_types.find(item => item.label === res.Response.Type); + // this.submitData.extension.company_type = t.value; if (res.Response.Capital) { const num = res.Response.Capital.split('元')[0] this.submitData.extension.registered_capital = this.chineseToNumber(num) @@ -583,9 +583,16 @@ return item } }); - this.submitData.extension.company_type = t.value - this.company_type_index = _index - this.company_type_show = this.company_types_arr[_index] + // console.log("t", t) + if(t){ + this.submitData.extension.company_type = t.value + this.company_type_index = _index + this.company_type_show = this.company_types_arr[_index] + util.showNone("信息已填充,请二次确认证件信息") + }else{ + console.log("OCR对应的企业类型无法匹配:",this.company_types, res.Response.Type) + util.showNone("请手动选择[企业类型],并二次确认证件信息") + } } } else { this.submitData.extension.business_id_card = res.Response.IdNum diff --git a/src/subpackage/wallet/pages/douyin_withdraw/apply.vue b/src/subpackage/wallet/pages/douyin_withdraw/apply.vue index f168a97..f6a84ce 100644 --- a/src/subpackage/wallet/pages/douyin_withdraw/apply.vue +++ b/src/subpackage/wallet/pages/douyin_withdraw/apply.vue @@ -2,7 +2,7 @@ 可提现资金: - {{ balance }}元 + {{ balance.toFixed(2)||"0.00" }}元 diff --git a/src/subpackage/wallet/pages/douyin_withdraw/index.vue b/src/subpackage/wallet/pages/douyin_withdraw/index.vue index a358158..a5ec2cc 100644 --- a/src/subpackage/wallet/pages/douyin_withdraw/index.vue +++ b/src/subpackage/wallet/pages/douyin_withdraw/index.vue @@ -3,7 +3,7 @@ 可提现资金 - ¥{{ balance }} + ¥{{ balance.toFixed(2)||"0.00" }} 申请提现 diff --git a/src/subpackage/wallet/pages/index/modules/wallet_info.vue b/src/subpackage/wallet/pages/index/modules/wallet_info.vue index 6a90b84..807e312 100644 --- a/src/subpackage/wallet/pages/index/modules/wallet_info.vue +++ b/src/subpackage/wallet/pages/index/modules/wallet_info.vue @@ -2,11 +2,11 @@ 钱包查账可登录后台查阅 - +