manage-client 3.2.214 → 3.2.215

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": "manage-client",
3
- "version": "3.2.214",
3
+ "version": "3.2.215",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -177,9 +177,7 @@
177
177
  <td style="text-align: center;">
178
178
  <nobr>{{row.f_orgname}}</nobr>
179
179
  </td>
180
- <td style="text-align: center;" v-if="row.f_state === '销户'&& row.num== 1">
181
180
  <nobr><a href="#" @click="$parent.$parent.$parent.enable(row)">启用</a> | <a href="#" @click="$parent.$parent.$parent.modifyAddress(row)">修改地址</a></nobr>
182
- </td>
183
181
  <td style="text-align: center;" v-else>
184
182
  </td>
185
183
  <td style="text-align: center;"><nobr>
@@ -147,12 +147,11 @@
147
147
  </div>
148
148
  <div class="col-sm-2 form-group">
149
149
  <label class="font_normal_body">气价名称</label>
150
- <v-select :value.sync="model.f_price_name"
151
- v-model="model.f_price_name"
150
+ <v-select :value.sync="$parent.$parent.f_price_name"
151
+ v-model="$parent.$parent.f_price_name"
152
152
  multiple
153
- :options="$parent.$parent.getPricenames"
154
- condition="f_price_name in {}"
155
- ></v-select>
153
+ :options="$parent.$parent.getPricenames">
154
+ </v-select>
156
155
  </div>
157
156
  <div class="col-sm-2 form-group">
158
157
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
@@ -789,6 +788,7 @@
789
788
  data() {
790
789
  return {
791
790
  IdCardInfo:'',
791
+ f_price_name:[],
792
792
  card:'',
793
793
  isSingleUser: null,
794
794
  startDate1:'',
@@ -1034,6 +1034,25 @@
1034
1034
  if(this.IdCardInfo!=''){
1035
1035
  args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1036
1036
  }
1037
+ let stringValue = ''
1038
+ if(this.f_price_name.length > 0){
1039
+ if (this.f_price_name.includes('非居民2.54')) {
1040
+ for (var i = 0; i < this.f_price_name.length; i++) {
1041
+ stringValue = stringValue + "'" + this.f_price_name[i] + "',"
1042
+ }
1043
+ stringValue = stringValue + "'非居民2.4'"
1044
+ args.condition += 'and f_price_name in ('+stringValue+')'
1045
+ }else {
1046
+ for (var i = 0; i < this.f_price_name.length; i++) {
1047
+ if (i === this.f_price_name.length - 1) {
1048
+ stringValue = stringValue + "'" + this.f_price_name[i] + "'"
1049
+ } else {
1050
+ stringValue = stringValue + "'" + this.f_price_name[i] + "',"
1051
+ }
1052
+ }
1053
+ args.condition += 'and f_price_name in ('+stringValue+')'
1054
+ }
1055
+ }
1037
1056
  this.model.search(args.condition, args.model)
1038
1057
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1039
1058
  this.card=''