sale-client 3.5.156 → 3.5.158

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.156",
3
+ "version": "3.5.158",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -393,7 +393,7 @@ export default {
393
393
  f_remanent_price: 0,
394
394
  f_open_type: '',
395
395
  f_remanent_money: 0,
396
- f_type: '清零',
396
+ f_type: '气表清零',
397
397
  f_comments: '',
398
398
  f_othereason: '',
399
399
  f_stair_use: '',
@@ -177,10 +177,11 @@
177
177
  close-on-select
178
178
  v-el:cc></v-select>
179
179
  </div>
180
- <div class="col-sm-4 form-group">
180
+ <div class="col-sm-4 form-group" :class="[$m.f_aroundmeter.required ? 'has-error' : '']">
181
181
  <label for="gasmodel" class="font_normal_body">&ensp;表&ensp;&ensp;&ensp;&ensp;向</label>
182
182
  <v-select :value.sync="row.f_aroundmeter" :options='aroundmeters' placeholder='左右表' close-on-select
183
- v-model='row.f_aroundmeter'></v-select>
183
+ v-model='row.f_aroundmeter' v-ref:f_aroundmeter></v-select>
184
+ <input type="text" v-show="false" v-model="$refs.f_aroundmeter.selectedItems" v-validate:f_aroundmeter='{required: true }'>
184
185
  </div>
185
186
  <div class="col-sm-4 form-group" >
186
187
  <label for="f_bqf_type" class="font_normal_body">表前阀型号</label>
@@ -201,8 +202,8 @@
201
202
  :options='gasperson' placeholder='通气人'
202
203
  close-on-select></v-select> -->
203
204
  </div>
204
- <div class="col-sm-4 form-group" :class="[$m.f_gas_date.required ? 'has-error' : '']">
205
- <input type="text" v-model="$refs.f_gas_date.value" v-show="false" v-validate:f_gas_date='{required: true }'>
205
+ <div class="col-sm-4 form-group">
206
+ <input type="text" v-model="$refs.f_gas_date.value" v-show="false" >
206
207
  <label for="f_gas_date" class="font_normal_body">&ensp;通气日期</label>
207
208
  <datepicker style="width:60%" placeholder="通气日期"
208
209
  v-model="row.f_gas_date"
@@ -588,11 +589,24 @@
588
589
  finalDate: '',
589
590
  bfrq:10,
590
591
  f_factory_date:'',
591
- f_scrap_date: ''
592
+ f_scrap_date: '',
593
+ f_install_date:''
592
594
  }
593
595
  },
594
596
  props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
595
597
  async ready () {
598
+ // 安装日期默认是建档日期
599
+ if (this.row.f_install_date == null || this.row.f_install_date == '') {
600
+ console.log('安装日期赋值了')
601
+ this.row.f_install_date = Util.toStandardTimeString()
602
+ this.f_install_date = Util.toStandardTimeString()
603
+ console.log('安装日期赋值了',this.row.f_install_date)
604
+ console.log('安装日期赋值了001',this.row.f_install_date)
605
+ } else {
606
+ this.f_install_date = this.row.f_install_date
607
+ console.log('安装日期row值')
608
+ }
609
+ // 出厂日期
596
610
  if (this.row.f_factory_date == null || this.row.f_factory_date == '') {
597
611
  this.row.f_factory_date = Util.toStandardTimeString()
598
612
  this.f_factory_date = Util.toStandardTimeString()