sale-client 3.5.280 → 3.5.281

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.5.280",
3
+ "version": "3.5.281",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -100,13 +100,20 @@
100
100
  <v-select :value.sync="row.f_valve_state" :options='valvestate' placeholder='阀门状态' close-on-select
101
101
  v-model='row.f_valve_state'></v-select>
102
102
  </div>
103
- <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
104
- <label class="font_normal_body" title="开户方式">开户方式</label>
105
- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
106
- search v-model='row.f_open_way' :disabled="true"></v-select>
107
- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
108
- search v-model='row.f_open_way' :disabled="false"></v-select>
109
- </div>
103
+ <div class="col-sm-4 form-group" :class="[$m.way.required ? 'has-error' : '']" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
104
+ <label for="f_open_way" class="font_normal_body">开户方式</label>
105
+ <v-select :value.sync="row.f_open_way" v-model='row.f_open_way'
106
+ placeholder='开户方式' :options='openWay'
107
+ close-on-select :disabled="false" v-ref:way></v-select>
108
+ <input type="text" v-show="false" v-model="$refs.way.selectedItems" v-validate:way='{required: true }'>
109
+ </div>
110
+ <!-- <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">-->
111
+ <!-- <label class="font_normal_body" title="开户方式">开户方式</label>-->
112
+ <!-- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"-->
113
+ <!-- search v-model='row.f_open_way' :disabled="true"></v-select>-->
114
+ <!-- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else-->
115
+ <!-- search v-model='row.f_open_way' :disabled="false"></v-select>-->
116
+ <!-- </div>-->
110
117
  <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_brand.indexOf('集中器') !== -1">
111
118
  <label class="font_normal_body" title="集中器">集&ensp;中&ensp;器</label>
112
119
  <v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-if="row.f_userfiles_id"
@@ -99,12 +99,12 @@
99
99
  <v-select :value.sync="row.f_valve_state" :options='valvestate' placeholder='阀门状态' close-on-select
100
100
  v-model='row.f_valve_state'></v-select>
101
101
  </div>
102
- <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
103
- <label class="font_normal_body" title="开户方式">开户方式</label>
104
- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
105
- search v-model='row.f_open_way' :disabled="true"></v-select>
106
- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
107
- search v-model='row.f_open_way' :disabled="false"></v-select>
102
+ <div class="col-sm-4 form-group" :class="[$m.way.required ? 'has-error' : '']" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
103
+ <label for="f_open_way" class="font_normal_body">开户方式</label>
104
+ <v-select :value.sync="row.f_open_way" v-model='row.f_open_way'
105
+ placeholder='开户方式' :options='openWay'
106
+ close-on-select :disabled="false" v-ref:way></v-select>
107
+ <input type="text" v-show="false" v-model="$refs.way.selectedItems" v-validate:way='{required: true }'>
108
108
  </div>
109
109
  <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_brand.indexOf('集中器') !== -1">
110
110
  <label class="font_normal_body" title="集中器">集&ensp;中&ensp;器</label>