This commit is contained in:
zmj 2024-07-01 18:36:12 +08:00
parent 836d546b13
commit 68e822f33b
1 changed files with 18 additions and 4 deletions

View File

@ -113,7 +113,7 @@
<view class="card card1">
<view class="card1-tit">
行业会员追加经营资金
<!-- <up-input v-model='formData.auth_code'> </up-input> -->
<!-- <up-input v-model='formData2.auth_code'> </up-input> -->
</view>
<up-form labelPosition="left" :model="formData2" :borderBottom='false'>
<up-form-item label="">
@ -207,7 +207,7 @@
{{ item.real_name }}
</view>
<view style="color: #33B83A;" @click="popPhone=item.mobile,showModal=true">
手机号
查看号码
</view>
</uni-td>
<uni-td style="font-size: 20rpx;" align="center">{{ item.price }}</uni-td>
@ -765,7 +765,21 @@
if (!formData2.mobile) return uni.$u.toast('请填写电话号码');
if (formData2.price < formData2.label_limit) return uni.$u.toast(
`${formData2.label_name}角色最低金额不能低于${formData2.label_limit}`);
formData2.store_id = STORE_INFO.id
// formData2.store_id = STORE_INFO.id
// formData2.recharge_type = 'INDUSTRYMEMBERS'
// formData2.user_ship = formData2.label_id
// vipRechargeApi(formData2).then(res => {
// uni.showLoading({
// title: '...'
// });
// timerInvol = setTimeout(() => {
// uni.hideLoading();
// uni.$u.toast('');
// console.log("")
// }, 10000)
// })
// return
uni.scanCode({
success: function(res) {
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');
@ -774,7 +788,7 @@
});
formData2.auth_code = res.result
formData2.recharge_type = 'INDUSTRYMEMBERS'
formData2.user_ship = formData.label_id
formData2.user_ship = formData2.label_id
vipRechargeApi(formData2).then(res => {
timerInvol = setTimeout(() => {
uni.hideLoading();