manage-client 3.2.45 → 3.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -339,9 +339,9 @@
|
|
|
339
339
|
<nobr>客户电话</nobr>
|
|
340
340
|
</th>
|
|
341
341
|
|
|
342
|
-
<th
|
|
343
|
-
<nobr>片区</nobr
|
|
344
|
-
</th
|
|
342
|
+
<!-- <th>-->
|
|
343
|
+
<!-- <nobr>片区</nobr>-->
|
|
344
|
+
<!-- </th>-->
|
|
345
345
|
<th>
|
|
346
346
|
<!-- <nobr>客户地址</nobr>-->
|
|
347
347
|
<data-order field="f_address" name="客户地址"
|
|
@@ -372,13 +372,13 @@
|
|
|
372
372
|
<nobr>气量</nobr>
|
|
373
373
|
</th>
|
|
374
374
|
<th>
|
|
375
|
-
<nobr
|
|
375
|
+
<nobr>气费金额</nobr>
|
|
376
376
|
</th>
|
|
377
377
|
<th>
|
|
378
378
|
<nobr>滞纳金</nobr>
|
|
379
379
|
</th>
|
|
380
380
|
<th>
|
|
381
|
-
<nobr
|
|
381
|
+
<nobr>应收金额</nobr>
|
|
382
382
|
</th>
|
|
383
383
|
<th>
|
|
384
384
|
<nobr>清缴金额</nobr>
|
|
@@ -386,11 +386,9 @@
|
|
|
386
386
|
<th>
|
|
387
387
|
<nobr>预存金额</nobr>
|
|
388
388
|
</th>
|
|
389
|
+
|
|
389
390
|
<th>
|
|
390
|
-
<nobr
|
|
391
|
-
</th>
|
|
392
|
-
<th>
|
|
393
|
-
<nobr>收款</nobr>
|
|
391
|
+
<nobr>实际收款</nobr>
|
|
394
392
|
</th>
|
|
395
393
|
<!--<th>-->
|
|
396
394
|
<!--<!– <nobr>所属年月</nobr>–>-->
|
|
@@ -406,6 +404,9 @@
|
|
|
406
404
|
<th>
|
|
407
405
|
<nobr>优惠金额</nobr>
|
|
408
406
|
</th>
|
|
407
|
+
<th>
|
|
408
|
+
<nobr>上期结余</nobr>
|
|
409
|
+
</th>
|
|
409
410
|
<th>
|
|
410
411
|
<nobr>本期结余</nobr>
|
|
411
412
|
</th>
|
|
@@ -531,9 +532,9 @@
|
|
|
531
532
|
<td style="text-align: center;">
|
|
532
533
|
<nobr>{{row.f_user_phone}}</nobr>
|
|
533
534
|
</td>
|
|
534
|
-
<td style="text-align: center;"
|
|
535
|
-
<nobr>{{row.f_zones}}</nobr
|
|
536
|
-
</td
|
|
535
|
+
<!-- <td style="text-align: center;">-->
|
|
536
|
+
<!-- <nobr>{{row.f_zones}}</nobr>-->
|
|
537
|
+
<!-- </td>-->
|
|
537
538
|
<td style="text-align: center;">
|
|
538
539
|
<nobr>{{row.f_address}}</nobr>
|
|
539
540
|
</td>
|
|
@@ -576,9 +577,7 @@
|
|
|
576
577
|
<td style="text-align: center;">
|
|
577
578
|
<nobr>{{row.f_yucun}}</nobr>
|
|
578
579
|
</td>
|
|
579
|
-
|
|
580
|
-
<nobr >{{row.f_balance}}</nobr>
|
|
581
|
-
</td>
|
|
580
|
+
|
|
582
581
|
<td style="text-align: center;">
|
|
583
582
|
<nobr>{{row.f_collection}}</nobr>
|
|
584
583
|
</td>
|
|
@@ -592,7 +591,9 @@
|
|
|
592
591
|
<nobr>{{row.f_privilege_money}}</nobr>
|
|
593
592
|
</td>
|
|
594
593
|
|
|
595
|
-
|
|
594
|
+
<td style="text-align: center;">
|
|
595
|
+
<nobr >{{row.f_balance}}</nobr>
|
|
596
|
+
</td>
|
|
596
597
|
<td style="text-align: center;">
|
|
597
598
|
<nobr>{{row.f_curbalance}}</nobr>
|
|
598
599
|
|
|
@@ -717,19 +718,19 @@
|
|
|
717
718
|
气量合计: {{sumsmodel.f_pregas}}
|
|
718
719
|
</td>
|
|
719
720
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
720
|
-
|
|
721
|
+
气费金额合计: {{sumsmodel.fee}}
|
|
721
722
|
</td>
|
|
722
723
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
723
724
|
滞纳金合计: {{sumsmodel.f_delaypay}}
|
|
724
725
|
</td>
|
|
725
726
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
726
|
-
|
|
727
|
+
应交金额合计: {{sumsmodel.f_preamount}}
|
|
727
728
|
</td>
|
|
728
729
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
729
730
|
预存金额合计: {{sumsmodel.f_yucun}}
|
|
730
731
|
</td>
|
|
731
732
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
732
|
-
|
|
733
|
+
实际收款合计: {{sumsmodel.f_collection}}
|
|
733
734
|
</td>
|
|
734
735
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
735
736
|
优惠合计: {{sumsmodel.f_privilege_money}}
|
|
@@ -1,523 +1,524 @@
|
|
|
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
|
-
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2 form-group">
|
|
11
|
-
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
-
v-model="model.startDate"
|
|
14
|
-
:value.sync="model.startDate"
|
|
15
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
-
:show-reset-button="true"
|
|
17
|
-
condition="f_operate_date >= '{}'">
|
|
18
|
-
</datepicker>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group">
|
|
21
|
-
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
-
v-model="model.endDate"
|
|
24
|
-
:value.sync="model.endDate"
|
|
25
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
condition="f_operate_date <= '{}'">
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body">客户编号</label>
|
|
32
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-2 form-group">
|
|
36
|
-
<label class="font_normal_body">客户名称</label>
|
|
37
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div class="span" style="float:right;">
|
|
42
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
43
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
44
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
45
|
-
|
|
46
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
-
:field="$parent.$parent.getfield"
|
|
48
|
-
:footer="$parent.$parent.footer"
|
|
49
|
-
:header="$parent.$parent.other"
|
|
50
|
-
sqlurl="rs/logic/exportfile" sql-name="fillGasQuery" template-name='补气查询导出'
|
|
51
|
-
:choose-col="true"></export-excel>
|
|
52
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
53
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
54
|
-
titletable="补气记录"
|
|
55
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
62
|
-
<div class="col-sm-2 form-group">
|
|
63
|
-
<label class="font_normal_body">客户电话</label>
|
|
64
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
65
|
-
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
66
|
-
</div>
|
|
67
|
-
<div class="col-sm-2 form-group">
|
|
68
|
-
<label class="font_normal_body">客户地址</label>
|
|
69
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
70
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="col-sm-2 form-group">
|
|
73
|
-
<label class="font_normal_body">操作类型</label>
|
|
74
|
-
<v-select :value.sync="model.f_type"
|
|
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
|
-
import
|
|
285
|
-
import
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
self.$refs.paged.$refs.cri.model.
|
|
291
|
-
|
|
292
|
-
// self.$refs.paged.$refs.cri.model.
|
|
293
|
-
//
|
|
294
|
-
|
|
295
|
-
self.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
this.
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
// this.$refs.paged.$refs.cri.$refs.exports.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
|
|
357
|
-
let
|
|
358
|
-
otherInData
|
|
359
|
-
|
|
360
|
-
footerData.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
this.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
temp
|
|
377
|
-
temp.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
this.$parent.$parent.$parent.data.
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
this.sumsmodel
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
this.
|
|
418
|
-
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
this.
|
|
429
|
-
|
|
430
|
-
this
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
this.
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
this.
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
this.
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
this.
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
this
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
this.
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
this.
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
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
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="f_operate_date >= '{}'">
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_operate_date <= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">客户编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body">客户名称</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="span" style="float:right;">
|
|
42
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
43
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
44
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
45
|
+
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
+
:field="$parent.$parent.getfield"
|
|
48
|
+
:footer="$parent.$parent.footer"
|
|
49
|
+
:header="$parent.$parent.other"
|
|
50
|
+
sqlurl="rs/logic/exportfile" sql-name="fillGasQuery" template-name='补气查询导出'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
52
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
53
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
54
|
+
titletable="补气记录"
|
|
55
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">客户电话</label>
|
|
64
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
65
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">客户地址</label>
|
|
69
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
70
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">操作类型</label>
|
|
74
|
+
<v-select :value.sync="model.f_type"
|
|
75
|
+
:multiple="true"
|
|
76
|
+
v-model="model.f_type"
|
|
77
|
+
:options='$parent.$parent.fillGasTypes' placeholder='请选择'
|
|
78
|
+
condition="f_type in {}"
|
|
79
|
+
close-on-select></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">补气类型</label>
|
|
83
|
+
<v-select :value.sync="model.f_fill_type"
|
|
84
|
+
:multiple="true"
|
|
85
|
+
v-model="model.f_fill_type"
|
|
86
|
+
:options='$parent.$parent.fillTypes' placeholder='请选择'
|
|
87
|
+
condition="f_fill_type in {}"
|
|
88
|
+
close-on-select></v-select>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body"> 卡号 </label>
|
|
93
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
94
|
+
condition="f_card_id like '%{}%'" placeholder='卡号'>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">气表类型</label>
|
|
98
|
+
<v-select :value.sync="model.f_meter_type" multiple
|
|
99
|
+
:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
|
|
100
|
+
condition="f_meter_type in {}"
|
|
101
|
+
close-on-select></v-select>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="col-sm-2 form-group">
|
|
104
|
+
<label class="font_normal_body">气表品牌</label>
|
|
105
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
106
|
+
v-model="model.f_meter_brand"
|
|
107
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
108
|
+
condition="f_meter_brand = '{}'"
|
|
109
|
+
close-on-select></v-select>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-2 form-group">
|
|
112
|
+
<label class="font_normal_body">补气状态</label>
|
|
113
|
+
<v-select :value.sync="model.f_state"
|
|
114
|
+
v-model="model.f_state"
|
|
115
|
+
:options='$parent.$parent.chargeState' placeholder='请选择'
|
|
116
|
+
condition="f_state = '{}'"
|
|
117
|
+
close-on-select></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="col-sm-2 form-group">
|
|
120
|
+
<label class="font_normal_body">用户类型</label>
|
|
121
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
122
|
+
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
123
|
+
@change="$parent.$parent.userTypeChange()"
|
|
124
|
+
condition="f_user_type = '{}'"
|
|
125
|
+
close-on-select></v-select>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="col-sm-2 form-group">
|
|
128
|
+
<label class="font_normal_body">用气性质</label>
|
|
129
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
130
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
131
|
+
condition="f_gasproperties = '{}'"
|
|
132
|
+
close-on-select></v-select>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
</criteria>
|
|
138
|
+
|
|
139
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
140
|
+
<template partial='head'>
|
|
141
|
+
<tr>
|
|
142
|
+
<th>
|
|
143
|
+
<nobr>客户编号</nobr>
|
|
144
|
+
</th>
|
|
145
|
+
<th>
|
|
146
|
+
<nobr>客户名称</nobr>
|
|
147
|
+
</th>
|
|
148
|
+
<th>
|
|
149
|
+
<nobr>客户类型</nobr>
|
|
150
|
+
</th>
|
|
151
|
+
<th>
|
|
152
|
+
<nobr>客户电话</nobr>
|
|
153
|
+
</th>
|
|
154
|
+
<th>
|
|
155
|
+
<nobr>客户地址</nobr>
|
|
156
|
+
</th>
|
|
157
|
+
<th>
|
|
158
|
+
<nobr>卡号</nobr>
|
|
159
|
+
</th>
|
|
160
|
+
<th>
|
|
161
|
+
<nobr>气表品牌</nobr>
|
|
162
|
+
</th>
|
|
163
|
+
<th>
|
|
164
|
+
<nobr>补气量</nobr>
|
|
165
|
+
</th>
|
|
166
|
+
<th>
|
|
167
|
+
<nobr>补气金额</nobr>
|
|
168
|
+
</th>
|
|
169
|
+
<th>
|
|
170
|
+
<nobr>操作类型</nobr>
|
|
171
|
+
</th>
|
|
172
|
+
<th>
|
|
173
|
+
<nobr>补气类型</nobr>
|
|
174
|
+
</th>
|
|
175
|
+
<th>
|
|
176
|
+
<nobr>补气日期</nobr>
|
|
177
|
+
</th>
|
|
178
|
+
<th>
|
|
179
|
+
<nobr>补气原因</nobr>
|
|
180
|
+
</th>
|
|
181
|
+
<th>
|
|
182
|
+
<nobr>操作员</nobr>
|
|
183
|
+
</th>
|
|
184
|
+
<th>
|
|
185
|
+
<nobr>部门</nobr>
|
|
186
|
+
</th>
|
|
187
|
+
<th>
|
|
188
|
+
<nobr>公司</nobr>
|
|
189
|
+
</th>
|
|
190
|
+
<th><nobr>附件</nobr></th>
|
|
191
|
+
</tr>
|
|
192
|
+
</template>
|
|
193
|
+
<template partial='body'>
|
|
194
|
+
<td style="text-align: center;">
|
|
195
|
+
<nobr>
|
|
196
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
197
|
+
</td>
|
|
198
|
+
<td style="text-align: center;">
|
|
199
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
200
|
+
</td>
|
|
201
|
+
<td style="text-align: center;">
|
|
202
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
203
|
+
</td>
|
|
204
|
+
<td style="text-align: center;">
|
|
205
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
206
|
+
</td>
|
|
207
|
+
<td style="text-align: center;">
|
|
208
|
+
<nobr>{{row.f_address}}</nobr>
|
|
209
|
+
</td>
|
|
210
|
+
<td style="text-align: center;">
|
|
211
|
+
<nobr>{{row.f_card_id}}</nobr>
|
|
212
|
+
</td>
|
|
213
|
+
<td style="text-align: center;">
|
|
214
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
215
|
+
</td>
|
|
216
|
+
<td style="text-align: center;">
|
|
217
|
+
<nobr>{{row.f_pregas}}</nobr>
|
|
218
|
+
</td>
|
|
219
|
+
<td style="text-align: center;">
|
|
220
|
+
<nobr>{{row.f_preamount}}</nobr>
|
|
221
|
+
</td>
|
|
222
|
+
<td style="text-align: center;">
|
|
223
|
+
<nobr>{{row.f_type}}</nobr>
|
|
224
|
+
</td>
|
|
225
|
+
<td style="text-align: center;">
|
|
226
|
+
<nobr>{{row.f_fill_type}}</nobr>
|
|
227
|
+
</td>
|
|
228
|
+
<td style="text-align: center;">
|
|
229
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
230
|
+
</td>
|
|
231
|
+
<td style="text-align: center;">
|
|
232
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
233
|
+
</td>
|
|
234
|
+
<td style="text-align: center;">
|
|
235
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
236
|
+
</td>
|
|
237
|
+
<td style="text-align: center;">
|
|
238
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
239
|
+
</td>
|
|
240
|
+
<td style="text-align: center;">
|
|
241
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
242
|
+
</td>
|
|
243
|
+
<td style="text-align: center;"><nobr>
|
|
244
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
245
|
+
</nobr></td>
|
|
246
|
+
</template>
|
|
247
|
+
<template partial='foot'></template>
|
|
248
|
+
</data-grid>
|
|
249
|
+
</criteria-paged>
|
|
250
|
+
|
|
251
|
+
<table class="table-hover">
|
|
252
|
+
<tr style="position: relative" class="table-bordered">
|
|
253
|
+
<td
|
|
254
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
255
|
+
汇总信息
|
|
256
|
+
</td>
|
|
257
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
258
|
+
补气量合计: {{sumsmodel.f_pregas}}
|
|
259
|
+
</td>
|
|
260
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
261
|
+
补气金额合计: {{sumsmodel.f_preamount}}
|
|
262
|
+
</td>
|
|
263
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
264
|
+
户数合计: {{sumsmodel.hushu}}
|
|
265
|
+
</td>
|
|
266
|
+
</tr>
|
|
267
|
+
</table>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="flex" v-if="show">
|
|
270
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
274
|
+
<article slot="modal-body">
|
|
275
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="补气" :isremark="false" style="width:auto" ></upload>
|
|
276
|
+
</article>
|
|
277
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
278
|
+
</footer>
|
|
279
|
+
</modal>
|
|
280
|
+
</div>
|
|
281
|
+
</template>
|
|
282
|
+
|
|
283
|
+
<script>
|
|
284
|
+
import {PagedList} from 'vue-client'
|
|
285
|
+
import defaultPrint from './config/DefaultPrint'
|
|
286
|
+
import exportConfig from './config/exportConfig'
|
|
287
|
+
|
|
288
|
+
let readySomething = async function (self) {
|
|
289
|
+
|
|
290
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
291
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
292
|
+
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
293
|
+
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
294
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
295
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
296
|
+
self.initParams()
|
|
297
|
+
await self.$MagLoadParams.loadParam()
|
|
298
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
299
|
+
}
|
|
300
|
+
export default {
|
|
301
|
+
props:['data'],
|
|
302
|
+
title: '补气查询',
|
|
303
|
+
data() {
|
|
304
|
+
return {
|
|
305
|
+
data: {},
|
|
306
|
+
other:[],
|
|
307
|
+
footer:[],
|
|
308
|
+
model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0,hushu:0}),
|
|
309
|
+
criteriaShow: false,
|
|
310
|
+
headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补气类型", "表编号", "卡号", "气表品牌", "气表状态", "补气量", "补气日期", "操作员", "部门", "公司"],
|
|
311
|
+
bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", "f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_fillgas", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
|
|
312
|
+
orgCondtionStr: '',
|
|
313
|
+
config: {
|
|
314
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_idnumber', 'f_type', 'f_meter_brand', 'f_fillgas','f_operate_date', 'f_operator']
|
|
315
|
+
},
|
|
316
|
+
//默认打印列
|
|
317
|
+
defaultfield: [],
|
|
318
|
+
modelval: [],
|
|
319
|
+
printshow: false,
|
|
320
|
+
all: false,
|
|
321
|
+
fields: {},
|
|
322
|
+
thead: '',
|
|
323
|
+
tfoot: '',
|
|
324
|
+
show:false,
|
|
325
|
+
rowdata:{},
|
|
326
|
+
meterbrands: [],
|
|
327
|
+
initres: {
|
|
328
|
+
org:[this.$login.f.orgid],
|
|
329
|
+
dep:[],
|
|
330
|
+
user:[],
|
|
331
|
+
},
|
|
332
|
+
metertypes: this.$appdata.getParam('气表类型')?[{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]:[],
|
|
333
|
+
showupload:false,
|
|
334
|
+
selected:{},
|
|
335
|
+
gasproperties:[],
|
|
336
|
+
//合计数据
|
|
337
|
+
sumsmodel: {}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
ready() {
|
|
341
|
+
readySomething(this).then(() => {
|
|
342
|
+
this.$emit('ready')
|
|
343
|
+
}).catch((error) => {
|
|
344
|
+
this.$emit('error', error)
|
|
345
|
+
})
|
|
346
|
+
},
|
|
347
|
+
methods: {
|
|
348
|
+
view(row){
|
|
349
|
+
this.showupload = true
|
|
350
|
+
this.selected= row
|
|
351
|
+
},
|
|
352
|
+
getotherfooter(){
|
|
353
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
354
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
355
|
+
this.other=[];
|
|
356
|
+
this.footer=[];
|
|
357
|
+
let exportdata = this.getCondition;
|
|
358
|
+
let otherInData=[];
|
|
359
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
360
|
+
let footerData=[],exportfield=this.getfield;
|
|
361
|
+
footerData.push("合计");
|
|
362
|
+
let self = this;
|
|
363
|
+
for(var field in self.sumsmodel){
|
|
364
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
365
|
+
}
|
|
366
|
+
this.footer.push(footerData);
|
|
367
|
+
this.other.push(otherInData);
|
|
368
|
+
},
|
|
369
|
+
search(){
|
|
370
|
+
this.$refs.paged.$refs.cri.search()
|
|
371
|
+
},
|
|
372
|
+
initParams() {
|
|
373
|
+
// 初始化气表品牌
|
|
374
|
+
let brandArr = []
|
|
375
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
376
|
+
let temp = {}
|
|
377
|
+
temp.label = item.label
|
|
378
|
+
temp.value = item.value.f_meter_brand
|
|
379
|
+
brandArr.push(temp)
|
|
380
|
+
})
|
|
381
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
382
|
+
},
|
|
383
|
+
async selfSearch(args) {
|
|
384
|
+
if (this.data) {
|
|
385
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
386
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
387
|
+
}
|
|
388
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
389
|
+
await this.model.search(args.condition, args.model)
|
|
390
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
391
|
+
this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
|
|
392
|
+
console.log("this.sumsmodel",this.sumsmodel,this.$refs.paged.$refs.grid)
|
|
393
|
+
|
|
394
|
+
},
|
|
395
|
+
clear() {
|
|
396
|
+
//清空部门和人员
|
|
397
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
398
|
+
//部门和人员变为全选
|
|
399
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
400
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
401
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
402
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
403
|
+
})
|
|
404
|
+
},
|
|
405
|
+
show() {
|
|
406
|
+
this.criteriaShow = true
|
|
407
|
+
},
|
|
408
|
+
hidden() {
|
|
409
|
+
this.criteriaShow = !this.criteriaShow
|
|
410
|
+
},
|
|
411
|
+
getRes(condition) {
|
|
412
|
+
this.orgCondtionStr = condition
|
|
413
|
+
},
|
|
414
|
+
stamp() {
|
|
415
|
+
this.all = false
|
|
416
|
+
//默认选择要打印的列
|
|
417
|
+
this.modelval = defaultPrint.config
|
|
418
|
+
this.fields = this.getfield
|
|
419
|
+
console.log('所有打印字段', this.fields)
|
|
420
|
+
this.printshow = true
|
|
421
|
+
this.put()
|
|
422
|
+
},
|
|
423
|
+
cancel() {
|
|
424
|
+
this.show = false
|
|
425
|
+
},
|
|
426
|
+
dealmsg(val) {
|
|
427
|
+
console.log('---------------dealmsg')
|
|
428
|
+
this.rowdata=val
|
|
429
|
+
this.show=true
|
|
430
|
+
val.model = this.model.model
|
|
431
|
+
this.$dispatch('deal-msg', val)
|
|
432
|
+
},
|
|
433
|
+
put() {
|
|
434
|
+
// 对Modelval进行排序
|
|
435
|
+
this.sortModelval()
|
|
436
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>补气查询统计报表</th></tr><tr>`
|
|
437
|
+
for (let key of this.modelval) {
|
|
438
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
439
|
+
}
|
|
440
|
+
this.thead += '</tr>'
|
|
441
|
+
},
|
|
442
|
+
print() {
|
|
443
|
+
this.$refs.print.PrintAsFile()
|
|
444
|
+
this.printshow = false
|
|
445
|
+
},
|
|
446
|
+
close() {
|
|
447
|
+
this.printshow = false
|
|
448
|
+
this.all = false
|
|
449
|
+
},
|
|
450
|
+
// 对选择的列进行排序
|
|
451
|
+
sortModelval() {
|
|
452
|
+
let sortModel = []
|
|
453
|
+
Object.keys(this.fields).forEach((key) => {
|
|
454
|
+
if (this.modelval.includes(key)) {
|
|
455
|
+
sortModel.push(key)
|
|
456
|
+
}
|
|
457
|
+
})
|
|
458
|
+
this.modelval = sortModel
|
|
459
|
+
console.log('选择的打印的字段', this.modelval)
|
|
460
|
+
},
|
|
461
|
+
async updateParams() {
|
|
462
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
463
|
+
this.initParams()
|
|
464
|
+
},
|
|
465
|
+
userTypeChange () {
|
|
466
|
+
this.gasproperties=[]
|
|
467
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
468
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
469
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
470
|
+
}
|
|
471
|
+
else{
|
|
472
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
watch: {
|
|
477
|
+
'all'(val) {
|
|
478
|
+
if (val) {
|
|
479
|
+
this.modelval = this.bodyData
|
|
480
|
+
} else {
|
|
481
|
+
this.modelval = defaultPrint.config
|
|
482
|
+
this.put()
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
'modelval.length'() {
|
|
486
|
+
this.put()
|
|
487
|
+
},
|
|
488
|
+
sumsmodel:{
|
|
489
|
+
handler: function(val) {
|
|
490
|
+
this.getotherfooter();
|
|
491
|
+
},
|
|
492
|
+
deep: true
|
|
493
|
+
},
|
|
494
|
+
'orgCondtionStr'(val) {
|
|
495
|
+
let res = val.match(/'(.*?)'/)
|
|
496
|
+
console.log('正则提取:',res && res[1])
|
|
497
|
+
if (res) {
|
|
498
|
+
this.f_filialeid = res[1]
|
|
499
|
+
this.updateParams()
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
computed: {
|
|
504
|
+
getCondition() {
|
|
505
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
506
|
+
},
|
|
507
|
+
getfield() {
|
|
508
|
+
return exportConfig.fillgasConfig
|
|
509
|
+
},
|
|
510
|
+
fillGasTypes() {
|
|
511
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('补气类型')]
|
|
512
|
+
},
|
|
513
|
+
fillTypes() {
|
|
514
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('补气类型细化')]
|
|
515
|
+
},
|
|
516
|
+
chargeState() {
|
|
517
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('补气状态')]
|
|
518
|
+
},
|
|
519
|
+
usertypes() {
|
|
520
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
</script>
|
|
@@ -56,6 +56,30 @@
|
|
|
56
56
|
condition="f_user_state = '{}'"
|
|
57
57
|
close-on-select></v-select>
|
|
58
58
|
</div>
|
|
59
|
+
<div class="col-sm-2 form-group">
|
|
60
|
+
<label class="font_normal_body">客户类型</label>
|
|
61
|
+
<v-select :value.sync="model.f_user_type"
|
|
62
|
+
:options='$parent.$parent.usertypes'
|
|
63
|
+
placeholder='请选择' v-model="model.f_user_type"
|
|
64
|
+
condition="f_user_type = '{}'"
|
|
65
|
+
close-on-select></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">用气性质</label>
|
|
69
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
70
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
71
|
+
condition="f_gasproperties = '{}'"
|
|
72
|
+
close-on-select></v-select>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">气表分类</label>
|
|
76
|
+
<v-select :value.sync="model.f_meter_classify"
|
|
77
|
+
:multiple="true"
|
|
78
|
+
v-model="model.f_meter_classify"
|
|
79
|
+
:options='$parent.$parent.metertypes' placeholder='请选择'
|
|
80
|
+
condition="f_meter_classify in {}"
|
|
81
|
+
close-on-select></v-select>
|
|
82
|
+
</div>
|
|
59
83
|
<div class="col-sm-2 form-group">
|
|
60
84
|
<label class="font_normal_body"> 人数 </label>
|
|
61
85
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
|
|
@@ -242,7 +266,7 @@
|
|
|
242
266
|
:options='$parent.$parent.safe' placeholder='请选择'
|
|
243
267
|
close-on-select></v-select>
|
|
244
268
|
</div>
|
|
245
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group
|
|
269
|
+
<!-- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>-->
|
|
246
270
|
</div>
|
|
247
271
|
</div>
|
|
248
272
|
</criteria>
|
|
@@ -870,6 +894,18 @@
|
|
|
870
894
|
},
|
|
871
895
|
userstates() {
|
|
872
896
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
897
|
+
},
|
|
898
|
+
//参数获取 用户类型
|
|
899
|
+
usertypes() {
|
|
900
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
901
|
+
},
|
|
902
|
+
//参数获取 用气性质
|
|
903
|
+
gasproperties() {
|
|
904
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
905
|
+
},
|
|
906
|
+
//参数获取 气表类型
|
|
907
|
+
metertypes() {
|
|
908
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
873
909
|
}
|
|
874
910
|
}
|
|
875
911
|
}
|