Sfoglia il codice sorgente

Merge branch 'master' of http://git.cc-lotus.info/pointToNetwork/point-app

guhongwei 2 anni fa
parent
commit
50fd8cd0cf
2 ha cambiato i file con 3 aggiunte e 6 eliminazioni
  1. 1 0
      pagesHome/order/detail.vue
  2. 2 6
      pagesMy/order/service.vue

+ 1 - 0
pagesHome/order/detail.vue

@@ -628,6 +628,7 @@
 			async searchRate(e) {
 				const that = this;
 				let res = await that.$api(`/goodsRate`, `GET`, {
+					limit: 1,
 					goods: e.goods._id
 				})
 				if (res.errcode == '0') that.$set(that, `evaluate_num`, res.total);

+ 2 - 6
pagesMy/order/service.vue

@@ -367,12 +367,8 @@
 						'GET', {}, 'group');
 					if (arr.errcode == '0') {
 						if (arr.data == true) {
-							if (status == '3') {
-								that.Receip(params)
-							} else {
-								that.orderCancel(params)
-								console.log(params);
-							}
+							if (status == '3') that.Receip(params)
+							else that.orderCancel(params)
 						} else {
 							uni.showToast({
 								title: '该商品时间超时不允许退款或退货',