gxd-uni-library-editx 1.0.136-beta2 → 1.0.136-beta4

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.136-beta2",
3
+ "version": "1.0.136-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -80,7 +80,7 @@
80
80
  ></xd-radio>
81
81
  </view>
82
82
  <view class="_cont">
83
- <view style="margin-right: 30rpx;">ID:{{ticket.card_number}}</view>
83
+ <view style="margin-right: 30rpx;">ID:{{ticket.show_card_number || ticket.card_number}}</view>
84
84
  <view>有效期至:{{getTimeFormat(ticket.end_time)}}</view>
85
85
  </view>
86
86
  <view class="_footer">
@@ -68,7 +68,7 @@
68
68
  ></xd-radio>
69
69
  </view>
70
70
  <view class="_cont">
71
- <view style="margin-right: 30rpx;">ID:{{ticket.card_number}}</view>
71
+ <view style="margin-right: 30rpx;">ID:{{ticket.show_card_number || ticket.card_number}}</view>
72
72
  <view>有效期至:{{getTimeFormat(ticket.end_time)}}</view>
73
73
  </view>
74
74
  <view class="_footer">
@@ -634,6 +634,7 @@ export default {
634
634
  ...options
635
635
  }, (res) => {
636
636
  let resOptions = JSON.parse(JSON.stringify(res));
637
+ let oldSelectCardList = res.selected_card_list;
637
638
  resOptions.selected_card_list = this.filterMGinfo(resOptions.selected_card_list)
638
639
  this.$xdLog.setARMSInfo({
639
640
  ...options,
@@ -697,7 +698,7 @@ export default {
697
698
  //当前添加的卡信息
698
699
  let currAddCard = this.selectedCardList.find(item => item.card_number == cardForm.card_number);
699
700
  if(!currAddCard){
700
- currAddCard = selected_card_list[0];
701
+ currAddCard = oldSelectCardList[0];
701
702
  }
702
703
  this.lastUseUnit = currAddCard.unit == '次' ? '次' : "";
703
704
  }