jufubao-base 1.0.317 → 1.0.318

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": "jufubao-base",
3
- "version": "1.0.317",
3
+ "version": "1.0.318",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -642,7 +642,9 @@
642
642
  this.$xdHideLoading();
643
643
  this.showDisabled = res.is_show_invalid_card_entrance;
644
644
 
645
- let list = res.list.map(item => {
645
+ let list = res.list.filter((item, index) => {
646
+ return item["is_valid"] === "Y";
647
+ }).map(item => {
646
648
  item.other_card_point = item.other_card_point ? this.$xdUniHelper.divisionFloatNumber(item.other_card_point, 100) : 0
647
649
  return item;
648
650
  })
@@ -652,7 +654,7 @@
652
654
  }
653
655
  this.couponList = list;
654
656
  }
655
- if(show_type === 'normal'){
657
+ if (show_type === 'normal') {
656
658
  if(this.$configProject.isPreview){
657
659
  list = list.filter(item => item.consume_type != 2)
658
660
  }