xiaoxin 1 anno fa
parent
commit
5e4b5c6785
2 ha cambiato i file con 910 aggiunte e 878 eliminazioni
  1. 13 0
      pages/order/index.vue
  2. 897 878
      pages/order/orderDet.vue

+ 13 - 0
pages/order/index.vue

@@ -56,6 +56,7 @@
 										v-if="item.status == 3&&item.orderType==2&&item.riderUserId">配送中</view>
 									<view class="text-grey text-lg" v-if="item.status == 4">已完成</view>
 									<view class="text-gray text-lg" v-if="item.status == 5">已取消</view>
+									<view class="text-gray text-lg" v-if="item.status == 8">已退款</view>
 									<view class="text-gray text-sm">{{item.payTime}}</view>
 
 								</view>
@@ -309,6 +310,9 @@
 					},
 					{
 						name: '已取消'
+					},
+					{
+						name: '已退款'
 					}
 				],
 				waimaiList: [{
@@ -327,6 +331,9 @@
 					},
 					{
 						name: '已取消'
+					},
+					{
+						name: '已退款'
 					}
 				],
 				arr:[],
@@ -1191,6 +1198,9 @@
 					case '4':
 						this.status = 4 //制作中
 						break;
+					case 6:
+							this.status = 8 //已退款
+							break;
 
 				}
 				this.getOrderList()
@@ -1234,6 +1244,9 @@
 					case 5:
 						this.status = 5
 						break;
+						case 6:
+							this.status = 8
+							break;
 				}
 				this.getOrderList()
 			},

File diff suppressed because it is too large
+ 897 - 878
pages/order/orderDet.vue