sale-client 3.6.222 → 3.6.223

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.222",
3
+ "version": "3.6.223",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -306,9 +306,7 @@ export default {
306
306
  console.log('表具信息', this.devicesinfo)
307
307
  },
308
308
  expireDate (index) {
309
- if (this.devicesinfo[index].f_make_date === '' || this.devicesinfo[index].f_make_date === undefined || this.devicesinfo[index].f_service_life === 0 || this.devicesinfo[index].f_service_life === undefined) {
310
-
311
- } else {
309
+ if (this.devicesinfo[index].f_make_date && this.devicesinfo[index].f_service_life) {
312
310
  var b = new Date(this.devicesinfo[index].f_make_date)
313
311
  var year = (b.getFullYear() - 0) + (this.devicesinfo[index].f_service_life - 0)
314
312
  var month = (b.getMonth() - 0) + 1
@@ -322,9 +320,7 @@ export default {
322
320
  }
323
321
  },
324
322
  ljgexpireDate (index) {
325
- if (this.devicesinfo[index].f_pipeinstall_date === '' || this.devicesinfo[index].f_pipeinstall_date === undefined || this.devicesinfo[index].f_service_liferg === 0 || this.devicesinfo[index].f_service_liferg === undefined) {
326
-
327
- } else {
323
+ if (this.devicesinfo[index].f_pipeinstall_date && this.devicesinfo[index].f_service_liferg) {
328
324
  var b = new Date(this.devicesinfo[index].f_pipeinstall_date)
329
325
  var year = (b.getFullYear() - 0) + (this.devicesinfo[index].f_service_liferg - 0)
330
326
  var month = (b.getMonth() - 0) + 1
@@ -460,7 +460,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
460
460
  cardCentalData: '',
461
461
  getfield: {
462
462
  'f_userinfo_code': '户编号',
463
- 'f_user_name': '基本信息',
463
+ 'f_user_name': '用户名称',
464
+ 'f_gasproperties': '用气性质',
465
+ 'f_user_phone': '用户电话',
466
+ 'f_address': '用户地址',
464
467
  'f_meternumber': '表号',
465
468
  'f_inputtor': '抄表员',
466
469
  'f_total_fee': '总购金额',
@@ -487,6 +490,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
487
490
  this.$refs.paged.$refs.criteria.model.startDate = Util.toStartAndEndDateString()[0]
488
491
  this.$refs.paged.$refs.criteria.model.endDate = Util.toStartAndEndDateString()[1]
489
492
  loadParamGem(this)
493
+ this.$nextTick(() => {
494
+ if (this.shengyu == 'false') {
495
+ this.getfield.f_shengyu_gas = '剩余气量'
496
+ }
497
+ })
490
498
  },
491
499
  methods: {
492
500
  hidden () {