jufubao-admin-library 1.1.101 → 1.1.103

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.
@@ -127,19 +127,30 @@ export default {
127
127
  },
128
128
 
129
129
  setMovieForm (data) {
130
- if(data.adjust_type=='CARD_CITY') {
130
+
131
+ if(data.adjust_type==='CARD_CITY') {
131
132
  if (data['valid_data']) {
132
133
  let valid_data = this.getParseJSON(data.valid_data)
133
134
  data.card= valid_data.card
134
135
  data.city=valid_data.city
135
136
  delete data.valid_data
136
137
  }
138
+ //设置是否隐藏其他号段
139
+ if(data['is_hide_other_card']) {
140
+ data['CARD_CITY_is_hide_other_card'] = data['is_hide_other_card'];
141
+ delete data['is_hide_other_card']
142
+ }
137
143
  } else {
138
144
  let adjust_type_key = `${data.adjust_type}_valid_data`
139
145
  if (data['valid_data']) {
140
146
  data[adjust_type_key] = this.getParseJSON(data.valid_data)
141
147
  delete data.valid_data
142
148
  }
149
+ //设置是否隐藏其他号段
150
+ if(data['is_hide_other_card']) {
151
+ data['CARD_is_hide_other_card'] = data['is_hide_other_card'];
152
+ delete data['is_hide_other_card']
153
+ }
143
154
  }
144
155
  if (data.valid_weeks) data.valid_weeks = this.getParseJSON(data.valid_weeks)
145
156
 
@@ -730,6 +741,16 @@ export default {
730
741
  { required: true, message: '请输入号段', trigger: ['blur', 'change'] }
731
742
  ]
732
743
  },
744
+ params.adjust_type === 'CARD_CITY' && {
745
+ label: '是否隐藏其他卡号:',
746
+ ele: 'xd-radio',
747
+ valueKey: 'CARD_CITY_is_hide_other_card',
748
+ value: params['CARD_CITY_is_hide_other_card'] || 'N',
749
+ list: [
750
+ { "label": "隐藏", "value": 'Y' },
751
+ { "label": "不隐藏", "value": 'N' },
752
+ ],
753
+ },
733
754
  params.adjust_type === 'CITY' && {
734
755
  label: '按城市:',
735
756
  placeholder: '请选择城市',
@@ -758,6 +779,16 @@ export default {
758
779
  { required: false, message: '请输入时间', trigger: ['blur', 'change'] }
759
780
  ]
760
781
  },
782
+ params.adjust_type === 'CARD' && {
783
+ label: '是否隐藏其他卡号:',
784
+ ele: 'xd-radio',
785
+ valueKey: 'CARD_is_hide_other_card',
786
+ value: params['CARD_is_hide_other_card'] || 'N',
787
+ list: [
788
+ { "label": "隐藏", "value": 'Y' },
789
+ { "label": "不隐藏", "value": 'N' },
790
+ ],
791
+ },
761
792
  params.adjust_type === 'CINE' && {
762
793
  label: '按影院:',
763
794
  ele: 'xd-remote-select',
@@ -1054,7 +1085,17 @@ export default {
1054
1085
  let data = this.$xdHelper.cloneDeep(this.listValue)
1055
1086
  let adjust_type_key = `${data.adjust_type}_valid_data`
1056
1087
 
1057
- if(data.adjust_type==='CARD_CITY') {
1088
+ //是否隐藏其他号段
1089
+ if(data['CARD_CITY_is_hide_other_card']) {
1090
+ data['is_hide_other_card'] = data['CARD_CITY_is_hide_other_card'];
1091
+ delete data['CARD_CITY_is_hide_other_card']
1092
+ }
1093
+ if(data['CARD_is_hide_other_card']) {
1094
+ data['is_hide_other_card'] = data['CARD_is_hide_other_card'];
1095
+ delete data['CARD_is_hide_other_card']
1096
+ }
1097
+
1098
+ if(data.adjust_type === 'CARD_CITY') {
1058
1099
  data['valid_data'] = {
1059
1100
  city:data['city'],
1060
1101
  card:data['card']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.101",
3
+ "version": "1.1.103",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {