This commit is contained in:
zmj 2024-07-04 11:26:44 +08:00
parent e21a81ebd2
commit a14cf624da
1 changed files with 8 additions and 7 deletions

View File

@ -32,7 +32,7 @@
<view class="card card1"> <view class="card card1">
<view class="card1-tit"> <view class="card1-tit">
行业会员开通报备 行业会员开通报备
<!-- <up-input v-model='formData.auth_code'> </up-input> --> <up-input v-model='formData.auth_code'> </up-input>
</view> </view>
<up-form labelPosition="left" :model="formData" :borderBottom='false'> <up-form labelPosition="left" :model="formData" :borderBottom='false'>
<up-form-item label=""> <up-form-item label="">
@ -818,18 +818,19 @@
// }, 10000) // }, 10000)
// }) // })
// return // return
formData.user_ship = formData.label_id // formData.user_ship = formData.label_id
await isUserShipApi({ // await isUserShipApi({
user_ship: formData.user_ship, // user_ship: formData.user_ship,
village: formData.village, // village: formData.village,
brigade: formData.brigade // brigade: formData.brigade
}) // })
uni.scanCode({ uni.scanCode({
success: function(res) { success: function(res) {
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整'); if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');
uni.showLoading({ uni.showLoading({
title: '支付中...' title: '支付中...'
}); });
formData.user_ship = formData.label_id
formData.auth_code = res.result formData.auth_code = res.result
formData.recharge_type = 'INDUSTRYMEMBERS' formData.recharge_type = 'INDUSTRYMEMBERS'
vipRechargeApi(formData).then(res => { vipRechargeApi(formData).then(res => {