|
|
|
@ -25,7 +25,7 @@ |
|
|
|
|
<view class="user-order" @click="goJump()"> |
|
|
|
|
<view class="a">关联订单</view> |
|
|
|
|
<view class="b"> |
|
|
|
|
<view class="num" v-show="total>0">{{total}}</view> |
|
|
|
|
<view class="num" v-show="form.order_num>0">{{form.order_num}}</view> |
|
|
|
|
<u-icon name="arrow-right"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -120,6 +120,7 @@ |
|
|
|
|
last_login_time: null, |
|
|
|
|
mobile: "", |
|
|
|
|
nick_name: "", |
|
|
|
|
order_num:'', |
|
|
|
|
pay_money: "", |
|
|
|
|
platform: "", |
|
|
|
|
points: null, |
|
|
|
@ -179,26 +180,11 @@ |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
async onLoad(option) { |
|
|
|
|
console.log(option) |
|
|
|
|
console.log(JSON.parse(option.item)) |
|
|
|
|
this.form = Object.assign({},this.form,JSON.parse(option.item)) |
|
|
|
|
this.form.is_allow_promotion = this.form.is_allow_promotion==1?true:false |
|
|
|
|
this.form.status = this.form.status==1?true:false; |
|
|
|
|
this.title = option.title; |
|
|
|
|
if(this.title=='会员管理'){ |
|
|
|
|
let { |
|
|
|
|
status, |
|
|
|
|
message, |
|
|
|
|
data |
|
|
|
|
} = await newFunApi.shopOrderList({ |
|
|
|
|
dataType: 'all', |
|
|
|
|
page: 1, |
|
|
|
|
}); |
|
|
|
|
if (status == 200) { |
|
|
|
|
this.total = data.list.total |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
this.total=0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|