瀏覽代碼

订单详情bug 修改

17755135699 1 年之前
父節點
當前提交
f9867f818a
共有 1 個文件被更改,包括 9 次插入8 次删除
  1. 9 8
      pagesHouse/Mine/ordersList/details/details.vue

+ 9 - 8
pagesHouse/Mine/ordersList/details/details.vue

@@ -50,7 +50,7 @@
 						</template>
 						<template v-if="merchantType==4">
 						<view class="tip">
-							<text>周一至周日 · 无需预约</text>
+							<text>{{infoMation.notice|delNotice}}</text>
 						</view>
 						<view class="price">
 							<text>¥</text><text>{{infoMation.realityPay}}</text>
@@ -152,17 +152,12 @@
 			</view>
 		</view>
 		<!-- 餐饮 -->
-		<view class="btns" v-if="merchantType==4&&infoMation.orderStatus==4">
+	<!-- 	<view class="btns" v-if="merchantType==4&&infoMation.orderStatus==4">
 			<view class="detail del" @tap="hexiao2()" v-if="infoMation.orderStatus==4">
 				核销订单
 			</view>
-			<!-- <template v-else>
-				<view class="detail" @tap="Detail(list)">
-					删除订单
-				</view>
-			</template> -->
 
-		</view>
+		</view> -->
 		<!-- <view class="btns" v-if="merchantType==10&&infoMation.status==1"> -->
 		<!-- 	<view class="detail del" @tap="hexiao()" v-if="infoMation.status==1">
 				核销订单
@@ -219,6 +214,12 @@
 			}
 		},
 		filters: {
+			delNotice(val){
+				if (val) {
+					return JSON.parse(val)[0].notice
+					
+				}
+			},
 			delArr(val) {
 				if (val) {
 					return val.split(',')[0]