manage-client 1.22.26-ca → 1.22.30-ca
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/build/dev-server.js +7 -1
- package/package.json +1 -1
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +417 -363
- package/src/components/sale/businessquery/ChargeQuery.vue +18 -0
- package/src/components/sale/businessquery/FillCardQuery.vue +47 -31
- package/src/components/sale/businessquery/SendCardQuery.vue +375 -0
- package/src/components/sale/config/exportConfig.js +170 -153
- package/src/components/sale/filesquery/DeviceQuery.vue +371 -371
- package/src/components/sale/filesquery/MeterQuery.vue +521 -514
- package/src/saleManage.js +3 -0
|
@@ -1,363 +1,417 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="flex:1;overflow: hidden !important;" class="flex">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row"
|
|
7
|
-
<div class="col-sm-2 form-group form-fix-width" >
|
|
8
|
-
<label class="font_normal_body _zoom4" >新卡号</label>
|
|
9
|
-
<input type="text" class="form-control _zoom6" v-model="model.f_newcard_id"
|
|
10
|
-
condition="f_newcard_id = '{}' " placeholder="新卡号">
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-sm-2 form-group form-fix-width" >
|
|
13
|
-
<label class="font_normal_body _zoom4" >旧卡号</label>
|
|
14
|
-
<input type="text" class="form-control _zoom6" v-model="model.f_card_id"
|
|
15
|
-
condition="f_card_id = '{}' " placeholder="旧卡号">
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-2 form-group form-fix-width" >
|
|
18
|
-
<label class="font_normal_body _zoom4" >用户编号</label>
|
|
19
|
-
<input type="text" class="form-control _zoom6" v-model="model.f_userinfo_code"
|
|
20
|
-
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-2 form-group form-fix-width" >
|
|
23
|
-
<label class="font_normal_body _zoom4" >用户姓名</label>
|
|
24
|
-
<input type="text" class="form-control _zoom6" v-model="model.f_user_name"
|
|
25
|
-
condition="f_user_name like '%{}%'" placeholder="用户姓名">
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-sm-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
v-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</
|
|
223
|
-
|
|
224
|
-
<
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
this
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
this.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
this.
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="flex:1;overflow: hidden !important;" class="flex">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
8
|
+
<label class="font_normal_body _zoom4" >新卡号</label>
|
|
9
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_newcard_id"
|
|
10
|
+
condition="f_newcard_id = '{}' " placeholder="新卡号">
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
13
|
+
<label class="font_normal_body _zoom4" >旧卡号</label>
|
|
14
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_card_id"
|
|
15
|
+
condition="f_card_id = '{}' " placeholder="旧卡号">
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
18
|
+
<label class="font_normal_body _zoom4" >用户编号</label>
|
|
19
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_userinfo_code"
|
|
20
|
+
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
23
|
+
<label class="font_normal_body _zoom4" >用户姓名</label>
|
|
24
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_user_name"
|
|
25
|
+
condition="f_user_name like '%{}%'" placeholder="用户姓名">
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-4">
|
|
28
|
+
<div style="float:right" :class="{'_btnclitested':!$parent.$parent.criteriaShow}">
|
|
29
|
+
<button class="btn btn-success" @click="search()">查询</button>
|
|
30
|
+
<button class="btn btn-default" @click="$parent.$parent.clear()">清空</button>
|
|
31
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
32
|
+
:field="$parent.$parent.getfield"
|
|
33
|
+
sqlurl="rs/logic/exportfile" sql-name="changeMeterQuery" template-name='换表查询导出' :choose-col="true"></export-excel>
|
|
34
|
+
|
|
35
|
+
<div
|
|
36
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
37
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
42
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
43
|
+
<label class="font_normal_body _zoom4" >用户电话</label>
|
|
44
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_user_phone"
|
|
45
|
+
condition="f_user_phone like '%{}%'" placeholder="用户电话">
|
|
46
|
+
</div>
|
|
47
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
48
|
+
<label class="font_normal_body _zoom4" >用户地址</label>
|
|
49
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_address"
|
|
50
|
+
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
53
|
+
<label class="font_normal_body _zoom4" >换表类型</label>
|
|
54
|
+
<v-select :value.sync="model.f_type"
|
|
55
|
+
v-model="model.f_type"
|
|
56
|
+
:options='$parent.$parent.changeTypes' placeholder='请选择'
|
|
57
|
+
condition="f_type = '{}'"
|
|
58
|
+
close-on-select></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
61
|
+
<label class="font_normal_body _zoom4" >换表人</label>
|
|
62
|
+
<v-select :value.sync="model.f_change_operator"
|
|
63
|
+
v-model="model.f_change_operator"
|
|
64
|
+
:options='$parent.$parent.changeOperator' placeholder='换表人'
|
|
65
|
+
condition="f_operator = '{}'"
|
|
66
|
+
close-on-select></v-select>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
69
|
+
<label class="font_normal_body _zoom4" >新表号</label>
|
|
70
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_newmeternumber"
|
|
71
|
+
condition="f_newmeternumber = '{}'" placeholder='表编号'>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
74
|
+
<label class="font_normal_body _zoom4" >旧表号</label>
|
|
75
|
+
<input type="text" class="form-control _zoom6" v-model="model.f_meternumber"
|
|
76
|
+
condition="f_meternumber = '{}'" placeholder='表编号'>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
79
|
+
<label class="font_normal_body _zoom4" >换表状态</label>
|
|
80
|
+
<v-select :value.sync="model.f_state"
|
|
81
|
+
v-model="model.f_state"
|
|
82
|
+
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
83
|
+
condition="f_state = '{}'"
|
|
84
|
+
close-on-select></v-select>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
87
|
+
<label for="startDate" class="font_normal_body _zoom4" >开始日期</label>
|
|
88
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
89
|
+
class="_zoom6"
|
|
90
|
+
v-model="model.startDate"
|
|
91
|
+
:value.sync="model.startDate"
|
|
92
|
+
:format="'yyyy-MM-dd'"
|
|
93
|
+
:show-reset-button="true"
|
|
94
|
+
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
|
|
95
|
+
</datepicker>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
98
|
+
<label for="endDate" class="font_normal_body _zoom4" >结束日期</label>
|
|
99
|
+
<datepicker id="endDate" placeholder="结束日期" class="_zoom6"
|
|
100
|
+
v-model="model.endDate"
|
|
101
|
+
:value.sync="model.endDate"
|
|
102
|
+
:format="'yyyy-MM-dd'"
|
|
103
|
+
:show-reset-button="true"
|
|
104
|
+
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
|
|
105
|
+
</datepicker>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
108
|
+
<label class="font_normal_body _zoom4" >用户类型</label>
|
|
109
|
+
<v-select :value.sync="model.f_user_type"
|
|
110
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
111
|
+
condition="f_user_type = '{}'"
|
|
112
|
+
close-on-select></v-select>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
115
|
+
<label class="font_normal_body _zoom4" >用气性质</label>
|
|
116
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
117
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
118
|
+
condition="f_gasproperties = '{}'"
|
|
119
|
+
close-on-select></v-select>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
122
|
+
<label class="font_normal_body _zoom4" >新表品牌</label>
|
|
123
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
124
|
+
v-model="model.f_meter_brand"
|
|
125
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
126
|
+
condition="new_meter_brand = '{}'"
|
|
127
|
+
close-on-select></v-select>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
130
|
+
<label class="font_normal_body _zoom4" >旧表品牌</label>
|
|
131
|
+
<v-select :value.sync="model.old_meter_brand"
|
|
132
|
+
v-model="model.old_meter_brand"
|
|
133
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
134
|
+
condition="old_meter_brand = '{}'"
|
|
135
|
+
close-on-select></v-select>
|
|
136
|
+
</div>
|
|
137
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
138
|
+
<label class="font_normal_body _zoom4" >换表原因</label>
|
|
139
|
+
<v-select :value.sync="model.f_reason"
|
|
140
|
+
v-model="model.f_reason"
|
|
141
|
+
:options='$parent.$parent.reason' placeholder='请选择'
|
|
142
|
+
condition="f_reason = '{}'"
|
|
143
|
+
close-on-select></v-select>
|
|
144
|
+
</div>
|
|
145
|
+
<div class="col-sm-2 form-group form-fix-width" >
|
|
146
|
+
<label class="font_normal_body _zoom4" >换表费</label>
|
|
147
|
+
<input type="number" class="form-control _zoom6" v-model="model.f_changemeter_fee"
|
|
148
|
+
condition="f_changemeter_fee = {} " placeholder="换表费">
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="row">
|
|
152
|
+
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</criteria>
|
|
156
|
+
|
|
157
|
+
<data-grid :model="model" partial='list' v-ref:grid @dblclick="$parent.$parent.toBusiness">
|
|
158
|
+
<template partial='head'>
|
|
159
|
+
<tr>
|
|
160
|
+
<th><nobr>旧卡号</nobr></th>
|
|
161
|
+
<th><nobr>新卡号</nobr></th>
|
|
162
|
+
<!-- <th><nobr>用户编号</nobr></th>-->
|
|
163
|
+
<th><nobr>用户姓名</nobr></th>
|
|
164
|
+
<th><nobr>用户地址</nobr></th>
|
|
165
|
+
<th><nobr>换表类型</nobr></th>
|
|
166
|
+
<th><nobr>换表费</nobr></th>
|
|
167
|
+
<th><nobr>是否保修期免交</nobr></th>
|
|
168
|
+
<th><nobr>免交原因</nobr></th>
|
|
169
|
+
<th><nobr>旧表表号</nobr></th>
|
|
170
|
+
<th><nobr>新表表号</nobr></th>
|
|
171
|
+
<th><nobr>转移气量</nobr></th>
|
|
172
|
+
<th><nobr>转移金额</nobr></th>
|
|
173
|
+
<th><nobr>旧气表类型</nobr></th>
|
|
174
|
+
<th><nobr>旧气表品牌</nobr></th>
|
|
175
|
+
<th><nobr>旧气表型号</nobr></th>
|
|
176
|
+
<th><nobr>旧表底数</nobr></th>
|
|
177
|
+
<th><nobr>旧表剩余</nobr></th>
|
|
178
|
+
<th><nobr>旧表封号</nobr></th>
|
|
179
|
+
<th><nobr>新气表类型</nobr></th>
|
|
180
|
+
<th><nobr>新气表品牌</nobr></th>
|
|
181
|
+
<th><nobr>新气表型号</nobr></th>
|
|
182
|
+
<th><nobr>新表底数</nobr></th>
|
|
183
|
+
<th><nobr>新表封号</nobr></th>
|
|
184
|
+
<th><nobr>换表原因</nobr></th>
|
|
185
|
+
<th><nobr>状态</nobr></th>
|
|
186
|
+
<th><nobr>换表日期</nobr></th>
|
|
187
|
+
<th><nobr>操作日期</nobr></th>
|
|
188
|
+
<th><nobr>操作员</nobr></th>
|
|
189
|
+
<!--<th><nobr>营业网点</nobr></th>-->
|
|
190
|
+
<!--<th><nobr>分公司</nobr></th>-->
|
|
191
|
+
</tr>
|
|
192
|
+
</template>
|
|
193
|
+
<template partial='body'>
|
|
194
|
+
<td style="text-align: center;"><nobr>
|
|
195
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_card_id}}</a></span></nobr></td>
|
|
196
|
+
<td style="text-align: center;"><nobr>{{row.f_newcard_id}}</nobr></td>
|
|
197
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>-->
|
|
198
|
+
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
199
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
200
|
+
<td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
|
|
201
|
+
<td style="text-align: center;"><nobr>{{row.f_changemeter_fee}}</nobr></td>
|
|
202
|
+
<td style="text-align: center;"><nobr>{{row.f_freereason}}</nobr></td>
|
|
203
|
+
<td style="text-align: center;"><nobr>{{row.f_freereason}}</nobr></td>
|
|
204
|
+
<!--<td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>-->
|
|
205
|
+
<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
206
|
+
<td style="text-align: center;"><nobr>{{row.f_newmeternumber}}</nobr></td>
|
|
207
|
+
<td style="text-align: center;"><nobr>{{row.f_shiftgas}}</nobr></td>
|
|
208
|
+
<td style="text-align: center;"><nobr>{{row.f_shiftgas_money}}</nobr></td>
|
|
209
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_classify}}</nobr></td>
|
|
210
|
+
<td style="text-align: center;"><nobr>{{row.f_old_meterbrand}}</nobr></td>
|
|
211
|
+
<td style="text-align: center;"><nobr>{{row.f_old_meternmodel}}</nobr></td>
|
|
212
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
|
|
213
|
+
<td style="text-align: center;"><nobr>{{row.f_tablebase_gas}}</nobr></td>
|
|
214
|
+
<td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
|
|
215
|
+
<td style="text-align: center;"><nobr>{{row.f_newmeter_classify}}</nobr></td>
|
|
216
|
+
<td style="text-align: center;"><nobr>{{row.f_new_meterbrand}}</nobr></td>
|
|
217
|
+
<td style="text-align: center;"><nobr>{{row.f_new_meternmodel}}</nobr></td>
|
|
218
|
+
<td style="text-align: center;"><nobr>{{row.f_newmeter_base}}</nobr></td>
|
|
219
|
+
<td style="text-align: center;"><nobr>{{row.f_newmetertitles}}</nobr></td>
|
|
220
|
+
<td style="text-align: center;"><nobr>{{row.f_reason}},{{row.f_result_change}}</nobr></td>
|
|
221
|
+
<td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
|
|
222
|
+
<td style="text-align: center;"><nobr>{{row.f_changemeter_date}}</nobr></td>
|
|
223
|
+
<td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
224
|
+
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
225
|
+
<!--<td style="text-align: center;"><nobr>{{row.f_outlets}}</nobr></td>-->
|
|
226
|
+
<!--<td style="text-align: center;"><nobr>{{row.f_filiale}}</nobr></td>-->
|
|
227
|
+
</template>
|
|
228
|
+
<template partial='foot'></template>
|
|
229
|
+
</data-grid>
|
|
230
|
+
|
|
231
|
+
</criteria-paged>
|
|
232
|
+
|
|
233
|
+
<table class="table-hover" >
|
|
234
|
+
<tr class="table-bordered">
|
|
235
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
236
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">换表费合计: {{sumsmodel.f_changemeter_fee}}</td>
|
|
237
|
+
</tr>
|
|
238
|
+
</table>
|
|
239
|
+
<!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
|
|
240
|
+
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
241
|
+
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
242
|
+
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
243
|
+
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
244
|
+
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
245
|
+
<!--</header>-->
|
|
246
|
+
<!--<article slot="modal-body">-->
|
|
247
|
+
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
248
|
+
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
249
|
+
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
250
|
+
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
251
|
+
<!--</div>-->
|
|
252
|
+
<!--</div>-->
|
|
253
|
+
<!--</article>-->
|
|
254
|
+
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
255
|
+
<!--<center>-->
|
|
256
|
+
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
257
|
+
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
258
|
+
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
259
|
+
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
260
|
+
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
261
|
+
<!--:fields="modelval" :printpage="true">-->
|
|
262
|
+
<!--</print-table>-->
|
|
263
|
+
<!--</center>-->
|
|
264
|
+
<!--</footer>-->
|
|
265
|
+
<!--</modal>-->
|
|
266
|
+
</div>
|
|
267
|
+
</template>
|
|
268
|
+
|
|
269
|
+
<script>
|
|
270
|
+
import { PagedList } from 'vue-client'
|
|
271
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
272
|
+
import exportConfig from '../config/exportConfig'
|
|
273
|
+
|
|
274
|
+
let readySomething = async function (self) {
|
|
275
|
+
await self.$MagLoadParams.loadParam(self.$login.f)
|
|
276
|
+
// 初始化气表品牌
|
|
277
|
+
let brandArr = []
|
|
278
|
+
self.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
279
|
+
let temp = {}
|
|
280
|
+
temp.label = item.label
|
|
281
|
+
temp.value = item.value.f_meter_brand
|
|
282
|
+
brandArr.push(temp)
|
|
283
|
+
})
|
|
284
|
+
self.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
285
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
286
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
287
|
+
self.$refs.paged.$refs.cri.model.f_state = ['有效']
|
|
288
|
+
}
|
|
289
|
+
export default {
|
|
290
|
+
props:['changeOperator'],
|
|
291
|
+
data() {
|
|
292
|
+
return {
|
|
293
|
+
data: {},
|
|
294
|
+
model: new PagedList('rs/sql/changeMeterQuery', 20,{},{f_changemeter_fee: 0}),
|
|
295
|
+
criteriaShow: true,
|
|
296
|
+
|
|
297
|
+
filialeNameStr: null,
|
|
298
|
+
filialeCodeStr: this.$login.f.f_orgids,
|
|
299
|
+
userid: this.$login.f.id,
|
|
300
|
+
source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
|
301
|
+
|
|
302
|
+
modelval: [],
|
|
303
|
+
printshow: false,
|
|
304
|
+
all: false,
|
|
305
|
+
fields: {},
|
|
306
|
+
thead: '',
|
|
307
|
+
tfoot: '',
|
|
308
|
+
meterbrands: [],
|
|
309
|
+
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
310
|
+
changeTypes: this.$appdata.getParam('换表类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('换表类型')] : [],
|
|
311
|
+
changePerson: this.$appdata.getParam('换表人') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('换表人')] : [],
|
|
312
|
+
charge_state: [{label: '全部', value: ''},{label: '有效', value: '有效'},{label: '无效', value: '无效'}],
|
|
313
|
+
usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
|
|
314
|
+
reason: this.$appdata.getParam('换表原因') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('换表原因')] : [], //合计数据
|
|
315
|
+
sumsmodel: {}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
ready(){
|
|
319
|
+
readySomething(this).then(() => {
|
|
320
|
+
this.$emit('ready')
|
|
321
|
+
}).catch((error) => {
|
|
322
|
+
this.$emit('error', error)
|
|
323
|
+
})
|
|
324
|
+
},
|
|
325
|
+
methods: {
|
|
326
|
+
selfSearch (args) {
|
|
327
|
+
this.model.search(args.condition, args.model)
|
|
328
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
329
|
+
},
|
|
330
|
+
clear(){
|
|
331
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
332
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
333
|
+
})
|
|
334
|
+
},
|
|
335
|
+
show(){
|
|
336
|
+
this.criteriaShow = true
|
|
337
|
+
},
|
|
338
|
+
hidden(){
|
|
339
|
+
this.criteriaShow = !this.criteriaShow
|
|
340
|
+
},
|
|
341
|
+
getRes(obj) {
|
|
342
|
+
this.filialeNameStr = obj.res
|
|
343
|
+
this.filialeCodeStr = obj.resids
|
|
344
|
+
},
|
|
345
|
+
stamp () {
|
|
346
|
+
this.all = false
|
|
347
|
+
//默认选择要打印的列
|
|
348
|
+
this.modelval = defaultPrint.config
|
|
349
|
+
this.fields = this.getfield
|
|
350
|
+
console.log('所有打印字段',this.fields)
|
|
351
|
+
this.printshow = true
|
|
352
|
+
this.put()
|
|
353
|
+
},
|
|
354
|
+
dealmsg (val) {
|
|
355
|
+
console.log('---------------dealmsg')
|
|
356
|
+
val.model = this.model.model
|
|
357
|
+
this.$dispatch('deal-msg',val)
|
|
358
|
+
},
|
|
359
|
+
put () {
|
|
360
|
+
// 对Modelval进行排序
|
|
361
|
+
this.sortModelval()
|
|
362
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
|
|
363
|
+
for (let key of this.modelval) {
|
|
364
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
365
|
+
}
|
|
366
|
+
this.thead += '</tr>'
|
|
367
|
+
},
|
|
368
|
+
print () {
|
|
369
|
+
this.$refs.print.PrintAsFile()
|
|
370
|
+
this.printshow = false
|
|
371
|
+
},
|
|
372
|
+
close () {
|
|
373
|
+
this.printshow = false
|
|
374
|
+
this.all = false
|
|
375
|
+
},
|
|
376
|
+
// 对选择的列进行排序
|
|
377
|
+
sortModelval () {
|
|
378
|
+
let sortModel = []
|
|
379
|
+
Object.keys(this.fields).forEach((key) => {
|
|
380
|
+
if (this.modelval.includes(key)) {
|
|
381
|
+
sortModel.push(key)
|
|
382
|
+
}
|
|
383
|
+
})
|
|
384
|
+
this.modelval = sortModel
|
|
385
|
+
console.log('选择的打印的字段', this.modelval)
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
watch:{
|
|
389
|
+
'all' (val) {
|
|
390
|
+
if (val) {
|
|
391
|
+
this.modelval = this.bodyData
|
|
392
|
+
} else {
|
|
393
|
+
this.modelval = defaultPrint.config
|
|
394
|
+
this.put()
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
'modelval.length' () {
|
|
398
|
+
this.put()
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
computed:{
|
|
402
|
+
gasproperties () {
|
|
403
|
+
let rs = []
|
|
404
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type.length === 1) {
|
|
405
|
+
rs = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
406
|
+
}
|
|
407
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
408
|
+
},
|
|
409
|
+
getCondition(){
|
|
410
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition} `}
|
|
411
|
+
},
|
|
412
|
+
getfield(){
|
|
413
|
+
return exportConfig.changemeterConfig
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
</script>
|