cmy 2 年之前
父節點
當前提交
fd404b00ba
共有 1 個文件被更改,包括 6 次插入1 次删除
  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
 					store_id:that.system_store.id
 				}
 				}
 				getCouponsServeOrderPrice(this.totalPrice, data).then(res => {
 				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;
 					that.openType = 1;
 				});
 				});
 			},
 			},