apply-clients 3.5.4-97 → 3.5.4-98

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 (48) hide show
  1. package/build/dev-server.js +9 -6
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/components/android/AppTakePic.vue +182 -182
  5. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/ServiceView.vue +1028 -1026
  8. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  9. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  10. package/src/filiale/ancheng/android.js +7 -7
  11. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  12. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  13. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  14. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  15. package/src/filiale/fugou/android/printCharge.vue +162 -162
  16. package/src/filiale/fugou/android.js +16 -16
  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/devicesManagement.vue +483 -483
  21. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  22. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  23. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  24. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  25. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  26. package/src/filiale/qianneng/android.js +15 -15
  27. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -639
  28. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  29. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -769
  30. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  31. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  32. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -434
  33. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1382
  34. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -334
  35. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -396
  36. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -813
  37. package/src/filiale/qianneng/pc.js +29 -29
  38. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  39. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  40. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1706 -1703
  41. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  42. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2115 -2112
  43. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1005
  44. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  45. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  46. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  47. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  48. package/src/main.js +23 -23
@@ -1,639 +1,639 @@
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 = '{}'">
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_type"
143
- placeholder='收费类型'
144
- condition="cr.f_payment_type = '{}'"
145
- :value.sync="model.f_payment_type"
146
- :options='$parent.$parent.paymenttype'
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">收费项目:</label>
153
- <v-select
154
- v-model="model.f_payment_term"
155
- placeholder='请选择'
156
- condition="cr.f_payment_term = '{}'"
157
- :value.sync="model.f_payment_term"
158
- :options='$parent.$parent.paymentTerm'
159
- class="select select_list"
160
- :value-single="true"
161
- close-on-select ></v-select>
162
- </div>
163
- <div class="form-group col-sm-3">
164
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
165
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
166
- v-on:keyup.enter="$parent.$parent.search()"
167
- condition="cr.f_payer_number = '{}'">
168
- </div>
169
- <div class="form-group col-sm-3">
170
- <label class="font_normal_body">入户证号:</label>
171
- <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
172
- v-on:keyup.enter="$parent.$parent.search()"
173
- condition="a.f_entry_number like '%{}%'">
174
- </div>
175
- <div class="form-group col-sm-3">
176
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
177
- <res-select
178
- restype='department'
179
- :parentresid="$parent.$parent.curorgid"
180
- :initresid='$parent.$parent.curdepid'
181
- @res-select="$parent.$parent.getdep"
182
- :is-mul="true"
183
- ></res-select>
184
- </div>
185
- <div class="form-group col-sm-3">
186
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
187
- <res-select
188
- restype='user'
189
- :parentresid="$parent.$parent.curdepid"
190
- :initresid='$parent.$parent.curuserid'
191
- @res-select="$parent.$parent.getuser"
192
- :is-mul="true"></res-select>
193
- </div>
194
- <div class="form-group col-sm-3">
195
- <label class="font_normal_body">缴费状态:</label>
196
- <v-select
197
- v-model="model.f_charge_status"
198
- placeholder='请选择'
199
- condition="cr.f_charge_status = '{}'"
200
- :value.sync="model.f_charge_status"
201
- :options='$parent.$parent.chargeStatus'
202
- class="select select_list"
203
- :value-single="true"
204
- close-on-select ></v-select>
205
- </div>
206
- <div class="form-group col-sm-3">
207
- <label class="font_normal_body">服&ensp;务&ensp;人:</label>
208
- <v-select
209
- v-model="model.f_servicer"
210
- placeholder='请选择'
211
- condition="a.f_servicer = '{}'"
212
- :value.sync="model.f_servicer"
213
- class="select select_list"
214
- :options='$parent.$parent.servicerList'
215
- :value-single="true"
216
- close-on-select ></v-select>
217
- </div>
218
- <div class="form-group col-sm-3">
219
- <label class="font_normal_body">报建发起人:</label>
220
- <v-select
221
- v-model="model.f_operator"
222
- placeholder='请选择'
223
- condition="a.f_operator = '{}'"
224
- :value.sync="model.f_operator"
225
- class="select select_list"
226
- :options='$parent.$parent.operatorList'
227
- :value-single="true"
228
- close-on-select ></v-select>
229
- </div>
230
- <div class="form-group col-sm-3">
231
- <label class="font_normal_body">可派工数>:</label>
232
- <input type="text" style="width: 60%" class="input_search" placeholder='可派工数>=' v-model="model.f_installed_households1"
233
- condition="cr.f_installed_households >= {}">
234
- </div>
235
- <div class="form-group col-sm-3">
236
- <label class="font_normal_body">可派工数<:</label>
237
- <input type="text" style="width: 60%" class="input_search" placeholder='可派工数<=' v-model="model.f_installed_households"
238
- condition="cr.f_installed_households <= {}">
239
- </div>
240
- <div class="form-group col-sm-3">
241
- <label class="font_normal_body">可派工数是否为空:</label>
242
- <v-select
243
- v-model="model.f_installed_households2"
244
- placeholder='请选择'
245
- condition="cr.f_installed_households {}"
246
- :value.sync="model.f_installed_households2"
247
- class="select select_list"
248
- :options='$parent.$parent.installedhousehold'
249
- :value-single="true"
250
- close-on-select ></v-select>
251
- </div>
252
- <div class="form-group col-sm-3">
253
- <label class="font_normal_body">备注:</label>
254
- <input type="text"
255
- style="width:60%"
256
- class="input_search"
257
- v-model="model.f_apply_remarks"
258
- v-on:keyup.enter="$parent.$parent.search()"
259
- condition="a.f_apply_remarks like '%{}%'" placeholder='备注'>
260
- </div>
261
- </div>
262
- </div>
263
- </criteria>
264
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
265
- <template partial='head'>
266
- <tr>
267
- <th style="white-space: nowrap;">序号</th>
268
- <th style="white-space: nowrap;">工程编号</th>
269
- <th style="white-space: nowrap;">合同编号</th>
270
- <th style="white-space: nowrap;">报建类型</th>
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;">入户证号</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
- </tr>
296
- </template>
297
- <template partial='body'>
298
- <tr >
299
- <td style="text-align: center;">
300
- <nobr><font>{{$index+1}}</font></nobr>
301
- </td>
302
- <td style="text-align: center;">
303
- <nobr><font>{{row.f_apply_num}}</font></nobr>
304
- </td>
305
- <td style="text-align: center;">
306
- <nobr><font>{{row.f_contract_number}}</font></nobr>
307
- </td>
308
- <td style="text-align: center;">
309
- <nobr><font>{{row.f_apply_type}}</font></nobr>
310
- </td>
311
- <td style="text-align: center;">
312
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
313
- </td>
314
- <td style="text-align: center;">
315
- <nobr><font>{{row.f_userinfo_code}}</font></nobr>
316
- </td>
317
- <td style="text-align: center;">
318
- <nobr v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('收费明细修改')" ><font><a @click="$parent.$parent.$parent.showCharges(row)">{{row.f_user_name}}</a></font></nobr>
319
- <nobr v-else><font>{{row.f_user_name}}</font></nobr>
320
- </td>
321
- <td style="text-align: center;">
322
- <nobr><font>{{row.f_phone}}</font></nobr>
323
- </td>
324
- <td style="text-align: center;">
325
- <nobr><font>{{row.f_address}}</font></nobr>
326
- </td>
327
- <td style="text-align: center;">
328
- <nobr><font>{{row.f_idnumber}}</font></nobr>
329
- </td>
330
- <td style="text-align: center;">
331
- <nobr><font>{{row.f_entry_number}}</font></nobr>
332
- </td>
333
- <td style="text-align: center;">
334
- <nobr><font>{{row.f_charge_number}}</font></nobr>
335
- </td>
336
- <td style="text-align: center;">
337
- <nobr><font>{{row.f_payment_type}}</font></nobr>
338
- </td>
339
- <td style="text-align: center;">
340
- <nobr><font>{{row.f_payment_term}}</font></nobr>
341
- </td>
342
- <td style="text-align: center;">
343
- <nobr><font>{{row.f_installed_households}}</font></nobr>
344
- </td>
345
- <td style="text-align: center;">
346
- <nobr><font>{{$parent.$parent.$parent.formatCurrency(row.f_charge_money,2)}}</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_void_staff}}</font></nobr>
368
- </td>
369
- <td style="text-align: center;">
370
- <nobr><font>{{row.f_void_remarks}}</font></nobr>
371
- </td>
372
- <td style="text-align: center;">
373
- <nobr><font>{{row.f_actual_date}}</font></nobr>
374
- </td>
375
- <td style="text-align: center;">
376
- <nobr><font>{{row.f_charge_remarks}}</font></nobr>
377
- </td>
378
- <td style="text-align: center;">
379
- <nobr><font>{{row.f_charge_status}}</font></nobr>
380
- </td>
381
- <td style="text-align: center;">
382
- <nobr><font>{{row.f_charge_remarks}}</font></nobr>
383
- </td>
384
- </tr>
385
- </template>
386
- </data-grid>
387
- </criteria-paged>
388
- <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
389
- <header slot="modal-header" class="modal-header">
390
- <button type="button" class="close" @click="showCharge = false"><span>&times;</span></button>
391
- <h4 class="modal-title">收费明细</h4>
392
- </header>
393
- <article slot="modal-body" class="modal-body clearfix">
394
- <div class="form-group col-sm-12">
395
- <label class="col-sm-2 control-label">收费项目:</label>
396
- <div class="col-sm-10">
397
- <input-select
398
- width="100%"
399
- class="select select_list"
400
- placeholder='请选择'
401
- v-model="charge.f_payment_term"
402
- :value.sync="charge.f_payment_term"
403
- :options='paymentTerm'
404
- :value-single="true"
405
- close-on-select ></input-select>
406
- </div>
407
- </div>
408
- <div class="form-group col-sm-12">
409
- <label class="col-sm-2 control-label">付款方式:</label>
410
- <div class="col-sm-10">
411
- <input-select
412
- placeholder='请选择' width="100%"
413
- v-model="charge.f_payment_method"
414
- :value.sync="charge.f_payment_method"
415
- :options='paymentMethod'
416
- class="select select_list"
417
- :value-single="true"
418
- close-on-select ></input-select>
419
- </div>
420
- </div>
421
- </article>
422
- <footer slot="modal-footer" class="modal-footer">
423
- <button type="button" class="btn btn-primary" @click="savedefname()">确认修改</button>
424
- </footer>
425
- </modal>
426
- </template>
427
-
428
- <script>
429
- import {PagedList} from 'vue-client'
430
- import {HttpResetClass} from 'vue-client'
431
- import {isEmpty} from"../../../components/Util";
432
- export default {
433
- title: '报建收费列表',
434
- data () {
435
- return {
436
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
437
- f_charge_money: 0
438
- }),
439
- curorgid: [this.$login.f.orgid],
440
- curdepid: [],
441
- servicerList:[],
442
- operatorList:[],
443
- curuserid: [],
444
- paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
445
- paymenttype :[{label: '全部', value: ''}, ...this.$appdata.getParam('报建-收费类型')],
446
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
447
- applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
448
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
449
- chargeStatus: [{label: '全部', value: ''}, ...this.$appdata.getParam('缴费状态')],
450
- installedhousehold: [{label: '全部', value: ''},{label: '是', value: 'is null'},{label: '否', value: 'is not null'}],
451
- criteriaShow: false,
452
- chargeAll: {
453
- count: 0,
454
- sum: 0
455
- },
456
- showCharge:false,
457
- charge:{},
458
- getfield: {
459
- 'f_apply_num': '工程编号',
460
- 'f_contract_number': '合同编号',
461
- 'f_apply_type': '报建类型',
462
- 'f_apply_nature': '报建性质',
463
- 'f_userinfo_code': '用户编号',
464
- 'f_user_name': '用户名称',
465
- 'f_phone': '用户电话',
466
- 'f_address': '用户地址',
467
- 'f_idnumber': '身份证号',
468
- 'f_entry_number': '入户证号',
469
- 'f_payment_type': '收费类型',
470
- 'f_payment_term': '收费项目',
471
- 'f_installed_households': '可派工数',
472
- 'f_charge_number': '缴费编码',
473
- 'f_charge_money': '收费金额',
474
- 'f_payment_method': '付款方式',
475
- 'f_payer_number': '流水号',
476
- 'f_charge_collectors': '收费人员',
477
- 'f_charge_date': '收费日期',
478
- 'f_actual_date': '实际收费时间',
479
- 'f_charge_remarks': '备注',
480
- 'f_charge_status': '状态',
481
- 'f_apply_remarks': '报装备注'
482
- }
483
- }
484
- },
485
- ready () {
486
- // 调用查询
487
- this.search()
488
- this.getservicer()
489
- this.getapplyoperator()
490
- },
491
- methods: {
492
- showCharges(row){
493
- this.showCharge = true
494
- this.charge = row
495
- },
496
- savedefname(){
497
- if(isEmpty(this.charge.f_payment_method )){
498
- return this.$showMessage('付款方式不能为空!!')
499
- }
500
- if(isEmpty(this.charge.f_payment_term )){
501
- return this.$showMessage('收费项目不能为空!!')
502
- }
503
- new HttpResetClass().load('POST', 'rs/entity/t_charge_record', {
504
- id: this.charge.id,
505
- f_payment_method: this.charge.f_payment_method,
506
- f_payment_term: this.charge.f_payment_term,
507
- version: this.charge.version
508
- }, {resolveMsg: '修改成功', rejectMsg: '修改失败'})
509
- .then(res => {
510
- this.showCharge = false
511
- this.search()
512
- })
513
- },
514
- formatCurrency(number, decimalPlaces) {
515
- var num = parseFloat(number);
516
- if (!isNaN(num)) {
517
- num = num.toFixed(decimalPlaces || 0); // 将金额保留指定位数,四舍五入
518
- num = num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); // 按照千分位进行分隔
519
- return num;
520
- } else {
521
- return ''; // 如果输入框中的值不是数字,则返回空字符串
522
- }
523
- },
524
- async getservicer(){
525
- let data = {
526
- tablename: 't_user',
527
- condition: `1=1`
528
- }
529
- let http = new HttpResetClass()
530
- let res = await http.load(
531
- 'POST',
532
- `rs/sql/apply_singleTable`,
533
- {data: data},
534
- {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
535
- )
536
- res.data.forEach(item => {
537
- this.servicerList.push({
538
- 'label': item.name,
539
- 'value': item.name
540
- })
541
- })},
542
-
543
- async getapplyoperator(){
544
- let data = {
545
- condition: `f_orgid in (${this.curorgid})`
546
- }
547
- let http = new HttpResetClass()
548
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
549
- res.data.forEach(item => {
550
- this.operatorList.push({
551
- 'label': item.f_operator,
552
- 'value': item.f_operator
553
- })
554
- })},
555
-
556
- applyTypeChange () {
557
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
558
- 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}性质`)]
559
- } else {
560
- this.applyNatures = [{label: '全部', value: ''}]
561
- }
562
- },
563
- clear () {
564
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
565
- this.$refs.cp.$refs.cri.model[key] = ''
566
- })
567
- this.curdepid = []
568
- this.curuserid = []
569
- },
570
- searchCondition (args) {
571
- args.condition = args.condition + ` and cr.f_orgid in ('${this.curorgid.join("','")}')`
572
- if (this.curdepid.length > 0) {
573
- args.condition = args.condition + ` and cr.f_depid in ('${this.curdepid.join("','")}')`
574
- }
575
- if (this.curuserid.length > 0) {
576
- args.condition = args.condition + ` and cr.f_charge_collectors_id in ('${this.curuserid.join("','")}')`
577
- }
578
- args.condition += ` and cr.f_charge_status !='作废'`
579
- this.model.search(args.condition, args.model)
580
- },
581
- // 查询
582
- search () {
583
- this.$refs.cp.$refs.cri.search()
584
- this.getChargeAll()
585
- this.getapplyoperator()
586
- },
587
- async getChargeAll () {
588
- let http = new HttpResetClass()
589
- let data = {
590
- condition: this.model.condition
591
- }
592
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
593
-
594
- this.chargeAll = res.data[0]
595
- },
596
- getuser (val) {
597
- if (val.length <= 0) {
598
- return
599
- }
600
- this.curuserid = val
601
- this.search()
602
- },
603
- getdep (val) {
604
- if (val.length <= 0) {
605
- return
606
- }
607
- this.curdepid = val
608
- this.curuserid = []
609
- this.search()
610
- },
611
- getorg (val) {
612
- if (val.length <= 0) {
613
- return
614
- }
615
- this.curorgid = val
616
- this.curdepid = []
617
- this.curuserid = []
618
- this.search()
619
- },
620
-
621
- },
622
- computed: {
623
- getCondition () {
624
- return {
625
- condition: this.model.condition
626
- }
627
- },
628
- paymentMethod() {
629
- return this.$appdata.getParam("付款方式")
630
- },
631
- paymentTerm() {
632
- return this.$appdata.getParam("收费项目")
633
- }
634
- }
635
- }
636
- </script>
637
-
638
- <style scoped>
639
- </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 :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 = '{}'">
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_type"
143
+ placeholder='收费类型'
144
+ condition="cr.f_payment_type = '{}'"
145
+ :value.sync="model.f_payment_type"
146
+ :options='$parent.$parent.paymenttype'
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">收费项目:</label>
153
+ <v-select
154
+ v-model="model.f_payment_term"
155
+ placeholder='请选择'
156
+ condition="cr.f_payment_term = '{}'"
157
+ :value.sync="model.f_payment_term"
158
+ :options='$parent.$parent.paymentTerm'
159
+ class="select select_list"
160
+ :value-single="true"
161
+ close-on-select ></v-select>
162
+ </div>
163
+ <div class="form-group col-sm-3">
164
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
165
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
166
+ v-on:keyup.enter="$parent.$parent.search()"
167
+ condition="cr.f_payer_number = '{}'">
168
+ </div>
169
+ <div class="form-group col-sm-3">
170
+ <label class="font_normal_body">入户证号:</label>
171
+ <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
172
+ v-on:keyup.enter="$parent.$parent.search()"
173
+ condition="a.f_entry_number like '%{}%'">
174
+ </div>
175
+ <div class="form-group col-sm-3">
176
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
177
+ <res-select
178
+ restype='department'
179
+ :parentresid="$parent.$parent.curorgid"
180
+ :initresid='$parent.$parent.curdepid'
181
+ @res-select="$parent.$parent.getdep"
182
+ :is-mul="true"
183
+ ></res-select>
184
+ </div>
185
+ <div class="form-group col-sm-3">
186
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
187
+ <res-select
188
+ restype='user'
189
+ :parentresid="$parent.$parent.curdepid"
190
+ :initresid='$parent.$parent.curuserid'
191
+ @res-select="$parent.$parent.getuser"
192
+ :is-mul="true"></res-select>
193
+ </div>
194
+ <div class="form-group col-sm-3">
195
+ <label class="font_normal_body">缴费状态:</label>
196
+ <v-select
197
+ v-model="model.f_charge_status"
198
+ placeholder='请选择'
199
+ condition="cr.f_charge_status = '{}'"
200
+ :value.sync="model.f_charge_status"
201
+ :options='$parent.$parent.chargeStatus'
202
+ class="select select_list"
203
+ :value-single="true"
204
+ close-on-select ></v-select>
205
+ </div>
206
+ <div class="form-group col-sm-3">
207
+ <label class="font_normal_body">服&ensp;务&ensp;人:</label>
208
+ <v-select
209
+ v-model="model.f_servicer"
210
+ placeholder='请选择'
211
+ condition="a.f_servicer = '{}'"
212
+ :value.sync="model.f_servicer"
213
+ class="select select_list"
214
+ :options='$parent.$parent.servicerList'
215
+ :value-single="true"
216
+ close-on-select ></v-select>
217
+ </div>
218
+ <div class="form-group col-sm-3">
219
+ <label class="font_normal_body">报建发起人:</label>
220
+ <v-select
221
+ v-model="model.f_operator"
222
+ placeholder='请选择'
223
+ condition="a.f_operator = '{}'"
224
+ :value.sync="model.f_operator"
225
+ class="select select_list"
226
+ :options='$parent.$parent.operatorList'
227
+ :value-single="true"
228
+ close-on-select ></v-select>
229
+ </div>
230
+ <div class="form-group col-sm-3">
231
+ <label class="font_normal_body">可派工数>:</label>
232
+ <input type="text" style="width: 60%" class="input_search" placeholder='可派工数>=' v-model="model.f_installed_households1"
233
+ condition="cr.f_installed_households >= {}">
234
+ </div>
235
+ <div class="form-group col-sm-3">
236
+ <label class="font_normal_body">可派工数<:</label>
237
+ <input type="text" style="width: 60%" class="input_search" placeholder='可派工数<=' v-model="model.f_installed_households"
238
+ condition="cr.f_installed_households <= {}">
239
+ </div>
240
+ <div class="form-group col-sm-3">
241
+ <label class="font_normal_body">可派工数是否为空:</label>
242
+ <v-select
243
+ v-model="model.f_installed_households2"
244
+ placeholder='请选择'
245
+ condition="cr.f_installed_households {}"
246
+ :value.sync="model.f_installed_households2"
247
+ class="select select_list"
248
+ :options='$parent.$parent.installedhousehold'
249
+ :value-single="true"
250
+ close-on-select ></v-select>
251
+ </div>
252
+ <div class="form-group col-sm-3">
253
+ <label class="font_normal_body">备注:</label>
254
+ <input type="text"
255
+ style="width:60%"
256
+ class="input_search"
257
+ v-model="model.f_apply_remarks"
258
+ v-on:keyup.enter="$parent.$parent.search()"
259
+ condition="a.f_apply_remarks like '%{}%'" placeholder='备注'>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ </criteria>
264
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
265
+ <template partial='head'>
266
+ <tr>
267
+ <th style="white-space: nowrap;">序号</th>
268
+ <th style="white-space: nowrap;">工程编号</th>
269
+ <th style="white-space: nowrap;">合同编号</th>
270
+ <th style="white-space: nowrap;">报建类型</th>
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;">入户证号</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
+ </tr>
296
+ </template>
297
+ <template partial='body'>
298
+ <tr >
299
+ <td style="text-align: center;">
300
+ <nobr><font>{{$index+1}}</font></nobr>
301
+ </td>
302
+ <td style="text-align: center;">
303
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
304
+ </td>
305
+ <td style="text-align: center;">
306
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
307
+ </td>
308
+ <td style="text-align: center;">
309
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
310
+ </td>
311
+ <td style="text-align: center;">
312
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
313
+ </td>
314
+ <td style="text-align: center;">
315
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
316
+ </td>
317
+ <td style="text-align: center;">
318
+ <nobr v-if="$parent.$parent.$parent.$login.f.f_role_name.includes('收费明细修改')" ><font><a @click="$parent.$parent.$parent.showCharges(row)">{{row.f_user_name}}</a></font></nobr>
319
+ <nobr v-else><font>{{row.f_user_name}}</font></nobr>
320
+ </td>
321
+ <td style="text-align: center;">
322
+ <nobr><font>{{row.f_phone}}</font></nobr>
323
+ </td>
324
+ <td style="text-align: center;">
325
+ <nobr><font>{{row.f_address}}</font></nobr>
326
+ </td>
327
+ <td style="text-align: center;">
328
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
329
+ </td>
330
+ <td style="text-align: center;">
331
+ <nobr><font>{{row.f_entry_number}}</font></nobr>
332
+ </td>
333
+ <td style="text-align: center;">
334
+ <nobr><font>{{row.f_charge_number}}</font></nobr>
335
+ </td>
336
+ <td style="text-align: center;">
337
+ <nobr><font>{{row.f_payment_type}}</font></nobr>
338
+ </td>
339
+ <td style="text-align: center;">
340
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
341
+ </td>
342
+ <td style="text-align: center;">
343
+ <nobr><font>{{row.f_installed_households}}</font></nobr>
344
+ </td>
345
+ <td style="text-align: center;">
346
+ <nobr><font>{{$parent.$parent.$parent.formatCurrency(row.f_charge_money,2)}}</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_void_staff}}</font></nobr>
368
+ </td>
369
+ <td style="text-align: center;">
370
+ <nobr><font>{{row.f_void_remarks}}</font></nobr>
371
+ </td>
372
+ <td style="text-align: center;">
373
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
374
+ </td>
375
+ <td style="text-align: center;">
376
+ <nobr><font>{{row.f_charge_remarks}}</font></nobr>
377
+ </td>
378
+ <td style="text-align: center;">
379
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
380
+ </td>
381
+ <td style="text-align: center;">
382
+ <nobr><font>{{row.f_charge_remarks}}</font></nobr>
383
+ </td>
384
+ </tr>
385
+ </template>
386
+ </data-grid>
387
+ </criteria-paged>
388
+ <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
389
+ <header slot="modal-header" class="modal-header">
390
+ <button type="button" class="close" @click="showCharge = false"><span>&times;</span></button>
391
+ <h4 class="modal-title">收费明细</h4>
392
+ </header>
393
+ <article slot="modal-body" class="modal-body clearfix">
394
+ <div class="form-group col-sm-12">
395
+ <label class="col-sm-2 control-label">收费项目:</label>
396
+ <div class="col-sm-10">
397
+ <input-select
398
+ width="100%"
399
+ class="select select_list"
400
+ placeholder='请选择'
401
+ v-model="charge.f_payment_term"
402
+ :value.sync="charge.f_payment_term"
403
+ :options='paymentTerm'
404
+ :value-single="true"
405
+ close-on-select ></input-select>
406
+ </div>
407
+ </div>
408
+ <div class="form-group col-sm-12">
409
+ <label class="col-sm-2 control-label">付款方式:</label>
410
+ <div class="col-sm-10">
411
+ <input-select
412
+ placeholder='请选择' width="100%"
413
+ v-model="charge.f_payment_method"
414
+ :value.sync="charge.f_payment_method"
415
+ :options='paymentMethod'
416
+ class="select select_list"
417
+ :value-single="true"
418
+ close-on-select ></input-select>
419
+ </div>
420
+ </div>
421
+ </article>
422
+ <footer slot="modal-footer" class="modal-footer">
423
+ <button type="button" class="btn btn-primary" @click="savedefname()">确认修改</button>
424
+ </footer>
425
+ </modal>
426
+ </template>
427
+
428
+ <script>
429
+ import {PagedList} from 'vue-client'
430
+ import {HttpResetClass} from 'vue-client'
431
+ import {isEmpty} from"../../../components/Util";
432
+ export default {
433
+ title: '报建收费列表',
434
+ data () {
435
+ return {
436
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
437
+ f_charge_money: 0
438
+ }),
439
+ curorgid: [this.$login.f.orgid],
440
+ curdepid: [],
441
+ servicerList:[],
442
+ operatorList:[],
443
+ curuserid: [],
444
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
445
+ paymenttype :[{label: '全部', value: ''}, ...this.$appdata.getParam('报建-收费类型')],
446
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
447
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
448
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
449
+ chargeStatus: [{label: '全部', value: ''}, ...this.$appdata.getParam('缴费状态')],
450
+ installedhousehold: [{label: '全部', value: ''},{label: '是', value: 'is null'},{label: '否', value: 'is not null'}],
451
+ criteriaShow: false,
452
+ chargeAll: {
453
+ count: 0,
454
+ sum: 0
455
+ },
456
+ showCharge:false,
457
+ charge:{},
458
+ getfield: {
459
+ 'f_apply_num': '工程编号',
460
+ 'f_contract_number': '合同编号',
461
+ 'f_apply_type': '报建类型',
462
+ 'f_apply_nature': '报建性质',
463
+ 'f_userinfo_code': '用户编号',
464
+ 'f_user_name': '用户名称',
465
+ 'f_phone': '用户电话',
466
+ 'f_address': '用户地址',
467
+ 'f_idnumber': '身份证号',
468
+ 'f_entry_number': '入户证号',
469
+ 'f_payment_type': '收费类型',
470
+ 'f_payment_term': '收费项目',
471
+ 'f_installed_households': '可派工数',
472
+ 'f_charge_number': '缴费编码',
473
+ 'f_charge_money': '收费金额',
474
+ 'f_payment_method': '付款方式',
475
+ 'f_payer_number': '流水号',
476
+ 'f_charge_collectors': '收费人员',
477
+ 'f_charge_date': '收费日期',
478
+ 'f_actual_date': '实际收费时间',
479
+ 'f_charge_remarks': '备注',
480
+ 'f_charge_status': '状态',
481
+ 'f_apply_remarks': '报装备注'
482
+ }
483
+ }
484
+ },
485
+ ready () {
486
+ // 调用查询
487
+ this.search()
488
+ this.getservicer()
489
+ this.getapplyoperator()
490
+ },
491
+ methods: {
492
+ showCharges(row){
493
+ this.showCharge = true
494
+ this.charge = row
495
+ },
496
+ savedefname(){
497
+ if(isEmpty(this.charge.f_payment_method )){
498
+ return this.$showMessage('付款方式不能为空!!')
499
+ }
500
+ if(isEmpty(this.charge.f_payment_term )){
501
+ return this.$showMessage('收费项目不能为空!!')
502
+ }
503
+ new HttpResetClass().load('POST', 'rs/entity/t_charge_record', {
504
+ id: this.charge.id,
505
+ f_payment_method: this.charge.f_payment_method,
506
+ f_payment_term: this.charge.f_payment_term,
507
+ version: this.charge.version
508
+ }, {resolveMsg: '修改成功', rejectMsg: '修改失败'})
509
+ .then(res => {
510
+ this.showCharge = false
511
+ this.search()
512
+ })
513
+ },
514
+ formatCurrency(number, decimalPlaces) {
515
+ var num = parseFloat(number);
516
+ if (!isNaN(num)) {
517
+ num = num.toFixed(decimalPlaces || 0); // 将金额保留指定位数,四舍五入
518
+ num = num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); // 按照千分位进行分隔
519
+ return num;
520
+ } else {
521
+ return ''; // 如果输入框中的值不是数字,则返回空字符串
522
+ }
523
+ },
524
+ async getservicer(){
525
+ let data = {
526
+ tablename: 't_user',
527
+ condition: `1=1`
528
+ }
529
+ let http = new HttpResetClass()
530
+ let res = await http.load(
531
+ 'POST',
532
+ `rs/sql/apply_singleTable`,
533
+ {data: data},
534
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
535
+ )
536
+ res.data.forEach(item => {
537
+ this.servicerList.push({
538
+ 'label': item.name,
539
+ 'value': item.name
540
+ })
541
+ })},
542
+
543
+ async getapplyoperator(){
544
+ let data = {
545
+ condition: `f_orgid in (${this.curorgid})`
546
+ }
547
+ let http = new HttpResetClass()
548
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
549
+ res.data.forEach(item => {
550
+ this.operatorList.push({
551
+ 'label': item.f_operator,
552
+ 'value': item.f_operator
553
+ })
554
+ })},
555
+
556
+ applyTypeChange () {
557
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
558
+ 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}性质`)]
559
+ } else {
560
+ this.applyNatures = [{label: '全部', value: ''}]
561
+ }
562
+ },
563
+ clear () {
564
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
565
+ this.$refs.cp.$refs.cri.model[key] = ''
566
+ })
567
+ this.curdepid = []
568
+ this.curuserid = []
569
+ },
570
+ searchCondition (args) {
571
+ args.condition = args.condition + ` and cr.f_orgid in ('${this.curorgid.join("','")}')`
572
+ if (this.curdepid.length > 0) {
573
+ args.condition = args.condition + ` and cr.f_depid in ('${this.curdepid.join("','")}')`
574
+ }
575
+ if (this.curuserid.length > 0) {
576
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in ('${this.curuserid.join("','")}')`
577
+ }
578
+ args.condition += ` and cr.f_charge_status !='作废'`
579
+ this.model.search(args.condition, args.model)
580
+ },
581
+ // 查询
582
+ search () {
583
+ this.$refs.cp.$refs.cri.search()
584
+ this.getChargeAll()
585
+ this.getapplyoperator()
586
+ },
587
+ async getChargeAll () {
588
+ let http = new HttpResetClass()
589
+ let data = {
590
+ condition: this.model.condition
591
+ }
592
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
593
+
594
+ this.chargeAll = res.data[0]
595
+ },
596
+ getuser (val) {
597
+ if (val.length <= 0) {
598
+ return
599
+ }
600
+ this.curuserid = val
601
+ this.search()
602
+ },
603
+ getdep (val) {
604
+ if (val.length <= 0) {
605
+ return
606
+ }
607
+ this.curdepid = val
608
+ this.curuserid = []
609
+ this.search()
610
+ },
611
+ getorg (val) {
612
+ if (val.length <= 0) {
613
+ return
614
+ }
615
+ this.curorgid = val
616
+ this.curdepid = []
617
+ this.curuserid = []
618
+ this.search()
619
+ },
620
+
621
+ },
622
+ computed: {
623
+ getCondition () {
624
+ return {
625
+ condition: this.model.condition
626
+ }
627
+ },
628
+ paymentMethod() {
629
+ return this.$appdata.getParam("付款方式")
630
+ },
631
+ paymentTerm() {
632
+ return this.$appdata.getParam("收费项目")
633
+ }
634
+ }
635
+ }
636
+ </script>
637
+
638
+ <style scoped>
639
+ </style>