manage-client 3.3.2 → 3.3.3

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.
Files changed (63) hide show
  1. package/build/dev-server.js +180 -180
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
  4. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
  5. package/src/components/webmeter/recharge/RechargeList.vue +346 -346
  6. package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
  7. package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
  8. package/src/filiale/macheng/config/exportConfig.js +1 -1
  9. package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
  10. package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
  11. package/src/filiale/rongcheng/exportConfig.js +536 -536
  12. package/src/filiale/rongcheng/sale.js +22 -22
  13. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  14. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  15. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  16. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  17. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  18. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  19. package/src/filiale/shanxian/FillCardQuery.vue +569 -569
  20. package/src/filiale/shanxian/FillGasQuery.vue +588 -588
  21. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  22. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  23. package/src/filiale/shanxian/LostContactAnalysisList.vue +633 -632
  24. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  25. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  26. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  27. package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
  28. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  29. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  30. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  31. package/src/filiale/shanxian/UserLostContactAnalysis.vue +584 -583
  32. package/src/filiale/shanxian/UserQuery.vue +960 -959
  33. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  34. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  35. package/src/filiale/shanxian/sale.js +46 -26
  36. package/src/filiale/shanxian/webmeterManage.js +4 -0
  37. package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
  38. package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
  39. package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
  40. package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
  41. package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
  42. package/src/filiale/wenxi/GasStatistics.vue +515 -515
  43. package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
  44. package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
  45. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  46. package/src/filiale/wenxi/MeterQuery.vue +937 -964
  47. package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
  48. package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
  49. package/src/filiale/wenxi/WebHandQuery.vue +475 -475
  50. package/src/filiale/wenxi/config/exportConfig.js +916 -916
  51. package/src/filiale/wenxi/sale.js +24 -24
  52. package/src/filiale/wenxi/webmeterManage.js +13 -13
  53. package/src/filiale/xinkang/EchartsBox.vue +139 -139
  54. package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
  55. package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
  56. package/src/filiale/xinkang/exportConfig.js +1998 -1998
  57. package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
  58. package/src/filiale/xinkang/reportManage.js +15 -15
  59. package/src/filiale/xinkang/sale.js +13 -13
  60. package/src/filiale/xinkang/webmeterManage.js +9 -9
  61. package/src/filiale/zhongyi/GasStatistics.vue +521 -521
  62. package/src/main.js +66 -72
  63. package/lib/package_2022-12-01-14-30-50.json +0 -109
