sale-client 4.2.101 → 4.2.103
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/{8.10 → 8.5}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{8.10 → 8.5}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/package.json +1 -1
- package/src/filiale/meihekou/ChargeList.vue +4 -4
- package/src/filiale/meihekou/MeterOperatemain.vue +511 -0
- package/src/filiale/meihekou/UserFeeInfo.vue +84 -0
- package/src/filiale/meihekou/Userinfo.vue +15 -15
- package/src/filiale/meihekou/deviceMessage.vue +86 -0
- package/src/filiale/meihekou/handOperate.vue +62 -3
- package/src/filiale/meihekou/meterinfodetail.vue +89 -84
- package/src/filiale/meihekou/otherinfo.vue +101 -0
- package/src/filiale/meihekou/replacementSingleInfoOperation.vue +74 -6
- package/src/filiale/meihekou/sale.js +8 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.npmignore +0 -12
- package/src/.npmignore +0 -1
- package/yarn.lock +0 -12221
- /package/.gradle/{8.10 → 8.5}/dependencies-accessors/gc.properties +0 -0
- /package/.gradle/{8.10 → 8.5}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.10 → 8.5}/gc.properties +0 -0
|
@@ -46,32 +46,32 @@
|
|
|
46
46
|
class="glyphicon glyphicon-pencil clickchange" title="修正备用电话"></span>
|
|
47
47
|
</span>
|
|
48
48
|
</div>
|
|
49
|
-
<div class="row">
|
|
50
|
-
<label class = "col-sm-5 " >备注信息</label>
|
|
51
|
-
<span class = "col-sm-7">{{data?data.f_comments:dafault.f_comments}}
|
|
52
|
-
<span v-if="data" @click.stop="change_reason"
|
|
53
|
-
class="glyphicon glyphicon-pencil clickchange" title="修改备注信息"></span>
|
|
54
|
-
</span>
|
|
55
|
-
</div>
|
|
56
49
|
<div class="row">
|
|
57
50
|
<label class = "col-sm-5 " >客户地址</label>
|
|
58
51
|
<span class = "col-sm-7">{{data?data.f_address:dafault.f_address}}</span>
|
|
59
52
|
</div>
|
|
60
53
|
<div class="row">
|
|
61
|
-
<label class = "col-sm-5 "
|
|
62
|
-
<span class = "col-sm-7">{{data?data.
|
|
54
|
+
<label class = "col-sm-5 " >建档时间</label>
|
|
55
|
+
<span class = "col-sm-7">{{data?data.f_createfile_date.substr(0,10):dafault.f_open_date}}</span>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row">
|
|
58
|
+
<label class = "col-sm-5 " >用户等级</label>
|
|
59
|
+
<span class = "col-sm-7" style="word-break: break-all">{{data?data.f_user_level:dafault.f_people_num}}</span>
|
|
63
60
|
</div>
|
|
64
61
|
<div class="row">
|
|
65
|
-
<label class = "col-sm-5 "
|
|
66
|
-
<span class = "col-sm-7">{{data?data.
|
|
62
|
+
<label class = "col-sm-5 " >租户姓名</label>
|
|
63
|
+
<span class = "col-sm-7">{{data?data.f_rent_name.substr(0,10):dafault.f_user_name}}</span>
|
|
67
64
|
</div>
|
|
68
65
|
<div class="row">
|
|
69
|
-
<label class = "col-sm-5 "
|
|
70
|
-
<span class = "col-sm-7" style="word-break: break-all">{{data?data.
|
|
66
|
+
<label class = "col-sm-5 " >租户电话</label>
|
|
67
|
+
<span class = "col-sm-7" style="word-break: break-all">{{data?data.f_rent_phone:dafault.f_user_phone}}</span>
|
|
71
68
|
</div>
|
|
72
69
|
<div class="row">
|
|
73
|
-
<label class = "col-sm-5 "
|
|
74
|
-
<span class = "col-sm-7"
|
|
70
|
+
<label class = "col-sm-5 " >备注信息</label>
|
|
71
|
+
<span class = "col-sm-7">{{data?data.f_comments:dafault.f_comments}}
|
|
72
|
+
<span v-if="data" @click.stop="change_reason"
|
|
73
|
+
class="glyphicon glyphicon-pencil clickchange" title="修改备注信息"></span>
|
|
74
|
+
</span>
|
|
75
75
|
</div>
|
|
76
76
|
<modal v-if="showselectncuserinfo" :show.sync="showselectncuserinfo" width="40%" title="修正客户电话号码"
|
|
77
77
|
v-ref:modal large backdrop="false">
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel panel-info auto">
|
|
3
|
+
<div class="panel-heading auto" style="height: 30px">
|
|
4
|
+
<h4 style="display:inline-block;margin-top: auto">设备信息</h4>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div class="auto info-content" v-if="data" v-for="row in model" style="margin: 5px;
|
|
8
|
+
background: #F2FAFE;">
|
|
9
|
+
<div class="row">
|
|
10
|
+
<label class="col-sm-4 ">设备类型:</label>
|
|
11
|
+
<span class="col-sm-8">{{row.f_devices_type}}</span>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="row">
|
|
14
|
+
<label class="col-sm-4 ">购买方式:</label>
|
|
15
|
+
<span class="col-sm-8">{{row.watchpurchase}}</span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row">
|
|
18
|
+
<label class="col-sm-4 ">安装方式:</label>
|
|
19
|
+
<span class="col-sm-8">{{data.f_install_type}}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row">
|
|
22
|
+
<label class="col-sm-4 ">安装日期:</label>
|
|
23
|
+
<span class="col-sm-8">{{data.f_input_date}}</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row">
|
|
26
|
+
<label class="col-sm-4 ">到期日期:</label>
|
|
27
|
+
<span class="col-sm-8">{{data.f_expire_date}}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<label class="col-sm-4 ">设备备注:</label>
|
|
31
|
+
<span class="col-sm-8">{{data.f_comments}}</span>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<script>
|
|
37
|
+
/**
|
|
38
|
+
*用户信息
|
|
39
|
+
*开票信息
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
import {HttpResetClass} from 'vue-client'
|
|
43
|
+
let getDevicesGen = async function (self) {
|
|
44
|
+
// 获取安检信息
|
|
45
|
+
try {
|
|
46
|
+
let http = new HttpResetClass()
|
|
47
|
+
let param = {
|
|
48
|
+
condition: `f_userinfo_id = '${self.data.f_userinfo_id}'`
|
|
49
|
+
}
|
|
50
|
+
let getDevices = await http.load('POST', 'api/af-revenue/sql/sale_deviceQuery', param, {resolveMsg: null, rejectMsg: null})
|
|
51
|
+
if (!(JSON.stringify(getDevices.data) == '{}')) {
|
|
52
|
+
self.model = {}
|
|
53
|
+
self.model = Object.assign({}, self.model, getDevices.data)
|
|
54
|
+
self.hasDevices = 1
|
|
55
|
+
} else {
|
|
56
|
+
self.model = {}
|
|
57
|
+
self.hasDevices = 0
|
|
58
|
+
}
|
|
59
|
+
} catch (error) {
|
|
60
|
+
self.hasDevices = 0
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export default {
|
|
64
|
+
title: '设备信息',
|
|
65
|
+
data () {
|
|
66
|
+
return {
|
|
67
|
+
model: {},
|
|
68
|
+
hasDevices: -1
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
watch: {
|
|
72
|
+
'data': {
|
|
73
|
+
handler (newVal, oldVal) {
|
|
74
|
+
if (newVal == null) {
|
|
75
|
+
this.hasDevices = 0
|
|
76
|
+
this.model = {}
|
|
77
|
+
} else {
|
|
78
|
+
getDevicesGen(this)
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
deep: true
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
props: ['data']
|
|
85
|
+
}
|
|
86
|
+
</script>
|
|
@@ -158,7 +158,13 @@
|
|
|
158
158
|
<div class="row">
|
|
159
159
|
<div class="col-sm-4 form-group">
|
|
160
160
|
<label class="font_normal_body">所属部门</label>
|
|
161
|
-
<
|
|
161
|
+
<res-select restype="department"
|
|
162
|
+
:is-mul="false"
|
|
163
|
+
:disabled="!editdep"
|
|
164
|
+
:parentresid="model.f_orgid ? [model.f_orgid] : ($login && $login.f && $login.f.orgid ? [$login.f.orgid] : [])"
|
|
165
|
+
:initresid="model.f_depid ? [model.f_depid] : []"
|
|
166
|
+
@res-select="onDepSelect">
|
|
167
|
+
</res-select>
|
|
162
168
|
</div>
|
|
163
169
|
<div class="col-sm-4 form-group">
|
|
164
170
|
<label class="font_normal_body">所属公司</label>
|
|
@@ -211,8 +217,9 @@ import {HttpResetClass} from 'vue-client'
|
|
|
211
217
|
import * as Util from "../../components/../Util";
|
|
212
218
|
var data
|
|
213
219
|
let readyGen = async function (self) {
|
|
214
|
-
await
|
|
215
|
-
await
|
|
220
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
221
|
+
await self.$GetSaleParam.initinputtor()
|
|
222
|
+
await self.initdep()
|
|
216
223
|
await self.initperson()
|
|
217
224
|
}
|
|
218
225
|
export default {
|
|
@@ -226,6 +233,8 @@ export default {
|
|
|
226
233
|
priceSplit: false,
|
|
227
234
|
recordList: [],
|
|
228
235
|
person:[],
|
|
236
|
+
fdep: [],
|
|
237
|
+
editdep: false,
|
|
229
238
|
fileNameSet: {
|
|
230
239
|
'f_meter_state': '抄表状态',
|
|
231
240
|
'f_hand_state': '抄表单状态',
|
|
@@ -258,12 +267,47 @@ export default {
|
|
|
258
267
|
if (this.$login.r.includes('维护银行转账信息')) {
|
|
259
268
|
this.editbank = true
|
|
260
269
|
}
|
|
270
|
+
if (this.$login.r.includes('抄表记录维护部门权限')) {
|
|
271
|
+
this.editdep = true
|
|
272
|
+
}
|
|
261
273
|
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
262
274
|
readyGen(this)
|
|
263
275
|
},
|
|
264
276
|
created () {
|
|
265
277
|
},
|
|
266
278
|
methods: {
|
|
279
|
+
onDepSelect (resIds, labels) {
|
|
280
|
+
if (resIds && resIds.length > 0) {
|
|
281
|
+
this.model.f_depid = resIds[0]
|
|
282
|
+
this.model.f_depname = labels && labels.length > 0 ? labels[0] : ''
|
|
283
|
+
} else {
|
|
284
|
+
this.model.f_depid = ''
|
|
285
|
+
this.model.f_depname = ''
|
|
286
|
+
}
|
|
287
|
+
// 选部门后刷新人员列表
|
|
288
|
+
this.initperson()
|
|
289
|
+
},
|
|
290
|
+
initdep () {
|
|
291
|
+
this.fdep = []
|
|
292
|
+
if (!this.$GetSaleParam || !this.$GetSaleParam.inputtors) {
|
|
293
|
+
return
|
|
294
|
+
}
|
|
295
|
+
const inputtors = this.$GetSaleParam.inputtors
|
|
296
|
+
const orgId = this.model.f_orgid || (this.$login && this.$login.f && this.$login.f.orgid)
|
|
297
|
+
const filterdep = inputtors.filter((res) => {
|
|
298
|
+
const hasRole = res.rolestr && res.rolestr.indexOf('营业员') > -1
|
|
299
|
+
const orgMatch = res.f_organization_id === orgId || res.f_orgid === orgId
|
|
300
|
+
return hasRole && orgMatch
|
|
301
|
+
})
|
|
302
|
+
filterdep.forEach((res) => {
|
|
303
|
+
if (res.parentid && res.f_department_name && !this.fdep.some((d) => d.value === res.parentid)) {
|
|
304
|
+
this.fdep.push({label: res.f_department_name, value: res.parentid})
|
|
305
|
+
}
|
|
306
|
+
})
|
|
307
|
+
if (this.model.f_depid && !this.fdep.some((d) => d.value === this.model.f_depid)) {
|
|
308
|
+
this.fdep.push({label: this.model.f_depname || this.model.f_depid, value: this.model.f_depid})
|
|
309
|
+
}
|
|
310
|
+
},
|
|
267
311
|
initperson () {
|
|
268
312
|
this.person = []
|
|
269
313
|
let arr = this.$GetSaleParam.inputtors.filter((res) => {
|
|
@@ -275,6 +319,20 @@ export default {
|
|
|
275
319
|
this.person.push({label: res.name, value: res.name})
|
|
276
320
|
})
|
|
277
321
|
},
|
|
322
|
+
selectdep () {
|
|
323
|
+
const id = this.model.f_depid
|
|
324
|
+
if (!id) {
|
|
325
|
+
this.model.f_depname = ''
|
|
326
|
+
this.initperson()
|
|
327
|
+
return
|
|
328
|
+
}
|
|
329
|
+
const hit = this.$GetSaleParam.inputtors.find((res) => res.parentid === id || res.f_department_id === id)
|
|
330
|
+
if (hit && hit.f_department_name) {
|
|
331
|
+
this.model.f_depname = hit.f_department_name
|
|
332
|
+
}
|
|
333
|
+
// 选部门后刷新人员列表
|
|
334
|
+
this.initperson()
|
|
335
|
+
},
|
|
278
336
|
fileterprice (row) {
|
|
279
337
|
this.priceSplit = true
|
|
280
338
|
console.log('row==>', row)
|
|
@@ -387,6 +445,7 @@ export default {
|
|
|
387
445
|
}
|
|
388
446
|
},
|
|
389
447
|
'model' () {
|
|
448
|
+
this.initdep()
|
|
390
449
|
this.initperson()
|
|
391
450
|
}
|
|
392
451
|
}
|
|
@@ -22,25 +22,9 @@
|
|
|
22
22
|
<span class = "col-sm-7">{{data?data.f_meter_style:dafault.f_meter_style}}</span>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="row">
|
|
25
|
-
<label class="col-sm-5" style="color: brown"
|
|
25
|
+
<label class="col-sm-5" style="color: brown">气表状态</label>
|
|
26
26
|
<span class="col-sm-7" style="color: brown">{{data?data.f_table_state:dafault.f_table_state}}</span>
|
|
27
27
|
</div>
|
|
28
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
29
|
-
<label class = "col-sm-5 " style="color: brown">系统余额</label>
|
|
30
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
33
|
-
<label class = "col-sm-5 " style="color: brown">系统余量</label>
|
|
34
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
37
|
-
<label class = "col-sm-5 " style="color: brown">表上余额</label>
|
|
38
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
41
|
-
<label class = "col-sm-5 " style="color: brown">表上余量</label>
|
|
42
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>
|
|
43
|
-
</div>
|
|
44
28
|
<div class="row">
|
|
45
29
|
<label class = "col-sm-5 " >初始表底数</label>
|
|
46
30
|
<span class = "col-sm-7" >{{data?data.f_initial_base:dafault.f_initial_base}}</span>
|
|
@@ -49,54 +33,75 @@
|
|
|
49
33
|
<label class = "col-sm-5 " >表当前底数</label>
|
|
50
34
|
<span class = "col-sm-7" >{{data?data.f_meter_base:dafault.f_meter_base}}</span>
|
|
51
35
|
</div>
|
|
52
|
-
<div class="row"
|
|
53
|
-
<label class = "col-sm-5 "
|
|
54
|
-
<span class = "col-sm-7"
|
|
55
|
-
</div>
|
|
56
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
57
|
-
<label class = "col-sm-5 ">物联网次数</label>
|
|
58
|
-
<span class = "col-sm-7" >{{data?data.f_iot_times:dafault.f_iot_times}}</span>
|
|
59
|
-
</div>
|
|
60
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
61
|
-
<label class = "col-sm-5 ">表累购金额</label>
|
|
62
|
-
<span class = "col-sm-7" >{{data?data.f_total_fee:dafault.f_total_fee}}</span>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
65
|
-
<label class = "col-sm-5 ">户累购金额</label>
|
|
66
|
-
<span class = "col-sm-7" >{{data?data.f_total_fee_all:dafault.f_total_fee_all}}</span>
|
|
67
|
-
</div>
|
|
68
|
-
<div class="row" v-if="(data.f_meter_type === '机表' || data.f_meter_type === '物联网表') && data.f_deduction_gas > 0">
|
|
69
|
-
<label class = "col-sm-5 " >剩余抵扣量</label>
|
|
70
|
-
<span class = "col-sm-7" >{{data?data.f_deduction_gas:dafault.f_deduction_gas}}</span>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
73
|
-
<label class = "col-sm-5 " style="color: brown" >户累购气量</label>
|
|
74
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas_all:dafault.f_total_gas_all}}</span>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="row" v-if="(data.f_meter_brand.includes('数码表'))">
|
|
77
|
-
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
78
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="row" v-if="data.f_meter_type.includes('卡表') && data.f_meter_type === '气量卡表'">
|
|
81
|
-
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
82
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
85
|
-
<label class = "col-sm-5 " style="color: brown">累购金额</label>
|
|
86
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_fee:dafault.f_total_fee}}</span>
|
|
87
|
-
</div>
|
|
88
|
-
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
89
|
-
<label class = "col-sm-5 " style="color: brown">累购写卡金额</label>
|
|
90
|
-
<span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>
|
|
36
|
+
<div class="row">
|
|
37
|
+
<label class = "col-sm-5 " >上次抄表日期</label>
|
|
38
|
+
<span class = "col-sm-7">{{data?data.f_hand_date.substring(0,12):dafault.f_hand_date}}</span>
|
|
91
39
|
</div>
|
|
40
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">-->
|
|
41
|
+
<!-- <label class = "col-sm-5 " style="color: brown">系统余额</label>-->
|
|
42
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>-->
|
|
43
|
+
<!-- </div>-->
|
|
44
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">-->
|
|
45
|
+
<!-- <label class = "col-sm-5 " style="color: brown">系统余量</label>-->
|
|
46
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>-->
|
|
47
|
+
<!-- </div>-->
|
|
48
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">-->
|
|
49
|
+
<!-- <label class = "col-sm-5 " style="color: brown">表上余额</label>-->
|
|
50
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>-->
|
|
51
|
+
<!-- </div>-->
|
|
52
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">-->
|
|
53
|
+
<!-- <label class = "col-sm-5 " style="color: brown">表上余量</label>-->
|
|
54
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>-->
|
|
55
|
+
<!-- </div>-->
|
|
56
|
+
|
|
57
|
+
<!-- <div class="row" v-show="data.f_times">-->
|
|
58
|
+
<!-- <label class = "col-sm-5 " >写卡次数</label>-->
|
|
59
|
+
<!-- <span class = "col-sm-7" >{{data?data.f_times:dafault.f_times}}</span>-->
|
|
60
|
+
<!-- </div>-->
|
|
61
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网')">-->
|
|
62
|
+
<!-- <label class = "col-sm-5 ">物联网次数</label>-->
|
|
63
|
+
<!-- <span class = "col-sm-7" >{{data?data.f_iot_times:dafault.f_iot_times}}</span>-->
|
|
64
|
+
<!-- </div>-->
|
|
65
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网')">-->
|
|
66
|
+
<!-- <label class = "col-sm-5 ">表累购金额</label>-->
|
|
67
|
+
<!-- <span class = "col-sm-7" >{{data?data.f_total_fee:dafault.f_total_fee}}</span>-->
|
|
68
|
+
<!-- </div>-->
|
|
69
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('物联网')">-->
|
|
70
|
+
<!-- <label class = "col-sm-5 ">户累购金额</label>-->
|
|
71
|
+
<!-- <span class = "col-sm-7" >{{data?data.f_total_fee_all:dafault.f_total_fee_all}}</span>-->
|
|
72
|
+
<!-- </div>-->
|
|
73
|
+
<!-- <div class="row" v-if="(data.f_meter_type === '机表' || data.f_meter_type === '物联网表') && data.f_deduction_gas > 0">-->
|
|
74
|
+
<!-- <label class = "col-sm-5 " >剩余抵扣量</label>-->
|
|
75
|
+
<!-- <span class = "col-sm-7" >{{data?data.f_deduction_gas:dafault.f_deduction_gas}}</span>-->
|
|
76
|
+
<!-- </div>-->
|
|
77
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表')">-->
|
|
78
|
+
<!-- <label class = "col-sm-5 " style="color: brown" >户累购气量</label>-->
|
|
79
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas_all:dafault.f_total_gas_all}}</span>-->
|
|
80
|
+
<!-- </div>-->
|
|
81
|
+
<!-- <div class="row" v-if="(data.f_meter_brand.includes('数码表'))">-->
|
|
82
|
+
<!-- <label class = "col-sm-5 " style="color: brown" >累购气量</label>-->
|
|
83
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>-->
|
|
84
|
+
<!-- </div>-->
|
|
85
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') && data.f_meter_type === '气量卡表'">-->
|
|
86
|
+
<!-- <label class = "col-sm-5 " style="color: brown" >累购气量</label>-->
|
|
87
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>-->
|
|
88
|
+
<!-- </div>-->
|
|
89
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表')">-->
|
|
90
|
+
<!-- <label class = "col-sm-5 " style="color: brown">累购金额</label>-->
|
|
91
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_total_fee:dafault.f_total_fee}}</span>-->
|
|
92
|
+
<!-- </div>-->
|
|
93
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表')">-->
|
|
94
|
+
<!-- <label class = "col-sm-5 " style="color: brown">累购写卡金额</label>-->
|
|
95
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>-->
|
|
96
|
+
<!-- </div>-->
|
|
92
97
|
<div class="row">
|
|
93
98
|
<label class = "col-sm-5 " >气表表号</label>
|
|
94
99
|
<span class = "col-sm-7">{{data?data.f_meternumber:dafault.f_meternumber}}</span>
|
|
95
100
|
</div>
|
|
96
|
-
<div class="row" v-if="data.f_meter_type.includes('卡表') || (data.f_meter_type.includes('物联网表') && data.f_hascard==='是')"
|
|
97
|
-
<label class = "col-sm-5 " >卡  号</label
|
|
98
|
-
<span class = "col-sm-7">{{data?data.f_card_id:dafault.f_card_id}}</span
|
|
99
|
-
</div
|
|
101
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') || (data.f_meter_type.includes('物联网表') && data.f_hascard==='是')">-->
|
|
102
|
+
<!-- <label class = "col-sm-5 " >卡  号</label>-->
|
|
103
|
+
<!-- <span class = "col-sm-7">{{data?data.f_card_id:dafault.f_card_id}}</span>-->
|
|
104
|
+
<!-- </div>-->
|
|
100
105
|
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') || data.f_meter_type.includes('物联网表') && data.f_hascard==='是'">-->
|
|
101
106
|
<!-- <label class = "col-sm-5 " >写卡次数</label>-->
|
|
102
107
|
<!-- <span class = "col-sm-7">{{data?data.f_times:dafault.f_times}}</span>-->
|
|
@@ -117,42 +122,42 @@
|
|
|
117
122
|
<!--<label class = "col-sm-5 " >账户余额</label>-->
|
|
118
123
|
<!--<span class = "col-sm-7">{{data?data.f_balance:dafault.f_balance}}</span>-->
|
|
119
124
|
<!--</div>-->
|
|
120
|
-
<div class="row" v-if="data.f_remanent_money > 0"
|
|
121
|
-
<label class = "col-sm-5 " >应补金额</label
|
|
122
|
-
<span class = "col-sm-7">{{data?data.f_remanent_money:dafault.f_remanent_money}}</span
|
|
123
|
-
</div
|
|
124
|
-
<div class="row" v-if="data.f_remanent_gas > 0"
|
|
125
|
-
<label class = "col-sm-5 " >应补气量</label
|
|
126
|
-
<span class = "col-sm-7">{{data?data.f_remanent_gas:dafault.f_remanent_gas}}</span
|
|
127
|
-
</div
|
|
125
|
+
<!-- <div class="row" v-if="data.f_remanent_money > 0">-->
|
|
126
|
+
<!-- <label class = "col-sm-5 " >应补金额</label>-->
|
|
127
|
+
<!-- <span class = "col-sm-7">{{data?data.f_remanent_money:dafault.f_remanent_money}}</span>-->
|
|
128
|
+
<!-- </div>-->
|
|
129
|
+
<!-- <div class="row" v-if="data.f_remanent_gas > 0">-->
|
|
130
|
+
<!-- <label class = "col-sm-5 " >应补气量</label>-->
|
|
131
|
+
<!-- <span class = "col-sm-7">{{data?data.f_remanent_gas:dafault.f_remanent_gas}}</span>-->
|
|
132
|
+
<!-- </div>-->
|
|
128
133
|
<div class="row">
|
|
129
134
|
<label class = "col-sm-5 " >表  向</label>
|
|
130
135
|
<span class = "col-sm-7">{{data?data.f_aroundmeter:dafault.f_hand_date}}</span>
|
|
131
136
|
</div>
|
|
132
|
-
<div class="row">
|
|
133
|
-
<label class = "col-sm-5 " >抄表册名</label>
|
|
134
|
-
<span class = "col-sm-7">{{data? data.f_book_code + ' ' + (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
|
|
135
|
-
</div>
|
|
136
137
|
<div class="row">
|
|
137
138
|
<label class = "col-sm-5 " >安装位置</label>
|
|
138
139
|
<span class = "col-sm-7">{{data?data.f_position:dafault.f_position}}</span>
|
|
139
140
|
</div>
|
|
140
141
|
<div class="row">
|
|
141
|
-
<label class = "col-sm-5 "
|
|
142
|
-
<span class = "col-sm-7">{{data?data.
|
|
143
|
-
</div>
|
|
144
|
-
<div class="row">
|
|
145
|
-
<label class = "col-sm-5 " >上次抄表日期</label>
|
|
146
|
-
<span class = "col-sm-7">{{data?data.f_hand_date.substring(0,12):dafault.f_hand_date}}</span>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="row">
|
|
149
|
-
<label class = "col-sm-5 " >建档日期</label>
|
|
150
|
-
<span class = "col-sm-7">{{data?data.f_input_date.substring(0,11):dafault.f_input_date}}</span>
|
|
142
|
+
<label class = "col-sm-5 " >抄表册名</label>
|
|
143
|
+
<span class = "col-sm-7">{{data? (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
|
|
151
144
|
</div>
|
|
152
145
|
<div class="row">
|
|
153
|
-
<label class = "col-sm-5 "
|
|
154
|
-
<span class = "col-sm-7">{{data?data.
|
|
146
|
+
<label class = "col-sm-5 " >抄表员</label>
|
|
147
|
+
<span class = "col-sm-7">{{data?data.f_inputtor:dafault.f_inputtor}}</span>
|
|
155
148
|
</div>
|
|
149
|
+
<!-- <div class="row">-->
|
|
150
|
+
<!-- <label class = "col-sm-5 " >上次抄表日期</label>-->
|
|
151
|
+
<!-- <span class = "col-sm-7">{{data?data.f_hand_date.substring(0,12):dafault.f_hand_date}}</span>-->
|
|
152
|
+
<!-- </div>-->
|
|
153
|
+
<!-- <div class="row">-->
|
|
154
|
+
<!-- <label class = "col-sm-5 " >建档日期</label>-->
|
|
155
|
+
<!-- <span class = "col-sm-7">{{data?data.f_input_date.substring(0,11):dafault.f_input_date}}</span>-->
|
|
156
|
+
<!-- </div>-->
|
|
157
|
+
<!-- <div class="row">-->
|
|
158
|
+
<!-- <label class = "col-sm-5 " >设备公司安装</label>-->
|
|
159
|
+
<!-- <span class = "col-sm-7">{{data?data.f_isdc_install:dafault.f_isdc_install}}</span>-->
|
|
160
|
+
<!-- </div>-->
|
|
156
161
|
<div class="row">
|
|
157
162
|
<label class = "col-sm-5 " >备  注</label>
|
|
158
163
|
<span class = "col-sm-7">{{data?data.comments:dafault.comments}}</span>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
+
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
+
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
|
+
<device-message @setstate="setstate" :state="state" :data="data"></device-message>
|
|
6
|
+
<valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
|
|
7
|
+
<user-fee-info :userinfoid="data.f_userinfo_id" v-ref:valueaddinfo></user-fee-info>
|
|
8
|
+
<sale-safecheck-info :data="data"></sale-safecheck-info>
|
|
9
|
+
<!-- 未处理隐患 -->
|
|
10
|
+
<sale-hidden-danger-info :data="data"></sale-hidden-danger-info>
|
|
11
|
+
<service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
|
|
12
|
+
<check-gas :data="data" v-if="checkgas==='气量核对'"></check-gas>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
/**
|
|
18
|
+
*客户相关信息
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
import MixPriceInfo from '../../../src/components/revenue/base/leftview/MixPriceInfo.vue'
|
|
22
|
+
import ServiceRepair from '../../../src/components/revenue/base/leftview/ServiceRepair.vue'
|
|
23
|
+
import CheckGas from '../../../src/components/revenue/base/leftview/CheckGas.vue'
|
|
24
|
+
export default {
|
|
25
|
+
title: '客户相关信息',
|
|
26
|
+
data () {
|
|
27
|
+
return {
|
|
28
|
+
name: '',
|
|
29
|
+
checkgas: ''
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
components: {MixPriceInfo, ServiceRepair, CheckGas},
|
|
33
|
+
props: {
|
|
34
|
+
data: {
|
|
35
|
+
type: Object
|
|
36
|
+
},
|
|
37
|
+
cardData: {
|
|
38
|
+
type: Object,
|
|
39
|
+
default: function () {
|
|
40
|
+
return {}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
state:{
|
|
44
|
+
type: String,
|
|
45
|
+
default:null
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
ready () {
|
|
49
|
+
this.getAuthority()
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
getAuthority () {
|
|
53
|
+
if (this.$login.r.find(value => value == '维修情况查询')) {
|
|
54
|
+
this.name = '维修情况查询'
|
|
55
|
+
console.log(this.name)
|
|
56
|
+
}
|
|
57
|
+
if (this.$login.r.find(value => value == '气量核对')) {
|
|
58
|
+
this.checkgas = '气量核对'
|
|
59
|
+
console.log(this.checkgas)
|
|
60
|
+
}
|
|
61
|
+
console.log('查看权限', this.$login.r)
|
|
62
|
+
},
|
|
63
|
+
dealMsg (obj) {
|
|
64
|
+
this.$dispatch('deal-msg', obj)
|
|
65
|
+
},
|
|
66
|
+
setstate(state){
|
|
67
|
+
this.$dispatch('setstate',state)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
</script>
|
|
72
|
+
<style lang="less">
|
|
73
|
+
#mulit-info-class {
|
|
74
|
+
width: 280px;
|
|
75
|
+
margin-right: 20px;
|
|
76
|
+
overflow-y: auto;
|
|
77
|
+
> div {
|
|
78
|
+
height: auto;
|
|
79
|
+
margin-bottom: 8px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
// 内容显示样式
|
|
83
|
+
.control-label {
|
|
84
|
+
height: 23px;
|
|
85
|
+
border-right: 1px solid #F2F6FA;
|
|
86
|
+
margin-bottom: 0;
|
|
87
|
+
text-align: left;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.info-content {
|
|
91
|
+
padding:6px;
|
|
92
|
+
span {
|
|
93
|
+
padding-left: 5px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
// 信息区域的表格显示紧凑
|
|
97
|
+
.self-table > tbody > tr > td {
|
|
98
|
+
padding: 3px;
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
</style>
|