sale-client 3.6.262 → 3.6.263

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": "sale-client",
3
- "version": "3.6.262",
3
+ "version": "3.6.263",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -235,7 +235,7 @@
235
235
  <div >
236
236
  <div class="col-sm-4 form-group"
237
237
  v-show="(formconfig && formconfig.f_gas_pointsnumber && formconfig.f_gas_pointsnumber.required) || !onlyshowmust"
238
- :class="[$v.f_gas_pointsnumber.dctest ? 'has-error' : '']" v-if="getConfigShowItem('f_people_num')">
238
+ :class="[$v.f_gas_pointsnumber.dctest ? 'has-error' : '']" v-if="getConfigShowItem('f_gas_pointsnumber')">
239
239
  <label for="f_people_num" style="letter-spacing: 0.5em;margin-right: -0.5em" class="font_normal_body w3">{{getConfigLabelName('f_gas_pointsnumber','用气点数量')}}</label>
240
240
  <v-select id="f_people_num" :value.sync="baseinfo.base.f_gas_pointsnumber"
241
241
  v-model="baseinfo.base.f_gas_pointsnumber"
@@ -162,7 +162,7 @@
162
162
  class="button_search" type="button" @click="openUser">开户</button>
163
163
  <button v-if="row.f_meter_type.includes('物联网表') && valveLimit"
164
164
  class="button_search" type="button" @click="valvecontrol">开关阀</button>
165
- <button v-if="row.f_meter_type.includes('物联网表')"
165
+ <button v-if="row.f_meter_type.includes('物联网表') && autoValveLimit"
166
166
  class="button_search" type="button" @click="zdfk">开关自动阀控</button>
167
167
  <div
168
168
  :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}"
@@ -267,6 +267,7 @@
267
267
  criteriaShow: false,
268
268
  devices: [],
269
269
  valveLimit: false,
270
+ autoValveLimit: false,
270
271
  // 开关阀操作原因
271
272
  operateReason: '',
272
273
  valve: false
@@ -276,6 +277,7 @@
276
277
  ready () {
277
278
  this.getDevice()
278
279
  this.valveLimit = this.$login.r.includes('开关阀权限')
280
+ this.autoValveLimit = this.$login.r.includes('自动阀控权限')
279
281
  },
280
282
  methods: {
281
283
  // 发送请求去数据