Ver código fonte

bug修复:团餐商户退款字段

baijunde 7 meses atrás
pai
commit
d388f111bc
2 arquivos alterados com 7 adições e 13 exclusões
  1. 2 2
      manifest.json
  2. 5 11
      pages/groupMeal/orders/refund.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "掌柜生活商户版",
     "appid" : "__UNI__E0EA6E1",
     "description" : "",
-    "versionName" : "1.1.5.4",
-    "versionCode" : 1154,
+    "versionName" : "1.1.5.6",
+    "versionCode" : 1156,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 5 - 11
pages/groupMeal/orders/refund.vue

@@ -60,7 +60,9 @@
 				</view>
 				<view class="">
 					<view class="information">
-						拒绝原因:{{ data.refuseReason && reasonList.find(item => item.value == data.refuseReason).label }}
+						拒绝原因:
+						{{ data.refuseReason ==0?'商品已使用':'商品已核销' }}
+						<!-- {{ data.refuseReason && reasonList.find(item => item.value == data.refuseReason).label }} -->
 					</view>
 					<view class="information">
 						补充说明:{{ data.refuseReasonExplain }}
@@ -121,16 +123,7 @@ export default {
 		return {
 			data: {},
 			query: {},
-			reasonList: [
-				{
-					name: '商品已使用',
-					check: false,
-				},
-				{
-					name: '服务已核销',
-					check: false,
-				}
-			],
+			reasonList: [],
 			isRefuse: false,
 			rejectData: {
 				refuseReason: '',
@@ -166,6 +159,7 @@ export default {
 		},
 		// 选择拒绝原因
 		onSelect(item, index) {
+			console.log(item.value)
 			this.reasonList.forEach(reason => {
 				reason.check = false;
 			});