From 22516ca2543cf97cfa40f7f6b53b3b1b49b76668 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 06 八月 2024 20:35:33 +0800
Subject: [PATCH] update

---
 manifest.json                |    2 +-
 pages/order/order.vue        |    4 ++--
 pages/order/order-detail.vue |    7 +++++--
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/manifest.json b/manifest.json
index 2848179..782394c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
     "quickapp" : {},
     /* 快应用特有相关 */
     "mp-weixin" : {
-        "appid" : "wx1441324401626290",
+        "appid" : "wx6d0ecc4e18710458",
         "setting" : {
             "urlCheck" : false,
             "es6" : true,
diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue
index 5ced962..8852e4d 100644
--- a/pages/order/order-detail.vue
+++ b/pages/order/order-detail.vue
@@ -285,6 +285,8 @@
 				if (code == 0) {
 					this.$message.showToast('提交成功')
 					this.showSales = false
+					this.$forceUpdate()
+					uni.navigateBack()
 				}
 			},
 		},
@@ -529,8 +531,9 @@
 			</view>
 			<view class="button button-1" @click="buttonClick('evaluate')" v-if=" dto.status === 'EVALUATE'"> 评价
 			</view>
-			<view class="button button-1" @click="buttonClick('sales')"
-				v-if=" dto.status === 'EVALUATE'||dto.status=='COMPLETED'"> 申请售后
+			<!-- ||dto.status=='COMPLETED' -->
+			<view class="button button-1" @click="buttonClick('sales')"			
+				v-if=" dto.status === 'RECEIVE'"> 申请售后
 			</view>
 		</view>
 		<view v-if="showSales">
diff --git a/pages/order/order.vue b/pages/order/order.vue
index 8972272..388b2d4 100644
--- a/pages/order/order.vue
+++ b/pages/order/order.vue
@@ -349,9 +349,9 @@
 					<view class="button button-0 m-l-a m-r-15" @click="buttonClick(dto,'confirm')"
 						v-if="dto.statusBackend ==='RECEIVE'"> 确认收货
 					</view>
-
+					<!-- ||item.statusBackend=='COMPLETED' -->
 					<view class="button button-1 m-l-a m-r-15" @click="toDetailSale(dto)"
-						v-if="dto.statusBackend === 'EVALUATE'||item.statusBackend=='COMPLETED'"> 申请售后
+						v-if="dto.statusBackend === 'RECEIVE'"> 申请售后
 					</view>
 					<view class="button button-0 m-l-a m-r-15" @click="buttonClick(dto,'evaluate')"
 						v-if="dto.statusBackend === 'EVALUATE'"> 评价

--
Gitblit v1.9.3