diff --git a/pages/news/user/index.vue b/pages/news/user/index.vue index 2009757..7dbb1ce 100644 --- a/pages/news/user/index.vue +++ b/pages/news/user/index.vue @@ -25,7 +25,7 @@ 关联订单 - {{total}} + {{form.order_num}} @@ -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 - } } }