cmy 11 months ago
parent
commit
fd404b00ba
1 changed files with 6 additions and 1 deletions
  1. 6 1
      pages/goods/order_confirm/yuyue.vue

+ 6 - 1
pages/goods/order_confirm/yuyue.vue

@@ -426,7 +426,12 @@
 					store_id:that.system_store.id
 				}
 				getCouponsServeOrderPrice(this.totalPrice, data).then(res => {
-					that.$set(that.coupon, 'list', res.data);
+					// console.log(that.coupon,'that.coupon');
+					const arr = res.data.map((re)=>{
+						re.title = re.coupon_title;
+						return re
+					})
+					that.$set(that.coupon, 'list', arr);
 					that.openType = 1;
 				});
 			},