apply-clients 3.5.5-4 → 3.5.5-41

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 (57) hide show
  1. package/build/dev-server.js +2 -6
  2. package/package.json +6 -4
  3. package/src/components/QXClient.js +333 -0
  4. package/src/components/SignTools.js +65 -0
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/Process/Processes/contractModel.vue +97 -118
  8. package/src/components/product/ServiceView.vue +1028 -1028
  9. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
  10. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  11. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
  12. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  13. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  14. package/src/filiale/fugou/android/printCharge.vue +162 -162
  15. package/src/filiale/fugou/android.js +16 -16
  16. package/src/filiale/fugou/pc/ApplyChargeList.vue +484 -480
  17. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  18. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  19. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  20. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  21. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  22. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  23. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  24. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  25. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  26. package/src/filiale/fugou/pc.js +3 -1
  27. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  28. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  29. package/src/filiale/jinhuang/android.js +6 -0
  30. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  31. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  32. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  33. package/src/filiale/jinhuang/pc.js +2 -0
  34. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  35. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  36. package/src/filiale/qianneng/android.js +15 -15
  37. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  38. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  39. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  40. package/src/filiale/qianneng/pc.js +29 -29
  41. package/src/filiale/ruihua/pc/ServiceControl.vue +1967 -1966
  42. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  43. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  44. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +52 -0
  45. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
  46. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  47. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  48. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +645 -617
  49. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +99 -48
  50. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  51. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  52. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +4 -1
  53. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  54. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  55. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
  56. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  57. package/src/main.js +1 -1
