diff --git a/pages/admin/orderList/index.vue b/pages/admin/orderList/index.vue index 5dbaab2..4644809 100644 --- a/pages/admin/orderList/index.vue +++ b/pages/admin/orderList/index.vue @@ -265,7 +265,11 @@ id:id, type:number } - this.getIndex(); + this.$nextTick(()=>{ + this.where.is_verify = 1; + delete this.where.status; + this.init(); + }) postconfirm(this.merId,data).then(res=>{ console.log(res); }) diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index ba97143..ec4aeb9 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -1,743 +1,756 @@ \ No newline at end of file diff --git a/pages/users/online_warehousing/index.vue b/pages/users/online_warehousing/index.vue index fad0721..015ffa5 100644 --- a/pages/users/online_warehousing/index.vue +++ b/pages/users/online_warehousing/index.vue @@ -1,276 +1,345 @@ \ No newline at end of file diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue index 3e0ae76..7aca24f 100644 --- a/pages/users/order_confirm/index.vue +++ b/pages/users/order_confirm/index.vue @@ -653,6 +653,7 @@ order_key: '', is_take: '', domain: HTTP_REQUEST_URL, + product_type:'' }; }, computed: { @@ -670,6 +671,7 @@ onReady() {}, mounted: function() {}, onLoad: function(options) { + this.product_type=options.product_type this.seckillId = options.seckillId // #ifdef H5 this.from = this.$wechat.isWeixin() ? 'weixin' : 'h5' @@ -1201,7 +1203,7 @@ callback_key = res.data.result.pay_key, jsConfig = res.data.result.config, goPages = '/pages/order_pay_status/index?order_id=' + orderId + '&msg=' + res.message, - goPagesOrder='/pages/order_details/stay?order_id=' + orderId+'&credit_buy=1'; + goPagesOrder='/pages/order_details/stay?order_id=' + orderId+'&credit_buy=1&product_type='+that.product_type ; that.orderPay = true; uni.hideLoading(); switch (status) { diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue index 6fb1ac0..37b972a 100644 --- a/pages/users/order_list/index.vue +++ b/pages/users/order_list/index.vue @@ -21,7 +21,7 @@ 全部 {{orderData.all || 0}} - + 待付款 {{orderData.noPay || 0}} @@ -416,7 +416,8 @@ id: '' }, //商品分类 - activity_type: '' + activity_type: '', + product_type:'' }; }, computed: { @@ -499,6 +500,7 @@ */ onLoad: function(options) { if (options.status) this.orderStatus = options.status; + if (options.product_type) this.product_type = options.product_type; }, /** * 获取订单统计数据 @@ -507,7 +509,7 @@ getOrderData: function() { let that = this; orderData({ - product_type:this.product_type + product_type:that.product_type }).then(res => { that.$set(that, 'orderData', res.data); }) @@ -661,10 +663,11 @@ that.loadTitle = "加载更多"; if (that.isReady) { that.isReady = false - if (that.orderStatus == 0) { + if (that.orderStatus == 20) { groupOrderList({ page: that.page, limit: that.limit, + product_type:that.product_type }).then(res => { console.log(res); that.isReady = true; @@ -686,6 +689,7 @@ status: that.orderStatus - 1, page: that.page, limit: that.limit, + product_type:that.product_type }).then(res => { console.log(res); let list = res.data.list || []; diff --git a/static/images/xianshang.png b/static/images/xianshang.png new file mode 100644 index 0000000..404b420 Binary files /dev/null and b/static/images/xianshang.png differ diff --git a/static/images/xianxia.png b/static/images/xianxia.png new file mode 100644 index 0000000..f5acbd5 Binary files /dev/null and b/static/images/xianxia.png differ