lsx пре 2 година
родитељ
комит
a22e412561
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      src/packagePrize/goods/index.vue

+ 6 - 0
src/packagePrize/goods/index.vue

@@ -159,6 +159,12 @@
 							...res.data,
 							...this.info,
 							picUrl: env.filePublic + res.data.goodsPicUrl.split(',')[0],
+							couponTitle: res.data && res.data.couponList && res.data.couponList.length &&
+								res
+								.data.couponList[0].title,
+							couponId: res.data && res.data.couponList && res.data.couponList.length && res
+								.data
+								.couponList[0].id
 						}
 						this.payInfo = info
 						this.payShow = true