gxd-uni-library-editx 1.0.64 → 1.0.65

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gxd-uni-library-editx",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -269,6 +269,7 @@ export default {
269
269
  this.selectedCardList = this.selectedCardList.map(item => {
270
270
  if(!checkedArr.includes(item.card_number)){
271
271
  this.needPayPrice = +this.needPayPrice + item['card_use_price'];
272
+ this.cardPayPrice = this.cardPayPrice - item.card_use_price;
272
273
  item['card_use_point'] = 0;
273
274
  }
274
275
  return item;
@@ -857,4 +858,4 @@ export default {
857
858
  }
858
859
  }
859
860
  }
860
- </style>
861
+ </style>
@@ -70,11 +70,15 @@
70
70
  if(n){
71
71
  if(!this.hadChoseWallet){
72
72
  this.selectedWalletList = [];
73
+ this.walletPayPrice = 0;
73
74
  }else{
74
75
  let checkedArr = this.hadChoseWallet.map(w => w.wallet_virtual_number);
75
- console.log('checkedArr', checkedArr)
76
- this.selectedWalletList = this.selectedWalletList.filter(item => {
77
- return checkedArr.incluedes(item.wallet_virtual_number);
76
+ this.selectedWalletList = this.selectedWalletList.map(item => {
77
+ if(!checkedArr.includes(item.wallet_virtual_number)){
78
+ this.walletPayPrice = this.walletPayPrice - item.wallet_use_price;
79
+ item['wallet_use_price'] = 0;
80
+ }
81
+ return item;
78
82
  });
79
83
  }
80
84
  }