为TA充值

This commit is contained in:
Mr.jiang 2024-06-25 09:51:43 +08:00
parent 05c4e9d23f
commit 79f90a6807
1 changed files with 5 additions and 6 deletions

View File

@ -25,7 +25,7 @@
<view class="padding-lr padding-bottom"> <view class="padding-lr padding-bottom">
<view class="chongzhi"> <view class="chongzhi">
<span class="yu-e">余额充值</span> <span class="yu-e">余额充值</span>
<span v-if="artificerId.artificerId=='my'" @click="goNavtherapist('/pages/therapist/therapistDingdan')">为TA充值</span> <span v-if="artificerId.artificerId=='my'||artificerId.artificerId==undefined" @click="goNavtherapist('/pages/therapist/therapistDingdan')">为TA充值</span>
</view> </view>
<view class="flex justify-between flex-wrap" v-if="wallet.length > 0"> <view class="flex justify-between flex-wrap" v-if="wallet.length > 0">
<view v-for="(item,index) in wallet" :key='index' class="padding-sm radius" <view v-for="(item,index) in wallet" :key='index' class="padding-sm radius"
@ -337,14 +337,13 @@
txMsg: '', txMsg: '',
nameTxt:'', nameTxt:'',
couponId:'', couponId:'',
artificerId:'' artificerId:'',
artificerIdMy:''
} }
}, },
onLoad(d) { onLoad(d) {
this.artificerId=d; this.artificerId=d;
if(this.artificerId.artificerId==undefined){ this.artificerIdMy=this.$queue.getData('getJishi')
this.artificerId=this.$queue.getData('getJishi')
}
if (d.tabIndex) { if (d.tabIndex) {
this.tabIndex = d.tabIndex; this.tabIndex = d.tabIndex;
this.title_color = 2; this.title_color = 2;
@ -682,7 +681,7 @@
payClassifyId: this.thisSelect.payClassifyId, payClassifyId: this.thisSelect.payClassifyId,
type: 2, type: 2,
userId: uni.getStorageSync('userId'), userId: uni.getStorageSync('userId'),
artificerId:this.artificerId.artificerId artificerId:this.artificerId.artificerId==undefined?this.artificerIdMy.artificerId:this.artificerId.artificerId
} }
this.$Request.post('/app/aliPay/payOrderMoney', data).then( this.$Request.post('/app/aliPay/payOrderMoney', data).then(
res => { res => {