Răsfoiți Sursa

修改地址

shish 1 an în urmă
părinte
comite
1c3698dbad

+ 4 - 1
ghsApp/src/admin/home/components/OrderItem.vue

@@ -1,6 +1,7 @@
 <template>
     <view>
-        <view class="order-top_box" style="position:relative;" @click="pageTo({url:'/pagesOrder/detail',query: {id: item.id}})">
+      <view @click="pageTo({url:'/pagesOrder/detail?id='+item.id})">
+        <view class="order-top_box" style="position:relative;">
 
         <image style="width:105upx;position:absolute;top:80upx;right:12upx;" v-if="currentStatus == 1 && item.book == 0"
         @click.stop="pageTo({url:'/admin/billing/toPay',query: {orderId:item.id,orderSn:item.orderSn,actPrice:item.actPrice}})"
@@ -95,6 +96,8 @@
             </view>
         </view>
 
+      </view>
+
       <uni-popup ref="morePopup" background-color="#fff" type="center" :animation="true" class="class-popup-style">
         <view style="padding:30upx 40upx;width:50vw;">
           <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;" @click="addExpress(item)">顺丰下单</button></view>

+ 8 - 0
ghsApp/src/pagesClient/member/modify.vue

@@ -62,6 +62,14 @@ export default {
 		}
 	},
 	onLoad() {
+
+		//返回上一页时不需要刷新
+		let pages = getCurrentPages();
+		let prevPage = pages[ pages.length - 2 ];
+		//订单列表页修改客户地址,返回时不刷新
+		prevPage.$vm.fromDetail = {status:1}
+
+
 		if(this.option.name){
 			uni.setNavigationBarTitle({ title: this.option.name })
 		}