manage-client 3.3.156 → 3.3.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 +1 -1
- package/src/filiale/WEINAN/CancellationQuery.vue +29 -9
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +3 -2
- package/src/filiale/WEINAN/UserQuery.vue +14 -0
- package/src/filiale/lixianV3/FMYGasQuery.vue +841 -0
- package/src/filiale/lixianV3/config/exportConfig.js +34 -25
- package/src/filiale/lixianV3/sale.js +2 -0
package/package.json
CHANGED
|
@@ -152,6 +152,17 @@
|
|
|
152
152
|
close-on-select>
|
|
153
153
|
</v-select>
|
|
154
154
|
</div>
|
|
155
|
+
<div class="col-sm-2 form-group">
|
|
156
|
+
<label for="f_cancellation_type" class="font_normal_body ">销户类型</label>
|
|
157
|
+
<v-select :value.sync="model.f_cancellation_type" :search="false"
|
|
158
|
+
v-model="model.f_cancellation_type"
|
|
159
|
+
:options='$parent.$parent.cancellationTypes'
|
|
160
|
+
condition="f_cancellation_type = '{}'"
|
|
161
|
+
placeholder='销户类型'
|
|
162
|
+
value-single="true"
|
|
163
|
+
close-on-select>
|
|
164
|
+
</v-select>
|
|
165
|
+
</div>
|
|
155
166
|
</div>
|
|
156
167
|
</div>
|
|
157
168
|
</criteria>
|
|
@@ -181,6 +192,9 @@
|
|
|
181
192
|
<th>
|
|
182
193
|
<nobr>表号</nobr>
|
|
183
194
|
</th>
|
|
195
|
+
<th>
|
|
196
|
+
<nobr>销户类型</nobr>
|
|
197
|
+
</th>
|
|
184
198
|
<th>
|
|
185
199
|
<nobr>销户原因</nobr>
|
|
186
200
|
</th>
|
|
@@ -243,6 +257,9 @@
|
|
|
243
257
|
<td style="text-align: center;">
|
|
244
258
|
<nobr>{{row.f_meternumber}}</nobr>
|
|
245
259
|
</td>
|
|
260
|
+
<td style="text-align: center;">
|
|
261
|
+
<nobr>{{row.f_cancellation_type}}</nobr>
|
|
262
|
+
</td>
|
|
246
263
|
<td style="text-align: center;">
|
|
247
264
|
<nobr>{{row.f_comments}}</nobr>
|
|
248
265
|
</td>
|
|
@@ -285,15 +302,15 @@
|
|
|
285
302
|
<template partial='foot'></template>
|
|
286
303
|
</data-grid>
|
|
287
304
|
</criteria-paged>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
305
|
+
<table class="table-hover">
|
|
306
|
+
<tr style="position: relative" class="table-bordered">
|
|
307
|
+
<td
|
|
308
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
309
|
+
汇总信息
|
|
310
|
+
</td>
|
|
311
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总户数: {{$refs.paged.$refs.grid.model.count}}</td>
|
|
312
|
+
</tr>
|
|
313
|
+
</table>
|
|
297
314
|
</div>
|
|
298
315
|
<div class="flex" v-if="show">
|
|
299
316
|
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
@@ -679,6 +696,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
679
696
|
userusetypes () {
|
|
680
697
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
681
698
|
},
|
|
699
|
+
cancellationTypes () {
|
|
700
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('销户类型')]
|
|
701
|
+
},
|
|
682
702
|
userTypes() {
|
|
683
703
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
684
704
|
},
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
<label class="font_normal_body">用户类型</label>
|
|
94
94
|
<v-select :value.sync="model.f_user_type"
|
|
95
95
|
:options='$parent.$parent.usertypes'
|
|
96
|
-
@change="$parent.$parent.userTypeChange()"
|
|
97
96
|
:value-single="true"
|
|
98
97
|
placeholder='请选择' v-model="model.f_user_type"
|
|
99
98
|
></v-select>
|
|
@@ -292,7 +291,6 @@ export default {
|
|
|
292
291
|
slice_area: [],
|
|
293
292
|
},
|
|
294
293
|
criteriaShow: true,
|
|
295
|
-
userusetypes: [],
|
|
296
294
|
useinstitutions: [],
|
|
297
295
|
userusenatures: [],
|
|
298
296
|
corporatename: []
|
|
@@ -542,6 +540,9 @@ export default {
|
|
|
542
540
|
getfield () {
|
|
543
541
|
return exportConfig.manageCompanyGasSummary
|
|
544
542
|
},
|
|
543
|
+
userusetypes() {
|
|
544
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
545
|
+
},
|
|
545
546
|
useTypes () {
|
|
546
547
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
547
548
|
},
|
|
@@ -313,6 +313,17 @@
|
|
|
313
313
|
close-on-select>
|
|
314
314
|
</v-select>
|
|
315
315
|
</div>
|
|
316
|
+
<div class="col-sm-2 form-group">
|
|
317
|
+
<label for="f_user_usenature" class="font_normal_body ">表前阀状态</label>
|
|
318
|
+
<v-select :value.sync="model.f_bqf_state" :search="false"
|
|
319
|
+
v-model="model.f_bqf_state"
|
|
320
|
+
:options='$parent.$parent.bqfState'
|
|
321
|
+
condition="f_bqf_state = '{}'"
|
|
322
|
+
placeholder='表前阀状态'
|
|
323
|
+
value-single="true"
|
|
324
|
+
close-on-select>
|
|
325
|
+
</v-select>
|
|
326
|
+
</div>
|
|
316
327
|
|
|
317
328
|
</div>
|
|
318
329
|
</div>
|
|
@@ -993,6 +1004,9 @@
|
|
|
993
1004
|
userstates() {
|
|
994
1005
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
995
1006
|
},
|
|
1007
|
+
bqfState () {
|
|
1008
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表前阀状态')]
|
|
1009
|
+
},
|
|
996
1010
|
userLevels () {
|
|
997
1011
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
998
1012
|
},
|
|
@@ -0,0 +1,841 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-inline auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label for="startDate" class="font_normal_body">录入日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
>
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label for="endDate" class="font_normal_body">   至</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
:show-reset-button="true"
|
|
26
|
+
>
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label for="startHandDate" class="font_normal_body">下发日期</label>
|
|
31
|
+
<datepicker id="startHandDate" placeholder="开始日期" style="width:60%"
|
|
32
|
+
v-model="model.startHandDate"
|
|
33
|
+
:value.sync="model.startHandDate"
|
|
34
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
35
|
+
:show-reset-button="true"
|
|
36
|
+
>
|
|
37
|
+
</datepicker>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="col-sm-2 form-group">
|
|
40
|
+
<label for="endHandDate" class="font_normal_body">   至</label>
|
|
41
|
+
<datepicker id="endHandDate" placeholder="结束日期" style="width:60%"
|
|
42
|
+
v-model="model.endHandDate"
|
|
43
|
+
:value.sync="model.endHandDate"
|
|
44
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
45
|
+
:show-reset-button="true"
|
|
46
|
+
>
|
|
47
|
+
</datepicker>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<div class="span" style="float:right;">
|
|
52
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
53
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
55
|
+
:field="$parent.$parent.getfield"
|
|
56
|
+
:footer="$parent.$parent.footer"
|
|
57
|
+
:header="$parent.$parent.other"
|
|
58
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile"
|
|
59
|
+
sql-name="FMYgasQuery"
|
|
60
|
+
template-name='用气查询导出'
|
|
61
|
+
:choose-col="true"></export-excel>
|
|
62
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
63
|
+
:defaultfield="$parent.$parent.defaultfield" print-name="用气查询打印"
|
|
64
|
+
></print-data>
|
|
65
|
+
|
|
66
|
+
<div style="float: right" class="button_spacing"
|
|
67
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
68
|
+
@click="$parent.$parent.hidden()"></div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
72
|
+
|
|
73
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
74
|
+
|
|
75
|
+
<div class="col-sm-2 form-group">
|
|
76
|
+
|
|
77
|
+
<label class="font_normal_body">客户编号</label>
|
|
78
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
79
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">客户名称</label>
|
|
83
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
84
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-2 form-group">
|
|
87
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
88
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
89
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body"> 小区 </label>
|
|
93
|
+
<v-select :value.sync="model.f_residential_area"
|
|
94
|
+
class="select_list select"
|
|
95
|
+
v-model="model.f_residential_area"
|
|
96
|
+
style="width: 60%"
|
|
97
|
+
multiple
|
|
98
|
+
condition="f_residential_area in {}"
|
|
99
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
100
|
+
close-on-select>
|
|
101
|
+
|
|
102
|
+
</v-select>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-2 form-group">
|
|
105
|
+
<label class="font_normal_body">客户地址</label>
|
|
106
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
107
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="col-sm-2 form-group">
|
|
110
|
+
<label class="font_normal_body">客户表号</label>
|
|
111
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
112
|
+
condition="f_meternumber = '{}'" placeholder='客户表号'>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-2 form-group">
|
|
115
|
+
<label class="font_normal_body" title="参数名称:气表类型">气表类型</label>
|
|
116
|
+
<v-select :value.sync="model.f_meter_classify"
|
|
117
|
+
v-model="model.f_meter_classify"
|
|
118
|
+
:options='$parent.$parent.metertype' placeholder='请选择'
|
|
119
|
+
condition="f_meter_classify like '%{}%'"
|
|
120
|
+
close-on-select></v-select>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="col-sm-2 form-group">
|
|
123
|
+
<label class="font_normal_body" title="参数名称:用户类型">客户类型</label>
|
|
124
|
+
<v-select :value.sync="model.f_user_type"
|
|
125
|
+
@change="$parent.$parent.userTypeChange()"
|
|
126
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
127
|
+
condition="f_user_type = '{}'"
|
|
128
|
+
close-on-select></v-select>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="col-sm-2 form-group" >
|
|
131
|
+
<label class="font_normal_body">客户状态</label>
|
|
132
|
+
<v-select :value.sync="model.f_user_state"
|
|
133
|
+
v-model="model.f_user_state"
|
|
134
|
+
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
135
|
+
condition="f_user_state = '{}'"
|
|
136
|
+
close-on-select></v-select>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="col-sm-2 form-group">
|
|
139
|
+
<label class="font_normal_body">用气性质</label>
|
|
140
|
+
<v-select :value.sync="model.f_gasproperties"
|
|
141
|
+
v-model="model.f_gasproperties"
|
|
142
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
143
|
+
:multiple="true"
|
|
144
|
+
condition="f_gasproperties in {}">
|
|
145
|
+
</v-select>
|
|
146
|
+
</div>
|
|
147
|
+
<!--表册片区-->
|
|
148
|
+
<div class="col-sm-2 form-group">
|
|
149
|
+
<label class="font_normal_body">表册片区</label>
|
|
150
|
+
<v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
|
|
151
|
+
@change="$parent.$parent.inputtorchange"
|
|
152
|
+
:options='$parent.$parent.bookSlice' placeholder='片区/表册'
|
|
153
|
+
style="width:60%"
|
|
154
|
+
close-on-select
|
|
155
|
+
condition="f_book_slice_area = '{}'"></v-select>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="col-sm-2 form-group">
|
|
158
|
+
<label class="font_normal_body">抄 表 册</label>
|
|
159
|
+
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
160
|
+
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
161
|
+
style="width:60%" :multiple="true"
|
|
162
|
+
condition="f_meter_book_num in {}"></v-select>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="col-sm-2 form-group">
|
|
165
|
+
<label class="font_normal_body">气表品牌</label>
|
|
166
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
167
|
+
v-model="model.f_meter_brand"
|
|
168
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
169
|
+
condition="f_meter_brand in {}"
|
|
170
|
+
close-on-select></v-select>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="col-sm-2 form-group">
|
|
173
|
+
<label class="font_normal_body">用 气 量 </label>
|
|
174
|
+
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_oughtamount_small"
|
|
175
|
+
condition="f_oughtamount >= '{}' " placeholder="大于等于">
|
|
176
|
+
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtamount_big"
|
|
177
|
+
condition="f_oughtamount <= '{}' " placeholder="小于等于">
|
|
178
|
+
</div>
|
|
179
|
+
<div class="col-sm-2 form-group">
|
|
180
|
+
<label for="startHandDate" class="font_normal_body">通气时间</label>
|
|
181
|
+
<datepicker id="startHandDate" placeholder="开始日期" style="width:60%"
|
|
182
|
+
v-model="model.startGasDate"
|
|
183
|
+
:value.sync="model.startGasDate"
|
|
184
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
185
|
+
condition="f_gas_date >= '{}'"
|
|
186
|
+
:show-reset-button="true"
|
|
187
|
+
>
|
|
188
|
+
</datepicker>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="col-sm-2 form-group">
|
|
191
|
+
<label for="endHandDate" class="font_normal_body">   至</label>
|
|
192
|
+
<datepicker id="endHandDate" placeholder="结束日期" style="width:60%"
|
|
193
|
+
v-model="model.endGasDate"
|
|
194
|
+
:value.sync="model.endGasDate"
|
|
195
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
196
|
+
condition="f_gas_date <= '{}'"
|
|
197
|
+
:show-reset-button="true"
|
|
198
|
+
>
|
|
199
|
+
</datepicker>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="col-sm-2 form-group">
|
|
202
|
+
<label class="font_normal_body"> 抄 表 员</label>
|
|
203
|
+
<v-select :value.sync="model.f_inputtor"
|
|
204
|
+
v-model="model.f_inputtor"
|
|
205
|
+
:multiple="true"
|
|
206
|
+
:options='$parent.$parent.inputtores' placeholder='请选择'
|
|
207
|
+
condition="f_inputtor in {}"
|
|
208
|
+
:search="false">
|
|
209
|
+
</v-select>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</criteria>
|
|
214
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
215
|
+
<template partial='head'>
|
|
216
|
+
<tr>
|
|
217
|
+
<th>
|
|
218
|
+
<nobr>客户编号</nobr>
|
|
219
|
+
</th>
|
|
220
|
+
<th>
|
|
221
|
+
<nobr>客户名称</nobr>
|
|
222
|
+
</th>
|
|
223
|
+
<th>
|
|
224
|
+
<nobr>档案编号</nobr>
|
|
225
|
+
</th>
|
|
226
|
+
<th>
|
|
227
|
+
<nobr>客户电话</nobr>
|
|
228
|
+
</th>
|
|
229
|
+
<th>
|
|
230
|
+
<nobr>证件类型</nobr>
|
|
231
|
+
</th>
|
|
232
|
+
<th>
|
|
233
|
+
<nobr>证件号码</nobr>
|
|
234
|
+
</th>
|
|
235
|
+
<th>
|
|
236
|
+
<nobr>小区</nobr>
|
|
237
|
+
</th>
|
|
238
|
+
<th>
|
|
239
|
+
<nobr>客户地址</nobr>
|
|
240
|
+
</th>
|
|
241
|
+
<th>
|
|
242
|
+
<nobr>客户类型</nobr>
|
|
243
|
+
</th>
|
|
244
|
+
<th>
|
|
245
|
+
<nobr>用气性质</nobr>
|
|
246
|
+
</th>
|
|
247
|
+
<th>
|
|
248
|
+
<nobr>表号</nobr>
|
|
249
|
+
</th>
|
|
250
|
+
<th>
|
|
251
|
+
<nobr>气表品牌</nobr>
|
|
252
|
+
</th>
|
|
253
|
+
<th>
|
|
254
|
+
<nobr>气表类型</nobr>
|
|
255
|
+
</th>
|
|
256
|
+
|
|
257
|
+
<th>
|
|
258
|
+
<nobr>抄表员</nobr>
|
|
259
|
+
</th>
|
|
260
|
+
<th>
|
|
261
|
+
<nobr>表册片区</nobr>
|
|
262
|
+
</th>
|
|
263
|
+
<th>
|
|
264
|
+
<nobr>抄表次数</nobr>
|
|
265
|
+
</th>
|
|
266
|
+
<th>
|
|
267
|
+
<nobr>抄表区间</nobr>
|
|
268
|
+
</th>
|
|
269
|
+
<th title="抄表区间间隔天数">
|
|
270
|
+
<nobr>天数</nobr>
|
|
271
|
+
</th>
|
|
272
|
+
<th>
|
|
273
|
+
<nobr>用气量</nobr>
|
|
274
|
+
</th>
|
|
275
|
+
<th>
|
|
276
|
+
<nobr>用气金额</nobr>
|
|
277
|
+
</th>
|
|
278
|
+
<th>
|
|
279
|
+
<nobr>期初底数</nobr>
|
|
280
|
+
</th>
|
|
281
|
+
<th>
|
|
282
|
+
<nobr>期末底数</nobr>
|
|
283
|
+
</th>
|
|
284
|
+
<th>
|
|
285
|
+
<nobr>一阶气量</nobr>
|
|
286
|
+
</th>
|
|
287
|
+
<th>
|
|
288
|
+
<nobr>一阶金额</nobr>
|
|
289
|
+
</th>
|
|
290
|
+
<th>
|
|
291
|
+
<nobr>二阶气量</nobr>
|
|
292
|
+
</th>
|
|
293
|
+
<th>
|
|
294
|
+
<nobr>二阶金额</nobr>
|
|
295
|
+
</th>
|
|
296
|
+
<th>
|
|
297
|
+
<nobr>三阶气量</nobr>
|
|
298
|
+
</th>
|
|
299
|
+
<th>
|
|
300
|
+
<nobr>三阶金额</nobr>
|
|
301
|
+
</th>
|
|
302
|
+
<th>
|
|
303
|
+
<nobr>通气时间</nobr>
|
|
304
|
+
</th>
|
|
305
|
+
<th>
|
|
306
|
+
<nobr>气价详情</nobr>
|
|
307
|
+
</th>
|
|
308
|
+
<!--<th><nobr>气表底数</nobr></th>-->
|
|
309
|
+
<!--<th><nobr>表上余额</nobr></th>-->
|
|
310
|
+
<!--<th><nobr>账户余额</nobr></th>-->
|
|
311
|
+
<th>
|
|
312
|
+
<nobr>预购气量</nobr>
|
|
313
|
+
</th>
|
|
314
|
+
<th>
|
|
315
|
+
<nobr>预购金额</nobr>
|
|
316
|
+
</th>
|
|
317
|
+
<th>
|
|
318
|
+
<nobr>实交金额</nobr>
|
|
319
|
+
</th>
|
|
320
|
+
</tr>
|
|
321
|
+
</template>
|
|
322
|
+
<template partial='body'>
|
|
323
|
+
<td style="text-align: center;">
|
|
324
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
325
|
+
</td>
|
|
326
|
+
<td style="text-align: center;">
|
|
327
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
328
|
+
</td>
|
|
329
|
+
<td style="text-align: center;">
|
|
330
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
331
|
+
</td>
|
|
332
|
+
<td style="text-align: center;">
|
|
333
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
334
|
+
</td>
|
|
335
|
+
<td style="text-align: center;">
|
|
336
|
+
<nobr>{{row.f_credentials}}</nobr>
|
|
337
|
+
</td>
|
|
338
|
+
<td style="text-align: center;">
|
|
339
|
+
<nobr>{{row.f_idnumber}}</nobr>
|
|
340
|
+
</td>
|
|
341
|
+
<td style="text-align: center;">
|
|
342
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
343
|
+
</td>
|
|
344
|
+
<td style="text-align: center;">
|
|
345
|
+
<nobr>{{row.f_address}}</nobr>
|
|
346
|
+
</td>
|
|
347
|
+
<td style="text-align: center;">
|
|
348
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
349
|
+
</td>
|
|
350
|
+
<td style="text-align: center;">
|
|
351
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
352
|
+
</td>
|
|
353
|
+
<td style="text-align: center;">
|
|
354
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
355
|
+
</td>
|
|
356
|
+
<td style="text-align: center;">
|
|
357
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
358
|
+
</td>
|
|
359
|
+
<td style="text-align: center;">
|
|
360
|
+
<nobr>{{row.f_meter_classify}}</nobr>
|
|
361
|
+
</td>
|
|
362
|
+
<td style="text-align: center;">
|
|
363
|
+
<nobr>{{row.f_inputtor}}</nobr>
|
|
364
|
+
</td>
|
|
365
|
+
<td style="text-align: center;">
|
|
366
|
+
<nobr>{{row.f_book_slice_area}}</nobr>
|
|
367
|
+
</td>
|
|
368
|
+
<td style="text-align: center;">
|
|
369
|
+
<nobr>{{row.f_hand_number}}</nobr>
|
|
370
|
+
</td>
|
|
371
|
+
<td style="text-align: center;">
|
|
372
|
+
<nobr>{{row.f_date}}</nobr>
|
|
373
|
+
</td>
|
|
374
|
+
<td style="text-align: center;" title="抄表区间间隔天数">
|
|
375
|
+
<nobr>{{row.f_input_day}}</nobr>
|
|
376
|
+
</td>
|
|
377
|
+
<td style="text-align: center;">
|
|
378
|
+
<nobr>{{row.f_oughtamount}}</nobr>
|
|
379
|
+
</td>
|
|
380
|
+
<td style="text-align: center;">
|
|
381
|
+
<nobr>{{row.f_oughtfee}}</nobr>
|
|
382
|
+
</td>
|
|
383
|
+
<td style="text-align: center;">
|
|
384
|
+
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
385
|
+
</td>
|
|
386
|
+
<td style="text-align: center;">
|
|
387
|
+
<nobr>{{row.f_tablebase}}</nobr>
|
|
388
|
+
</td>
|
|
389
|
+
<td style="text-align: center;">
|
|
390
|
+
<nobr>{{row.f_stairamount1}}</nobr>
|
|
391
|
+
</td>
|
|
392
|
+
<td style="text-align: center;">
|
|
393
|
+
<nobr>{{row.f_stair1fee}}</nobr>
|
|
394
|
+
</td>
|
|
395
|
+
<td style="text-align: center;">
|
|
396
|
+
<nobr>{{row.f_stairamount2}}</nobr>
|
|
397
|
+
</td>
|
|
398
|
+
<td style="text-align: center;">
|
|
399
|
+
<nobr>{{row.f_stair2fee}}</nobr>
|
|
400
|
+
</td>
|
|
401
|
+
<td style="text-align: center;">
|
|
402
|
+
<nobr>{{row.f_stairamount3}}</nobr>
|
|
403
|
+
</td>
|
|
404
|
+
<td style="text-align: center;">
|
|
405
|
+
<nobr>{{row.f_stair3fee}}</nobr>
|
|
406
|
+
</td>
|
|
407
|
+
<td style="text-align: center;">
|
|
408
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
409
|
+
</td>
|
|
410
|
+
<td style="text-align: center;">
|
|
411
|
+
<nobr>{{row.f_price_value}}</nobr>
|
|
412
|
+
</td>
|
|
413
|
+
<!--<td style="text-align: center;">-->
|
|
414
|
+
<!--<nobr>{{row.f_meter_base}}</nobr>-->
|
|
415
|
+
<!--</td>-->
|
|
416
|
+
<!--<td style="text-align: center;">-->
|
|
417
|
+
<!--<nobr>{{row.f_balance_amount}}</nobr>-->
|
|
418
|
+
<!--</td>-->
|
|
419
|
+
<!--<td style="text-align: center;">-->
|
|
420
|
+
<!--<nobr>{{row.f_balance}}</nobr>-->
|
|
421
|
+
<!--</td>-->
|
|
422
|
+
<td style="text-align: center;">
|
|
423
|
+
<nobr>{{row.f_pregas}}</nobr>
|
|
424
|
+
</td>
|
|
425
|
+
<td style="text-align: center;">
|
|
426
|
+
<nobr>{{row.f_preamount}}</nobr>
|
|
427
|
+
</td>
|
|
428
|
+
<td style="text-align: center;">
|
|
429
|
+
<nobr>{{row.f_collection}}</nobr>
|
|
430
|
+
</td>
|
|
431
|
+
</template>
|
|
432
|
+
<template partial='foot'></template>
|
|
433
|
+
</data-grid>
|
|
434
|
+
</criteria-paged>
|
|
435
|
+
<table class="table-hover">
|
|
436
|
+
<tr style="position: relative" class="table-bordered">
|
|
437
|
+
<td
|
|
438
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
439
|
+
汇总信息
|
|
440
|
+
</td>
|
|
441
|
+
<td
|
|
442
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
443
|
+
预购气量合计: {{sumsmodel.f_pregas}}
|
|
444
|
+
</td>
|
|
445
|
+
<td
|
|
446
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
447
|
+
预购金额合计: {{sumsmodel.f_preamount}}
|
|
448
|
+
</td>
|
|
449
|
+
<td
|
|
450
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
451
|
+
实交金额合计: {{sumsmodel.f_collection}}
|
|
452
|
+
</td>
|
|
453
|
+
<td
|
|
454
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
455
|
+
用气量合计: {{sumsmodel.f_oughtamount}}
|
|
456
|
+
</td>
|
|
457
|
+
<td
|
|
458
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
459
|
+
用气金额合计: {{sumsmodel.f_oughtfee}}
|
|
460
|
+
</td>
|
|
461
|
+
</tr>
|
|
462
|
+
</table>
|
|
463
|
+
</div>
|
|
464
|
+
<div v-if="show">
|
|
465
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
466
|
+
</div>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
</template>
|
|
470
|
+
<script>
|
|
471
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
472
|
+
import defaultPrint from './config/DefaultPrint'
|
|
473
|
+
import exportConfig from './config/exportConfig'
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
let readySomething = async function (self) {
|
|
477
|
+
//加载抄表册
|
|
478
|
+
self.initmeterbook();
|
|
479
|
+
self.initSlice(self.$login.f.orgid)
|
|
480
|
+
|
|
481
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
482
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
483
|
+
await self.$MagLoadParams.loadParam()
|
|
484
|
+
self.initParams()
|
|
485
|
+
self.getaddress()
|
|
486
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
487
|
+
}
|
|
488
|
+
export default {
|
|
489
|
+
title: '用气查询',
|
|
490
|
+
name: 'AddMaterial',
|
|
491
|
+
data () {
|
|
492
|
+
return {
|
|
493
|
+
other: [],
|
|
494
|
+
footer: [],
|
|
495
|
+
model: new PagedList('api/af-revenue/sql/FMYgasQuery', 30, {
|
|
496
|
+
startDate: 'this.model.startDate != null && this.model.startDate != "" ? this.model.startDate : this.model.startHandDate',
|
|
497
|
+
endDate: 'this.model.endDate != null && this.model.endDate != "" ? this.model.endDate : this.model.endHandDate',
|
|
498
|
+
f_queryweb: 'this.model.f_queryweb'
|
|
499
|
+
}, {
|
|
500
|
+
f_pregas: 0,
|
|
501
|
+
f_preamount: 0,
|
|
502
|
+
f_collection: 0,
|
|
503
|
+
f_oughtamount: 0,
|
|
504
|
+
f_oughtfee: 0
|
|
505
|
+
}),
|
|
506
|
+
initres: {
|
|
507
|
+
org: [this.$login.f.orgid],
|
|
508
|
+
dep: [],
|
|
509
|
+
user: [],
|
|
510
|
+
},
|
|
511
|
+
gasproperties: [],
|
|
512
|
+
residentialArea: [],
|
|
513
|
+
f_filialeid: this.$login.f.orgid,
|
|
514
|
+
show: false,
|
|
515
|
+
rowdata: {},
|
|
516
|
+
criteriaShow: false,
|
|
517
|
+
orgCondtionStr: '',
|
|
518
|
+
modelval: [],
|
|
519
|
+
meterbrands: [],
|
|
520
|
+
printshow: false,
|
|
521
|
+
all: false,
|
|
522
|
+
fields: {},
|
|
523
|
+
inputtores:[{label: '全部',value: ''}],
|
|
524
|
+
thead: '',
|
|
525
|
+
tfoot: '',
|
|
526
|
+
//表册片区
|
|
527
|
+
bookSlice:[{label: '全部',value: ''}],
|
|
528
|
+
// 下拉框
|
|
529
|
+
|
|
530
|
+
//合计数据
|
|
531
|
+
sumsmodel: {},
|
|
532
|
+
defaultfield: [],
|
|
533
|
+
// 使用类型,壁挂炉
|
|
534
|
+
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}],
|
|
535
|
+
userstates: this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
|
|
536
|
+
meterbooks: [{label: '全部',value: ''}], //抄表册
|
|
537
|
+
tempfalg :false,
|
|
538
|
+
lastorgstr:'',
|
|
539
|
+
isQueryWeb: this.$appdata.getSingleValue('用气查询是否查物联网表') ? this.$appdata.getSingleValue('用气查询是否查物联网表') : '否' ,
|
|
540
|
+
allorgid:[],
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
ready () {
|
|
544
|
+
readySomething(this)
|
|
545
|
+
this.getinputtores()
|
|
546
|
+
},
|
|
547
|
+
methods: {
|
|
548
|
+
initParams(){
|
|
549
|
+
//初始化气表品牌
|
|
550
|
+
let brandArr = []
|
|
551
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
552
|
+
let temp = {}
|
|
553
|
+
temp.label = item.label
|
|
554
|
+
temp.value = item.value.f_meter_brand
|
|
555
|
+
brandArr.push(temp)
|
|
556
|
+
})
|
|
557
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
558
|
+
},
|
|
559
|
+
//初始化片区
|
|
560
|
+
async initSlice (val) {
|
|
561
|
+
if (val) {
|
|
562
|
+
let getAllArea = await this.$resetpost('/rs/search', {
|
|
563
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
564
|
+
userid: this.$login.f.id
|
|
565
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
566
|
+
let arr = getAllArea.data.filter((res) => {
|
|
567
|
+
return res.parentid == val
|
|
568
|
+
})
|
|
569
|
+
this.bookSlice = []
|
|
570
|
+
arr.forEach((res) => {
|
|
571
|
+
this.bookSlice.push({label: res.name, value: res.name})
|
|
572
|
+
})
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
async getinputtores () {
|
|
576
|
+
// 获取抄表员
|
|
577
|
+
let rs = []
|
|
578
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
579
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
580
|
+
let temp = {
|
|
581
|
+
label: this.$login.f.f_gasman[i].name,
|
|
582
|
+
value: this.$login.f.f_gasman[i].name
|
|
583
|
+
}
|
|
584
|
+
rs.push(temp)
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
this.inputtores = [{label: '全部', value: ''}, ...rs]
|
|
588
|
+
},
|
|
589
|
+
//表册片区和抄表册关联
|
|
590
|
+
async inputtorchange(){
|
|
591
|
+
/*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
|
|
592
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
|
|
593
|
+
let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
|
|
594
|
+
if((val2.length>0)){
|
|
595
|
+
let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
|
|
596
|
+
if(val2[0]) {
|
|
597
|
+
condition = condition + ` and f_book_slice_area = '${val2}' `
|
|
598
|
+
}
|
|
599
|
+
let param={
|
|
600
|
+
items:'*',
|
|
601
|
+
tablename:'t_meter_book',
|
|
602
|
+
condition:condition,
|
|
603
|
+
orderitem:'id'
|
|
604
|
+
}
|
|
605
|
+
let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
606
|
+
if (getMeterBooks.data) {
|
|
607
|
+
if(getMeterBooks.data.length >0){
|
|
608
|
+
let rs = [];
|
|
609
|
+
getMeterBooks.data.forEach((item)=>{
|
|
610
|
+
let temp = {
|
|
611
|
+
label:item.f_book_name,
|
|
612
|
+
value:item.id
|
|
613
|
+
};
|
|
614
|
+
rs.push(temp);
|
|
615
|
+
|
|
616
|
+
})
|
|
617
|
+
this.meterbooks = [{label: '全部',value: ''}, ...rs];
|
|
618
|
+
}else{
|
|
619
|
+
|
|
620
|
+
this.meterbooks = [{label: '全部',value: ''}];
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}else{
|
|
624
|
+
this.meterbooks = [{label: '全部',value: ''}];
|
|
625
|
+
this.initmeterbook();
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
async getaddress(){
|
|
629
|
+
let HttpReset = new HttpResetClass()
|
|
630
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
631
|
+
data: {
|
|
632
|
+
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
|
|
633
|
+
}
|
|
634
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
635
|
+
console.log('小区',data)
|
|
636
|
+
let house = [{label: '全部', value: ''}]
|
|
637
|
+
for (let row of data.data){
|
|
638
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
639
|
+
}
|
|
640
|
+
this.residentialArea = house
|
|
641
|
+
},
|
|
642
|
+
async initmeterbook(orgstr){
|
|
643
|
+
if(orgstr == null ){
|
|
644
|
+
orgstr = this.f_filialeid;
|
|
645
|
+
}
|
|
646
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
647
|
+
this.$GetSaleParam.meterbooks = [];
|
|
648
|
+
//开始加载新的抄表册
|
|
649
|
+
await this.$LoadParams.loadMeterBook(orgstr)
|
|
650
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
651
|
+
},
|
|
652
|
+
getotherfooter () {
|
|
653
|
+
this.other = [];
|
|
654
|
+
this.footer = [];
|
|
655
|
+
// let exportdata = this.getCondition;
|
|
656
|
+
let otherInData = [];
|
|
657
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
658
|
+
let footerData = [], exportfield = this.getfield;
|
|
659
|
+
footerData.push("合计");
|
|
660
|
+
let self = this;
|
|
661
|
+
for (var field in self.sumsmodel) {
|
|
662
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
663
|
+
}
|
|
664
|
+
this.footer.push(footerData);
|
|
665
|
+
this.other.push(otherInData);
|
|
666
|
+
},
|
|
667
|
+
userTypeChange () {
|
|
668
|
+
this.gasproperties = []
|
|
669
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
670
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = []
|
|
671
|
+
|
|
672
|
+
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
673
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
674
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
675
|
+
} else {
|
|
676
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
search () {
|
|
680
|
+
this.$refs.paged.$refs.cri.search()
|
|
681
|
+
},
|
|
682
|
+
cancel () {
|
|
683
|
+
this.show = false
|
|
684
|
+
},
|
|
685
|
+
selfSearch (args) {
|
|
686
|
+
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
687
|
+
let con = '1=1'
|
|
688
|
+
let mod =this.$refs.paged.$refs.cri.model
|
|
689
|
+
if(mod.startDate != null && mod.startDate != '') {
|
|
690
|
+
con += ` and f_input_date >= '${mod.startDate}'`
|
|
691
|
+
}
|
|
692
|
+
if(mod.endDate != null && mod.endDate != '') {
|
|
693
|
+
con += ` and f_input_date <= '${mod.endDate}'`
|
|
694
|
+
}
|
|
695
|
+
if(mod.startHandDate != null && mod.startHandDate != '') {
|
|
696
|
+
con += ` and f_hand_date >= '${mod.startHandDate}'`
|
|
697
|
+
}
|
|
698
|
+
if(mod.endHandDate != null && mod.endHandDate != '') {
|
|
699
|
+
con += ` and f_hand_date <= '${mod.endHandDate}'`
|
|
700
|
+
}
|
|
701
|
+
this.$refs.paged.$refs.cri.model.f_queryweb = this.isQueryWeb
|
|
702
|
+
this.model.search(args.condition, args.model,con)
|
|
703
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
704
|
+
},
|
|
705
|
+
clear () {
|
|
706
|
+
//清空部门和人员
|
|
707
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
708
|
+
//部门和人员变为全选
|
|
709
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
710
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
711
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
712
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
713
|
+
})
|
|
714
|
+
},
|
|
715
|
+
show () {
|
|
716
|
+
this.criteriaShow = true
|
|
717
|
+
},
|
|
718
|
+
hidden () {
|
|
719
|
+
this.criteriaShow = !this.criteriaShow
|
|
720
|
+
},
|
|
721
|
+
showmsg (obj) {
|
|
722
|
+
this.rowdata = obj
|
|
723
|
+
this.show = true
|
|
724
|
+
},
|
|
725
|
+
async getRes(condition,obj) {
|
|
726
|
+
this.orgCondtionStr = condition
|
|
727
|
+
|
|
728
|
+
},
|
|
729
|
+
stamp () {
|
|
730
|
+
this.all = false
|
|
731
|
+
//默认选择要打印的列
|
|
732
|
+
this.modelval = defaultPrint.config
|
|
733
|
+
this.fields = this.getfield
|
|
734
|
+
console.log('所有打印字段', this.fields)
|
|
735
|
+
this.printshow = true
|
|
736
|
+
this.put()
|
|
737
|
+
},
|
|
738
|
+
put () {
|
|
739
|
+
// 对Modelval进行排序
|
|
740
|
+
this.sortModelval()
|
|
741
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>非民用用气查询</th></tr><tr>`
|
|
742
|
+
for (let key of this.modelval) {
|
|
743
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
744
|
+
}
|
|
745
|
+
this.thead += '</tr>'
|
|
746
|
+
},
|
|
747
|
+
print () {
|
|
748
|
+
this.$refs.print.PrintAsFile()
|
|
749
|
+
this.printshow = false
|
|
750
|
+
},
|
|
751
|
+
dealmsg (val) {
|
|
752
|
+
this.rowdata = val
|
|
753
|
+
this.show = true
|
|
754
|
+
val.model = this.model.model
|
|
755
|
+
this.$dispatch('deal-msg', val)
|
|
756
|
+
},
|
|
757
|
+
close () {
|
|
758
|
+
this.printshow = false
|
|
759
|
+
this.all = false
|
|
760
|
+
},
|
|
761
|
+
// 对选择的列进行排序
|
|
762
|
+
sortModelval () {
|
|
763
|
+
let sortModel = []
|
|
764
|
+
Object.keys(this.fields).forEach((key) => {
|
|
765
|
+
if (this.modelval.includes(key)) {
|
|
766
|
+
sortModel.push(key)
|
|
767
|
+
}
|
|
768
|
+
})
|
|
769
|
+
this.modelval = sortModel
|
|
770
|
+
console.log('选择的打印的字段', this.modelval)
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
},
|
|
774
|
+
computed: {
|
|
775
|
+
getCondition () {
|
|
776
|
+
return {
|
|
777
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
778
|
+
condValue: this.$refs.paged.model.condValue,
|
|
779
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
780
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
781
|
+
f_queryweb: this.$refs.paged.$refs.cri.model.f_queryweb
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
getfield () {
|
|
785
|
+
return exportConfig.fmygasConfig
|
|
786
|
+
},
|
|
787
|
+
usertypes () {
|
|
788
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
789
|
+
},
|
|
790
|
+
credentials () {
|
|
791
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('证件类型')]
|
|
792
|
+
},
|
|
793
|
+
metertype () {
|
|
794
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
events: {},
|
|
798
|
+
watch: {
|
|
799
|
+
'all' (val) {
|
|
800
|
+
if (val) {
|
|
801
|
+
this.modelval = this.bodyData
|
|
802
|
+
} else {
|
|
803
|
+
this.modelval = defaultPrint.config
|
|
804
|
+
this.put()
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
'modelval.length' () {
|
|
808
|
+
this.put()
|
|
809
|
+
},
|
|
810
|
+
sumsmodel: {
|
|
811
|
+
handler: function (val) {
|
|
812
|
+
this.getotherfooter();
|
|
813
|
+
},
|
|
814
|
+
deep: true
|
|
815
|
+
},
|
|
816
|
+
async 'orgCondtionStr'(val) {
|
|
817
|
+
this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
|
|
818
|
+
this.$refs.paged.$refs.cri.model.f_meter_book = []
|
|
819
|
+
this.meterbooks = [{label: '全部',value: ''}];
|
|
820
|
+
if(this.lastorgstr != val){
|
|
821
|
+
this.tempfalg = true;
|
|
822
|
+
this.lastorgstr = val;
|
|
823
|
+
}
|
|
824
|
+
if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
|
|
825
|
+
this.tempfalg = false;
|
|
826
|
+
let a = val.substring(val.indexOf("(")+2)
|
|
827
|
+
await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
|
|
828
|
+
}
|
|
829
|
+
this.updateParams()
|
|
830
|
+
},
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
</script>
|
|
834
|
+
<style>
|
|
835
|
+
.datapanel {
|
|
836
|
+
color: #333;
|
|
837
|
+
background-color: white;
|
|
838
|
+
padding: 10px 20px;
|
|
839
|
+
border-radius: 15px;
|
|
840
|
+
}
|
|
841
|
+
</style>
|
|
@@ -1021,31 +1021,40 @@ export default {
|
|
|
1021
1021
|
'f_version': '版本号', 'f_state': '状态', 'detailvalue': '气价信息'
|
|
1022
1022
|
},
|
|
1023
1023
|
fmygasConfig: {
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1024
|
+
"f_userinfo_code": "客户编号",
|
|
1025
|
+
"f_user_name": "客户名称",
|
|
1026
|
+
"f_olduserinfo_code": "档案编号",
|
|
1027
|
+
"f_user_phone": "客户电话",
|
|
1028
|
+
"f_credentials": "证件类型",
|
|
1029
|
+
"f_idnumber": "证件号码",
|
|
1030
|
+
"f_residential_area": "小区",
|
|
1031
|
+
"f_address": "客户地址",
|
|
1032
|
+
"f_user_type": "客户类型",
|
|
1033
|
+
"f_gasproperties": "用气性质",
|
|
1034
|
+
"f_meternumber": "表号",
|
|
1035
|
+
"f_meter_brand": "气表品牌",
|
|
1036
|
+
"f_meter_classify": "气表类型",
|
|
1037
|
+
"f_inputtor": "抄表员",
|
|
1038
|
+
"f_book_slice_area": "表册片区",
|
|
1039
|
+
"f_hand_number": "抄表次数",
|
|
1040
|
+
"f_date": "抄表区间",
|
|
1041
|
+
"f_input_day": "天数",
|
|
1042
|
+
"f_oughtamount": "用气量",
|
|
1043
|
+
"f_oughtfee": "用气金额",
|
|
1044
|
+
"f_last_tablebase": "期初底数",
|
|
1045
|
+
"f_tablebase": "期末底数",
|
|
1046
|
+
"f_stairamount1": "一阶气量",
|
|
1047
|
+
"f_stair1fee": "一阶气费",
|
|
1048
|
+
"f_stairamount2": "二阶气量",
|
|
1049
|
+
"f_stair2fee": "二阶气费",
|
|
1050
|
+
"f_stairamount3": "三阶气量",
|
|
1051
|
+
"f_stair3fee": "三阶气费",
|
|
1052
|
+
"f_createfile_date": "建档日期",
|
|
1053
|
+
"f_price_value": "气价详情",
|
|
1054
|
+
"f_balance": "账户余额",
|
|
1055
|
+
"f_pregas": "预购气量",
|
|
1056
|
+
"f_preamount": "预购金额",
|
|
1057
|
+
"f_collection": "实交金额"
|
|
1049
1058
|
},
|
|
1050
1059
|
notgasConfig: {
|
|
1051
1060
|
'f_userinfo_code': '客户编号',
|
|
@@ -12,6 +12,8 @@ export default function () {
|
|
|
12
12
|
Vue.component('change-meter-query', (resolve) => {
|
|
13
13
|
require(['./ChangeMeterQuery'], resolve)
|
|
14
14
|
})
|
|
15
|
+
// 用气查询
|
|
16
|
+
Vue.component('fmygas-query', (resolve) => { require(['./FMYGasQuery'], resolve) })
|
|
15
17
|
// 用气分析
|
|
16
18
|
Vue.component('gas-analysis-query', (resolve) => { require(['./GasAnalysisQuery'], resolve) })
|
|
17
19
|
// 用户缴费抄表查询
|