Prechádzať zdrojové kódy

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
优惠券下单修改

1004749546@qq.com 4 rokov pred
rodič
commit
58fee9cd2b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      pages/getOrder/getOrder.vue

+ 1 - 1
pages/getOrder/getOrder.vue

@@ -327,7 +327,7 @@
 					"couponAmount": this.couponAmount, // 优惠金额
 					"couponAmount": this.couponAmount, // 优惠金额
 				}
 				}
 				if (this.checkedCoupon) {
 				if (this.checkedCoupon) {
-					params.couponReceivesList = [{couponId:this.checkedCoupon.id}]
+					params.couponReceivesList = [{id:this.checkedCoupon.id}]
 				}
 				}
 				saveOrder(params).then(res => {
 				saveOrder(params).then(res => {
 					uni.hideLoading()
 					uni.hideLoading()