@@ -1,617 +1,645 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
- <div class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="row">
6
- <div class="form-group col-sm-3">
7
- <label class="font_normal_body">组织机构:</label>
8
- <res-select
9
- restype='organization'
10
- :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- :is-mul="false"
13
- ></res-select>
14
- </div>
15
- <div class="form-group col-sm-3">
16
- <label for="startDate" class="font_normal_body">开始时间:</label>
17
- <datepicker id="startDate" placeholder="开始日期"
18
- style="width: 60%!important;"
19
- v-model="model.startDate"
20
- :value.sync="model.startDate"
21
- :format="'yyyy-MM-dd 00:00:00'"
22
- :show-reset-button="true"
23
- condition="cr.f_charge_date >= '{}'">
24
- </datepicker>
25
- </div>
26
- <div class="form-group col-sm-3">
27
- <label for="endDate" class="font_normal_body">结束时间:</label>
28
- <datepicker id="endDate" placeholder="结束日期"
29
- style="width: 60%!important;"
30
- v-model="model.endDate"
31
- :value.sync="model.endDate"
32
- :format="'yyyy-MM-dd 23:59:59'"
33
- :show-reset-button="true"
34
- condition="cr.f_charge_date <= '{}'">
35
- </datepicker>
36
- </div>
37
- <div class="form-group col-sm-3 button-range">
38
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
- <export-excel :data="$parent.$parent.getCondition"
41
- :field="$parent.$parent.getfield"
42
- sqlurl="rs/logic/applyExportfile"
43
- sql-name="getApplyCharge"
44
- template-name='收费记录信息导出'
45
- :choose-col="true"></export-excel>
46
- <div
47
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
- class="button_spacing"
50
- style="float: right">
51
- </div>
52
- </div>
53
- </div>
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="form-group col-sm-3">
56
- <label class="font_normal_body">用户编号:</label>
57
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
58
- v-on:keyup.enter="$parent.$parent.search()"
59
- condition="f_userinfo_code like '%{}%'">
60
- </div>
61
- <div class="form-group col-sm-3">
62
- <label class="font_normal_body">工程编号:</label>
63
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
64
- v-on:keyup.enter="$parent.$parent.search()"
65
- condition="a.f_apply_num like '%{}%'">
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">合同编号:</label>
69
- <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
70
- v-on:keyup.enter="$parent.$parent.search()"
71
- condition="a.f_contract_number like '%{}%'">
72
- </div>
73
- <div class="form-group col-sm-3">
74
- <label class="font_normal_body">报建类型:</label>
75
- <v-select
76
- v-model="model.f_apply_type"
77
- placeholder='请选择'
78
- condition="a.f_apply_type = '{}'"
79
- :value.sync="model.f_apply_type"
80
- :options='$parent.$parent.applytype'
81
- class="select select_list"
82
- :value-single="true"
83
- @change="$parent.$parent.applyTypeChange()"
84
- close-on-select ></v-select>
85
- </div>
86
- <div class="form-group col-sm-3">
87
- <label class="font_normal_body">报建性质:</label>
88
- <v-select
89
- v-model="model.f_apply_nature"
90
- placeholder='报建性质'
91
- condition="a.f_apply_nature = '{}'"
92
- :value.sync="model.f_apply_nature"
93
- :options='$parent.$parent.applyNatures'
94
- class="select select_list"
95
- :value-single="true"
96
- close-on-select ></v-select>
97
- </div>
98
- <div class="form-group col-sm-3">
99
- <label class="font_normal_body">用户名称:</label>
100
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
101
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
102
- </div>
103
- <div class="form-group col-sm-3">
104
- <label class="font_normal_body">用户电话:</label>
105
- <input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
106
- v-on:keyup.enter="$parent.$parent.search()"
107
- condition="a.f_phone like '%{}%'">
108
- </div>
109
- <div class="form-group col-sm-3">
110
- <label class="font_normal_body">用户地址:</label>
111
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
112
- v-on:keyup.enter="$parent.$parent.search()"
113
- condition="a.f_address like '%{}%'">
114
- </div>
115
- <div class="form-group col-sm-3">
116
- <label class="font_normal_body">身份证号:</label>
117
- <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
118
- v-on:keyup.enter="$parent.$parent.search()"
119
- condition="a.f_idnumber like '%{}%'">
120
- </div>
121
- <div class="form-group col-sm-3">
122
- <label class="font_normal_body">缴费编码:</label>
123
- <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
124
- v-on:keyup.enter="$parent.$parent.search()"
125
- condition="cr.f_charge_number like '%{}%'">
126
- </div>
127
- <div class="form-group col-sm-3">
128
- <label class="font_normal_body">付款方式:</label>
129
- <v-select
130
- v-model="model.f_payment_method"
131
- placeholder='请选择'
132
- condition="cr.f_payment_method = '{}'"
133
- :value.sync="model.f_payment_method"
134
- :options='$parent.$parent.paymentMethod'
135
- class="select select_list"
136
- :value-single="true"
137
- close-on-select ></v-select>
138
- </div>
139
- <div class="form-group col-sm-3">
140
- <label class="font_normal_body">收费项目:</label>
141
- <v-select
142
- v-model="model.f_payment_term"
143
- placeholder='请选择'
144
- condition="cr.f_payment_term = '{}'"
145
- :value.sync="model.f_payment_term"
146
- :options='$parent.$parent.paymentTerm'
147
- class="select select_list"
148
- :value-single="true"
149
- close-on-select ></v-select>
150
- </div>
151
- <div class="form-group col-sm-3">
152
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
153
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
154
- v-on:keyup.enter="$parent.$parent.search()"
155
- condition="cr.f_payer_number = '{}'">
156
- </div>
157
- <div class="form-group col-sm-3">
158
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
159
- <res-select
160
- restype='department'
161
- :parentresid="$parent.$parent.curorgid"
162
- :initresid='$parent.$parent.curdepid'
163
- @res-select="$parent.$parent.getdep"
164
- :is-mul="true"
165
- ></res-select>
166
- </div>
167
- <div class="form-group col-sm-3">
168
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
169
- <res-select
170
- restype='user'
171
- :parentresid="$parent.$parent.curdepid"
172
- :initresid='$parent.$parent.curuserid'
173
- @res-select="$parent.$parent.getuser"
174
- :is-mul="true"></res-select>
175
- </div>
176
- <div class="form-group col-sm-3">
177
- <label class="font_normal_body">缴费状态:</label>
178
- <v-select
179
- v-model="model.f_charge_status"
180
- placeholder='请选择'
181
- condition="cr.f_charge_status = '{}'"
182
- :value.sync="model.f_charge_status"
183
- :options='$parent.$parent.chargeStatus'
184
- class="select select_list"
185
- :value-single="true"
186
- close-on-select ></v-select>
187
- </div>
188
- <div class="form-group col-sm-3">
189
- <label class="font_normal_body">服务人:</label>
190
- <v-select
191
- v-model="model.f_servicer"
192
- placeholder='请选择'
193
- condition="a.f_servicer = '{}'"
194
- :value.sync="model.f_servicer"
195
- class="select select_list"
196
- :options='$parent.$parent.servicerList'
197
- :value-single="true"
198
- close-on-select ></v-select>
199
- </div>
200
- <div class="form-group col-sm-3">
201
- <label class="font_normal_body">报建发起人:</label>
202
- <v-select
203
- v-model="model.f_operator"
204
- placeholder='请选择'
205
- condition="a.f_operator = '{}'"
206
- :value.sync="model.f_operator"
207
- class="select select_list"
208
- :options='$parent.$parent.operatorList'
209
- :value-single="true"
210
- close-on-select ></v-select>
211
- </div>
212
- <div class="form-group col-sm-3">
213
- <label class="font_normal_body">是否确认:</label>
214
- <v-select
215
- v-model="model.f_confirm"
216
- placeholder='请选择'
217
- :value.sync="model.f_confirm"
218
- class="select select_list"
219
- :options='$parent.$parent.confirms'
220
- :value-single="true"
221
- close-on-select ></v-select>
222
- </div>
223
- <div class="form-group col-sm-3">
224
- <label class="font_normal_body">确&ensp;认&ensp;人:</label>
225
- <input type="text" style="width: 60%"
226
- class="input_search"
227
- placeholder='确认人'
228
- v-model="model.f_confirm_person"
229
- condition="cr.f_confirm_person like '%{}%'">
230
- </div>
231
- <div class="form-group col-sm-3">
232
- <label class="font_normal_body">确认时间:</label>
233
- <datepicker id="startDate" placeholder="开始日期"
234
- style="width: 60%!important;"
235
- v-model="model.f_confirm_date"
236
- :value.sync="model.f_confirm_date"
237
- :format="'yyyy-MM-dd 00:00:00'"
238
- :show-reset-button="true"
239
- condition="cr.f_confirm_date >= '{}'">
240
- </datepicker>
241
- </div>
242
- <div class="form-group col-sm-3">
243
- <label class="font_normal_body">确认时间:</label>
244
- <datepicker id="startDate" placeholder="结束日期"
245
- style="width: 60%!important;"
246
- v-model="model.f_confirm_date"
247
- :value.sync="model.f_confirm_date"
248
- :format="'yyyy-MM-dd 23:59:59'"
249
- :show-reset-button="true"
250
- condition="cr.f_confirm_date <= '{}'">
251
- </datepicker>
252
- </div>
253
- <div class="form-group col-sm-3">
254
- <label class="font_normal_body">用气性质:</label>
255
- <v-select
256
- v-model="model.f_gas_nature"
257
- placeholder='请选择'
258
- condition="a.f_gas_nature= '{}'"
259
- :value.sync="model.f_gas_nature"
260
- class="select select_list"
261
- :options='$parent.$parent.gasNature'
262
- :value-single="true"
263
- close-on-select ></v-select>
264
- </div>
265
- </div>
266
- </div>
267
- </criteria>
268
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
269
- <template partial='head'>
270
- <tr>
271
- <th style="white-space: nowrap;">序号</th>
272
- <th style="white-space: nowrap;">工程编号</th>
273
- <th style="white-space: nowrap;">合同编号</th>
274
- <th style="white-space: nowrap;">合同金额</th>
275
- <th style="white-space: nowrap;">报建类型</th>
276
- <th style="white-space: nowrap;">报建性质</th>
277
- <th style="white-space: nowrap;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">收费环节</th>
278
- <th style="white-space: nowrap;">用户名称</th>
279
- <th style="white-space: nowrap;">用户电话</th>
280
- <th style="white-space: nowrap;">用户地址</th>
281
- <th style="white-space: nowrap;">身份证号</th>
282
- <th style="white-space: nowrap;">用气性质</th>
283
- <th style="white-space: nowrap;">缴费编码</th>
284
- <th style="white-space: nowrap;">收费项目</th>
285
- <th style="white-space: nowrap;">收费金额(退款金额)</th>
286
- <th style="white-space: nowrap;">付款方式</th>
287
- <th style="white-space: nowrap;">流水号</th>
288
- <th style="white-space: nowrap;">服务人</th>
289
- <th style="white-space: nowrap;">报建发起人</th>
290
- <th style="white-space: nowrap;">收费人员(退款人员)</th>
291
- <th style="white-space: nowrap;">收费日期(退款日期)</th>
292
- <th style="white-space: nowrap;">确认人</th>
293
- <th style="white-space: nowrap;">确认日期</th>
294
- <th style="white-space: nowrap;">备注</th>
295
- <th style="white-space: nowrap;">实际收费时间</th>
296
- <th style="white-space: nowrap;">状态</th>
297
- </tr>
298
- </template>
299
- <template partial='body'>
300
- <tr >
301
- <td style="text-align: center;">
302
- <nobr><font>{{$index+1}}</font></nobr>
303
- </td>
304
- <td style="text-align: center;">
305
- <nobr><font>{{row.f_apply_num}}</font></nobr>
306
- </td>
307
- <td style="text-align: center;">
308
- <nobr><font>{{row.f_contract_number}}</font></nobr>
309
- </td>
310
- <td style="text-align: center;">
311
- <nobr><font>{{row.f_contract_money}}</font></nobr>
312
- </td>
313
- <td style="text-align: center;">
314
- <nobr><font>{{row.f_apply_type}}</font></nobr>
315
- </td>
316
- <td style="text-align: center;">
317
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
318
- </td>
319
- <td style="text-align: center;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">
320
- <nobr><font>
321
- <a @click="$parent.$parent.$parent.showCharges(row)">{{row.defname}}</a>
322
- </font></nobr>
323
- </td>
324
- <td style="text-align: center;">
325
- <nobr><font>{{row.f_user_name}}</font></nobr>
326
- </td>
327
- <td style="text-align: center;">
328
- <nobr><font>{{row.f_phone}}</font></nobr>
329
- </td>
330
- <td style="text-align: center;">
331
- <nobr><font>{{row.f_address}}</font></nobr>
332
- </td>
333
- <td style="text-align: center;">
334
- <nobr><font>{{row.f_idnumber}}</font></nobr>
335
- </td>
336
- <td style="text-align: center;">
337
- <nobr><font>{{row.f_gas_nature}}</font></nobr>
338
- </td>
339
- <td style="text-align: center;">
340
- <nobr><font>{{row.f_charge_number}}</font></nobr>
341
- </td>
342
- <td style="text-align: center;">
343
- <nobr><font>{{row.f_payment_term}}</font></nobr>
344
- </td>
345
- <td style="text-align: center;">
346
- <nobr><font>{{row.f_charge_money}}</font></nobr>
347
- </td>
348
- <td style="text-align: center;">
349
- <nobr><font>{{row.f_payment_method}}</font></nobr>
350
- </td>
351
- <td style="text-align: center;">
352
- <nobr><font>{{row.f_payer_number}}</font></nobr>
353
- </td>
354
- <td style="text-align: center;">
355
- <nobr><font>{{row.f_servicer}}</font></nobr>
356
- </td>
357
- <td style="text-align: center;">
358
- <nobr><font>{{row.f_operator}}</font></nobr>
359
- </td>
360
- <td style="text-align: center;">
361
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
362
- </td>
363
- <td style="text-align: center;">
364
- <nobr><font>{{row.f_charge_date}}</font></nobr>
365
- </td>
366
- <td style="text-align: center;">
367
- <nobr><font>{{row.f_confirm_person}}</font></nobr>
368
- </td>
369
- <td style="text-align: center;">
370
- <nobr><font>{{row.f_confirm_date}}</font></nobr>
371
- </td>
372
- <td style="text-align: center;">
373
- <nobr><font>{{row.f_charge_remarks}}</font></nobr>
374
- </td>
375
- <td style="text-align: center;">
376
- <nobr><font>{{row.f_actual_date}}</font></nobr>
377
- </td>
378
- <td style="text-align: center;">
379
- <nobr><font>{{row.f_charge_status}}</font></nobr>
380
- </td>
381
- </tr>
382
- </template>
383
- </data-grid>
384
- </criteria-paged>
385
- <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
386
- <header slot="modal-header" class="modal-header">
387
- <button type="button" class="close" @click="showCharge = false"><span>&times;</span></button>
388
- <h4 class="modal-title">收费明细</h4>
389
- </header>
390
- <article slot="modal-body" class="modal-body clearfix">
391
- <div class="form-group col-sm-12">
392
- <label class="col-sm-2 control-label">收费环节:</label>
393
- <div class="col-sm-10">
394
- <input-select width="100%" class="select select_list" placeholder='请选择'
395
- v-model="charge.defname"
396
- :value.sync="charge.defname"
397
- :options='defnames'
398
- :value-single="true"
399
- close-on-select ></input-select>
400
- </div>
401
- </div>
402
- </article>
403
- <footer slot="modal-footer" class="modal-footer">
404
- <button type="button" class="btn btn-primary" @click="savedefname()">确认修改</button>
405
- </footer>
406
- </modal>
407
- </template>
408
-
409
- <script>
410
- import {PagedList} from 'vue-client'
411
- import {HttpResetClass} from 'vue-client'
412
- import {isEmpty} from "../../../components/Util";
413
- export default {
414
- title: '报建收费列表',
415
- data () {
416
- return {
417
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
418
- f_charge_money: 0
419
- }),
420
- curorgid: [this.$login.f.orgid],
421
- curdepid: [],
422
- servicerList:[],
423
- operatorList:[],
424
- curuserid: [],
425
- gasNature:[{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
426
- paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
427
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
428
- applyNatures: [{label: '全部', value: ''}], // 报建性质
429
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
430
- chargeStatus: [
431
- {label: '全部', value: ''},
432
- {label: '有效', value: '有效'},
433
- {label: '作废', value: '作废'},
434
- {label: '退款', value: '退款'}
435
- ],
436
- confirms: [
437
- {label: '全部', value: ''},
438
- {label: '是', value: '是'},
439
- {label: '否', value: '否'}
440
- ],
441
- criteriaShow: false,
442
- chargeAll: {
443
- count: 0,
444
- sum: 0
445
- },
446
- showCharge: false,
447
- charge: {},
448
- defnames: [],
449
- getfield: {
450
- 'f_apply_num': '工程编号',
451
- 'f_contract_number': '合同编号',
452
- 'f_contract_money': '合同金额',
453
- 'f_apply_type': '报建类型',
454
- 'f_apply_nature': '报建性质',
455
- 'f_user_name': '用户名称',
456
- 'f_phone': '用户电话',
457
- 'f_address': '用户地址',
458
- 'f_idnumber': '身份证号',
459
- 'f_charge_number': '缴费编码',
460
- 'f_charge_money': '收费金额',
461
- 'f_payment_method': '付款方式',
462
- 'f_payer_number': '流水号',
463
- 'f_charge_collectors': '收费人员',
464
- 'f_charge_date': '收费日期',
465
- 'f_actual_date': '实际收费时间',
466
- 'f_confirm_person': '确认人',
467
- 'f_confirm_date': '确认时间',
468
- 'f_charge_remarks': '备注',
469
- 'f_charge_status': '状态',
470
- 'f_gas_nature': '用气性质'
471
- }
472
- }
473
- },
474
- ready () {
475
- // 调用查询
476
- this.search()
477
- this.getservicer()
478
- this.getapplyoperator()
479
- },
480
- methods: {
481
- showCharges(row){
482
- this.showCharge = true
483
- this.charge = row
484
- this.defnames = this.$appdata.getParam(row.f_apply_type + '付款预设')
485
- },
486
- savedefname(){
487
- if(isEmpty(this.charge.defname )){
488
- return this.$showMessage('收费环节不能为空!!')
489
- }
490
- new HttpResetClass().load('POST', 'apply/rs/entity/t_charge_record', {
491
- id: this.charge.id,
492
- defname: this.charge.defname,
493
- version: this.charge.version
494
- }, {resolveMsg: '修改成功', rejectMsg: '修改失败'})
495
- .then(res => {
496
- this.showCharge = false
497
- this.search()
498
- })
499
- },
500
- async getservicer(){
501
- let data = {
502
- tablename: 't_user',
503
- condition: `1=1`
504
- }
505
- let http = new HttpResetClass()
506
- let res = await http.load(
507
- 'POST',
508
- `rs/sql/apply_singleTable`,
509
- {data: data},
510
- {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
511
- )
512
- res.data.forEach(item => {
513
- this.servicerList.push({
514
- 'label': item.name,
515
- 'value': item.name
516
- })
517
- })},
518
-
519
- async getapplyoperator(){
520
- let data = {
521
- condition: `1=1`
522
- }
523
- let http = new HttpResetClass()
524
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
525
- res.data.forEach(item => {
526
- this.operatorList.push({
527
- 'label': item.f_operator,
528
- 'value': item.f_operator
529
- })
530
- })},
531
-
532
- applyTypeChange () {
533
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
534
- this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
535
- } else {
536
- this.applyNatures = [{label: '全部', value: ''}]
537
- }
538
- },
539
- clear () {
540
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
541
- this.$refs.cp.$refs.cri.model[key] = ''
542
- })
543
- this.curdepid = []
544
- this.curuserid = []
545
- },
546
- searchCondition (args) {
547
- args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
548
- if (this.curdepid.length > 0) {
549
- args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
550
- }
551
- if (this.curuserid.length > 0) {
552
- args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
553
- }
554
- if (args.model.f_confirm){
555
- if (args.model.f_confirm == '是'){
556
- args.condition = args.condition + ` and cr.f_confirm_person is not null`
557
- }
558
- if (args.model.f_confirm == '否'){
559
- args.condition = args.condition + ` and cr.f_confirm_person is null`
560
- }
561
-
562
- }
563
- this.model.search(args.condition, args.model)
564
- },
565
- // 查询
566
- search () {
567
- this.$refs.cp.$refs.cri.search()
568
- this.getChargeAll()
569
- this.getapplyoperator()
570
- },
571
- async getChargeAll () {
572
- let http = new HttpResetClass()
573
- let data = {
574
- condition: this.model.condition
575
- }
576
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
577
-
578
- this.chargeAll = res.data[0]
579
- },
580
- getuser (val) {
581
- if (val.length <= 0) {
582
- return
583
- }
584
- this.curuserid = val
585
- this.search()
586
- },
587
- getdep (val) {
588
- if (val.length <= 0) {
589
- return
590
- }
591
- this.curdepid = val
592
- this.curuserid = []
593
- this.search()
594
- },
595
- getorg (val) {
596
- if (val.length <= 0) {
597
- return
598
- }
599
- this.curorgid = val
600
- this.curdepid = []
601
- this.curuserid = []
602
- this.search()
603
- },
604
-
605
- },
606
- computed: {
607
- getCondition () {
608
- return {
609
- condition: this.model.condition
610
- }
611
- }
612
- }
613
- }
614
- </script>
615
-
616
- <style scoped>
617
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">组织机构:</label>
8
+ <res-select
9
+ restype='organization'
10
+ :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ :is-mul="false"
13
+ ></res-select>
14
+ </div>
15
+ <div class="form-group col-sm-3">
16
+ <label for="startDate" class="font_normal_body">开始时间:</label>
17
+ <datepicker id="startDate" placeholder="开始日期"
18
+ style="width: 60%!important;"
19
+ v-model="model.startDate"
20
+ :value.sync="model.startDate"
21
+ :format="'yyyy-MM-dd 00:00:00'"
22
+ :show-reset-button="true"
23
+ condition="cr.f_charge_date >= '{}'">
24
+ </datepicker>
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label for="endDate" class="font_normal_body">结束时间:</label>
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ style="width: 60%!important;"
30
+ v-model="model.endDate"
31
+ :value.sync="model.endDate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ :show-reset-button="true"
34
+ condition="cr.f_charge_date <= '{}'">
35
+ </datepicker>
36
+ </div>
37
+ <div class="form-group col-sm-3 button-range">
38
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
+ <export-excel v-if="$parent.$parent.projectImport" :data="$parent.$parent.getCondition"
41
+ :field="$parent.$parent.getfield"
42
+ sqlurl="rs/logic/applyExportfile"
43
+ sql-name="getApplyCharge"
44
+ template-name='收费记录信息导出'
45
+ :choose-col="true"></export-excel>
46
+ <div
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
+ class="button_spacing"
50
+ style="float: right">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body">用户编号:</label>
57
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
58
+ v-on:keyup.enter="$parent.$parent.search()"
59
+ condition="f_userinfo_code like '%{}%'">
60
+ </div>
61
+ <div class="form-group col-sm-3">
62
+ <label class="font_normal_body">工程编号:</label>
63
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
64
+ v-on:keyup.enter="$parent.$parent.search()"
65
+ condition="a.f_apply_num like '%{}%'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">合同编号:</label>
69
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
70
+ v-on:keyup.enter="$parent.$parent.search()"
71
+ condition="a.f_contract_number like '%{}%'">
72
+ </div>
73
+ <div class="form-group col-sm-3">
74
+ <label class="font_normal_body">报建类型:</label>
75
+ <v-select
76
+ v-model="model.f_apply_type"
77
+ placeholder='请选择'
78
+ condition="a.f_apply_type = '{}'"
79
+ :value.sync="model.f_apply_type"
80
+ :options='$parent.$parent.applytype'
81
+ class="select select_list"
82
+ :value-single="true"
83
+ @change="$parent.$parent.applyTypeChange()"
84
+ close-on-select ></v-select>
85
+ </div>
86
+ <div class="form-group col-sm-3">
87
+ <label class="font_normal_body">报建性质:</label>
88
+ <v-select
89
+ v-model="model.f_apply_nature"
90
+ placeholder='报建性质'
91
+ condition="a.f_apply_nature = '{}'"
92
+ :value.sync="model.f_apply_nature"
93
+ :options='$parent.$parent.applyNatures'
94
+ class="select select_list"
95
+ :value-single="true"
96
+ close-on-select ></v-select>
97
+ </div>
98
+ <div class="form-group col-sm-3">
99
+ <label class="font_normal_body">用户名称:</label>
100
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
101
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body">用户电话:</label>
105
+ <input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
106
+ v-on:keyup.enter="$parent.$parent.search()"
107
+ condition="a.f_phone like '%{}%'">
108
+ </div>
109
+ <div class="form-group col-sm-3">
110
+ <label class="font_normal_body">用户地址:</label>
111
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_address like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">身份证号:</label>
117
+ <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
118
+ v-on:keyup.enter="$parent.$parent.search()"
119
+ condition="a.f_idnumber like '%{}%'">
120
+ </div>
121
+ <div class="form-group col-sm-3">
122
+ <label class="font_normal_body">缴费编码:</label>
123
+ <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
124
+ v-on:keyup.enter="$parent.$parent.search()"
125
+ condition="cr.f_charge_number like '%{}%'">
126
+ </div>
127
+ <div class="form-group col-sm-3">
128
+ <label class="font_normal_body">付款方式:</label>
129
+ <v-select
130
+ v-model="model.f_payment_method"
131
+ placeholder='请选择'
132
+ condition="cr.f_payment_method = '{}'"
133
+ :value.sync="model.f_payment_method"
134
+ :options='$parent.$parent.paymentMethod'
135
+ class="select select_list"
136
+ :value-single="true"
137
+ close-on-select ></v-select>
138
+ </div>
139
+ <div class="form-group col-sm-3">
140
+ <label class="font_normal_body">收费项目:</label>
141
+ <v-select
142
+ v-model="model.f_payment_term"
143
+ placeholder='请选择'
144
+ condition="cr.f_payment_term = '{}'"
145
+ :value.sync="model.f_payment_term"
146
+ :options='$parent.$parent.paymentTerm'
147
+ class="select select_list"
148
+ :value-single="true"
149
+ close-on-select ></v-select>
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
153
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
154
+ v-on:keyup.enter="$parent.$parent.search()"
155
+ condition="cr.f_payer_number = '{}'">
156
+ </div>
157
+ <div class="form-group col-sm-3">
158
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
159
+ <res-select
160
+ restype='department'
161
+ :parentresid="$parent.$parent.curorgid"
162
+ :initresid='$parent.$parent.curdepid'
163
+ @res-select="$parent.$parent.getdep"
164
+ :is-mul="true"
165
+ ></res-select>
166
+ </div>
167
+ <div class="form-group col-sm-3">
168
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
169
+ <res-select
170
+ restype='user'
171
+ :parentresid="$parent.$parent.curdepid"
172
+ :initresid='$parent.$parent.curuserid'
173
+ @res-select="$parent.$parent.getuser"
174
+ :is-mul="true"></res-select>
175
+ </div>
176
+ <div class="form-group col-sm-3">
177
+ <label class="font_normal_body">缴费状态:</label>
178
+ <v-select
179
+ v-model="model.f_charge_status"
180
+ placeholder='请选择'
181
+ condition="cr.f_charge_status = '{}'"
182
+ :value.sync="model.f_charge_status"
183
+ :options='$parent.$parent.chargeStatus'
184
+ class="select select_list"
185
+ :value-single="true"
186
+ close-on-select ></v-select>
187
+ </div>
188
+ <div class="form-group col-sm-3">
189
+ <label class="font_normal_body">服务人:</label>
190
+ <v-select
191
+ v-model="model.f_servicer"
192
+ placeholder='请选择'
193
+ condition="a.f_servicer = '{}'"
194
+ :value.sync="model.f_servicer"
195
+ class="select select_list"
196
+ :options='$parent.$parent.servicerList'
197
+ :value-single="true"
198
+ close-on-select ></v-select>
199
+ </div>
200
+ <div class="form-group col-sm-3">
201
+ <label class="font_normal_body">报建发起人:</label>
202
+ <v-select
203
+ v-model="model.f_operator"
204
+ placeholder='请选择'
205
+ condition="a.f_operator = '{}'"
206
+ :value.sync="model.f_operator"
207
+ class="select select_list"
208
+ :options='$parent.$parent.operatorList'
209
+ :value-single="true"
210
+ close-on-select ></v-select>
211
+ </div>
212
+ <div class="form-group col-sm-3">
213
+ <label class="font_normal_body">是否确认:</label>
214
+ <v-select
215
+ v-model="model.f_confirm"
216
+ placeholder='请选择'
217
+ :value.sync="model.f_confirm"
218
+ class="select select_list"
219
+ :options='$parent.$parent.confirms'
220
+ :value-single="true"
221
+ close-on-select ></v-select>
222
+ </div>
223
+ <div class="form-group col-sm-3">
224
+ <label class="font_normal_body">确&ensp;认&ensp;人:</label>
225
+ <input type="text" style="width: 60%"
226
+ class="input_search"
227
+ placeholder='确认人'
228
+ v-model="model.f_confirm_person"
229
+ condition="cr.f_confirm_person like '%{}%'">
230
+ </div>
231
+ <div class="form-group col-sm-3">
232
+ <label class="font_normal_body">确认时间:</label>
233
+ <datepicker id="startDate" placeholder="开始日期"
234
+ style="width: 60%!important;"
235
+ v-model="model.f_confirm_date"
236
+ :value.sync="model.f_confirm_date"
237
+ :format="'yyyy-MM-dd 00:00:00'"
238
+ :show-reset-button="true"
239
+ condition="cr.f_confirm_date >= '{}'">
240
+ </datepicker>
241
+ </div>
242
+ <div class="form-group col-sm-3">
243
+ <label class="font_normal_body">确认时间:</label>
244
+ <datepicker id="startDate" placeholder="结束日期"
245
+ style="width: 60%!important;"
246
+ v-model="model.f_confirm_date"
247
+ :value.sync="model.f_confirm_date"
248
+ :format="'yyyy-MM-dd 23:59:59'"
249
+ :show-reset-button="true"
250
+ condition="cr.f_confirm_date <= '{}'">
251
+ </datepicker>
252
+ </div>
253
+ <div class="form-group col-sm-3">
254
+ <label class="font_normal_body">实际时间:</label>
255
+ <datepicker id="startDate" placeholder="开始日期"
256
+ style="width: 60%!important;"
257
+ v-model="model.f_shiji_date"
258
+ :value.sync="model.f_shiji_date"
259
+ :format="'yyyy-MM-dd 00:00:00'"
260
+ :show-reset-button="true"
261
+ condition="cr.f_actual_date >= '{}'">
262
+ </datepicker>
263
+ </div>
264
+ <div class="form-group col-sm-3">
265
+ <label class="font_normal_body">实际时间:</label>
266
+ <datepicker id="startDate" placeholder="结束日期"
267
+ style="width: 60%!important;"
268
+ v-model="model.f_shiji_enddate"
269
+ :value.sync="model.f_shiji_enddate"
270
+ :format="'yyyy-MM-dd 23:59:59'"
271
+ :show-reset-button="true"
272
+ condition="cr.f_actual_date <= '{}'">
273
+ </datepicker>
274
+ </div>
275
+ <div class="form-group col-sm-3">
276
+ <label class="font_normal_body">用气性质:</label>
277
+ <v-select
278
+ v-model="model.f_gas_nature"
279
+ placeholder='请选择'
280
+ condition="a.f_gas_nature= '{}'"
281
+ :value.sync="model.f_gas_nature"
282
+ class="select select_list"
283
+ :options='$parent.$parent.gasNature'
284
+ :value-single="true"
285
+ close-on-select ></v-select>
286
+ </div>
287
+ </div>
288
+ </div>
289
+ </criteria>
290
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
291
+ <template partial='head'>
292
+ <tr>
293
+ <th style="white-space: nowrap;">序号</th>
294
+ <th style="white-space: nowrap;">工程编号</th>
295
+ <th style="white-space: nowrap;">用户编号</th>
296
+ <th style="white-space: nowrap;">合同编号</th>
297
+ <th style="white-space: nowrap;">合同金额</th>
298
+ <th style="white-space: nowrap;">报建类型</th>
299
+ <th style="white-space: nowrap;">报建性质</th>
300
+ <th style="white-space: nowrap;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">收费环节</th>
301
+ <th style="white-space: nowrap;">用户名称</th>
302
+ <th style="white-space: nowrap;">用户电话</th>
303
+ <th style="white-space: nowrap;">用户地址</th>
304
+ <th style="white-space: nowrap;">身份证号</th>
305
+ <th style="white-space: nowrap;">用气性质</th>
306
+ <th style="white-space: nowrap;">缴费编码</th>
307
+ <th style="white-space: nowrap;">收费项目</th>
308
+ <th style="white-space: nowrap;">收费金额(退款金额)</th>
309
+ <th style="white-space: nowrap;">付款方式</th>
310
+ <th style="white-space: nowrap;">流水号</th>
311
+ <th style="white-space: nowrap;">服务人</th>
312
+ <th style="white-space: nowrap;">报建发起人</th>
313
+ <th style="white-space: nowrap;">收费人员(退款人员)</th>
314
+ <th style="white-space: nowrap;">收费日期(退款日期)</th>
315
+ <th style="white-space: nowrap;">确认人</th>
316
+ <th style="white-space: nowrap;">确认日期</th>
317
+ <th style="white-space: nowrap;">备注</th>
318
+ <th style="white-space: nowrap;">实际收费时间</th>
319
+ <th style="white-space: nowrap;">状态</th>
320
+ </tr>
321
+ </template>
322
+ <template partial='body'>
323
+ <tr >
324
+ <td style="text-align: center;">
325
+ <nobr><font>{{$index+1}}</font></nobr>
326
+ </td>
327
+ <td style="text-align: center;">
328
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
329
+ </td>
330
+ <td style="text-align: center;">
331
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
332
+ </td>
333
+ <td style="text-align: center;">
334
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
335
+ </td>
336
+ <td style="text-align: center;">
337
+ <nobr><font>{{row.f_contract_money}}</font></nobr>
338
+ </td>
339
+ <td style="text-align: center;">
340
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
341
+ </td>
342
+ <td style="text-align: center;">
343
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
344
+ </td>
345
+ <td style="text-align: center;" v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('报建收费')">
346
+ <nobr><font>
347
+ <a @click="$parent.$parent.$parent.showCharges(row)">{{row.defname}}</a>
348
+ </font></nobr>
349
+ </td>
350
+ <td style="text-align: center;">
351
+ <nobr><font>{{row.f_user_name}}</font></nobr>
352
+ </td>
353
+ <td style="text-align: center;">
354
+ <nobr><font>{{row.f_phone}}</font></nobr>
355
+ </td>
356
+ <td style="text-align: center;">
357
+ <nobr><font>{{row.f_address}}</font></nobr>
358
+ </td>
359
+ <td style="text-align: center;">
360
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
361
+ </td>
362
+ <td style="text-align: center;">
363
+ <nobr><font>{{row.f_gas_nature}}</font></nobr>
364
+ </td>
365
+ <td style="text-align: center;">
366
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
367
+ </td>
368
+ <td style="text-align: center;">
369
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
370
+ </td>
371
+ <td style="text-align: center;">
372
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
373
+ </td>
374
+ <td style="text-align: center;">
375
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
376
+ </td>
377
+ <td style="text-align: center;">
378
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
379
+ </td>
380
+ <td style="text-align: center;">
381
+ <nobr><font>{{row.f_servicer}}</font></nobr>
382
+ </td>
383
+ <td style="text-align: center;">
384
+ <nobr><font>{{row.f_operator}}</font></nobr>
385
+ </td>
386
+ <td style="text-align: center;">
387
+ <nobr><font>{{row.f_charge_collectors}}</font></nobr>
388
+ </td>
389
+ <td style="text-align: center;">
390
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
391
+ </td>
392
+ <td style="text-align: center;">
393
+ <nobr><font>{{row.f_confirm_person}}</font></nobr>
394
+ </td>
395
+ <td style="text-align: center;">
396
+ <nobr><font>{{row.f_confirm_date}}</font></nobr>
397
+ </td>
398
+ <td style="text-align: center;">
399
+ <nobr><font>{{row.f_charge_remarks}}</font></nobr>
400
+ </td>
401
+ <td style="text-align: center;">
402
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
403
+ </td>
404
+ <td style="text-align: center;">
405
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
406
+ </td>
407
+ </tr>
408
+ </template>
409
+ </data-grid>
410
+ </criteria-paged>
411
+ <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
412
+ <header slot="modal-header" class="modal-header">
413
+ <button type="button" class="close" @click="showCharge = false"><span>&times;</span></button>
414
+ <h4 class="modal-title">收费明细</h4>
415
+ </header>
416
+ <article slot="modal-body" class="modal-body clearfix">
417
+ <div class="form-group col-sm-12">
418
+ <label class="col-sm-2 control-label">收费环节:</label>
419
+ <div class="col-sm-10">
420
+ <input-select width="100%" class="select select_list" placeholder='请选择'
421
+ v-model="charge.defname"
422
+ :value.sync="charge.defname"
423
+ :options='defnames'
424
+ :value-single="true"
425
+ close-on-select ></input-select>
426
+ </div>
427
+ </div>
428
+ </article>
429
+ <footer slot="modal-footer" class="modal-footer">
430
+ <button type="button" class="btn btn-primary" @click="savedefname()">确认修改</button>
431
+ </footer>
432
+ </modal>
433
+ </template>
434
+
435
+ <script>
436
+ import {PagedList} from 'vue-client'
437
+ import {HttpResetClass} from 'vue-client'
438
+ import {isEmpty} from "../../../components/Util";
439
+ export default {
440
+ title: '报建收费列表',
441
+ data () {
442
+ return {
443
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
444
+ f_charge_money: 0
445
+ }),
446
+ curorgid: [this.$login.f.orgid],
447
+ curdepid: [],
448
+ servicerList:[],
449
+ operatorList:[],
450
+ curuserid: [],
451
+ gasNature:[{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
452
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
453
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
454
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
455
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
456
+ chargeStatus: [
457
+ {label: '全部', value: ''},
458
+ ...this.$appdata.getParam('报建-缴费状态')
459
+ ],
460
+ confirms: [
461
+ {label: '全部', value: ''},
462
+ {label: '', value: ''},
463
+ {label: '', value: ''}
464
+ ],
465
+ criteriaShow: false,
466
+ chargeAll: {
467
+ count: 0,
468
+ sum: 0
469
+ },
470
+ showCharge: false,
471
+ charge: {},
472
+ defnames: [],
473
+ getfield: {
474
+ 'f_apply_num': '工程编号',
475
+ 'f_contract_number': '合同编号',
476
+ 'f_contract_money': '合同金额',
477
+ 'f_apply_type': '报建类型',
478
+ 'f_apply_nature': '报建性质',
479
+ 'f_userinfo_code': '用户编号',
480
+ 'f_user_name': '用户名称',
481
+ 'f_phone': '用户电话',
482
+ 'f_address': '用户地址',
483
+ 'f_idnumber': '身份证号',
484
+ 'f_charge_number': '缴费编码',
485
+ 'f_charge_money': '收费金额',
486
+ 'f_payment_method': '付款方式',
487
+ 'f_payer_number': '流水号',
488
+ 'f_charge_collectors': '收费人员',
489
+ 'f_charge_date': '收费日期',
490
+ 'f_actual_date': '实际收费时间',
491
+ 'f_confirm_person': '确认人',
492
+ 'f_confirm_date': '确认时间',
493
+ 'f_charge_remarks': '备注',
494
+ 'f_charge_status': '状态',
495
+ 'f_gas_nature': '用气性质'
496
+ }
497
+ }
498
+ },
499
+ ready () {
500
+ // 调用查询
501
+ this.search()
502
+ this.getservicer()
503
+ this.getapplyoperator()
504
+ },
505
+ methods: {
506
+ showCharges(row){
507
+ this.showCharge = true
508
+ this.charge = row
509
+ this.defnames = this.$appdata.getParam(row.f_apply_type + '付款预设')
510
+ },
511
+ savedefname(){
512
+ if(isEmpty(this.charge.defname )){
513
+ return this.$showMessage('收费环节不能为空!!')
514
+ }
515
+ new HttpResetClass().load('POST', 'apply/rs/entity/t_charge_record', {
516
+ id: this.charge.id,
517
+ defname: this.charge.defname,
518
+ version: this.charge.version
519
+ }, {resolveMsg: '修改成功', rejectMsg: '修改失败'})
520
+ .then(res => {
521
+ this.showCharge = false
522
+ this.search()
523
+ })
524
+ },
525
+ async getservicer(){
526
+ let data = {
527
+ tablename: 't_user',
528
+ condition: `1=1`
529
+ }
530
+ let http = new HttpResetClass()
531
+ let res = await http.load(
532
+ 'POST',
533
+ `rs/sql/apply_singleTable`,
534
+ {data: data},
535
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
536
+ )
537
+ res.data.forEach(item => {
538
+ this.servicerList.push({
539
+ 'label': item.name,
540
+ 'value': item.name
541
+ })
542
+ })},
543
+
544
+ async getapplyoperator(){
545
+ let data = {
546
+ condition: `1=1`
547
+ }
548
+ let http = new HttpResetClass()
549
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
550
+ res.data.forEach(item => {
551
+ this.operatorList.push({
552
+ 'label': item.f_operator,
553
+ 'value': item.f_operator
554
+ })
555
+ })},
556
+
557
+ applyTypeChange () {
558
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
559
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
560
+ } else {
561
+ this.applyNatures = [{label: '全部', value: ''}]
562
+ }
563
+ },
564
+ clear () {
565
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
566
+ this.$refs.cp.$refs.cri.model[key] = ''
567
+ })
568
+ this.curdepid = []
569
+ this.curuserid = []
570
+ },
571
+ searchCondition (args) {
572
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
573
+ if (this.curdepid.length > 0) {
574
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
575
+ }
576
+ if (this.curuserid.length > 0) {
577
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
578
+ }
579
+ if (args.model.f_confirm){
580
+ if (args.model.f_confirm == '是'){
581
+ args.condition = args.condition + ` and cr.f_confirm_person is not null`
582
+ }
583
+ if (args.model.f_confirm == '否'){
584
+ args.condition = args.condition + ` and cr.f_confirm_person is null`
585
+ }
586
+
587
+ }
588
+ this.model.search(args.condition, args.model)
589
+ },
590
+ // 查询
591
+ search () {
592
+ this.$refs.cp.$refs.cri.search()
593
+ this.getChargeAll()
594
+ this.getapplyoperator()
595
+ },
596
+ async getChargeAll () {
597
+ let http = new HttpResetClass()
598
+ let data = {
599
+ condition: this.model.condition
600
+ }
601
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
602
+
603
+ this.chargeAll = res.data[0]
604
+ },
605
+ getuser (val) {
606
+ if (val.length <= 0) {
607
+ return
608
+ }
609
+ this.curuserid = val
610
+ this.search()
611
+ },
612
+ getdep (val) {
613
+ if (val.length <= 0) {
614
+ return
615
+ }
616
+ this.curdepid = val
617
+ this.curuserid = []
618
+ this.search()
619
+ },
620
+ getorg (val) {
621
+ if (val.length <= 0) {
622
+ return
623
+ }
624
+ this.curorgid = val
625
+ this.curdepid = []
626
+ this.curuserid = []
627
+ this.search()
628
+ },
629
+
630
+ },
631
+ computed: {
632
+ getCondition () {
633
+ return {
634
+ condition: this.model.condition
635
+ }
636
+ },
637
+ projectImport () {
638
+ return this.$login.r.includes('收费明细-导出')
639
+ }
640
+ }
641
+ }
642
+ </script>
643
+
644
+ <style scoped>
645
+ </style>