xiaoe_mp_npm 0.5.44-test3 → 0.5.44-test5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -321,7 +321,7 @@ Component({
321
321
  this.setData({
322
322
  goodsCount: this.data.count
323
323
  })
324
- this.countBlur();
324
+ this.countBlur(true);
325
325
  },
326
326
  overlimit(limitType) {
327
327
  if (limitType.detail === 'plus') {
@@ -24,13 +24,17 @@ Component({
24
24
  originalPrice: data?.original_price,
25
25
  goodsPrice: data?.goods_price
26
26
  })
27
- if(!this.data.setCoupon) {
28
- let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
29
- this.setPricingInfoFirst(chooseCouponList, this.data.usedPromoCode)
30
- this.setData({
31
- setCoupon: true
32
- })
33
- }
27
+ // if(!this.data.setCoupon) {
28
+ // console.log('this.data.chooseCouponList',this.data.chooseCouponList)
29
+ // let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
30
+ // this.setPricingInfoFirst(chooseCouponList, this.data.usedPromoCode)
31
+ // this.setData({
32
+ // setCoupon: true
33
+ // })
34
+ // }
35
+ console.log('this.data.chooseCouponList',this.data.chooseCouponList)
36
+ let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
37
+ this.setPricingInfo(chooseCouponList, this.data.usedPromoCode);
34
38
  }
35
39
  },
36
40
  },
@@ -103,7 +107,7 @@ Component({
103
107
  })
104
108
  },
105
109
  setPricingInfoFirst(cu_id, promo_code) {
106
- console.log('cu_id',cu_id)
110
+ console.log('cu_id_first',cu_id)
107
111
  this.triggerEvent('dataChange', {
108
112
  name: "couponSelect",
109
113
  payParams: {
@@ -113,6 +117,7 @@ Component({
113
117
  })
114
118
  },
115
119
  setPricingInfo(cu_id, promo_code) {
120
+ console.log('cu_id',cu_id)
116
121
  this.triggerEvent('dataChange', {
117
122
  name: "couponSelect",
118
123
  payParams: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.44-test3",
3
+ "version": "0.5.44-test5",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -321,7 +321,7 @@ Component({
321
321
  this.setData({
322
322
  goodsCount: this.data.count
323
323
  })
324
- this.countBlur();
324
+ this.countBlur(true);
325
325
  },
326
326
  overlimit(limitType) {
327
327
  if (limitType.detail === 'plus') {
@@ -24,13 +24,17 @@ Component({
24
24
  originalPrice: data?.original_price,
25
25
  goodsPrice: data?.goods_price
26
26
  })
27
- if(!this.data.setCoupon) {
28
- let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
29
- this.setPricingInfoFirst(chooseCouponList, this.data.usedPromoCode)
30
- this.setData({
31
- setCoupon: true
32
- })
33
- }
27
+ // if(!this.data.setCoupon) {
28
+ // console.log('this.data.chooseCouponList',this.data.chooseCouponList)
29
+ // let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
30
+ // this.setPricingInfoFirst(chooseCouponList, this.data.usedPromoCode)
31
+ // this.setData({
32
+ // setCoupon: true
33
+ // })
34
+ // }
35
+ console.log('this.data.chooseCouponList',this.data.chooseCouponList)
36
+ let chooseCouponList = this.changeCouponId(this.data.chooseCouponList)
37
+ this.setPricingInfo(chooseCouponList, this.data.usedPromoCode);
34
38
  }
35
39
  },
36
40
  },
@@ -103,7 +107,7 @@ Component({
103
107
  })
104
108
  },
105
109
  setPricingInfoFirst(cu_id, promo_code) {
106
- console.log('cu_id',cu_id)
110
+ console.log('cu_id_first',cu_id)
107
111
  this.triggerEvent('dataChange', {
108
112
  name: "couponSelect",
109
113
  payParams: {
@@ -113,6 +117,7 @@ Component({
113
117
  })
114
118
  },
115
119
  setPricingInfo(cu_id, promo_code) {
120
+ console.log('cu_id',cu_id)
116
121
  this.triggerEvent('dataChange', {
117
122
  name: "couponSelect",
118
123
  payParams: {