Browse Source

大牌点餐bug修改

wenjie 7 months ago
parent
commit
a5096f445b
2 changed files with 7 additions and 7 deletions
  1. 5 5
      my/order/foodOrder/detail.vue
  2. 2 2
      orderFood/pay.vue

+ 5 - 5
my/order/foodOrder/detail.vue

@@ -42,9 +42,9 @@
 					
 					<view class="right">
 						<view class="">
-						¥{{item.sellPrice}}
+						¥{{item.selPrice}}
 						</view>
-						<view class="refund" v-if="isRefund(item.productId)">
+						<view class="refund" v-if="isRefund(item.orderSn)">
 							{{ info.goodsList[0].goodsState == 'APPLY_REFUNDING'?'退款中':'已退款'}} 
 						</view>
 					</view>
@@ -95,14 +95,14 @@
 						{{info.goodsList[0].goodsInfo.eatType == 0?'店内就餐':'打包带走'}}
 					</view>
 				</view>
-				<view class="item">
+				<!-- <view class="item">
 					<view class="label">
 						备注
 					</view>
 					<view class="value">
 						{{info.goodsList[0].goodsInfo.remark ||'-'}}
 					</view>
-				</view>
+				</view> -->
 			</view>
 			
 			<view class="content">
@@ -253,7 +253,7 @@
 				let flag = false
 				if(this.info.goodsList[0].extend.sync&&this.info.goodsList[0].extend.sync.refundProducts){
 					this.info.goodsList[0].extend.sync.refundProducts.map(item=>{
-						if(item.productId == id){
+						if(item.orderSn == id){
 							flag = true
 						}
 					})

+ 2 - 2
orderFood/pay.vue

@@ -48,14 +48,14 @@
 				
 			</view>
 		</view>
-		<view class="content">
+		<!-- <view class="content">
 			<view class="item">
 				<view class="label">
 					备注
 				</view>
 				<input class="value input" type="text" placeholder="请填写备注" v-model="createQuery.remark" />
 			</view>
-		</view>
+		</view> -->
 		
 		
 		<view class="type-box content">