@@ -1,1370 +1,1370 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search" v-if="!show">
4
- <div class="flex">
5
-
6
- <criteria-paged :model="model" v-ref:paged @sort="sort">
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
- </datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
21
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- :show-reset-button="true">
26
- </datepicker>
27
- </div>
28
- <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">客户编号</label>
30
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
31
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
32
- </div>
33
- <div class="span" style="float:right;">
34
- <button class="button_search button_spacing" @click="search()">查询</button>
35
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
-
37
- <button class="btn btn-default" @click="$parent.$parent.Fileinput()">反盘导入</button>
38
- <export-excel :data="$parent.$parent.getCondition"
39
- :field="$parent.$parent.getBankfield" :header="$parent.$parent.other"
40
- sqlurl="rs/logic/exportfile" sql-name="newhandplanQuery" template-name='送盘导出' btn-name="送盘导出"
41
- :choose-col="true"></export-excel>
42
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
43
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
44
- sqlurl="rs/logic/exportfile" sql-name="handplanQuery" template-name='抄表查询导出'
45
- :choose-col="true"></export-excel>
46
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
47
- :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
48
- titletable="抄表查询"
49
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
50
-
51
- <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>
52
- </div>
53
- </div>
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="col-sm-2 form-group">
56
- <label for="startDate" class="font_normal_body">下发日期</label>
57
- <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
58
- v-model="model.handStartDate"
59
- :value.sync="model.handStartDate"
60
- :format="'yyyy-MM-dd 00:00:00'"
61
- :show-reset-button="true"
62
- condition="f_hand_date >= '{}'">
63
- </datepicker>
64
- </div>
65
- <div class="col-sm-2 form-group">
66
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
67
- <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
68
- v-model="model.handEndDate"
69
- :value.sync="model.handEndDate"
70
- :format="'yyyy-MM-dd 23:59:59'"
71
- :show-reset-button="true"
72
- condition="f_hand_date <= '{}'">
73
- </datepicker>
74
- </div>
75
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
76
- <!-- <div class="col-sm-2 form-group">-->
77
- <!-- <label class="font_normal_body" title="旧客户编号">档案编号</label>-->
78
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"-->
79
- <!-- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">-->
80
- <!-- </div>-->
81
- <div class="col-sm-2 form-group">
82
- <label class="font_normal_body">抄表状态</label>
83
- <v-select :value.sync="model.f_meter_state"
84
- v-model="model.f_meter_state"
85
- :options='$parent.$parent.meterstate' placeholder='请选择'
86
- condition="f_meter_state = '{}'"
87
- close-on-select></v-select>
88
- </div>
89
- <div class="col-sm-2 form-group">
90
- <label class="font_normal_body">表单状态</label>
91
- <v-select :value.sync="model.f_hand_state"
92
- v-model="model.f_hand_state"
93
- :options='$parent.$parent.handstate' placeholder='请选择'
94
- condition="f_hand_state = '{}'"
95
- close-on-select></v-select>
96
- </div>
97
- <div class="col-sm-2 form-group">
98
- <label class="font_normal_body">客户名称</label>
99
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
100
- condition="f_user_name like '%{}%'" placeholder="客户名称">
101
- </div>
102
-
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">小区名称</label>
105
- <v-select :value.sync="model.f_residential_area"
106
- class="select_list select"
107
- enter-push
108
- multiple = "true"
109
- v-model="model.f_residential_area"
110
- style="width: 60%"
111
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
112
- close-on-select>
113
-
114
- </v-select>
115
- </div>
116
- <!-- <div class="col-sm-2 form-group">-->
117
- <!-- <label class="font_normal_body">楼&emsp;栋&emsp;</label>-->
118
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"-->
119
- <!-- condition="f_building like '%{}%'" placeholder="楼栋">-->
120
- <!-- </div>-->
121
- <div class="col-sm-2 form-group">
122
- <label class="font_normal_body">客户地址</label>
123
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
124
- condition="f_address like '%{}%'" placeholder='客户地址'>
125
- </div>
126
- <!-- <div class="col-sm-2 form-group">-->
127
- <!-- <label for="startDate" class="font_normal_body">审核日期</label>-->
128
- <!-- <datepicker id="f_audit_date" placeholder="开始日期" style="width:60%"-->
129
- <!-- v-model="model.auditStartDate"-->
130
- <!-- :value.sync="model.auditStartDate"-->
131
- <!-- :format="'yyyy-MM-dd 00:00:00'"-->
132
- <!-- :show-reset-button="true"-->
133
- <!-- condition="f_audit_date >= '{}'">-->
134
- <!-- </datepicker>-->
135
- <!-- </div>-->
136
- <!-- <div class="col-sm-2 form-group">-->
137
- <!-- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>-->
138
- <!-- <datepicker id="f_audit_date" placeholder="结束日期" style="width:60%"-->
139
- <!-- v-model="model.auditEndDate"-->
140
- <!-- :value.sync="model.auditEndDate"-->
141
- <!-- :format="'yyyy-MM-dd 23:59:59'"-->
142
- <!-- :show-reset-button="true"-->
143
- <!-- condition="f_audit_date <= '{}'">-->
144
- <!-- </datepicker>-->
145
- <!-- </div>-->
146
-
147
- <div class="col-sm-2 form-group">
148
- <label class="font_normal_body">客户类型</label>
149
- <v-select :value.sync="model.f_user_type"
150
- @change="$parent.$parent.userTypeChange()"
151
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
152
- condition="f_user_type = '{}'"
153
- close-on-select></v-select>
154
- </div>
155
- <div class="col-sm-2 form-group">
156
- <label class="font_normal_body">用气性质</label>
157
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
158
- :options='$parent.$parent.gasproperties' placeholder='请选择'
159
- condition="f_gasproperties = '{}'"
160
- close-on-select></v-select>
161
- </div>
162
- <div class="col-sm-2 form-group">
163
- <label class="font_normal_body">气价类型</label>
164
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
165
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
166
- close-on-select v-ref:type>
167
- </v-select>
168
- </div>
169
- <div class="col-sm-2 form-group">
170
- <label class="font_normal_body">气价名称</label>
171
- <v-select :value.sync="model.f_price_name"
172
- v-model="model.f_price_name"
173
- :options="$parent.$parent.getPricenames"
174
- condition="f_price_name = '{}'"
175
- close-on-select></v-select>
176
- </div>
177
- <div class="col-sm-2 form-group">
178
- <label class="font_normal_body">气表类型</label>
179
- <v-select :value.sync="model.f_meter_classify" multiple
180
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
181
- condition="f_meter_classify in {}"
182
- close-on-select></v-select>
183
- </div>
184
- <div class="col-sm-2 form-group">
185
- <label class="font_normal_body">气表品牌</label>
186
- <v-select :value.sync="model.f_meter_brand" multiple
187
- v-model="model.f_meter_brand"
188
- :options='$parent.$parent.meterbrands' placeholder='请选择'
189
- condition="f_meter_brand in {}"
190
- close-on-select></v-select>
191
- </div>
192
- <div class="col-sm-2 form-group">
193
- <label class="font_normal_body">用&ensp;气&ensp;量</label>
194
- <input type="text" style="width:30%" class="input_search" title="大于等于"
195
- v-model="model.f_oughtamount_big" condition="f_oughtamount >= {}" placeholder='大于等于'>
196
- <input type="text" style="width:30%" class="input_search" title="小于等于"
197
- v-model="model.f_oughtamount_small" condition="f_oughtamount <= {}" placeholder='小于等于'>
198
- </div>
199
- <!-- <div class="col-sm-2 form-group">-->
200
- <!-- <label class="font_normal_body">气价名称</label>-->
201
- <!-- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" :options="$parent.$parent.prices"-->
202
- <!-- condition="f_price_name = '{}'" close-on-select></v-select>-->
203
- <!-- </div>-->
204
- <div class="col-sm-2 form-group">
205
- <label class="font_normal_body">&ensp;表&ensp;号&ensp;&ensp;</label>
206
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
207
- condition="f_meternumber = '{}' " placeholder="表号">
208
- </div>
209
- <div class="col-sm-2 form-group">
210
- <label for="startDate" class="font_normal_body">收费日期</label>
211
- <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
212
- v-model="model.sellStartDate"
213
- :value.sync="model.sellStartDate"
214
- :format="'yyyy-MM-dd 00:00:00'"
215
- :show-reset-button="true"
216
- condition="f_sellinggas_operate_date >= '{}'">
217
- </datepicker>
218
- </div>
219
- <div class="col-sm-2 form-group">
220
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
221
- <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
222
- v-model="model.sellEndDate"
223
- :value.sync="model.sellEndDate"
224
- :format="'yyyy-MM-dd 23:59:59'"
225
- :show-reset-button="true"
226
- condition="f_sellinggas_operate_date <= '{}'">
227
- </datepicker>
228
- </div>
229
- <div class="col-sm-2 form-group">
230
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
231
- <v-select :value.sync="model.f_inputtor"
232
- v-model="model.f_inputtor"
233
- :options='$parent.$parent.inputtores' placeholder='请选择'
234
- condition="f_inputtor = '{}'"
235
- close-on-select :search="false">
236
- </v-select>
237
- </div>
238
- <!--表册片区-->
239
- <!-- <div class="col-sm-2 form-group">-->
240
- <!-- <label class="font_normal_body">表册片区</label>-->
241
- <!-- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"-->
242
- <!-- @change="$parent.$parent.inputtorchange"-->
243
- <!-- multiple-->
244
- <!-- :options='$parent.$parent.bookSlice' placeholder='片区/表册'-->
245
- <!-- style="width:60%"-->
246
- <!-- close-on-select-->
247
- <!-- condition="f_book_slice_area in {}"></v-select>-->
248
- <!-- </div>-->
249
- <div class="col-sm-2 form-group">
250
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
251
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
252
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
253
- style="width:60%"
254
- multiple
255
- close-on-select
256
- condition="f_meter_book_num in {}"></v-select>
257
- </div>
258
- <div class="col-sm-2 form-group">
259
- <label class="font_normal_body">录入人员</label>
260
- <input type="text" style="width:60%" class="input_search" v-model="model.f_input_person"
261
- condition="f_input_person like '%{}%'" placeholder='录入人员'>
262
- </div>
263
- <div class="col-sm-2 form-group">
264
- <label class="font_normal_body">是否缴费</label>
265
- <v-select :value.sync="model.f_whether_pay"
266
- v-model="model.f_whether_pay"
267
- :options='$parent.$parent.whetherPay' placeholder='请选择'
268
- condition="f_whether_pay = '{}'"
269
- close-on-select></v-select>
270
- </div>
271
- <div class="col-sm-2 form-group" >
272
- <label for="belongmonth" class="font_normal_body" >所属年月</label>
273
- <datepicker placeholder="所属年月" style="width:60%"
274
- v-model="model.belongmonth"
275
- :value.sync="model.belongmonth"
276
- :format="'yyyy-MM'"
277
- :show-reset-button="true"
278
- condition="belongmonth = '{}'"
279
- :select-month="true">
280
- </datepicker>
281
- </div>
282
- <!-- <div class="col-sm-2 form-group">-->
283
- <!-- <label class="font_normal_body">银行名称</label>-->
284
- <!-- <v-select :value.sync="model.f_bank_name" v-model="model.f_bank_name"-->
285
- <!-- :options='$parent.$parent.banklist' placeholder='银行名称'-->
286
- <!-- style="width:60%"-->
287
- <!-- close-on-select-->
288
- <!-- condition="f_bank_name = '{}'"></v-select>-->
289
- <!-- </div>-->
290
-
291
- <!-- <div class="col-sm-2 form-group">-->
292
- <!-- <label class="font_normal_body">下账状态</label>-->
293
- <!-- <v-select :value.sync="model.f_accounts_state"-->
294
- <!-- :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"-->
295
- <!-- condition="f_accounts_state = '{}'"-->
296
- <!-- close-on-select></v-select>-->
297
- <!-- </div>-->
298
- <!-- <div class="col-sm-2 form-group">-->
299
- <!-- <label class="font_normal_body">&ensp;壁挂炉&ensp;</label>-->
300
- <!-- <v-select :value.sync="model.f_bgl"-->
301
- <!-- v-model="model.f_bgl"-->
302
- <!-- :options='$parent.$parent.bgl' placeholder='请选择'-->
303
- <!-- condition="f_bgl = '{}'"-->
304
- <!-- close-on-select></v-select>-->
305
- <!-- </div>-->
306
- </div>
307
- </div>
308
- </criteria>
309
-
310
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
311
- <template partial='head'>
312
- <tr>
313
- <th>
314
- <!-- <nobr>客户编号</nobr>-->
315
- <data-order field="f_userinfo_code" name="客户编号"
316
- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
317
- </th>
318
- <th>
319
- <nobr>客户名称</nobr>
320
- </th>
321
- <th>
322
- <nobr>档案编号</nobr>
323
- </th>
324
- <th>
325
- <nobr>片区</nobr>
326
- </th>
327
- <th>
328
- <nobr>表册片区</nobr>
329
- </th>
330
- <th>
331
- <!-- <nobr>客户地址</nobr>-->
332
- <data-order field="f_address" name="客户地址"
333
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
334
- </th>
335
- <th>
336
- <nobr>客户手机</nobr>
337
- </th>
338
- <th>
339
- <nobr>表号</nobr>
340
- </th>
341
- <th>
342
- <!-- <nobr>数据年月</nobr>-->
343
- <data-order field="ym_data" name="数据年月"
344
- :order.sync="$parent.$parent.$parent.orderFields.ym_data"></data-order>
345
- </th>
346
- <th>
347
- <!-- <nobr>审核日期</nobr>-->
348
- <data-order field="f_audit_date" name="审核日期"
349
- :order.sync="$parent.$parent.$parent.orderFields.f_audit_date"></data-order>
350
- </th>
351
- <th>
352
- <nobr>上期底数</nobr>
353
- </th>
354
- <th>
355
- <nobr>本期底数</nobr>
356
- </th>
357
- <th>
358
- <nobr>用气量</nobr>
359
- </th>
360
- <th>
361
- <nobr>违约金</nobr>
362
- </th>
363
- <th>
364
- <nobr>用气金额</nobr>
365
- </th>
366
- <th>
367
- <nobr>已交金额</nobr>
368
- </th>
369
- <th>
370
- <nobr>欠费金额</nobr>
371
- </th>
372
- <th>
373
- <nobr>优惠金额</nobr>
374
- </th>
375
- <th>
376
- <nobr>上期余额</nobr>
377
- </th>
378
- <th>
379
- <nobr>本期余额</nobr>
380
- </th>
381
- <th>
382
- <nobr>下账状态</nobr>
383
- </th>
384
- <th>
385
- <!-- <nobr>收费时间</nobr>-->
386
- <data-order field="f_sellinggas_operate_date" name="收费时间"
387
- :order.sync="$parent.$parent.$parent.orderFields.f_sellinggas_operate_date"></data-order>
388
- </th>
389
- <th>
390
- <nobr>收费人员</nobr>
391
- </th>
392
- <th>
393
- <!-- <nobr>冲正时间</nobr>-->
394
- <data-order field="f_corrhand_date" name="冲正时间"
395
- :order.sync="$parent.$parent.$parent.orderFields.f_corrhand_date"></data-order>
396
- </th>
397
- <th>
398
- <nobr>冲正人员</nobr>
399
- </th>
400
- <th>
401
- <!-- <nobr>下发日期</nobr>-->
402
- <data-order field="f_hand_date" name="下发日期"
403
- :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
404
- </th>
405
- <th>
406
- <!-- <nobr>所属年月</nobr>-->
407
- <data-order field="belongmonth" name="所属年月"
408
- :order.sync="$parent.$parent.$parent.orderFields.belongmonth"></data-order>
409
- </th>
410
- <th>
411
- <!-- <nobr>录入日期</nobr>-->
412
- <data-order field="f_input_date" name="录入日期"
413
- :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
414
- </th>
415
- <th>
416
- <nobr>气价名称</nobr>
417
- </th>
418
- <th>
419
- <nobr>一阶气量</nobr>
420
- </th>
421
- <th>
422
- <nobr>一阶单价</nobr>
423
- </th>
424
- <th>
425
- <nobr>一阶气费</nobr>
426
- </th>
427
- <th>
428
- <nobr>二阶气量</nobr>
429
- </th>
430
- <th>
431
- <nobr>二阶单价</nobr>
432
- </th>
433
- <th>
434
- <nobr>二阶气费</nobr>
435
- </th>
436
- <th>
437
- <nobr>三阶气量</nobr>
438
- </th>
439
- <th>
440
- <nobr>三阶单价</nobr>
441
- </th>
442
- <th>
443
- <nobr>三阶气费</nobr>
444
- </th>
445
- <th>
446
- <nobr>天数</nobr>
447
- </th>
448
- <th>
449
- <nobr>抄表员</nobr>
450
- </th>
451
- <th>
452
- <nobr>录入人员</nobr>
453
- </th>
454
- <th>
455
- <nobr>是否缴费</nobr>
456
- </th>
457
-
458
- <th>
459
- <nobr>抄表状态</nobr>
460
- </th>
461
- <th>
462
- <nobr>状态</nobr>
463
- </th>
464
- <th>
465
- <nobr>下发人员</nobr>
466
- </th>
467
- <th>
468
- <nobr>部门</nobr>
469
- </th>
470
- <th>
471
- <nobr>公司</nobr>
472
- </th>
473
- <th><nobr>附件</nobr></th>
474
- </tr>
475
- </template>
476
- <template partial='body'>
477
- <td style="text-align: center;">
478
- <nobr>
479
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
480
- </td>
481
- <td style="text-align: center;">
482
- <nobr>{{row.f_user_name}}</nobr>
483
- </td>
484
- <td style="text-align: center;">
485
- <nobr>{{row.f_olduserinfo_code}}</nobr>
486
- </td>
487
- <td style="text-align: center;">
488
- <nobr>{{row.f_zones}}</nobr>
489
- </td>
490
- <td style="text-align: center;">
491
- <nobr>{{row.f_book_slice_area}}</nobr>
492
- </td>
493
- <td style="text-align: center;">
494
- <nobr>{{row.f_address}}</nobr>
495
- </td>
496
-
497
- <td style="text-align: center;">
498
- <nobr>{{row.phone}}</nobr>
499
- </td>
500
- <td style="text-align: center;">
501
- <nobr>{{row.f_meternumber}}</nobr>
502
- </td>
503
- <td style="text-align: center;">
504
- <nobr>{{row.ym_data}}</nobr>
505
- </td>
506
- <td style="text-align: center;">
507
- <nobr>{{row.f_audit_date}}</nobr>
508
- </td>
509
- <td style="text-align: center;">
510
- <nobr>{{row.f_last_tablebase}}</nobr>
511
- </td>
512
- <td style="text-align: center;">
513
- <nobr>{{row.f_tablebase}}</nobr>
514
- </td>
515
- <td style="text-align: center;">
516
- <nobr>{{row.f_oughtamount}}</nobr>
517
- </td>
518
- <td style="text-align: center;">
519
- <nobr>{{row.overdue}}</nobr>
520
- </td>
521
- <td style="text-align: center;">
522
- <nobr>{{row.f_oughtfee}}</nobr>
523
- </td>
524
- <td style="text-align: center;">
525
- <nobr>{{row.f_debt_money}}</nobr>
526
- </td>
527
- <td style="text-align: center;">
528
- <nobr>{{row.f_actual_arrears}}</nobr>
529
- </td>
530
- <td style="text-align: center;">
531
- <nobr>{{row.f_privilege_money}}</nobr>
532
- </td>
533
- <td style="text-align: center;">
534
- <nobr>{{row.f_balance}}</nobr>
535
- </td>
536
- <td style="text-align: center;">
537
- <nobr>{{row.f_curbalance}}</nobr>
538
- </td>
539
- <td style="text-align: center;">
540
- <nobr>{{row.f_accounts_state}}</nobr>
541
- </td>
542
- <td style="text-align: center;">
543
- <nobr>{{row.f_sellinggas_operate_date}}</nobr>
544
- </td>
545
- <td style="text-align: center;">
546
- <nobr>{{row.f_sell_operator}}</nobr>
547
- </td>
548
- <td style="text-align: center;">
549
- <nobr>{{row.f_corrhand_date}}</nobr>
550
- </td>
551
- <td style="text-align: center;">
552
- <nobr>{{row.f_corrhand_operator}}</nobr>
553
- </td>
554
- <td style="text-align: center;">
555
- <nobr>{{row.f_hand_date}}</nobr>
556
- </td>
557
- <td>
558
- <nobr>{{row.belongmonth}}</nobr>
559
- </td>
560
- <td style="text-align: center;">
561
- <nobr>{{row.f_input_date}}</nobr>
562
- </td>
563
- <td style="text-align: center;">
564
- <nobr>{{row.f_price_name}}</nobr>
565
- </td>
566
- <td style="text-align: center;">
567
- <nobr>{{row.f_stair1amount}}</nobr>
568
- </td>
569
- <td style="text-align: center;">
570
- <nobr>{{row.f_stair1price}}</nobr>
571
- </td>
572
- <td style="text-align: center;">
573
- <nobr>{{row.f_stair1fee}}</nobr>
574
- </td>
575
- <td style="text-align: center;">
576
- <nobr>{{row.f_stair2amount}}</nobr>
577
- </td>
578
- <td style="text-align: center;">
579
- <nobr>{{row.f_stair2price}}</nobr>
580
- </td>
581
- <td style="text-align: center;">
582
- <nobr>{{row.f_stair2fee}}</nobr>
583
- </td>
584
- <td style="text-align: center;">
585
- <nobr>{{row.f_stair3amount}}</nobr>
586
- </td>
587
- <td style="text-align: center;">
588
- <nobr>{{row.f_stair3price}}</nobr>
589
- </td>
590
- <td style="text-align: center;">
591
- <nobr>{{row.f_stair3fee}}</nobr>
592
- </td>
593
- <td style="text-align: center;">
594
- <nobr>{{row.dd}}</nobr>
595
- </td>
596
- <td style="text-align: center;">
597
- <nobr>{{row.f_inputtor}}</nobr>
598
- </td>
599
- <td style="text-align: center;">
600
- <nobr>{{row.f_input_person}}</nobr>
601
- </td>
602
- <td style="text-align: center;">
603
- <nobr>{{row.f_whether_pay}}</nobr>
604
- </td>
605
-
606
- <td style="text-align: center;">
607
- <nobr>{{row.f_meter_state}}</nobr>
608
- </td>
609
- <td style="text-align: center;">
610
- <nobr>{{row.f_hand_state}}</nobr>
611
- </td>
612
- <td style="text-align: center;">
613
- <nobr>{{row.f_operator}}</nobr>
614
- </td>
615
- <td style="text-align: center;">
616
- <nobr>{{row.f_depname}}</nobr>
617
- </td>
618
- <td style="text-align: center;">
619
- <nobr>{{row.f_orgname}}</nobr>
620
- </td>
621
- <td style="text-align: center;"><nobr>
622
- <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
623
- <button v-if="row.f_notified_path" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.imgShow(row.f_notified_path)">图像识别</button>
624
- </nobr></td>
625
- </template>
626
- <template partial='foot'></template>
627
- </data-grid>
628
- </criteria-paged>
629
-
630
- <table class="table-hover">
631
- <tr style="position: relative;margin-top: -16px;" class="table-bordered">
632
- <td
633
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
634
- 汇总信息
635
- </td>
636
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
637
- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
638
- </td>
639
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
640
- 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
641
- </td>
642
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
643
- 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
644
- </td>
645
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
646
- 欠费金额合计:&emsp;{{sumsmodel.f_actual_arrears}}
647
- </td>
648
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
649
- 一阶气量合计:&emsp;{{sumsmodel.f_stair1amount}}
650
- </td>
651
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
652
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
653
- </td>
654
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
655
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
656
- </td>
657
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
658
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
659
- </td>
660
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
661
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
662
- </td>
663
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
664
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
665
- </td>
666
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
667
- 剩余气量合计:&emsp;{{sumsmodel.f_surplus_gas}}
668
- </td>
669
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
670
- 扣减气量合计:&emsp;{{sumsmodel.f_haircut_gas}}
671
- </td>
672
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
673
- 应交气量合计:&emsp;{{sumsmodel.f_oughtamount}}
674
- </td>
675
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
676
- 已交气费金额合计:&emsp;{{sumsmodel.alloughtfee}}
677
- </td>
678
- </tr>
679
- </table>
680
- </div>
681
- <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
682
- <article slot="modal-body" class="modal-body">
683
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
684
- </article>
685
- <footer slot="modal-footer" class="modal-footer">
686
- </footer>
687
- </modal>
688
- </div>
689
- <div class="flex" v-if="show">
690
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
691
- </div>
692
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
693
- <article slot="modal-body">
694
- <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="机表抄表" :isremark="false" style="width:auto" ></upload>
695
- </article>
696
- <footer slot="modal-footer" class="modal-footer">
697
- </footer>
698
- </modal>
699
- <modal :show.sync="imgshow" v-ref:modal backdrop="true">
700
- <header slot="modal-header" class="modal-header">
701
- 抄表图像识别照片
702
- </header>
703
- <article slot="modal-body" class="modal-body">
704
- <div class="from-group">
705
- <img-self :src="imgfilename" width="500" height="500"></img-self>
706
- </div>
707
- </article>
708
- </modal>
709
-
710
- <modal :show.sync="progressShow" v-ref:modal backdrop="true" width="50%" style="width:auto;" >
711
- <header slot="modal-header" class="modal-header">
712
- 反盘导入
713
- </header>
714
- <article slot="modal-body" class="modal-body">
715
- <div class="progress" style="margin: 20px" >
716
- <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent+'%'}">
717
- {{percent}}%
718
- </div>
719
- </div>
720
- </article>
721
- <footer slot="modal-footer" class="modal-footer">
722
- <button type="button" class="btn btn-default" @click='progressclose'>关闭</button>
723
- </footer>
724
- </modal>
725
- <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
726
- </div>
727
- </template>
728
-
729
- <script>
730
- import {PagedList, HttpResetClass} from 'vue-client'
731
- import defaultPrint from './config/DefaultPrint'
732
- import exportConfig from './config/exportConfig'
733
- import axios from 'axios'
734
-
735
- let readySomething = async function (self) {
736
- //加载抄表册
737
- self.$MagGetSaleParam.initinputtor();
738
- self.getinputtores();
739
- self.initmeterbook();
740
- // await self.$LoadParams.loadMeterBook(self.f_filialeid)
741
- // self.loadMeterBooks()
742
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
743
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
744
- // self.$refs.paged.$refs.cri.model.handStartDate = self.$login.toStandardDateString() + ' 00:00:00'
745
- // self.$refs.paged.$refs.cri.model.handEndDate = self.$login.toStandardDateString() + ' 23:59:59'
746
-
747
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
748
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
749
- // await self.$refs.paged.$refs.cri.search()
750
- await self.$getConfig(self, 'HandplanQuery')
751
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
752
- await self.$MagLoadParams.loadParam()
753
- // await self.$MagLoadParams.loadParam()
754
- self.initParams()
755
- console.log('开始查询')
756
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
757
- }
758
- export default {
759
- props:['data'],
760
- title: '机表抄表查询',
761
- data() {
762
- return {
763
- iswork:false,
764
- other:[],
765
- footer:[],
766
- data: {},
767
- model: new PagedList('rs/sql/handplanQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`' z '`,startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
768
- f_oughtamount: 0,
769
- f_oughtfee: 0,
770
- f_debt_money: 0,
771
- f_actual_arrears: 0,
772
- f_stair1amount: 0,
773
- f_stair1fee: 0,
774
- f_stair2amount: 0,
775
- f_stair2fee: 0,
776
- f_stair3amount: 0,
777
- f_stair3fee: 0,
778
- f_surplus_gas: 0,
779
- f_haircut_gas: 0,
780
- alloughtfee:0
781
- }),
782
- //排序
783
- orderitem:' z ',
784
- orderFields: {
785
- f_userinfo_code: 'no'
786
- },
787
- initres: {
788
- org:[this.$login.f.orgid],
789
- dep:[],
790
- user:[],
791
- },
792
- show:false,
793
- rowdata:{},
794
- criteriaShow: false,
795
- residentialArea: [],
796
- orgCondtionStr: '',
797
- modelval: [],
798
- gasproperties:[],
799
- inputtouPerson: [],
800
- meterbrands: [],
801
- printshow: false,
802
- f_filialeid: this.$login.f.f_orgid,
803
- all: false,
804
- fields: {},
805
- thead: '',
806
- tfoot: '',
807
- showupload:false,
808
- selected:{},
809
-
810
- // 下拉框
811
-
812
- //合计数据
813
- sumsmodel: {},
814
- defaultfield: [],
815
- config: {
816
- defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
817
- },
818
- batchmoneyShow:false,
819
- prices: [],
820
- bgl:[{label: '全部', value: ''},{label: '有', value: '1'},{label: '无', value: '0'}],
821
- meterbooks:[{label: '全部',value: ''}], //抄表册
822
- tempfalg :false,
823
- lastorgstr:'',
824
- allorgid:[],
825
- inputtores:[{label: '全部',value: ''}], //抄表员
826
- //表册片区
827
- bookSlice:[{label: '全部',value: ''}],
828
- imgshow:false,
829
- imgfilename:'',
830
- percent:0,
831
- progressShow:false,
832
- uuida:'',
833
- timer:'',
834
- }
835
- },
836
- ready() {
837
- this.getaddress()
838
- readySomething(this).then(() => {
839
- this.$emit('ready')
840
- }).catch((error) => {
841
- this.$emit('error', error)
842
- })
843
- },
844
- methods: {
845
- getuuid(){
846
- let uuidA = '';
847
- var s = [];
848
- var hexDigits = '0123456789abcdef';
849
- for (var i = 0; i < 36; i++) {
850
- s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
851
- }
852
- s[14] = '4';
853
- s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
854
- s[8] = s[13] = s[18] = s[23] = '-';
855
- uuidA = s.join('');
856
- this.uuida = uuidA;
857
- },
858
- progressclose(){
859
- this.progressShow = false;
860
- if(this.timer != null){
861
- clearInterval(this.timer);
862
- }
863
- },
864
- async initmeterbook(orgstr){
865
- if(orgstr == null ){
866
- orgstr = this.f_filialeid;
867
- }
868
- //获取新的抄表册,先去清理所有的抄表册
869
- this.$GetSaleParam.meterbooks = [];
870
- //开始加载新的抄表册
871
- await this.$LoadParams.loadMeterBook(orgstr)
872
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
873
- },
874
- //初始化片区
875
- async initSlice (val) {
876
- if (val) {
877
- let getAllArea = await this.$resetpost('/rs/search', {
878
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
879
- userid: this.$login.f.id
880
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
881
- let arr = getAllArea.data.filter((res) => {
882
- return res.parentid == val
883
- })
884
- this.bookSlice = []
885
- arr.forEach((res) => {
886
- this.bookSlice.push({label: res.name, value: res.name})
887
- })
888
- }
889
- },
890
- //表册片区和抄表册关联
891
- async inputtorchange(){
892
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
893
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
894
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
895
- if((val2.length>0)){
896
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
897
- let aaa = '('
898
- val2.forEach((item) => {
899
- aaa = aaa + `'${item}',`
900
- })
901
- aaa = aaa + `'')`
902
- condition = condition + ` and f_book_slice_area in ${aaa} `
903
- let param={
904
- items:'*',
905
- tablename:'t_meter_book',
906
- condition:condition,
907
- orderitem:'id'
908
- }
909
- let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
910
- if (getMeterBooks.data) {
911
- if(getMeterBooks.data.length >0){
912
- let rs = [];
913
- getMeterBooks.data.forEach((item)=>{
914
- let temp = {
915
- label:item.f_book_name,
916
- value:item.id
917
- };
918
- rs.push(temp);
919
-
920
- })
921
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
922
- }else{
923
- this.meterbooks = [{label: '全部',value: ''}];
924
- }
925
- }
926
- }else{
927
- this.meterbooks = [{label: '全部',value: ''}];
928
- this.initmeterbook();
929
- }
930
- },
931
- async initmeterbook(orgstr){
932
- if(orgstr == null ){
933
- orgstr = this.f_filialeid;
934
- }
935
- //获取新的抄表册,先去清理所有的抄表册
936
- this.$GetSaleParam.meterbooks = [];
937
- //开始加载新的抄表册
938
- await this.$LoadParams.loadMeterBook(orgstr)
939
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
940
- },
941
-
942
- async getinputtores () {
943
- // 获取抄表员
944
- let rs = []
945
- if (this.$login.f.f_gasman.length > 0) {
946
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
947
- let temp = {
948
- label: this.$login.f.f_gasman[i].name,
949
- value: this.$login.f.f_gasman[i].name
950
- }
951
- rs.push(temp)
952
- }
953
- }
954
- this.inputtores = [{label: '全部', value: ''}, ...rs]
955
- this.inputtores.push({label: "微信公众号", value: "微信公众号"})
956
- },
957
- async updateParams() {
958
- await this.$MagLoadParams.loadParam(this.f_filialeid)
959
- this.inputtores = [];
960
- this.inputtores.push({label: "全部", value: ""})
961
- this.initSlice(this.f_filialeid)
962
- if(this.allorgid!=null){
963
- this.allorgid.forEach((res)=>{
964
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
965
- })
966
- }
967
- this.initParams()
968
- },
969
- view(row){
970
- this.showupload = true
971
- this.selected= row
972
- },
973
- imgclose(){
974
- this.imgshow = false
975
- },
976
- imgShow(val){
977
- this.imgfilename = `rs/image/file/`+val
978
- this.imgshow = true
979
- },
980
- initParams() {
981
- // 初始化气表品牌
982
- let brandArr = []
983
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
984
- let temp = {}
985
- temp.label = item.label
986
- temp.value = item.value.f_meter_brand
987
- brandArr.push(temp)
988
- })
989
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
990
- //初始化气价
991
- let result = []
992
- this.$MagGetSaleParam.prices.forEach((item) => {
993
- if (item.f_state === '有效' && this.$login.f.orgid == item.f_filialeid) {
994
- let value = {
995
- label: item.f_price_name,
996
- value: item.f_price_name
997
- }
998
- result.push(value)
999
- }
1000
- })
1001
- let hash = {}
1002
- result = result.reduce((item, next) => {
1003
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
1004
- return item
1005
- }, [])
1006
- this.prices = Array.from(new Set(result))
1007
- },
1008
- getotherfooter(){
1009
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
1010
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
1011
- this.other=[];
1012
- this.footer=[];
1013
- let exportdata = this.getCondition;
1014
- let otherInData=[];
1015
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1016
- let footerData=[],exportfield=this.getfield;
1017
- footerData.push("合计");
1018
- let self = this;
1019
- for(var field in self.sumsmodel){
1020
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1021
- }
1022
- this.footer.push(footerData);
1023
- this.other.push(otherInData);
1024
- },
1025
- async getaddress(){
1026
- let HttpReset = new HttpResetClass()
1027
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
1028
- data: {
1029
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
1030
- }
1031
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1032
- console.log('小区',data)
1033
- let house = [{label: '全部', value: ''}]
1034
- for (let row of data.data){
1035
- house.push({label: row.f_residential_area, value: row.f_residential_area})
1036
- }
1037
- this.residentialArea = house
1038
- },
1039
- Fileinput(){
1040
- this.batchmoneyShow=true;
1041
- },
1042
- search(){
1043
- this.$refs.paged.$refs.cri.search()
1044
- },
1045
- cancel() {
1046
- this.show = false
1047
- },
1048
- selfSearch(args) {
1049
- if (this.data) {
1050
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1051
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1052
- }
1053
- if (this.$refs.paged.$refs.cri.model.startDate === ''|| this.$refs.paged.$refs.cri.model.endDate === '') {
1054
- this.$showMessage('请选择录入日期开始时间和结束时间!')
1055
- return
1056
- }
1057
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
1058
- if(this.area.length !== 0){
1059
- let str = JSON.stringify(this.area)
1060
- str = str.replace(/"/g,`'`)
1061
- str = str.replace(/\[/g,``)
1062
- str = str.replace(/\]/g,``)
1063
- //查询多个小区时条件
1064
- args.condition += ` and f_residential_area in ( ${str} )`
1065
- }
1066
- //抄表员查询条件
1067
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1068
- if(this.inputtouPerson.length !== 0){
1069
- let str = JSON.stringify(this.inputtouPerson)
1070
- str = str.replace(/"/g,`'`)
1071
- str = str.replace(/\[/g,``)
1072
- str = str.replace(/\]/g,``)
1073
- //查询多个抄表员时条件
1074
- args.condition += ` and f_inputtor in ( ${str} )`
1075
- }
1076
-
1077
- args.condition = `${args.condition} ` + this.orgCondtionStr
1078
- this.model.search(args.condition, args.model)
1079
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1080
- },
1081
- clear() {
1082
- //清空部门和人员
1083
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1084
- //部门和人员变为全选
1085
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1086
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1087
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1088
- this.$refs.paged.$refs.cri.model[key] = []
1089
- })
1090
- this.$refs.paged.$refs.cri.model.f_meter_classify = []
1091
- },
1092
- show() {
1093
- this.criteriaShow = true
1094
- },
1095
- hidden() {
1096
- this.criteriaShow = !this.criteriaShow
1097
- },
1098
- async getRes(condition,obj) {
1099
- this.orgCondtionStr = condition
1100
-
1101
- },
1102
- stamp() {
1103
- this.all = false
1104
- //默认选择要打印的列
1105
- this.modelval = defaultPrint.config
1106
- this.fields = this.getfield
1107
- this.printshow = true
1108
- this.put()
1109
- },
1110
- put() {
1111
- // 对Modelval进行排序
1112
- this.sortModelval()
1113
- this.thead = `<tr><th colspan=${this.modelval.length}>抄表查询统计报表</th></tr><tr>`
1114
- for (let key of this.modelval) {
1115
- this.thead += '<th>' + this.fields[key] + '</th>'
1116
- }
1117
- this.thead += '</tr>'
1118
- },
1119
- sort (field, rule) {
1120
- // 将所有排序方式设为不排序,实现相互排斥
1121
- for (let key in this.orderFields) {
1122
- if (key === field) {
1123
- this.orderFields[key] = rule
1124
- } else {
1125
- this.orderFields[key] = 'no'
1126
- }
1127
- }
1128
- // 如果新规则不排序,还原为默认排序
1129
- if (rule === 'no') {
1130
- this.model.paramSource.orderitem = `'${this.orderitem}'`
1131
- } else {
1132
- this.model.paramSource.orderitem = `'${field} ${rule}'`
1133
- }
1134
-
1135
- this.search()
1136
- },
1137
- print() {
1138
- this.$refs.print.PrintAsFile()
1139
- this.printshow = false
1140
- },
1141
- dealmsg(val) {
1142
- this.rowdata=val
1143
- this.show=true
1144
- val.model = this.model.model
1145
- this.$dispatch('deal-msg', val)
1146
- },
1147
- close() {
1148
- this.printshow = false
1149
- this.all = false
1150
- },
1151
-
1152
- userTypeChange () {
1153
- this.gasproperties=[]
1154
- if(this.$refs.paged.$refs.cri.model !==null) {
1155
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
1156
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1157
- }
1158
- else{
1159
- this.gasproperties =[{label: '全部', value: ''}]
1160
- }
1161
- },
1162
- // 对选择的列进行排序
1163
- sortModelval() {
1164
- let sortModel = []
1165
- Object.keys(this.fields).forEach((key) => {
1166
- if (this.modelval.includes(key)) {
1167
- sortModel.push(key)
1168
- }
1169
- })
1170
- this.modelval = sortModel
1171
- }
1172
- },
1173
- watch: {
1174
- 'model.rows'(val) {
1175
- if(val.length === 0){
1176
- this.sumsmodel = {}
1177
- }
1178
- },
1179
- async 'orgCondtionStr'(val) {
1180
- this.$refs.paged.$refs.cri.model.f_inputtor=[]
1181
- this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
1182
- this.$refs.paged.$refs.cri.model.f_meter_book = []
1183
- this.meterbooks = [{label: '全部',value: ''}];
1184
- if(this.lastorgstr != val){
1185
- this.tempfalg = true;
1186
- this.lastorgstr = val;
1187
- }
1188
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1189
- this.tempfalg = false;
1190
- let a = val.substring(val.indexOf("(")+2)
1191
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1192
- }
1193
- let res = val.match(/'(.*?)'/)
1194
- console.log('正则提取:',res && res[1])
1195
- if (res) {
1196
- this.f_filialeid = res[1]
1197
- if(res.input !=null){
1198
- let resorgid = res.input.substring(res.input.indexOf("'"));
1199
- if(resorgid!= null && resorgid!=''){
1200
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1201
- // resorgid = resorgid.replaceAll("'","");
1202
- resorgid = resorgid.replace(/'/g,"");
1203
- this.allorgid = resorgid.split(",")
1204
- }
1205
- }
1206
- this.updateParams()
1207
- }
1208
- },
1209
- 'all'(val) {
1210
- if (val) {
1211
- this.modelval = this.bodyData
1212
- } else {
1213
- this.modelval = defaultPrint.config
1214
- this.put()
1215
- }
1216
- },
1217
- 'modelval.length'() {
1218
- this.put()
1219
- },
1220
- sumsmodel:{
1221
- handler: function(val) {
1222
- this.getotherfooter();
1223
- },
1224
- deep: true
1225
- }
1226
- },
1227
- computed: {
1228
-
1229
- metertypes() {
1230
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1231
- },
1232
- banklist() {
1233
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1234
- },
1235
- getCondition() {
1236
- return {
1237
- startDate: this.$refs.paged.$refs.cri.model.startDate,
1238
- endDate: this.$refs.paged.$refs.cri.model.endDate,
1239
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1240
- orderitem: this.orderitem?`${this.orderitem}`: " z "}
1241
- },
1242
- getfield() {
1243
- return exportConfig.handplanConfig
1244
- },
1245
- getBankfield(){
1246
- return exportConfig.batchBankConfig2
1247
- },
1248
- usertypes() {
1249
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1250
- },
1251
- accountsState() {
1252
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1253
- },
1254
- meterstate() {
1255
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
1256
- },
1257
- handstate() {
1258
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
1259
- },
1260
- // inputtor() {
1261
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
1262
- // },
1263
- pricetypes() {
1264
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1265
- },
1266
- getPricenames() {
1267
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1268
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1269
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1270
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1271
- if(this.$refs.paged.$refs.cri.model !==null) {
1272
- let rs = []
1273
- let priceArr = []
1274
- if ( pricetype.length >0) {
1275
- let params = {
1276
- f_price_type: pricetype[0],
1277
- filter: this.f_filialeid,
1278
- prices: this.prices
1279
- }
1280
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1281
- let temp = {}
1282
- temp.label = item.label
1283
- temp.value = item.value.f_price_name
1284
- priceArr.push(temp)
1285
- })
1286
- rs = [{label: '全部', value: ''}, ...priceArr]
1287
- }
1288
- if (rs.length === 0) {
1289
- console.log('rs读出来是空')
1290
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1291
- }
1292
- return rs
1293
- }
1294
- },
1295
- inputtor () {
1296
- // 获取抄表员
1297
- console.log('获取抄表员', this.$login.f)
1298
- let rs = []
1299
- if (this.$login.f.f_gasman.length > 0) {
1300
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1301
- let temp = {
1302
- label: this.$login.f.f_gasman[i].name,
1303
- value: this.$login.f.f_gasman[i].name
1304
- }
1305
- rs.push(temp)
1306
- }
1307
- }
1308
-
1309
- return [{label: '全部', value: ''}, ...rs]
1310
- },
1311
- whetherPay() {
1312
- return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
1313
- },
1314
-
1315
- },
1316
- events:{
1317
- 'onFileUpload': async function (file, res) {
1318
- if (this.batchmoneyShow) {
1319
- this.percent = 0;
1320
- this.getuuid();
1321
- let param = {
1322
- filepath: res.f_downloadpath,
1323
- f_operator: this.$login.f.name,
1324
- f_operatorid: this.$login.f.id,
1325
- f_orgid: this.$login.f.orgid,
1326
- f_orgname: this.$login.f.orgs,
1327
- f_depid: this.$login.f.depids,
1328
- f_depname: this.$login.f.deps,
1329
- uuid: this.uuida
1330
- }
1331
- this.batchmoneyShow=false;
1332
- try{
1333
- await this.$resetpost('rs/logic/SumSettleFileImport',{data: param},{resolveMsg: null, rejectMsg: null},1000).then((res)=>{
1334
- if(res.data){
1335
- }
1336
- })
1337
- }catch(error){}
1338
- let getparam = {
1339
- uuid: this.uuida
1340
- }
1341
- let self = this;
1342
- this.progressShow=true;
1343
- this.timer = setInterval(function(){
1344
- self.$resetpost('/rs/logic/getBatchOperaPro',{data:getparam},{resolveMsg: null, rejectMsg: null}, 0).then((res)=>{
1345
- if(res.data ){
1346
- if(res.data.speed){
1347
- if(res.data.speed>= 100){
1348
- clearInterval(self.timer);
1349
- if(res.data.speed){
1350
- self.percent = 99;
1351
- }
1352
- setTimeout(()=>{
1353
- self.percent = 100;
1354
- self.progressclose();
1355
- self.$showMessage(`导入成功! 累计导入:${res.data.totalsum}, 成功:${res.data.successsum},失败:${res.data.errorsum}(包含之前导入${res.data.aftersum}),失败数据请在稽查查询中错误查询进行查看!!`);
1356
- },600);
1357
- }else{
1358
- self.percent = res.data.speed
1359
- }
1360
- }else{
1361
- self.percent=0;
1362
- }
1363
- }
1364
- });
1365
- },3000);
1366
- }
1367
- }
1368
- }
1369
- }
1370
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true">
26
+ </datepicker>
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">客户编号</label>
30
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
31
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
32
+ </div>
33
+ <div class="span" style="float:right;">
34
+ <button class="button_search button_spacing" @click="search()">查询</button>
35
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
+
37
+ <button class="btn btn-default" @click="$parent.$parent.Fileinput()">反盘导入</button>
38
+ <export-excel :data="$parent.$parent.getCondition"
39
+ :field="$parent.$parent.getBankfield" :header="$parent.$parent.other"
40
+ sqlurl="rs/logic/exportfile" sql-name="newhandplanQuery" template-name='送盘导出' btn-name="送盘导出"
41
+ :choose-col="true"></export-excel>
42
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
43
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
44
+ sqlurl="rs/logic/exportfile" sql-name="handplanQuery" template-name='抄表查询导出'
45
+ :choose-col="true"></export-excel>
46
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
47
+ :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
48
+ titletable="抄表查询"
49
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
50
+
51
+ <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>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="col-sm-2 form-group">
56
+ <label for="startDate" class="font_normal_body">下发日期</label>
57
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
58
+ v-model="model.handStartDate"
59
+ :value.sync="model.handStartDate"
60
+ :format="'yyyy-MM-dd 00:00:00'"
61
+ :show-reset-button="true"
62
+ condition="f_hand_date >= '{}'">
63
+ </datepicker>
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
67
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
68
+ v-model="model.handEndDate"
69
+ :value.sync="model.handEndDate"
70
+ :format="'yyyy-MM-dd 23:59:59'"
71
+ :show-reset-button="true"
72
+ condition="f_hand_date <= '{}'">
73
+ </datepicker>
74
+ </div>
75
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
76
+ <!-- <div class="col-sm-2 form-group">-->
77
+ <!-- <label class="font_normal_body" title="旧客户编号">档案编号</label>-->
78
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"-->
79
+ <!-- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">-->
80
+ <!-- </div>-->
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">抄表状态</label>
83
+ <v-select :value.sync="model.f_meter_state"
84
+ v-model="model.f_meter_state"
85
+ :options='$parent.$parent.meterstate' placeholder='请选择'
86
+ condition="f_meter_state = '{}'"
87
+ close-on-select></v-select>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">表单状态</label>
91
+ <v-select :value.sync="model.f_hand_state"
92
+ v-model="model.f_hand_state"
93
+ :options='$parent.$parent.handstate' placeholder='请选择'
94
+ condition="f_hand_state = '{}'"
95
+ close-on-select></v-select>
96
+ </div>
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">客户名称</label>
99
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
100
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
101
+ </div>
102
+
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">小区名称</label>
105
+ <v-select :value.sync="model.f_residential_area"
106
+ class="select_list select"
107
+ enter-push
108
+ multiple = "true"
109
+ v-model="model.f_residential_area"
110
+ style="width: 60%"
111
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
112
+ close-on-select>
113
+
114
+ </v-select>
115
+ </div>
116
+ <!-- <div class="col-sm-2 form-group">-->
117
+ <!-- <label class="font_normal_body">楼&emsp;栋&emsp;</label>-->
118
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"-->
119
+ <!-- condition="f_building like '%{}%'" placeholder="楼栋">-->
120
+ <!-- </div>-->
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">客户地址</label>
123
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
124
+ condition="f_address like '%{}%'" placeholder='客户地址'>
125
+ </div>
126
+ <!-- <div class="col-sm-2 form-group">-->
127
+ <!-- <label for="startDate" class="font_normal_body">审核日期</label>-->
128
+ <!-- <datepicker id="f_audit_date" placeholder="开始日期" style="width:60%"-->
129
+ <!-- v-model="model.auditStartDate"-->
130
+ <!-- :value.sync="model.auditStartDate"-->
131
+ <!-- :format="'yyyy-MM-dd 00:00:00'"-->
132
+ <!-- :show-reset-button="true"-->
133
+ <!-- condition="f_audit_date >= '{}'">-->
134
+ <!-- </datepicker>-->
135
+ <!-- </div>-->
136
+ <!-- <div class="col-sm-2 form-group">-->
137
+ <!-- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>-->
138
+ <!-- <datepicker id="f_audit_date" placeholder="结束日期" style="width:60%"-->
139
+ <!-- v-model="model.auditEndDate"-->
140
+ <!-- :value.sync="model.auditEndDate"-->
141
+ <!-- :format="'yyyy-MM-dd 23:59:59'"-->
142
+ <!-- :show-reset-button="true"-->
143
+ <!-- condition="f_audit_date <= '{}'">-->
144
+ <!-- </datepicker>-->
145
+ <!-- </div>-->
146
+
147
+ <div class="col-sm-2 form-group">
148
+ <label class="font_normal_body">客户类型</label>
149
+ <v-select :value.sync="model.f_user_type"
150
+ @change="$parent.$parent.userTypeChange()"
151
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
152
+ condition="f_user_type = '{}'"
153
+ close-on-select></v-select>
154
+ </div>
155
+ <div class="col-sm-2 form-group">
156
+ <label class="font_normal_body">用气性质</label>
157
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
158
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
159
+ condition="f_gasproperties = '{}'"
160
+ close-on-select></v-select>
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">气价类型</label>
164
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
165
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
166
+ close-on-select v-ref:type>
167
+ </v-select>
168
+ </div>
169
+ <div class="col-sm-2 form-group">
170
+ <label class="font_normal_body">气价名称</label>
171
+ <v-select :value.sync="model.f_price_name"
172
+ v-model="model.f_price_name"
173
+ :options="$parent.$parent.getPricenames"
174
+ condition="f_price_name = '{}'"
175
+ close-on-select></v-select>
176
+ </div>
177
+ <div class="col-sm-2 form-group">
178
+ <label class="font_normal_body">气表类型</label>
179
+ <v-select :value.sync="model.f_meter_classify" multiple
180
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
181
+ condition="f_meter_classify in {}"
182
+ close-on-select></v-select>
183
+ </div>
184
+ <div class="col-sm-2 form-group">
185
+ <label class="font_normal_body">气表品牌</label>
186
+ <v-select :value.sync="model.f_meter_brand" multiple
187
+ v-model="model.f_meter_brand"
188
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
189
+ condition="f_meter_brand in {}"
190
+ close-on-select></v-select>
191
+ </div>
192
+ <div class="col-sm-2 form-group">
193
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
194
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
195
+ v-model="model.f_oughtamount_big" condition="f_oughtamount >= {}" placeholder='大于等于'>
196
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
197
+ v-model="model.f_oughtamount_small" condition="f_oughtamount <= {}" placeholder='小于等于'>
198
+ </div>
199
+ <!-- <div class="col-sm-2 form-group">-->
200
+ <!-- <label class="font_normal_body">气价名称</label>-->
201
+ <!-- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" :options="$parent.$parent.prices"-->
202
+ <!-- condition="f_price_name = '{}'" close-on-select></v-select>-->
203
+ <!-- </div>-->
204
+ <div class="col-sm-2 form-group">
205
+ <label class="font_normal_body">&ensp;表&ensp;号&ensp;&ensp;</label>
206
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
207
+ condition="f_meternumber = '{}' " placeholder="表号">
208
+ </div>
209
+ <div class="col-sm-2 form-group">
210
+ <label for="startDate" class="font_normal_body">收费日期</label>
211
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
212
+ v-model="model.sellStartDate"
213
+ :value.sync="model.sellStartDate"
214
+ :format="'yyyy-MM-dd 00:00:00'"
215
+ :show-reset-button="true"
216
+ condition="f_sellinggas_operate_date >= '{}'">
217
+ </datepicker>
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
221
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
222
+ v-model="model.sellEndDate"
223
+ :value.sync="model.sellEndDate"
224
+ :format="'yyyy-MM-dd 23:59:59'"
225
+ :show-reset-button="true"
226
+ condition="f_sellinggas_operate_date <= '{}'">
227
+ </datepicker>
228
+ </div>
229
+ <div class="col-sm-2 form-group">
230
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
231
+ <v-select :value.sync="model.f_inputtor"
232
+ v-model="model.f_inputtor"
233
+ :options='$parent.$parent.inputtores' placeholder='请选择'
234
+ condition="f_inputtor = '{}'"
235
+ close-on-select :search="false">
236
+ </v-select>
237
+ </div>
238
+ <!--表册片区-->
239
+ <!-- <div class="col-sm-2 form-group">-->
240
+ <!-- <label class="font_normal_body">表册片区</label>-->
241
+ <!-- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"-->
242
+ <!-- @change="$parent.$parent.inputtorchange"-->
243
+ <!-- multiple-->
244
+ <!-- :options='$parent.$parent.bookSlice' placeholder='片区/表册'-->
245
+ <!-- style="width:60%"-->
246
+ <!-- close-on-select-->
247
+ <!-- condition="f_book_slice_area in {}"></v-select>-->
248
+ <!-- </div>-->
249
+ <div class="col-sm-2 form-group">
250
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
251
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
252
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
253
+ style="width:60%"
254
+ multiple
255
+ close-on-select
256
+ condition="f_meter_book_num in {}"></v-select>
257
+ </div>
258
+ <div class="col-sm-2 form-group">
259
+ <label class="font_normal_body">录入人员</label>
260
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_input_person"
261
+ condition="f_input_person like '%{}%'" placeholder='录入人员'>
262
+ </div>
263
+ <div class="col-sm-2 form-group">
264
+ <label class="font_normal_body">是否缴费</label>
265
+ <v-select :value.sync="model.f_whether_pay"
266
+ v-model="model.f_whether_pay"
267
+ :options='$parent.$parent.whetherPay' placeholder='请选择'
268
+ condition="f_whether_pay = '{}'"
269
+ close-on-select></v-select>
270
+ </div>
271
+ <div class="col-sm-2 form-group" >
272
+ <label for="belongmonth" class="font_normal_body" >所属年月</label>
273
+ <datepicker placeholder="所属年月" style="width:60%"
274
+ v-model="model.belongmonth"
275
+ :value.sync="model.belongmonth"
276
+ :format="'yyyy-MM'"
277
+ :show-reset-button="true"
278
+ condition="belongmonth = '{}'"
279
+ :select-month="true">
280
+ </datepicker>
281
+ </div>
282
+ <!-- <div class="col-sm-2 form-group">-->
283
+ <!-- <label class="font_normal_body">银行名称</label>-->
284
+ <!-- <v-select :value.sync="model.f_bank_name" v-model="model.f_bank_name"-->
285
+ <!-- :options='$parent.$parent.banklist' placeholder='银行名称'-->
286
+ <!-- style="width:60%"-->
287
+ <!-- close-on-select-->
288
+ <!-- condition="f_bank_name = '{}'"></v-select>-->
289
+ <!-- </div>-->
290
+
291
+ <!-- <div class="col-sm-2 form-group">-->
292
+ <!-- <label class="font_normal_body">下账状态</label>-->
293
+ <!-- <v-select :value.sync="model.f_accounts_state"-->
294
+ <!-- :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"-->
295
+ <!-- condition="f_accounts_state = '{}'"-->
296
+ <!-- close-on-select></v-select>-->
297
+ <!-- </div>-->
298
+ <!-- <div class="col-sm-2 form-group">-->
299
+ <!-- <label class="font_normal_body">&ensp;壁挂炉&ensp;</label>-->
300
+ <!-- <v-select :value.sync="model.f_bgl"-->
301
+ <!-- v-model="model.f_bgl"-->
302
+ <!-- :options='$parent.$parent.bgl' placeholder='请选择'-->
303
+ <!-- condition="f_bgl = '{}'"-->
304
+ <!-- close-on-select></v-select>-->
305
+ <!-- </div>-->
306
+ </div>
307
+ </div>
308
+ </criteria>
309
+
310
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
311
+ <template partial='head'>
312
+ <tr>
313
+ <th>
314
+ <!-- <nobr>客户编号</nobr>-->
315
+ <data-order field="f_userinfo_code" name="客户编号"
316
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
317
+ </th>
318
+ <th>
319
+ <nobr>客户名称</nobr>
320
+ </th>
321
+ <th>
322
+ <nobr>档案编号</nobr>
323
+ </th>
324
+ <th>
325
+ <nobr>片区</nobr>
326
+ </th>
327
+ <th>
328
+ <nobr>表册片区</nobr>
329
+ </th>
330
+ <th>
331
+ <!-- <nobr>客户地址</nobr>-->
332
+ <data-order field="f_address" name="客户地址"
333
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
334
+ </th>
335
+ <th>
336
+ <nobr>客户手机</nobr>
337
+ </th>
338
+ <th>
339
+ <nobr>表号</nobr>
340
+ </th>
341
+ <th>
342
+ <!-- <nobr>数据年月</nobr>-->
343
+ <data-order field="ym_data" name="数据年月"
344
+ :order.sync="$parent.$parent.$parent.orderFields.ym_data"></data-order>
345
+ </th>
346
+ <th>
347
+ <!-- <nobr>审核日期</nobr>-->
348
+ <data-order field="f_audit_date" name="审核日期"
349
+ :order.sync="$parent.$parent.$parent.orderFields.f_audit_date"></data-order>
350
+ </th>
351
+ <th>
352
+ <nobr>上期底数</nobr>
353
+ </th>
354
+ <th>
355
+ <nobr>本期底数</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>用气量</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>违约金</nobr>
362
+ </th>
363
+ <th>
364
+ <nobr>用气金额</nobr>
365
+ </th>
366
+ <th>
367
+ <nobr>已交金额</nobr>
368
+ </th>
369
+ <th>
370
+ <nobr>欠费金额</nobr>
371
+ </th>
372
+ <th>
373
+ <nobr>优惠金额</nobr>
374
+ </th>
375
+ <th>
376
+ <nobr>上期余额</nobr>
377
+ </th>
378
+ <th>
379
+ <nobr>本期余额</nobr>
380
+ </th>
381
+ <th>
382
+ <nobr>下账状态</nobr>
383
+ </th>
384
+ <th>
385
+ <!-- <nobr>收费时间</nobr>-->
386
+ <data-order field="f_sellinggas_operate_date" name="收费时间"
387
+ :order.sync="$parent.$parent.$parent.orderFields.f_sellinggas_operate_date"></data-order>
388
+ </th>
389
+ <th>
390
+ <nobr>收费人员</nobr>
391
+ </th>
392
+ <th>
393
+ <!-- <nobr>冲正时间</nobr>-->
394
+ <data-order field="f_corrhand_date" name="冲正时间"
395
+ :order.sync="$parent.$parent.$parent.orderFields.f_corrhand_date"></data-order>
396
+ </th>
397
+ <th>
398
+ <nobr>冲正人员</nobr>
399
+ </th>
400
+ <th>
401
+ <!-- <nobr>下发日期</nobr>-->
402
+ <data-order field="f_hand_date" name="下发日期"
403
+ :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
404
+ </th>
405
+ <th>
406
+ <!-- <nobr>所属年月</nobr>-->
407
+ <data-order field="belongmonth" name="所属年月"
408
+ :order.sync="$parent.$parent.$parent.orderFields.belongmonth"></data-order>
409
+ </th>
410
+ <th>
411
+ <!-- <nobr>录入日期</nobr>-->
412
+ <data-order field="f_input_date" name="录入日期"
413
+ :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
414
+ </th>
415
+ <th>
416
+ <nobr>气价名称</nobr>
417
+ </th>
418
+ <th>
419
+ <nobr>一阶气量</nobr>
420
+ </th>
421
+ <th>
422
+ <nobr>一阶单价</nobr>
423
+ </th>
424
+ <th>
425
+ <nobr>一阶气费</nobr>
426
+ </th>
427
+ <th>
428
+ <nobr>二阶气量</nobr>
429
+ </th>
430
+ <th>
431
+ <nobr>二阶单价</nobr>
432
+ </th>
433
+ <th>
434
+ <nobr>二阶气费</nobr>
435
+ </th>
436
+ <th>
437
+ <nobr>三阶气量</nobr>
438
+ </th>
439
+ <th>
440
+ <nobr>三阶单价</nobr>
441
+ </th>
442
+ <th>
443
+ <nobr>三阶气费</nobr>
444
+ </th>
445
+ <th>
446
+ <nobr>天数</nobr>
447
+ </th>
448
+ <th>
449
+ <nobr>抄表员</nobr>
450
+ </th>
451
+ <th>
452
+ <nobr>录入人员</nobr>
453
+ </th>
454
+ <th>
455
+ <nobr>是否缴费</nobr>
456
+ </th>
457
+
458
+ <th>
459
+ <nobr>抄表状态</nobr>
460
+ </th>
461
+ <th>
462
+ <nobr>状态</nobr>
463
+ </th>
464
+ <th>
465
+ <nobr>下发人员</nobr>
466
+ </th>
467
+ <th>
468
+ <nobr>部门</nobr>
469
+ </th>
470
+ <th>
471
+ <nobr>公司</nobr>
472
+ </th>
473
+ <th><nobr>附件</nobr></th>
474
+ </tr>
475
+ </template>
476
+ <template partial='body'>
477
+ <td style="text-align: center;">
478
+ <nobr>
479
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
480
+ </td>
481
+ <td style="text-align: center;">
482
+ <nobr>{{row.f_user_name}}</nobr>
483
+ </td>
484
+ <td style="text-align: center;">
485
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
486
+ </td>
487
+ <td style="text-align: center;">
488
+ <nobr>{{row.f_zones}}</nobr>
489
+ </td>
490
+ <td style="text-align: center;">
491
+ <nobr>{{row.f_book_slice_area}}</nobr>
492
+ </td>
493
+ <td style="text-align: center;">
494
+ <nobr>{{row.f_address}}</nobr>
495
+ </td>
496
+
497
+ <td style="text-align: center;">
498
+ <nobr>{{row.phone}}</nobr>
499
+ </td>
500
+ <td style="text-align: center;">
501
+ <nobr>{{row.f_meternumber}}</nobr>
502
+ </td>
503
+ <td style="text-align: center;">
504
+ <nobr>{{row.ym_data}}</nobr>
505
+ </td>
506
+ <td style="text-align: center;">
507
+ <nobr>{{row.f_audit_date}}</nobr>
508
+ </td>
509
+ <td style="text-align: center;">
510
+ <nobr>{{row.f_last_tablebase}}</nobr>
511
+ </td>
512
+ <td style="text-align: center;">
513
+ <nobr>{{row.f_tablebase}}</nobr>
514
+ </td>
515
+ <td style="text-align: center;">
516
+ <nobr>{{row.f_oughtamount}}</nobr>
517
+ </td>
518
+ <td style="text-align: center;">
519
+ <nobr>{{row.overdue}}</nobr>
520
+ </td>
521
+ <td style="text-align: center;">
522
+ <nobr>{{row.f_oughtfee}}</nobr>
523
+ </td>
524
+ <td style="text-align: center;">
525
+ <nobr>{{row.f_debt_money}}</nobr>
526
+ </td>
527
+ <td style="text-align: center;">
528
+ <nobr>{{row.f_actual_arrears}}</nobr>
529
+ </td>
530
+ <td style="text-align: center;">
531
+ <nobr>{{row.f_privilege_money}}</nobr>
532
+ </td>
533
+ <td style="text-align: center;">
534
+ <nobr>{{row.f_balance}}</nobr>
535
+ </td>
536
+ <td style="text-align: center;">
537
+ <nobr>{{row.f_curbalance}}</nobr>
538
+ </td>
539
+ <td style="text-align: center;">
540
+ <nobr>{{row.f_accounts_state}}</nobr>
541
+ </td>
542
+ <td style="text-align: center;">
543
+ <nobr>{{row.f_sellinggas_operate_date}}</nobr>
544
+ </td>
545
+ <td style="text-align: center;">
546
+ <nobr>{{row.f_sell_operator}}</nobr>
547
+ </td>
548
+ <td style="text-align: center;">
549
+ <nobr>{{row.f_corrhand_date}}</nobr>
550
+ </td>
551
+ <td style="text-align: center;">
552
+ <nobr>{{row.f_corrhand_operator}}</nobr>
553
+ </td>
554
+ <td style="text-align: center;">
555
+ <nobr>{{row.f_hand_date}}</nobr>
556
+ </td>
557
+ <td>
558
+ <nobr>{{row.belongmonth}}</nobr>
559
+ </td>
560
+ <td style="text-align: center;">
561
+ <nobr>{{row.f_input_date}}</nobr>
562
+ </td>
563
+ <td style="text-align: center;">
564
+ <nobr>{{row.f_price_name}}</nobr>
565
+ </td>
566
+ <td style="text-align: center;">
567
+ <nobr>{{row.f_stair1amount}}</nobr>
568
+ </td>
569
+ <td style="text-align: center;">
570
+ <nobr>{{row.f_stair1price}}</nobr>
571
+ </td>
572
+ <td style="text-align: center;">
573
+ <nobr>{{row.f_stair1fee}}</nobr>
574
+ </td>
575
+ <td style="text-align: center;">
576
+ <nobr>{{row.f_stair2amount}}</nobr>
577
+ </td>
578
+ <td style="text-align: center;">
579
+ <nobr>{{row.f_stair2price}}</nobr>
580
+ </td>
581
+ <td style="text-align: center;">
582
+ <nobr>{{row.f_stair2fee}}</nobr>
583
+ </td>
584
+ <td style="text-align: center;">
585
+ <nobr>{{row.f_stair3amount}}</nobr>
586
+ </td>
587
+ <td style="text-align: center;">
588
+ <nobr>{{row.f_stair3price}}</nobr>
589
+ </td>
590
+ <td style="text-align: center;">
591
+ <nobr>{{row.f_stair3fee}}</nobr>
592
+ </td>
593
+ <td style="text-align: center;">
594
+ <nobr>{{row.dd}}</nobr>
595
+ </td>
596
+ <td style="text-align: center;">
597
+ <nobr>{{row.f_inputtor}}</nobr>
598
+ </td>
599
+ <td style="text-align: center;">
600
+ <nobr>{{row.f_input_person}}</nobr>
601
+ </td>
602
+ <td style="text-align: center;">
603
+ <nobr>{{row.f_whether_pay}}</nobr>
604
+ </td>
605
+
606
+ <td style="text-align: center;">
607
+ <nobr>{{row.f_meter_state}}</nobr>
608
+ </td>
609
+ <td style="text-align: center;">
610
+ <nobr>{{row.f_hand_state}}</nobr>
611
+ </td>
612
+ <td style="text-align: center;">
613
+ <nobr>{{row.f_operator}}</nobr>
614
+ </td>
615
+ <td style="text-align: center;">
616
+ <nobr>{{row.f_depname}}</nobr>
617
+ </td>
618
+ <td style="text-align: center;">
619
+ <nobr>{{row.f_orgname}}</nobr>
620
+ </td>
621
+ <td style="text-align: center;"><nobr>
622
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
623
+ <button v-if="row.f_notified_path" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.imgShow(row.f_notified_path)">图像识别</button>
624
+ </nobr></td>
625
+ </template>
626
+ <template partial='foot'></template>
627
+ </data-grid>
628
+ </criteria-paged>
629
+
630
+ <table class="table-hover">
631
+ <tr style="position: relative;margin-top: -16px;" class="table-bordered">
632
+ <td
633
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
634
+ 汇总信息
635
+ </td>
636
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
637
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
638
+ </td>
639
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
640
+ 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
641
+ </td>
642
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
643
+ 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
644
+ </td>
645
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
646
+ 欠费金额合计:&emsp;{{sumsmodel.f_actual_arrears}}
647
+ </td>
648
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
649
+ 一阶气量合计:&emsp;{{sumsmodel.f_stair1amount}}
650
+ </td>
651
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
652
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
653
+ </td>
654
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
655
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
656
+ </td>
657
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
658
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
659
+ </td>
660
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
661
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
662
+ </td>
663
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
664
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
665
+ </td>
666
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
667
+ 剩余气量合计:&emsp;{{sumsmodel.f_surplus_gas}}
668
+ </td>
669
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
670
+ 扣减气量合计:&emsp;{{sumsmodel.f_haircut_gas}}
671
+ </td>
672
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
673
+ 应交气量合计:&emsp;{{sumsmodel.f_oughtamount}}
674
+ </td>
675
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
676
+ 已交气费金额合计:&emsp;{{sumsmodel.alloughtfee}}
677
+ </td>
678
+ </tr>
679
+ </table>
680
+ </div>
681
+ <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
682
+ <article slot="modal-body" class="modal-body">
683
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
684
+ </article>
685
+ <footer slot="modal-footer" class="modal-footer">
686
+ </footer>
687
+ </modal>
688
+ </div>
689
+ <div class="flex" v-if="show">
690
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
691
+ </div>
692
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
693
+ <article slot="modal-body">
694
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="机表抄表" :isremark="false" style="width:auto" ></upload>
695
+ </article>
696
+ <footer slot="modal-footer" class="modal-footer">
697
+ </footer>
698
+ </modal>
699
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true">
700
+ <header slot="modal-header" class="modal-header">
701
+ 抄表图像识别照片
702
+ </header>
703
+ <article slot="modal-body" class="modal-body">
704
+ <div class="from-group">
705
+ <img-self :src="imgfilename" width="500" height="500"></img-self>
706
+ </div>
707
+ </article>
708
+ </modal>
709
+
710
+ <modal :show.sync="progressShow" v-ref:modal backdrop="true" width="50%" style="width:auto;" >
711
+ <header slot="modal-header" class="modal-header">
712
+ 反盘导入
713
+ </header>
714
+ <article slot="modal-body" class="modal-body">
715
+ <div class="progress" style="margin: 20px" >
716
+ <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent+'%'}">
717
+ {{percent}}%
718
+ </div>
719
+ </div>
720
+ </article>
721
+ <footer slot="modal-footer" class="modal-footer">
722
+ <button type="button" class="btn btn-default" @click='progressclose'>关闭</button>
723
+ </footer>
724
+ </modal>
725
+ <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
726
+ </div>
727
+ </template>
728
+
729
+ <script>
730
+ import {PagedList, HttpResetClass} from 'vue-client'
731
+ import defaultPrint from './config/DefaultPrint'
732
+ import exportConfig from './config/exportConfig'
733
+ import axios from 'axios'
734
+
735
+ let readySomething = async function (self) {
736
+ //加载抄表册
737
+ self.$MagGetSaleParam.initinputtor();
738
+ self.getinputtores();
739
+ self.initmeterbook();
740
+ // await self.$LoadParams.loadMeterBook(self.f_filialeid)
741
+ // self.loadMeterBooks()
742
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
743
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
744
+ // self.$refs.paged.$refs.cri.model.handStartDate = self.$login.toStandardDateString() + ' 00:00:00'
745
+ // self.$refs.paged.$refs.cri.model.handEndDate = self.$login.toStandardDateString() + ' 23:59:59'
746
+
747
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
748
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
749
+ // await self.$refs.paged.$refs.cri.search()
750
+ await self.$getConfig(self, 'HandplanQuery')
751
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
752
+ await self.$MagLoadParams.loadParam()
753
+ // await self.$MagLoadParams.loadParam()
754
+ self.initParams()
755
+ console.log('开始查询')
756
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
757
+ }
758
+ export default {
759
+ props:['data'],
760
+ title: '机表抄表查询',
761
+ data() {
762
+ return {
763
+ iswork:false,
764
+ other:[],
765
+ footer:[],
766
+ data: {},
767
+ model: new PagedList('rs/sql/handplanQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`' z '`,startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
768
+ f_oughtamount: 0,
769
+ f_oughtfee: 0,
770
+ f_debt_money: 0,
771
+ f_actual_arrears: 0,
772
+ f_stair1amount: 0,
773
+ f_stair1fee: 0,
774
+ f_stair2amount: 0,
775
+ f_stair2fee: 0,
776
+ f_stair3amount: 0,
777
+ f_stair3fee: 0,
778
+ f_surplus_gas: 0,
779
+ f_haircut_gas: 0,
780
+ alloughtfee:0
781
+ }),
782
+ //排序
783
+ orderitem:' z ',
784
+ orderFields: {
785
+ f_userinfo_code: 'no'
786
+ },
787
+ initres: {
788
+ org:[this.$login.f.orgid],
789
+ dep:[],
790
+ user:[],
791
+ },
792
+ show:false,
793
+ rowdata:{},
794
+ criteriaShow: false,
795
+ residentialArea: [],
796
+ orgCondtionStr: '',
797
+ modelval: [],
798
+ gasproperties:[],
799
+ inputtouPerson: [],
800
+ meterbrands: [],
801
+ printshow: false,
802
+ f_filialeid: this.$login.f.f_orgid,
803
+ all: false,
804
+ fields: {},
805
+ thead: '',
806
+ tfoot: '',
807
+ showupload:false,
808
+ selected:{},
809
+
810
+ // 下拉框
811
+
812
+ //合计数据
813
+ sumsmodel: {},
814
+ defaultfield: [],
815
+ config: {
816
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
817
+ },
818
+ batchmoneyShow:false,
819
+ prices: [],
820
+ bgl:[{label: '全部', value: ''},{label: '有', value: '1'},{label: '无', value: '0'}],
821
+ meterbooks:[{label: '全部',value: ''}], //抄表册
822
+ tempfalg :false,
823
+ lastorgstr:'',
824
+ allorgid:[],
825
+ inputtores:[{label: '全部',value: ''}], //抄表员
826
+ //表册片区
827
+ bookSlice:[{label: '全部',value: ''}],
828
+ imgshow:false,
829
+ imgfilename:'',
830
+ percent:0,
831
+ progressShow:false,
832
+ uuida:'',
833
+ timer:'',
834
+ }
835
+ },
836
+ ready() {
837
+ this.getaddress()
838
+ readySomething(this).then(() => {
839
+ this.$emit('ready')
840
+ }).catch((error) => {
841
+ this.$emit('error', error)
842
+ })
843
+ },
844
+ methods: {
845
+ getuuid(){
846
+ let uuidA = '';
847
+ var s = [];
848
+ var hexDigits = '0123456789abcdef';
849
+ for (var i = 0; i < 36; i++) {
850
+ s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
851
+ }
852
+ s[14] = '4';
853
+ s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
854
+ s[8] = s[13] = s[18] = s[23] = '-';
855
+ uuidA = s.join('');
856
+ this.uuida = uuidA;
857
+ },
858
+ progressclose(){
859
+ this.progressShow = false;
860
+ if(this.timer != null){
861
+ clearInterval(this.timer);
862
+ }
863
+ },
864
+ async initmeterbook(orgstr){
865
+ if(orgstr == null ){
866
+ orgstr = this.f_filialeid;
867
+ }
868
+ //获取新的抄表册,先去清理所有的抄表册
869
+ this.$GetSaleParam.meterbooks = [];
870
+ //开始加载新的抄表册
871
+ await this.$LoadParams.loadMeterBook(orgstr)
872
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
873
+ },
874
+ //初始化片区
875
+ async initSlice (val) {
876
+ if (val) {
877
+ let getAllArea = await this.$resetpost('/rs/search', {
878
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
879
+ userid: this.$login.f.id
880
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
881
+ let arr = getAllArea.data.filter((res) => {
882
+ return res.parentid == val
883
+ })
884
+ this.bookSlice = []
885
+ arr.forEach((res) => {
886
+ this.bookSlice.push({label: res.name, value: res.name})
887
+ })
888
+ }
889
+ },
890
+ //表册片区和抄表册关联
891
+ async inputtorchange(){
892
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
893
+ /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
894
+ let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
895
+ if((val2.length>0)){
896
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
897
+ let aaa = '('
898
+ val2.forEach((item) => {
899
+ aaa = aaa + `'${item}',`
900
+ })
901
+ aaa = aaa + `'')`
902
+ condition = condition + ` and f_book_slice_area in ${aaa} `
903
+ let param={
904
+ items:'*',
905
+ tablename:'t_meter_book',
906
+ condition:condition,
907
+ orderitem:'id'
908
+ }
909
+ let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
910
+ if (getMeterBooks.data) {
911
+ if(getMeterBooks.data.length >0){
912
+ let rs = [];
913
+ getMeterBooks.data.forEach((item)=>{
914
+ let temp = {
915
+ label:item.f_book_name,
916
+ value:item.id
917
+ };
918
+ rs.push(temp);
919
+
920
+ })
921
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
922
+ }else{
923
+ this.meterbooks = [{label: '全部',value: ''}];
924
+ }
925
+ }
926
+ }else{
927
+ this.meterbooks = [{label: '全部',value: ''}];
928
+ this.initmeterbook();
929
+ }
930
+ },
931
+ async initmeterbook(orgstr){
932
+ if(orgstr == null ){
933
+ orgstr = this.f_filialeid;
934
+ }
935
+ //获取新的抄表册,先去清理所有的抄表册
936
+ this.$GetSaleParam.meterbooks = [];
937
+ //开始加载新的抄表册
938
+ await this.$LoadParams.loadMeterBook(orgstr)
939
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
940
+ },
941
+
942
+ async getinputtores () {
943
+ // 获取抄表员
944
+ let rs = []
945
+ if (this.$login.f.f_gasman.length > 0) {
946
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
947
+ let temp = {
948
+ label: this.$login.f.f_gasman[i].name,
949
+ value: this.$login.f.f_gasman[i].name
950
+ }
951
+ rs.push(temp)
952
+ }
953
+ }
954
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
955
+ this.inputtores.push({label: "微信公众号", value: "微信公众号"})
956
+ },
957
+ async updateParams() {
958
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
959
+ this.inputtores = [];
960
+ this.inputtores.push({label: "全部", value: ""})
961
+ this.initSlice(this.f_filialeid)
962
+ if(this.allorgid!=null){
963
+ this.allorgid.forEach((res)=>{
964
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
965
+ })
966
+ }
967
+ this.initParams()
968
+ },
969
+ view(row){
970
+ this.showupload = true
971
+ this.selected= row
972
+ },
973
+ imgclose(){
974
+ this.imgshow = false
975
+ },
976
+ imgShow(val){
977
+ this.imgfilename = `rs/image/file/`+val
978
+ this.imgshow = true
979
+ },
980
+ initParams() {
981
+ // 初始化气表品牌
982
+ let brandArr = []
983
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
984
+ let temp = {}
985
+ temp.label = item.label
986
+ temp.value = item.value.f_meter_brand
987
+ brandArr.push(temp)
988
+ })
989
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
990
+ //初始化气价
991
+ let result = []
992
+ this.$MagGetSaleParam.prices.forEach((item) => {
993
+ if (item.f_state === '有效' && this.$login.f.orgid == item.f_filialeid) {
994
+ let value = {
995
+ label: item.f_price_name,
996
+ value: item.f_price_name
997
+ }
998
+ result.push(value)
999
+ }
1000
+ })
1001
+ let hash = {}
1002
+ result = result.reduce((item, next) => {
1003
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
1004
+ return item
1005
+ }, [])
1006
+ this.prices = Array.from(new Set(result))
1007
+ },
1008
+ getotherfooter(){
1009
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
1010
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
1011
+ this.other=[];
1012
+ this.footer=[];
1013
+ let exportdata = this.getCondition;
1014
+ let otherInData=[];
1015
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1016
+ let footerData=[],exportfield=this.getfield;
1017
+ footerData.push("合计");
1018
+ let self = this;
1019
+ for(var field in self.sumsmodel){
1020
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1021
+ }
1022
+ this.footer.push(footerData);
1023
+ this.other.push(otherInData);
1024
+ },
1025
+ async getaddress(){
1026
+ let HttpReset = new HttpResetClass()
1027
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
1028
+ data: {
1029
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
1030
+ }
1031
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1032
+ console.log('小区',data)
1033
+ let house = [{label: '全部', value: ''}]
1034
+ for (let row of data.data){
1035
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
1036
+ }
1037
+ this.residentialArea = house
1038
+ },
1039
+ Fileinput(){
1040
+ this.batchmoneyShow=true;
1041
+ },
1042
+ search(){
1043
+ this.$refs.paged.$refs.cri.search()
1044
+ },
1045
+ cancel() {
1046
+ this.show = false
1047
+ },
1048
+ selfSearch(args) {
1049
+ if (this.data) {
1050
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1051
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1052
+ }
1053
+ if (this.$refs.paged.$refs.cri.model.startDate === ''|| this.$refs.paged.$refs.cri.model.endDate === '') {
1054
+ this.$showMessage('请选择录入日期开始时间和结束时间!')
1055
+ return
1056
+ }
1057
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
1058
+ if(this.area.length !== 0){
1059
+ let str = JSON.stringify(this.area)
1060
+ str = str.replace(/"/g,`'`)
1061
+ str = str.replace(/\[/g,``)
1062
+ str = str.replace(/\]/g,``)
1063
+ //查询多个小区时条件
1064
+ args.condition += ` and f_residential_area in ( ${str} )`
1065
+ }
1066
+ //抄表员查询条件
1067
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1068
+ if(this.inputtouPerson.length !== 0){
1069
+ let str = JSON.stringify(this.inputtouPerson)
1070
+ str = str.replace(/"/g,`'`)
1071
+ str = str.replace(/\[/g,``)
1072
+ str = str.replace(/\]/g,``)
1073
+ //查询多个抄表员时条件
1074
+ args.condition += ` and f_inputtor in ( ${str} )`
1075
+ }
1076
+
1077
+ args.condition = `${args.condition} ` + this.orgCondtionStr
1078
+ this.model.search(args.condition, args.model)
1079
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1080
+ },
1081
+ clear() {
1082
+ //清空部门和人员
1083
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1084
+ //部门和人员变为全选
1085
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1086
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1087
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1088
+ this.$refs.paged.$refs.cri.model[key] = []
1089
+ })
1090
+ this.$refs.paged.$refs.cri.model.f_meter_classify = []
1091
+ },
1092
+ show() {
1093
+ this.criteriaShow = true
1094
+ },
1095
+ hidden() {
1096
+ this.criteriaShow = !this.criteriaShow
1097
+ },
1098
+ async getRes(condition,obj) {
1099
+ this.orgCondtionStr = condition
1100
+
1101
+ },
1102
+ stamp() {
1103
+ this.all = false
1104
+ //默认选择要打印的列
1105
+ this.modelval = defaultPrint.config
1106
+ this.fields = this.getfield
1107
+ this.printshow = true
1108
+ this.put()
1109
+ },
1110
+ put() {
1111
+ // 对Modelval进行排序
1112
+ this.sortModelval()
1113
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表查询统计报表</th></tr><tr>`
1114
+ for (let key of this.modelval) {
1115
+ this.thead += '<th>' + this.fields[key] + '</th>'
1116
+ }
1117
+ this.thead += '</tr>'
1118
+ },
1119
+ sort (field, rule) {
1120
+ // 将所有排序方式设为不排序,实现相互排斥
1121
+ for (let key in this.orderFields) {
1122
+ if (key === field) {
1123
+ this.orderFields[key] = rule
1124
+ } else {
1125
+ this.orderFields[key] = 'no'
1126
+ }
1127
+ }
1128
+ // 如果新规则不排序,还原为默认排序
1129
+ if (rule === 'no') {
1130
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
1131
+ } else {
1132
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
1133
+ }
1134
+
1135
+ this.search()
1136
+ },
1137
+ print() {
1138
+ this.$refs.print.PrintAsFile()
1139
+ this.printshow = false
1140
+ },
1141
+ dealmsg(val) {
1142
+ this.rowdata=val
1143
+ this.show=true
1144
+ val.model = this.model.model
1145
+ this.$dispatch('deal-msg', val)
1146
+ },
1147
+ close() {
1148
+ this.printshow = false
1149
+ this.all = false
1150
+ },
1151
+
1152
+ userTypeChange () {
1153
+ this.gasproperties=[]
1154
+ if(this.$refs.paged.$refs.cri.model !==null) {
1155
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
1156
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1157
+ }
1158
+ else{
1159
+ this.gasproperties =[{label: '全部', value: ''}]
1160
+ }
1161
+ },
1162
+ // 对选择的列进行排序
1163
+ sortModelval() {
1164
+ let sortModel = []
1165
+ Object.keys(this.fields).forEach((key) => {
1166
+ if (this.modelval.includes(key)) {
1167
+ sortModel.push(key)
1168
+ }
1169
+ })
1170
+ this.modelval = sortModel
1171
+ }
1172
+ },
1173
+ watch: {
1174
+ 'model.rows'(val) {
1175
+ if(val.length === 0){
1176
+ this.sumsmodel = {}
1177
+ }
1178
+ },
1179
+ async 'orgCondtionStr'(val) {
1180
+ this.$refs.paged.$refs.cri.model.f_inputtor=[]
1181
+ this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
1182
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
1183
+ this.meterbooks = [{label: '全部',value: ''}];
1184
+ if(this.lastorgstr != val){
1185
+ this.tempfalg = true;
1186
+ this.lastorgstr = val;
1187
+ }
1188
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1189
+ this.tempfalg = false;
1190
+ let a = val.substring(val.indexOf("(")+2)
1191
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1192
+ }
1193
+ let res = val.match(/'(.*?)'/)
1194
+ console.log('正则提取:',res && res[1])
1195
+ if (res) {
1196
+ this.f_filialeid = res[1]
1197
+ if(res.input !=null){
1198
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1199
+ if(resorgid!= null && resorgid!=''){
1200
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1201
+ // resorgid = resorgid.replaceAll("'","");
1202
+ resorgid = resorgid.replace(/'/g,"");
1203
+ this.allorgid = resorgid.split(",")
1204
+ }
1205
+ }
1206
+ this.updateParams()
1207
+ }
1208
+ },
1209
+ 'all'(val) {
1210
+ if (val) {
1211
+ this.modelval = this.bodyData
1212
+ } else {
1213
+ this.modelval = defaultPrint.config
1214
+ this.put()
1215
+ }
1216
+ },
1217
+ 'modelval.length'() {
1218
+ this.put()
1219
+ },
1220
+ sumsmodel:{
1221
+ handler: function(val) {
1222
+ this.getotherfooter();
1223
+ },
1224
+ deep: true
1225
+ }
1226
+ },
1227
+ computed: {
1228
+
1229
+ metertypes() {
1230
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1231
+ },
1232
+ banklist() {
1233
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1234
+ },
1235
+ getCondition() {
1236
+ return {
1237
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1238
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1239
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1240
+ orderitem: this.orderitem?`${this.orderitem}`: " z "}
1241
+ },
1242
+ getfield() {
1243
+ return exportConfig.handplanConfig
1244
+ },
1245
+ getBankfield(){
1246
+ return exportConfig.batchBankConfig2
1247
+ },
1248
+ usertypes() {
1249
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1250
+ },
1251
+ accountsState() {
1252
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1253
+ },
1254
+ meterstate() {
1255
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
1256
+ },
1257
+ handstate() {
1258
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
1259
+ },
1260
+ // inputtor() {
1261
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
1262
+ // },
1263
+ pricetypes() {
1264
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1265
+ },
1266
+ getPricenames() {
1267
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1268
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1269
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1270
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1271
+ if(this.$refs.paged.$refs.cri.model !==null) {
1272
+ let rs = []
1273
+ let priceArr = []
1274
+ if ( pricetype.length >0) {
1275
+ let params = {
1276
+ f_price_type: pricetype[0],
1277
+ filter: this.f_filialeid,
1278
+ prices: this.prices
1279
+ }
1280
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1281
+ let temp = {}
1282
+ temp.label = item.label
1283
+ temp.value = item.value.f_price_name
1284
+ priceArr.push(temp)
1285
+ })
1286
+ rs = [{label: '全部', value: ''}, ...priceArr]
1287
+ }
1288
+ if (rs.length === 0) {
1289
+ console.log('rs读出来是空')
1290
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1291
+ }
1292
+ return rs
1293
+ }
1294
+ },
1295
+ inputtor () {
1296
+ // 获取抄表员
1297
+ console.log('获取抄表员', this.$login.f)
1298
+ let rs = []
1299
+ if (this.$login.f.f_gasman.length > 0) {
1300
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1301
+ let temp = {
1302
+ label: this.$login.f.f_gasman[i].name,
1303
+ value: this.$login.f.f_gasman[i].name
1304
+ }
1305
+ rs.push(temp)
1306
+ }
1307
+ }
1308
+
1309
+ return [{label: '全部', value: ''}, ...rs]
1310
+ },
1311
+ whetherPay() {
1312
+ return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
1313
+ },
1314
+
1315
+ },
1316
+ events:{
1317
+ 'onFileUpload': async function (file, res) {
1318
+ if (this.batchmoneyShow) {
1319
+ this.percent = 0;
1320
+ this.getuuid();
1321
+ let param = {
1322
+ filepath: res.f_downloadpath,
1323
+ f_operator: this.$login.f.name,
1324
+ f_operatorid: this.$login.f.id,
1325
+ f_orgid: this.$login.f.orgid,
1326
+ f_orgname: this.$login.f.orgs,
1327
+ f_depid: this.$login.f.depids,
1328
+ f_depname: this.$login.f.deps,
1329
+ uuid: this.uuida
1330
+ }
1331
+ this.batchmoneyShow=false;
1332
+ try{
1333
+ await this.$resetpost('rs/logic/SumSettleFileImport',{data: param},{resolveMsg: null, rejectMsg: null},1000).then((res)=>{
1334
+ if(res.data){
1335
+ }
1336
+ })
1337
+ }catch(error){}
1338
+ let getparam = {
1339
+ uuid: this.uuida
1340
+ }
1341
+ let self = this;
1342
+ this.progressShow=true;
1343
+ this.timer = setInterval(function(){
1344
+ self.$resetpost('/rs/logic/getBatchOperaPro',{data:getparam},{resolveMsg: null, rejectMsg: null}, 0).then((res)=>{
1345
+ if(res.data ){
1346
+ if(res.data.speed){
1347
+ if(res.data.speed>= 100){
1348
+ clearInterval(self.timer);
1349
+ if(res.data.speed){
1350
+ self.percent = 99;
1351
+ }
1352
+ setTimeout(()=>{
1353
+ self.percent = 100;
1354
+ self.progressclose();
1355
+ self.$showMessage(`导入成功! 累计导入:${res.data.totalsum}, 成功:${res.data.successsum},失败:${res.data.errorsum}(包含之前导入${res.data.aftersum}),失败数据请在稽查查询中错误查询进行查看!!`);
1356
+ },600);
1357
+ }else{
1358
+ self.percent = res.data.speed
1359
+ }
1360
+ }else{
1361
+ self.percent=0;
1362
+ }
1363
+ }
1364
+ });
1365
+ },3000);
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ </script>