sale-client 3.6.222 → 3.6.224
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
|
@@ -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
|
|
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
|
|
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 () {
|
|
@@ -489,9 +489,11 @@ export default {
|
|
|
489
489
|
getfield: {
|
|
490
490
|
'id': '抄表单编号',
|
|
491
491
|
'f_userinfo_code': '客户编号',
|
|
492
|
-
'f_user_name': '
|
|
492
|
+
'f_user_name': '客户姓名',
|
|
493
493
|
'f_meternumber': '表号',
|
|
494
|
-
'
|
|
494
|
+
'f_gasproperties': '用气性质',
|
|
495
|
+
'f_user_phone': '客户电话',
|
|
496
|
+
'f_address': '客户地址',
|
|
495
497
|
'f_inputtor': '抄表员',
|
|
496
498
|
'total_fee': '总购金额',
|
|
497
499
|
'total_gas': '累购气量',
|
|
@@ -500,6 +502,7 @@ export default {
|
|
|
500
502
|
'f_input_date': '抄表录入日期',
|
|
501
503
|
'f_last_tablebase': '上期底数',
|
|
502
504
|
'f_tablebase': '本期底数',
|
|
505
|
+
'f_shengyu_gas': '剩余气量',
|
|
503
506
|
'f_actualtablebase': '实际用量',
|
|
504
507
|
'f_img_path': '附件查看',
|
|
505
508
|
'f_sign_img': '签章图片',
|