From 1e7a8f76d16701e8637301495e7cd16c191e3c4d Mon Sep 17 00:00:00 2001 From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com> Date: Fri, 26 Apr 2024 11:14:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=9A=82=E5=AD=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages/admin/orderList/index.vue | 109 +++++++++++++------------------- pages/product/list/index.vue | 7 +- 3 files changed, 50 insertions(+), 70 deletions(-) diff --git a/manifest.json b/manifest.json index 63113ed..14d19d5 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name": "惠农商户平台", "appid": "__UNI__1EE148C", "description": "", - "versionName": "1.4.9", - "versionCode": 1490, + "versionName": "1.5.0", + "versionCode": 1500, "transformPx": false, /* 5+App特有相关 */ "app-plus": { diff --git a/pages/admin/orderList/index.vue b/pages/admin/orderList/index.vue index f131700..62abe9d 100644 --- a/pages/admin/orderList/index.vue +++ b/pages/admin/orderList/index.vue @@ -42,6 +42,7 @@ + @@ -103,20 +104,21 @@ - + - 暂存单号:{{ item.order && item.order[0] && item.order[0].order_sn }} - 暂存时间:{{ item.order && item.order[0] && item.order[0].create_time }} - 待发货 - 待发货 - 待核销 + 暂存单号:{{ item.order_sn }} + 暂存时间:{{ item.c_time }} + 未支付 + 待核销 + 待发货 + 待收货 + 待评价 + 交易完成 + 退款 - - + @@ -134,35 +136,22 @@ - x{{ item.order[0].total_num }} + x{{ item.storeOrder.total_num }} - - - - - - - + - - 订单备注 - 去发货 + 订单备注 + 去核销 + 去发货 - 去发货 - - 去核销 - 立即退款 + + + 立即退款 @@ -578,21 +567,18 @@ } setRefundMark(that.merId, that.refundInfo.refund_order_id, { mer_mark: that.refundInfo.mer_mark - }).then( - res => { - that.refundMark = false; - this.$util.Tips({ - title: res.message, - icon: 'success' - }) - }, - err => { - that.refundMark = false; - that.$util.Tips({ - title: err - }); - } - ); + }).then(res => { + that.refundMark = false; + this.$util.Tips({ + title: res.message, + icon: 'success' + }) + }, err => { + that.refundMark = false; + that.$util.Tips({ + title: err + }); + }); }, changeclose: function(msg) { this.change = msg; @@ -629,9 +615,6 @@ }) if (!uni.$u.test.mobile(this.deliveryForm.delivery_id)) { - - console.log(3123123); - return uni.showToast({ title: "手机号输入有误!", icon: "none" @@ -662,19 +645,15 @@ this.deliveryForm.delivery_id = ''; this.deliveryForm.remark = ''; - this.deliveryForm.mer_id = item.mer_id; - this.deliveryForm.order_id = item.order_id; + if (item.mer_id) { + this.deliveryForm.mer_id = item.mer_id; + this.deliveryForm.order_id = item.order_id; + } else { + this.deliveryForm.mer_id = item.order[0].mer_id; + this.deliveryForm.order_id = item.order[0].order_id; + } + this.popUpShow = true; - - // this.shipment.delivery_name = this.shipment.to_name - // this.shipment.delivery_id = this.shipment.to_phone - - // logisticsCode(item.order_id).then(res => { - - // if (res.status == 200) { - // this.payCodeUrl = res.data.qrcode - // } - // }) }, toPostage(item) { @@ -767,8 +746,8 @@ order_id = item.order_id; mer_id = item.mer_id; } else { - order_id = item.order[0].order_id; - mer_id = item.order[0].merchant.mer_id; + order_id = item.order_id; + mer_id = item.mer_id; } uni.navigateTo({ diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index 457bab2..227026e 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -142,11 +142,12 @@ - - - + + +