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