Browse Source

fix wallet issue

tid1509
赵明涛 11 months ago
parent
commit
4a7dbd04e8
  1. 4
      src/js/api.js
  2. 17
      src/subpackage/party/pages/login/regist.vue
  3. 2
      src/subpackage/wallet/pages/douyin_withdraw/apply.vue
  4. 2
      src/subpackage/wallet/pages/douyin_withdraw/index.vue
  5. 6
      src/subpackage/wallet/pages/index/modules/wallet_info.vue

4
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 测试

17
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

2
src/subpackage/wallet/pages/douyin_withdraw/apply.vue

@ -2,7 +2,7 @@
<view class="dy-withdraw-apply">
<view class="dwa-balance">
<text class="dwab-txt">可提现资金</text>
{{ balance }}
{{ balance.toFixed(2)||"0.00" }}
</view>
<view class="dwa-scroll">
<view class="dwa-opt-line" :key="i">

2
src/subpackage/wallet/pages/douyin_withdraw/index.vue

@ -3,7 +3,7 @@
<image class="dw-icon" mode="aspect" src="/subpackage/wallet/static/images/dy_logo.png"></image>
<view class="dw-tip">可提现资金</view>
<view class="dw-price">
<text class="dp-unit">¥</text>{{ balance }}
<text class="dp-unit">¥</text>{{ balance.toFixed(2)||"0.00" }}
</view>
<view class="dw-btn" @click="applyBtn">申请提现</view>
<view class="dw-link">

6
src/subpackage/wallet/pages/index/modules/wallet_info.vue

@ -2,11 +2,11 @@
<view class="wallet-info">
<view class="wi-bar" @click="$emit('click:admin')">
<view class="wb-txt">钱包查账可登录后台查阅</view>
<image class="wb-icon" mode="aspect" src="/subpackage/wallet/static/images/arrow_b2.png"></image>
<image class="wb-icon" mode="aspect" src="@/subpackage/wallet/static/images/arrow_b2.png"></image>
</view>
<view class="wi-account">
<veiw class="wa-top">
<view class="wt-name">欧轩内部钱包账户</view>
<view class="wt-name">欧轩内部钱包账户余额</view>
<!-- <view class="wt-record">
<text>充值记录</text>
<image class="wr-icon" mode="aspect" src="/subpackage/wallet/static/images/arrow_b2.png"></image>
@ -26,7 +26,7 @@
<text class="wi-txt">宝付提现</text>
</view>
<view class="wb-item" @click="$emit('click:douyin')">
<image class="wi-icon" mode="aspect" src="/subpackage/wallet/static/images/dy_logo.png"></image>
<image class="wi-icon" mode="aspect" src="@/subpackage/wallet/static/images/dy_logo.png"></image>
<text class="wi-txt">抖音提现</text>
</view>
</view>

Loading…
Cancel
Save