浏览代码

价值优惠券 采美豆抵扣

zhengjinyi 3 年之前
父节点
当前提交
5903216d18

+ 1 - 1
components/cm-module/cart-components/index.vue

@@ -1485,7 +1485,7 @@ export default {
 			this.ProductService.ReceiveCoupon({
 				userId: this.couponParam.userId,
 				couponId: coupon.couponId,
-				source: 2
+				source: 1
 			})
 				.then(response => {
 					this.$util.msg('领取成功', 1500, true, 'success')

+ 1 - 1
pages/goods/product.vue

@@ -1130,7 +1130,7 @@ export default {
 			this.ProductService.ReceiveCoupon({
 				userId: this.couponParam.userId,
 				couponId: coupon.couponId,
-				source: 2
+				source: 1
 			})
 				.then(response => {
 					this.$util.msg('领取成功', 1500, true, 'success')

+ 2 - 0
pages/user/account/account-bean.vue

@@ -143,6 +143,8 @@
                         14:'购买超级会员',
                         15:'系统扣除',
                         16:'系统退回',
+                        17:'抵扣优惠券',
+                        18:'优惠券退款',
 					}
 				Object.keys(stateTextObject).forEach(function(key){
 					if(key == state){

+ 1 - 1
pages/user/coupon/coupon-activity.vue

@@ -290,7 +290,7 @@ export default {
 				this.ProductService.ReceiveCoupon({
 					userId: this.listQuery.userId,
 					couponId: coupon.couponId,
-					source: 2
+					source: 1
 				})
 					.then(response => {
 						this.isReceiveLoading = true

+ 1 - 1
pages/user/coupon/coupon-collection.vue

@@ -268,7 +268,7 @@ export default {
 				this.ProductService.ReceiveCoupon({
 					userId: this.listQuery.userId,
 					couponId: coupon.couponId,
-					source: 2
+					source: 1
 				})
 					.then(response => {
 						this.isReceiveLoading = true