|
|
@@ -13,18 +13,21 @@
|
|
|
<div class="app-color-3">ID:{{ data.id }}</div>
|
|
|
</div>
|
|
|
<div class="source-wrap">
|
|
|
- <text style="font-weight:bold;font-size:30upx;color:#3385ff;">{{ data.memberName }} {{ data.discount }}</text>
|
|
|
+ <text style="font-weight:bold;font-size:30upx;color:#3385ff;">
|
|
|
+ {{ data.memberName }}
|
|
|
+ <text v-if="Number(data.discount)>0 && Number(data.discount)<1" style="margin-left:10upx;">{{ data.discount*100 }}折</text>
|
|
|
+ </text>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-bottom">
|
|
|
|
|
|
- <div class="data-list">
|
|
|
+ <div class="data-list" @click="pageTo({ url: '/admin/custom/balanceChange?id='+data.id })">
|
|
|
<div class="app-size-30 app-bold">{{ balance }}</div>
|
|
|
<div class="app-color-3">余额</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="data-list">
|
|
|
+ <div class="data-list" @click="pageTo({ url: '/admin/order/debtList?id='+data.id })">
|
|
|
<div class="app-size-30 app-bold">{{ debtAmount }}</div>
|
|
|
<div class="app-color-3">欠款</div>
|
|
|
</div>
|
|
|
@@ -401,16 +404,19 @@ export default {
|
|
|
this.$msg('充值金额要大于0')
|
|
|
return false
|
|
|
}
|
|
|
- uni.showLoading({mask:true})
|
|
|
- toManRecharge({amount:this.rForm.rechargeAmount,remark:this.rForm.rechargeRemark,payWay:this.rForm.rechargePayWay,customId:this.option.id}).then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- this.rechargeModal = false
|
|
|
- this.$msg('充值成功')
|
|
|
- this.rForm.rechargeAmount = ''
|
|
|
- this.rForm.rechargeRemark = ''
|
|
|
- this.rForm.rechargePayWay = 0
|
|
|
- this.init()
|
|
|
- }
|
|
|
+ this.$util.confirmModal({content:'确认充值?'},() => {
|
|
|
+ uni.showLoading({mask:true})
|
|
|
+ toManRecharge({amount:this.rForm.rechargeAmount,remark:this.rForm.rechargeRemark,payWay:this.rForm.rechargePayWay,customId:this.option.id}).then(res=>{
|
|
|
+ uni.hideLoading()
|
|
|
+ if(res.code == 1){
|
|
|
+ this.rechargeModal = false
|
|
|
+ this.$msg('充值成功')
|
|
|
+ this.rForm.rechargeAmount = ''
|
|
|
+ this.rForm.rechargeRemark = ''
|
|
|
+ this.rForm.rechargePayWay = 0
|
|
|
+ this.init()
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
callMobile() {
|