sale-client 4.2.76 → 4.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +30 -52
- package/index.html +2 -7
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManageNew/FileUserFiles.vue +3 -3
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/jinhong/HandList.vue +1 -1
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/main.js +3 -3
|
@@ -1,938 +1,938 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
|
|
7
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
|
|
11
|
-
<label for="startDate" class="font_normal_body" title="归属日期">开始日期</label>
|
|
12
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
-
v-model="model.startDate"
|
|
14
|
-
:value.sync="model.startDate"
|
|
15
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
-
:show-reset-button="true"
|
|
17
|
-
>
|
|
18
|
-
</datepicker>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group">
|
|
21
|
-
<label for="endDate" class="font_normal_body" title="归属日期">结束日期</label>
|
|
22
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
-
v-model="model.endDate"
|
|
24
|
-
:value.sync="model.endDate"
|
|
25
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
>
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body">客户编号</label>
|
|
32
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-2 form-group">
|
|
36
|
-
<label class="font_normal_body">客户名称</label>
|
|
37
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
-
condition="f_user_name = '{}'" placeholder="客户名称">
|
|
39
|
-
</div>
|
|
40
|
-
<div class="span" style="float:right;">
|
|
41
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
-
|
|
44
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
45
|
-
:field="$parent.$parent.getfield"
|
|
46
|
-
:footer="$parent.$parent.footer"
|
|
47
|
-
:header="$parent.$parent.other"
|
|
48
|
-
sqlurl="api/af-revenue/logic/saleExport"
|
|
49
|
-
sql-name="salearrearsQuery"
|
|
50
|
-
template-name='用户欠费查询导出'
|
|
51
|
-
:choose-col="true"></export-excel>
|
|
52
|
-
|
|
53
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
54
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
55
|
-
titletable="用户欠费查询导出"
|
|
56
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
57
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
-
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
-
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
64
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
<div class="col-sm-2 form-group">
|
|
68
|
-
|
|
69
|
-
<label for="inputstartDate" class="font_normal_body">抄表日期</label>
|
|
70
|
-
<datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
|
|
71
|
-
v-model="model.inputstartDate"
|
|
72
|
-
:value.sync="model.inputstartDate"
|
|
73
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
74
|
-
:show-reset-button="true"
|
|
75
|
-
>
|
|
76
|
-
</datepicker>
|
|
77
|
-
</div>
|
|
78
|
-
<div class="col-sm-2 form-group">
|
|
79
|
-
<label for="inputendDate" class="font_normal_body"> 至 </label>
|
|
80
|
-
<datepicker id="inputendDate" placeholder="结束日期" style="width:60%"
|
|
81
|
-
v-model="model.inputendDate"
|
|
82
|
-
:value.sync="model.inputendDate"
|
|
83
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
84
|
-
:show-reset-button="true"
|
|
85
|
-
>
|
|
86
|
-
</datepicker>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
91
|
-
<!--<label class="font_normal_body">收费编号</label>-->
|
|
92
|
-
<!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
|
|
93
|
-
<!--condition="id = '{}'" placeholder="收费编号">-->
|
|
94
|
-
<!--</div>-->
|
|
95
|
-
<div class="col-sm-2 form-group">
|
|
96
|
-
<label class="font_normal_body">客户电话</label>
|
|
97
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
98
|
-
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
99
|
-
</div>
|
|
100
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
101
|
-
<!--<label class="font_normal_body">身份证号</label>-->
|
|
102
|
-
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
103
|
-
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
104
|
-
<!--</div>-->
|
|
105
|
-
<div class="col-sm-2 form-group">
|
|
106
|
-
<label class="font_normal_body">客户地址</label>
|
|
107
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
108
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
109
|
-
</div>
|
|
110
|
-
<div class="col-sm-2 form-group">
|
|
111
|
-
<label class="font_normal_body"> 小区 </label>
|
|
112
|
-
<v-select :value.sync="model.f_residential_area"
|
|
113
|
-
class="select_list select"
|
|
114
|
-
enter-push
|
|
115
|
-
multiple
|
|
116
|
-
condition="f_residential_area in {}"
|
|
117
|
-
v-model="model.f_residential_area"
|
|
118
|
-
style="width: 60%"
|
|
119
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
120
|
-
close-on-select>
|
|
121
|
-
|
|
122
|
-
</v-select>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="col-sm-2 form-group">
|
|
125
|
-
<label class="font_normal_body" >缴费类型</label>
|
|
126
|
-
<v-select :value.sync="model.f_payment" multiple
|
|
127
|
-
v-model="model.f_payment"
|
|
128
|
-
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
129
|
-
condition="f_cost_type in {}"
|
|
130
|
-
close-on-select></v-select>
|
|
131
|
-
</div>
|
|
132
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
133
|
-
<!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
|
|
134
|
-
<!--<v-select :value.sync="model.f_payment" multiple-->
|
|
135
|
-
<!--v-model="model.f_payment"-->
|
|
136
|
-
<!--:options='$parent.$parent.payment' placeholder='请选择'-->
|
|
137
|
-
<!--condition="f_payment in {}"-->
|
|
138
|
-
<!--close-on-select></v-select>-->
|
|
139
|
-
<!--</div>-->
|
|
140
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
141
|
-
<!--<label class="font_normal_body">收费类型</label>-->
|
|
142
|
-
<!--<!– <v-select :value.sync="model.f_type"-->
|
|
143
|
-
<!--v-model="model.f_type"-->
|
|
144
|
-
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
145
|
-
<!--condition="f_type = '{}'"-->
|
|
146
|
-
<!--close-on-select></v-select>–>-->
|
|
147
|
-
<!--<v-select :value.sync="model.f_type" multiple-->
|
|
148
|
-
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
149
|
-
<!--close-on-select clear-button-->
|
|
150
|
-
<!--condition="f_type in {}"-->
|
|
151
|
-
<!--v-model="model.f_type"></v-select>-->
|
|
152
|
-
<!--</div>-->
|
|
153
|
-
<div class="col-sm-2 form-group">
|
|
154
|
-
<label class="font_normal_body">客户类型</label>
|
|
155
|
-
<v-select :value.sync="model.f_user_type"
|
|
156
|
-
@change="$parent.$parent.userTypeChange()"
|
|
157
|
-
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
158
|
-
condition="f_user_type = '{}'"
|
|
159
|
-
close-on-select></v-select>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="col-sm-2 form-group">
|
|
162
|
-
<label class="font_normal_body">用气性质</label>
|
|
163
|
-
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
164
|
-
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
165
|
-
condition="f_gasproperties = '{}'"
|
|
166
|
-
close-on-select></v-select>
|
|
167
|
-
</div>
|
|
168
|
-
<div class="col-sm-2 form-group">
|
|
169
|
-
<label class="font_normal_body">气价类型</label>
|
|
170
|
-
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
171
|
-
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
172
|
-
close-on-select v-ref:type>
|
|
173
|
-
</v-select>
|
|
174
|
-
</div>
|
|
175
|
-
<div class="col-sm-2 form-group">
|
|
176
|
-
<label class="font_normal_body">气价名称</label>
|
|
177
|
-
<v-select :value.sync="model.f_price_name"
|
|
178
|
-
v-model="model.f_price_name"
|
|
179
|
-
:options="$parent.$parent.getPricenames"
|
|
180
|
-
condition="f_price_name = '{}'"
|
|
181
|
-
close-on-select></v-select>
|
|
182
|
-
</div>
|
|
183
|
-
<div class="col-sm-2 form-group">
|
|
184
|
-
<label class="font_normal_body" title="欠费气量大于">欠费气量</label>
|
|
185
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
|
|
186
|
-
condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
|
|
187
|
-
</div>
|
|
188
|
-
<div class="col-sm-2 form-group">
|
|
189
|
-
<label class="font_normal_body" title="气费金额大于">气费金额</label>
|
|
190
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
|
|
191
|
-
condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
|
|
192
|
-
</div>
|
|
193
|
-
<div class="col-sm-2 form-group">
|
|
194
|
-
<label class="font_normal_body">欠费金额</label>
|
|
195
|
-
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_oughtfee_col_small"
|
|
196
|
-
condition="f_oughtfee_col >= '{}' " placeholder="大于等于">
|
|
197
|
-
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtfee_col_big"
|
|
198
|
-
condition="f_oughtfee_col <= '{}' " placeholder="小于等于">
|
|
199
|
-
</div>
|
|
200
|
-
<div class="col-sm-2 form-group">
|
|
201
|
-
<label class="font_normal_body">欠费期数</label>
|
|
202
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.c"
|
|
203
|
-
condition="c > '{}'" placeholder='欠费期数大于'>
|
|
204
|
-
</div>
|
|
205
|
-
<div class="col-sm-2 form-group">
|
|
206
|
-
<label class="font_normal_body">抄 表 员</label>
|
|
207
|
-
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
208
|
-
style="width:60%"
|
|
209
|
-
multiple="true"
|
|
210
|
-
:options='$parent.$parent.inputtores' placeholder='抄表员'
|
|
211
|
-
condition="f_inputtor in {}" multiple
|
|
212
|
-
close-on-select
|
|
213
|
-
v-el:cc></v-select>
|
|
214
|
-
</div>
|
|
215
|
-
<div class="col-sm-2 form-group">
|
|
216
|
-
<label class="font_normal_body">抄 表 册</label>
|
|
217
|
-
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
218
|
-
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
219
|
-
style="width:60%" multiple
|
|
220
|
-
close-on-select
|
|
221
|
-
condition="f_meter_book_num in {}"></v-select>
|
|
222
|
-
</div>
|
|
223
|
-
<div class="col-sm-2 form-group">
|
|
224
|
-
<label class="font_normal_body" >档案抄表员</label>
|
|
225
|
-
<v-select :value.sync="model.f_dainputtores"
|
|
226
|
-
v-model="model.f_dainputtores" multiple
|
|
227
|
-
:options='$parent.$parent.dainputtores' placeholder='请选择'
|
|
228
|
-
condition="f_dainputtores in {}"
|
|
229
|
-
close-on-select>
|
|
230
|
-
</v-select>
|
|
231
|
-
</div>
|
|
232
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
233
|
-
<!--<label class="font_normal_body">气价类型</label>-->
|
|
234
|
-
<!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
|
|
235
|
-
<!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
|
|
236
|
-
<!--close-on-select v-ref:type>-->
|
|
237
|
-
<!--</v-select>-->
|
|
238
|
-
<!--</div>-->
|
|
239
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
240
|
-
<!--<label class="font_normal_body">气价名称</label>-->
|
|
241
|
-
<!--<v-select :value.sync="model.f_price_name"-->
|
|
242
|
-
<!--v-model="model.f_price_name"-->
|
|
243
|
-
<!--:options="$parent.$parent.getPricenames"-->
|
|
244
|
-
<!--condition="f_price_name = '{}'"-->
|
|
245
|
-
<!--close-on-select></v-select>-->
|
|
246
|
-
<!--</div>-->
|
|
247
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
248
|
-
<!--<label class="font_normal_body"> 表编号</label>-->
|
|
249
|
-
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
|
|
250
|
-
<!--condition="f_user_id = '{}'" placeholder='表编号'>-->
|
|
251
|
-
<!--</div>-->
|
|
252
|
-
</div>
|
|
253
|
-
</div>
|
|
254
|
-
</criteria>
|
|
255
|
-
|
|
256
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
257
|
-
<template partial='head'>
|
|
258
|
-
<tr>
|
|
259
|
-
<th>
|
|
260
|
-
<nobr>序号</nobr>
|
|
261
|
-
</th>
|
|
262
|
-
<th>
|
|
263
|
-
<nobr>客户编号</nobr>
|
|
264
|
-
</th>
|
|
265
|
-
<th>
|
|
266
|
-
<nobr>客户姓名</nobr>
|
|
267
|
-
</th>
|
|
268
|
-
<th>
|
|
269
|
-
<nobr>小区名称</nobr>
|
|
270
|
-
</th>
|
|
271
|
-
<th>
|
|
272
|
-
<nobr>身份证号</nobr>
|
|
273
|
-
</th>
|
|
274
|
-
<th>
|
|
275
|
-
<nobr>地址</nobr>
|
|
276
|
-
</th>
|
|
277
|
-
<th>
|
|
278
|
-
<nobr>客户电话</nobr>
|
|
279
|
-
</th>
|
|
280
|
-
<th>
|
|
281
|
-
<nobr>表号</nobr>
|
|
282
|
-
</th>
|
|
283
|
-
<th>
|
|
284
|
-
<nobr>备用电话</nobr>
|
|
285
|
-
</th>
|
|
286
|
-
<th>
|
|
287
|
-
<nobr>气表类型</nobr>
|
|
288
|
-
</th>
|
|
289
|
-
|
|
290
|
-
<th>
|
|
291
|
-
<nobr>欠费期数</nobr>
|
|
292
|
-
</th>
|
|
293
|
-
<th>
|
|
294
|
-
<nobr>欠费区间</nobr>
|
|
295
|
-
</th>
|
|
296
|
-
<th>
|
|
297
|
-
<nobr>上期抄表底数</nobr>
|
|
298
|
-
</th>
|
|
299
|
-
<th>
|
|
300
|
-
<nobr>本期抄表底数</nobr>
|
|
301
|
-
</th>
|
|
302
|
-
<th>
|
|
303
|
-
<nobr>用气量</nobr>
|
|
304
|
-
</th>
|
|
305
|
-
<th>
|
|
306
|
-
<nobr>用气金额</nobr>
|
|
307
|
-
</th>
|
|
308
|
-
<th>
|
|
309
|
-
<nobr>合计欠费</nobr>
|
|
310
|
-
</th>
|
|
311
|
-
<th>
|
|
312
|
-
<nobr>实际欠费</nobr>
|
|
313
|
-
</th>
|
|
314
|
-
<th>
|
|
315
|
-
<nobr>缴费时间</nobr>
|
|
316
|
-
</th>
|
|
317
|
-
<th>
|
|
318
|
-
<nobr>已交金额</nobr>
|
|
319
|
-
</th>
|
|
320
|
-
<!--<th>-->
|
|
321
|
-
<!--<nobr>回收率</nobr>-->
|
|
322
|
-
<!--</th>-->
|
|
323
|
-
<th>
|
|
324
|
-
<nobr>应交气费</nobr>
|
|
325
|
-
</th>
|
|
326
|
-
<th>
|
|
327
|
-
<nobr>违约金</nobr>
|
|
328
|
-
</th>
|
|
329
|
-
<th>
|
|
330
|
-
<nobr>附加费</nobr>
|
|
331
|
-
</th>
|
|
332
|
-
<th>
|
|
333
|
-
<nobr>上期余额</nobr>
|
|
334
|
-
</th>
|
|
335
|
-
<th>
|
|
336
|
-
<nobr>抄表员</nobr>
|
|
337
|
-
</th>
|
|
338
|
-
<th>
|
|
339
|
-
<nobr>抄表册</nobr>
|
|
340
|
-
</th>
|
|
341
|
-
<th>
|
|
342
|
-
<nobr>档案抄表员</nobr>
|
|
343
|
-
</th>
|
|
344
|
-
<th>
|
|
345
|
-
<nobr>客户类型</nobr>
|
|
346
|
-
</th>
|
|
347
|
-
<th>
|
|
348
|
-
<nobr>缴费类型</nobr>
|
|
349
|
-
</th>
|
|
350
|
-
<th>
|
|
351
|
-
<nobr>用气性质</nobr>
|
|
352
|
-
</th>
|
|
353
|
-
<th>
|
|
354
|
-
<nobr>备 注</nobr>
|
|
355
|
-
</th>
|
|
356
|
-
</tr>
|
|
357
|
-
</template>
|
|
358
|
-
<template partial='body'>
|
|
359
|
-
<td style="text-align:center">
|
|
360
|
-
<nobr>{{$index+1}}</nobr>
|
|
361
|
-
</td>
|
|
362
|
-
<td style="text-align: center;">
|
|
363
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
364
|
-
</td>
|
|
365
|
-
<td style="text-align: center;">
|
|
366
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
367
|
-
</td>
|
|
368
|
-
<td style="text-align: center;">
|
|
369
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
370
|
-
</td>
|
|
371
|
-
<td style="text-align: center;">
|
|
372
|
-
<nobr>{{row.f_idnumber}}</nobr>
|
|
373
|
-
</td>
|
|
374
|
-
<td style="text-align: center;">
|
|
375
|
-
<nobr>{{row.f_address}}</nobr>
|
|
376
|
-
</td>
|
|
377
|
-
<td style="text-align: center;">
|
|
378
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
379
|
-
</td>
|
|
380
|
-
<td style="text-align: center;">
|
|
381
|
-
<nobr>{{row.f_meternumber}}</nobr>
|
|
382
|
-
</td>
|
|
383
|
-
<td style="text-align: center;">
|
|
384
|
-
<nobr>{{row.f_rent_phone}}</nobr>
|
|
385
|
-
</td>
|
|
386
|
-
<td style="text-align: center;">
|
|
387
|
-
<nobr>{{row.f_meter_classify}}</nobr>
|
|
388
|
-
</td>
|
|
389
|
-
|
|
390
|
-
<td style="text-align: center;">
|
|
391
|
-
<nobr>{{row.c}}</nobr>
|
|
392
|
-
</td>
|
|
393
|
-
<td style="text-align: center;">
|
|
394
|
-
<nobr>{{row.f_hand_date}}</nobr>
|
|
395
|
-
</td>
|
|
396
|
-
<td style="text-align: center;">
|
|
397
|
-
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
398
|
-
</td>
|
|
399
|
-
<td style="text-align: center;">
|
|
400
|
-
<nobr>{{row.f_tablebase}}</nobr>
|
|
401
|
-
</td>
|
|
402
|
-
<td style="text-align: center;">
|
|
403
|
-
<nobr>{{row.f_oughtamount}}</nobr>
|
|
404
|
-
</td>
|
|
405
|
-
<td style="text-align: center;">
|
|
406
|
-
<nobr>{{row.f_oughtfee}}</nobr>
|
|
407
|
-
</td>
|
|
408
|
-
<td style="text-align: center;">
|
|
409
|
-
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
410
|
-
</td>
|
|
411
|
-
<td style="text-align: center;">
|
|
412
|
-
<nobr>{{row.f_oughtfee_col}}</nobr>
|
|
413
|
-
</td>
|
|
414
|
-
<td style="text-align: center;">
|
|
415
|
-
<nobr>{{row.f_operate_date}}</nobr>
|
|
416
|
-
</td>
|
|
417
|
-
<td style="text-align: center;">
|
|
418
|
-
<nobr>{{row.f_debt_money}}</nobr>
|
|
419
|
-
</td>
|
|
420
|
-
<!--<td style="text-align: center;">-->
|
|
421
|
-
<!--<nobr>{{row.f_hand_bv}}</nobr>-->
|
|
422
|
-
<!--</td>-->
|
|
423
|
-
<td style="text-align: center;">
|
|
424
|
-
<nobr>{{row.f_oughtfee_new}}</nobr>
|
|
425
|
-
</td>
|
|
426
|
-
<td style="text-align: center;">
|
|
427
|
-
<nobr>{{row.overdue}}</nobr>
|
|
428
|
-
</td>
|
|
429
|
-
<td style="text-align: center;">
|
|
430
|
-
<nobr>{{row.f_garbage_fee}}</nobr>
|
|
431
|
-
</td>
|
|
432
|
-
<td style="text-align: center;">
|
|
433
|
-
<nobr>{{row.f_balance}}</nobr>
|
|
434
|
-
</td>
|
|
435
|
-
<td style="text-align: center;">
|
|
436
|
-
<nobr>{{row.f_inputtor}}</nobr>
|
|
437
|
-
</td>
|
|
438
|
-
<td style="text-align: center;">
|
|
439
|
-
<nobr>{{row.f_book_name}}</nobr>
|
|
440
|
-
</td>
|
|
441
|
-
<td style="text-align: center;">
|
|
442
|
-
<nobr>{{row.f_dainputtores}}</nobr>
|
|
443
|
-
</td>
|
|
444
|
-
<td style="text-align: center;">
|
|
445
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
446
|
-
</td>
|
|
447
|
-
<td style="text-align: center;">
|
|
448
|
-
<nobr>{{row.f_gasproperties}}</nobr>
|
|
449
|
-
</td>
|
|
450
|
-
<td style="text-align: center;">
|
|
451
|
-
<nobr>{{row.f_cost_type}}</nobr>
|
|
452
|
-
</td>
|
|
453
|
-
<td style="text-align: center;">
|
|
454
|
-
<nobr>{{row.f_comments}}</nobr>
|
|
455
|
-
</td>
|
|
456
|
-
</template>
|
|
457
|
-
<template partial='foot'></template>
|
|
458
|
-
</data-grid>
|
|
459
|
-
</criteria-paged>
|
|
460
|
-
<table class="table-hover">
|
|
461
|
-
<tr style="position: relative" class="table-bordered">
|
|
462
|
-
<td
|
|
463
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
464
|
-
汇总信息
|
|
465
|
-
</td>
|
|
466
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
467
|
-
用气量合计: {{sumsmodel.f_oughtamount}}
|
|
468
|
-
</td>
|
|
469
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
470
|
-
用气金额合计: {{sumsmodel.f_oughtfee}}
|
|
471
|
-
</td>
|
|
472
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
473
|
-
已交金额合计: {{sumsmodel.f_debt_money}}
|
|
474
|
-
</td>
|
|
475
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
476
|
-
气费金额合计: {{sumsmodel.f_oughtfee_new}}
|
|
477
|
-
</td>
|
|
478
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
479
|
-
违约金合计: {{sumsmodel.overdue}}
|
|
480
|
-
</td>
|
|
481
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
482
|
-
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
483
|
-
</td>
|
|
484
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
485
|
-
上期余额合计: {{sumsmodel.f_balance}}
|
|
486
|
-
</td>
|
|
487
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
488
|
-
合计欠费: {{sumsmodel.f_oughtfee_all}}
|
|
489
|
-
</td>
|
|
490
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
491
|
-
实际欠费: {{sumsmodel.f_oughtfee_col}}
|
|
492
|
-
</td>
|
|
493
|
-
</tr>
|
|
494
|
-
</table>
|
|
495
|
-
</div>
|
|
496
|
-
<div v-if="show">
|
|
497
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
498
|
-
</div>
|
|
499
|
-
</div>
|
|
500
|
-
</div>
|
|
501
|
-
</template>
|
|
502
|
-
|
|
503
|
-
<script>
|
|
504
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
505
|
-
|
|
506
|
-
let readySomething = async function (self) {
|
|
507
|
-
self.getinputtores()
|
|
508
|
-
// 加载抄表册
|
|
509
|
-
self.initmeterbook()
|
|
510
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
511
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
512
|
-
// self.$refs.paged.$refs.cri.search()
|
|
513
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
514
|
-
await self.$LoadParams.loadParam()
|
|
515
|
-
self.initParams()
|
|
516
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
517
|
-
}
|
|
518
|
-
export default {
|
|
519
|
-
title: '欠费查询',
|
|
520
|
-
data () {
|
|
521
|
-
return {
|
|
522
|
-
config: {
|
|
523
|
-
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
524
|
-
},
|
|
525
|
-
other: [],
|
|
526
|
-
footer: [],
|
|
527
|
-
// f_price_name:[],
|
|
528
|
-
gasproperties: [],
|
|
529
|
-
showinfo: false,
|
|
530
|
-
data: {},
|
|
531
|
-
show: false,
|
|
532
|
-
rowdata: {},
|
|
533
|
-
initres: {
|
|
534
|
-
org: [this.$login.f.orgid],
|
|
535
|
-
dep: [],
|
|
536
|
-
user: []
|
|
537
|
-
},
|
|
538
|
-
model: new PagedList('api/af-revenue/sql/salearrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
|
|
539
|
-
f_oughtamount: 0,
|
|
540
|
-
f_oughtfee: 0,
|
|
541
|
-
f_debt_money: 0,
|
|
542
|
-
f_oughtfee_new: 0,
|
|
543
|
-
overdue: 0,
|
|
544
|
-
f_garbage_fee: 0,
|
|
545
|
-
f_balance: 0,
|
|
546
|
-
f_oughtfee_all: 0,
|
|
547
|
-
f_oughtfee_col: 0
|
|
548
|
-
}),
|
|
549
|
-
criteriaShow: false,
|
|
550
|
-
orgCondtionStr: '',
|
|
551
|
-
condition: '',
|
|
552
|
-
// 下拉框
|
|
553
|
-
meterbrands: [],
|
|
554
|
-
pricenames: [],
|
|
555
|
-
prices: [],
|
|
556
|
-
area: [],
|
|
557
|
-
// 合计数据
|
|
558
|
-
defaultfield: [],
|
|
559
|
-
// 小区
|
|
560
|
-
residentialArea: [],
|
|
561
|
-
sumsmodel: {},
|
|
562
|
-
f_filialeid: this.$login.f.f_orgid,
|
|
563
|
-
meterbooks: [{label: '全部', value: ''}], // 抄表册
|
|
564
|
-
// inputtores:[{label: '全部',value: ''}],
|
|
565
|
-
dainputtores: [{label: '全部', value: ''}],
|
|
566
|
-
allorgid: [],
|
|
567
|
-
tempfalg: false,
|
|
568
|
-
lastorgstr: '',
|
|
569
|
-
dypayment: [{label: '全部', value: ''}, {label: '银行代扣', value: '银行代扣'}, {label: '现金缴费', value: '现金缴费'}]
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
ready () {
|
|
573
|
-
this.hqdainputtores()
|
|
574
|
-
this.getaddress()
|
|
575
|
-
readySomething(this).then(() => {
|
|
576
|
-
this.$emit('ready')
|
|
577
|
-
}).catch((error) => {
|
|
578
|
-
this.$emit('error', error)
|
|
579
|
-
})
|
|
580
|
-
},
|
|
581
|
-
methods: {
|
|
582
|
-
|
|
583
|
-
async hqdainputtores () {
|
|
584
|
-
let param = {
|
|
585
|
-
items: 'DISTINCT f_inputtor',
|
|
586
|
-
tablename: 't_userfiles',
|
|
587
|
-
condition: ` f_inputtor is NOT null`
|
|
588
|
-
}
|
|
589
|
-
let getDainputtores = await new HttpResetClass().load('POST', 'api/af-revenue/sql/singleTableParam', {data: param}, {
|
|
590
|
-
resolveMsg: null,
|
|
591
|
-
rejectMsg: null
|
|
592
|
-
})
|
|
593
|
-
if (getDainputtores.data.length > 0) {
|
|
594
|
-
let rs = []
|
|
595
|
-
getDainputtores.data.forEach((item) => {
|
|
596
|
-
if (item.f_inputtor.length > 0) {
|
|
597
|
-
let temp = {
|
|
598
|
-
label: item.f_inputtor,
|
|
599
|
-
value: item.f_inputtor
|
|
600
|
-
}
|
|
601
|
-
rs.push(temp)
|
|
602
|
-
}
|
|
603
|
-
})
|
|
604
|
-
this.dainputtores = [{label: '全部', value: ''}, ...rs]
|
|
605
|
-
} else {
|
|
606
|
-
this.dainputtores = [{label: '全部', value: ''}]
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
async inputtorchange () {
|
|
610
|
-
let val = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
611
|
-
if (val != null && val != '') {
|
|
612
|
-
let param = {
|
|
613
|
-
items: '*',
|
|
614
|
-
tablename: 't_meter_book',
|
|
615
|
-
condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
616
|
-
orderitem: 'id'
|
|
617
|
-
|
|
618
|
-
}
|
|
619
|
-
let getMeterBooks = await this.$resetpost('api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
620
|
-
if (getMeterBooks.data) {
|
|
621
|
-
if (getMeterBooks.data.length > 0) {
|
|
622
|
-
let rs = []
|
|
623
|
-
getMeterBooks.data.forEach((item) => {
|
|
624
|
-
let temp = {
|
|
625
|
-
label: item.f_book_name,
|
|
626
|
-
value: item.id
|
|
627
|
-
}
|
|
628
|
-
rs.push(temp)
|
|
629
|
-
})
|
|
630
|
-
this.meterbooks = [{label: '全部', value: ''}, ...rs]
|
|
631
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id])
|
|
632
|
-
} else {
|
|
633
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
634
|
-
this.meterbooks = [{label: '全部', value: ''}]
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
} else {
|
|
638
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
639
|
-
this.meterbooks = [{label: '全部', value: ''}]
|
|
640
|
-
this.initmeterbook()
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
async initmeterbook (orgstr) {
|
|
644
|
-
if (orgstr == null) {
|
|
645
|
-
orgstr = this.f_filialeid
|
|
646
|
-
}
|
|
647
|
-
// 获取新的抄表册,先去清理所有的抄表册
|
|
648
|
-
this.$GetSaleParam.meterbooks = []
|
|
649
|
-
// 开始加载新的抄表册
|
|
650
|
-
await this.$LoadParams.loadMeterBook(orgstr)
|
|
651
|
-
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
652
|
-
},
|
|
653
|
-
getinputtores () {
|
|
654
|
-
// 获取抄表员
|
|
655
|
-
let rs = []
|
|
656
|
-
if (this.$login.f.f_gasman.length > 0) {
|
|
657
|
-
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
658
|
-
let temp = {
|
|
659
|
-
label: this.$login.f.f_gasman[i].name,
|
|
660
|
-
value: this.$login.f.f_gasman[i].name
|
|
661
|
-
}
|
|
662
|
-
rs.push(temp)
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
return [{label: '全部', value: ''}, ...rs]
|
|
666
|
-
},
|
|
667
|
-
// 加载抄表册
|
|
668
|
-
loadMeterBooks () {
|
|
669
|
-
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
670
|
-
},
|
|
671
|
-
getotherfooter () {
|
|
672
|
-
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
673
|
-
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
674
|
-
this.other = []
|
|
675
|
-
this.footer = []
|
|
676
|
-
let exportdata = this.getCondition
|
|
677
|
-
let otherInData = []
|
|
678
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
679
|
-
let footerData = [], exportfield = this.getfield
|
|
680
|
-
footerData.push('合计')
|
|
681
|
-
let self = this
|
|
682
|
-
for (var field in self.sumsmodel) {
|
|
683
|
-
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
684
|
-
}
|
|
685
|
-
this.footer.push(footerData)
|
|
686
|
-
this.other.push(otherInData)
|
|
687
|
-
},
|
|
688
|
-
async getaddress () {
|
|
689
|
-
console.log('开始获取小区')
|
|
690
|
-
let HttpReset = new HttpResetClass()
|
|
691
|
-
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
692
|
-
data: {
|
|
693
|
-
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
694
|
-
}
|
|
695
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
696
|
-
console.log('小区', data)
|
|
697
|
-
let house = [{label: '全部', value: ''}]
|
|
698
|
-
for (let row of data.data) {
|
|
699
|
-
console.log('开始保存小区')
|
|
700
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
701
|
-
}
|
|
702
|
-
this.residentialArea = house
|
|
703
|
-
},
|
|
704
|
-
// 把数据库查询数据转换为下拉数据
|
|
705
|
-
calculate (rows) {
|
|
706
|
-
let data = []
|
|
707
|
-
rows.forEach((row, n) => {
|
|
708
|
-
data[n] = {label: row.f_residential_area, value: row.id}
|
|
709
|
-
})
|
|
710
|
-
return data
|
|
711
|
-
},
|
|
712
|
-
|
|
713
|
-
search () {
|
|
714
|
-
this.$refs.paged.$refs.cri.search()
|
|
715
|
-
},
|
|
716
|
-
cancel () {
|
|
717
|
-
this.show = false
|
|
718
|
-
},
|
|
719
|
-
showmsg (obj) {
|
|
720
|
-
this.rowdata = obj
|
|
721
|
-
this.show = true
|
|
722
|
-
},
|
|
723
|
-
userTypeChange () {
|
|
724
|
-
this.gasproperties = []
|
|
725
|
-
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
726
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
727
|
-
|
|
728
|
-
console.log('查看客户类型是什么', this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
729
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
730
|
-
// this.gasproperties.push({label: '全部', value: ''})
|
|
731
|
-
} else {
|
|
732
|
-
this.gasproperties = [{label: '全部', value: ''}]
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
initParams () {
|
|
736
|
-
// 初始化气表品牌
|
|
737
|
-
let brandArr = []
|
|
738
|
-
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
739
|
-
let temp = {}
|
|
740
|
-
temp.label = item.label
|
|
741
|
-
temp.value = item.value.id
|
|
742
|
-
brandArr.push(temp)
|
|
743
|
-
// // 取出对应气表型号
|
|
744
|
-
// let styleArr = []
|
|
745
|
-
// for (let row of item.value.gasmodel) {
|
|
746
|
-
// styleArr.push({label: row.label, value: row.value.id})
|
|
747
|
-
// }
|
|
748
|
-
// this.meterstyle[temp.value] = styleArr
|
|
749
|
-
})
|
|
750
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
751
|
-
// 初始化气表价格
|
|
752
|
-
this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
|
|
753
|
-
},
|
|
754
|
-
selfSearch (args) {
|
|
755
|
-
console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
|
|
756
|
-
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
|
|
757
|
-
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
758
|
-
} else {
|
|
759
|
-
// 小区查询条件
|
|
760
|
-
let f_orgstr = this.orgCondtionStr
|
|
761
|
-
let str = '1=1 '
|
|
762
|
-
if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
|
|
763
|
-
str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
|
|
764
|
-
}
|
|
765
|
-
if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
|
|
766
|
-
str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
|
|
767
|
-
}
|
|
768
|
-
args.condition = `${args.condition} and f_meter_type='机表'` + f_orgstr
|
|
769
|
-
this.condition = args.condition
|
|
770
|
-
this.model.search(args.condition, args.model, str)
|
|
771
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
clear () {
|
|
775
|
-
// 清空部门和人员
|
|
776
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
777
|
-
// 部门和人员变为全选
|
|
778
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
779
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
780
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
781
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
782
|
-
})
|
|
783
|
-
},
|
|
784
|
-
dealmsg (val) {
|
|
785
|
-
val.model = this.model.model
|
|
786
|
-
this.$dispatch('deal-msg', val)
|
|
787
|
-
},
|
|
788
|
-
show () {
|
|
789
|
-
this.criteriaShow = true
|
|
790
|
-
},
|
|
791
|
-
hidden () {
|
|
792
|
-
this.criteriaShow = !this.criteriaShow
|
|
793
|
-
},
|
|
794
|
-
async getRes (condition, obj) {
|
|
795
|
-
this.orgCondtionStr = condition
|
|
796
|
-
this.orgname = obj.orgnames[0]
|
|
797
|
-
this.depname = obj.depnames[0]
|
|
798
|
-
},
|
|
799
|
-
async updateParams () {
|
|
800
|
-
await this.$LoadParams.loadParam(this.f_filialeid)
|
|
801
|
-
this.inputtores = []
|
|
802
|
-
this.inputtores.push({label: '全部', value: ''})
|
|
803
|
-
if (this.allorgid != null) {
|
|
804
|
-
this.allorgid.forEach((res) => {
|
|
805
|
-
this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res))
|
|
806
|
-
})
|
|
807
|
-
}
|
|
808
|
-
this.initParams()
|
|
809
|
-
}
|
|
810
|
-
},
|
|
811
|
-
events: {
|
|
812
|
-
'getidcard' (IdCard) {
|
|
813
|
-
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
watch: {
|
|
817
|
-
'model' (val) {
|
|
818
|
-
},
|
|
819
|
-
// async 'orgCondtionStr'(val) {
|
|
820
|
-
// this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
|
|
821
|
-
// this.$refs.paged.$refs.cri.model.f_meter_book = []
|
|
822
|
-
// this.meterbooks = [{label: '全部',value: ''}];
|
|
823
|
-
// if(this.lastorgstr != val){
|
|
824
|
-
// this.tempfalg = true;
|
|
825
|
-
// this.lastorgstr = val;
|
|
826
|
-
// }
|
|
827
|
-
// if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
|
|
828
|
-
// this.tempfalg = false;
|
|
829
|
-
// let a = val.substring(val.indexOf("(")+2)
|
|
830
|
-
// await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
|
|
831
|
-
// }
|
|
832
|
-
// let res = val.match(/'(.*?)'/)
|
|
833
|
-
// if (res) {
|
|
834
|
-
// this.f_filialeid = res[1]
|
|
835
|
-
// if(res.input !=null){
|
|
836
|
-
// let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
837
|
-
// if(resorgid!= null && resorgid!=''){
|
|
838
|
-
// resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
|
|
839
|
-
// // resorgid = resorgid.replaceAll("'","");
|
|
840
|
-
// resorgid = resorgid.replace(/'/g,"");
|
|
841
|
-
// this.allorgid = resorgid.split(",")
|
|
842
|
-
// }
|
|
843
|
-
// }
|
|
844
|
-
// this.updateParams()
|
|
845
|
-
// }
|
|
846
|
-
// },
|
|
847
|
-
sumsmodel: {
|
|
848
|
-
handler: function (val) {
|
|
849
|
-
this.getotherfooter()
|
|
850
|
-
},
|
|
851
|
-
deep: true
|
|
852
|
-
}
|
|
853
|
-
},
|
|
854
|
-
computed: {
|
|
855
|
-
pricetypes () {
|
|
856
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
857
|
-
},
|
|
858
|
-
inputtores () {
|
|
859
|
-
// 获取抄表员
|
|
860
|
-
console.log('获取抄表员', this.$login.f)
|
|
861
|
-
let rs = []
|
|
862
|
-
if (this.$login.f.f_gasman.length > 0) {
|
|
863
|
-
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
864
|
-
let temp = {
|
|
865
|
-
label: this.$login.f.f_gasman[i].name,
|
|
866
|
-
value: this.$login.f.f_gasman[i].name
|
|
867
|
-
}
|
|
868
|
-
rs.push(temp)
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
return [...rs]
|
|
872
|
-
},
|
|
873
|
-
getPricenames () {
|
|
874
|
-
let f_filialeid = this.f_filialeid
|
|
875
|
-
let result = []
|
|
876
|
-
this.$GetSaleParam.prices.forEach((item) => {
|
|
877
|
-
if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
|
|
878
|
-
let value = {
|
|
879
|
-
label: item.f_price_name,
|
|
880
|
-
value: item
|
|
881
|
-
}
|
|
882
|
-
result.push(value)
|
|
883
|
-
}
|
|
884
|
-
})
|
|
885
|
-
return Array.from(new Set(result))
|
|
886
|
-
},
|
|
887
|
-
getCondition () {
|
|
888
|
-
return {
|
|
889
|
-
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
890
|
-
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
891
|
-
condition: this.condition,
|
|
892
|
-
condValue: `${this.model.condValue}`
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
getfield () {
|
|
896
|
-
return {
|
|
897
|
-
'f_userinfo_code': '客户编号',
|
|
898
|
-
'f_user_name': '客户名称',
|
|
899
|
-
'f_residential_area': '小区名称',
|
|
900
|
-
'f_idnumber': '身份证号',
|
|
901
|
-
'f_address': '客户地址',
|
|
902
|
-
'f_user_phone': '客户电话',
|
|
903
|
-
'f_rent_phone': '备用电话',
|
|
904
|
-
'f_inputtor': '抄表员',
|
|
905
|
-
'f_book_name': '抄表册',
|
|
906
|
-
'f_user_type': '客户类型',
|
|
907
|
-
'f_gasproperties': '用气性质',
|
|
908
|
-
'f_comments': '备注',
|
|
909
|
-
'c': '欠费期数',
|
|
910
|
-
'f_hand_date': '欠费区间',
|
|
911
|
-
'f_oughtamount': '用气量',
|
|
912
|
-
'f_oughtfee': '用气金额',
|
|
913
|
-
'f_operate_date': '缴费时间',
|
|
914
|
-
'f_debt_money': '已交金额',
|
|
915
|
-
'f_oughtfee_new': '应交气费',
|
|
916
|
-
'overdue': '违约金',
|
|
917
|
-
'f_garbage_fee': '附加费',
|
|
918
|
-
'f_last_tablebase': '上期抄表底数',
|
|
919
|
-
'f_tablebase': '本期抄表底数',
|
|
920
|
-
'f_balance': '上期余额',
|
|
921
|
-
'f_oughtfee_all': '合计欠费金额',
|
|
922
|
-
'f_oughtfee_col': '实际欠费金额',
|
|
923
|
-
'f_cost_type': '缴费方式',
|
|
924
|
-
'f_meternumber': '表号'
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
usertypes () {
|
|
928
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
929
|
-
},
|
|
930
|
-
metertypes () {
|
|
931
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
932
|
-
},
|
|
933
|
-
chargetype () {
|
|
934
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
|
|
11
|
+
<label for="startDate" class="font_normal_body" title="归属日期">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
>
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body" title="归属日期">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
>
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">客户编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body">客户名称</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
+
condition="f_user_name = '{}'" placeholder="客户名称">
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
|
|
44
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
45
|
+
:field="$parent.$parent.getfield"
|
|
46
|
+
:footer="$parent.$parent.footer"
|
|
47
|
+
:header="$parent.$parent.other"
|
|
48
|
+
sqlurl="api/af-revenue/logic/saleExport"
|
|
49
|
+
sql-name="salearrearsQuery"
|
|
50
|
+
template-name='用户欠费查询导出'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
52
|
+
|
|
53
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
54
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
55
|
+
titletable="用户欠费查询导出"
|
|
56
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
57
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
64
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
|
|
69
|
+
<label for="inputstartDate" class="font_normal_body">抄表日期</label>
|
|
70
|
+
<datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
|
|
71
|
+
v-model="model.inputstartDate"
|
|
72
|
+
:value.sync="model.inputstartDate"
|
|
73
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
74
|
+
:show-reset-button="true"
|
|
75
|
+
>
|
|
76
|
+
</datepicker>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-sm-2 form-group">
|
|
79
|
+
<label for="inputendDate" class="font_normal_body"> 至 </label>
|
|
80
|
+
<datepicker id="inputendDate" placeholder="结束日期" style="width:60%"
|
|
81
|
+
v-model="model.inputendDate"
|
|
82
|
+
:value.sync="model.inputendDate"
|
|
83
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
84
|
+
:show-reset-button="true"
|
|
85
|
+
>
|
|
86
|
+
</datepicker>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
91
|
+
<!--<label class="font_normal_body">收费编号</label>-->
|
|
92
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
|
|
93
|
+
<!--condition="id = '{}'" placeholder="收费编号">-->
|
|
94
|
+
<!--</div>-->
|
|
95
|
+
<div class="col-sm-2 form-group">
|
|
96
|
+
<label class="font_normal_body">客户电话</label>
|
|
97
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
98
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
99
|
+
</div>
|
|
100
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
101
|
+
<!--<label class="font_normal_body">身份证号</label>-->
|
|
102
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
103
|
+
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
104
|
+
<!--</div>-->
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">客户地址</label>
|
|
107
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
108
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="col-sm-2 form-group">
|
|
111
|
+
<label class="font_normal_body"> 小区 </label>
|
|
112
|
+
<v-select :value.sync="model.f_residential_area"
|
|
113
|
+
class="select_list select"
|
|
114
|
+
enter-push
|
|
115
|
+
multiple
|
|
116
|
+
condition="f_residential_area in {}"
|
|
117
|
+
v-model="model.f_residential_area"
|
|
118
|
+
style="width: 60%"
|
|
119
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
120
|
+
close-on-select>
|
|
121
|
+
|
|
122
|
+
</v-select>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="col-sm-2 form-group">
|
|
125
|
+
<label class="font_normal_body" >缴费类型</label>
|
|
126
|
+
<v-select :value.sync="model.f_payment" multiple
|
|
127
|
+
v-model="model.f_payment"
|
|
128
|
+
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
129
|
+
condition="f_cost_type in {}"
|
|
130
|
+
close-on-select></v-select>
|
|
131
|
+
</div>
|
|
132
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
133
|
+
<!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
|
|
134
|
+
<!--<v-select :value.sync="model.f_payment" multiple-->
|
|
135
|
+
<!--v-model="model.f_payment"-->
|
|
136
|
+
<!--:options='$parent.$parent.payment' placeholder='请选择'-->
|
|
137
|
+
<!--condition="f_payment in {}"-->
|
|
138
|
+
<!--close-on-select></v-select>-->
|
|
139
|
+
<!--</div>-->
|
|
140
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
141
|
+
<!--<label class="font_normal_body">收费类型</label>-->
|
|
142
|
+
<!--<!– <v-select :value.sync="model.f_type"-->
|
|
143
|
+
<!--v-model="model.f_type"-->
|
|
144
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
145
|
+
<!--condition="f_type = '{}'"-->
|
|
146
|
+
<!--close-on-select></v-select>–>-->
|
|
147
|
+
<!--<v-select :value.sync="model.f_type" multiple-->
|
|
148
|
+
<!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
|
|
149
|
+
<!--close-on-select clear-button-->
|
|
150
|
+
<!--condition="f_type in {}"-->
|
|
151
|
+
<!--v-model="model.f_type"></v-select>-->
|
|
152
|
+
<!--</div>-->
|
|
153
|
+
<div class="col-sm-2 form-group">
|
|
154
|
+
<label class="font_normal_body">客户类型</label>
|
|
155
|
+
<v-select :value.sync="model.f_user_type"
|
|
156
|
+
@change="$parent.$parent.userTypeChange()"
|
|
157
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
158
|
+
condition="f_user_type = '{}'"
|
|
159
|
+
close-on-select></v-select>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="col-sm-2 form-group">
|
|
162
|
+
<label class="font_normal_body">用气性质</label>
|
|
163
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
164
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
165
|
+
condition="f_gasproperties = '{}'"
|
|
166
|
+
close-on-select></v-select>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="col-sm-2 form-group">
|
|
169
|
+
<label class="font_normal_body">气价类型</label>
|
|
170
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
171
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
172
|
+
close-on-select v-ref:type>
|
|
173
|
+
</v-select>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="col-sm-2 form-group">
|
|
176
|
+
<label class="font_normal_body">气价名称</label>
|
|
177
|
+
<v-select :value.sync="model.f_price_name"
|
|
178
|
+
v-model="model.f_price_name"
|
|
179
|
+
:options="$parent.$parent.getPricenames"
|
|
180
|
+
condition="f_price_name = '{}'"
|
|
181
|
+
close-on-select></v-select>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="col-sm-2 form-group">
|
|
184
|
+
<label class="font_normal_body" title="欠费气量大于">欠费气量</label>
|
|
185
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
|
|
186
|
+
condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
|
|
187
|
+
</div>
|
|
188
|
+
<div class="col-sm-2 form-group">
|
|
189
|
+
<label class="font_normal_body" title="气费金额大于">气费金额</label>
|
|
190
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
|
|
191
|
+
condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
|
|
192
|
+
</div>
|
|
193
|
+
<div class="col-sm-2 form-group">
|
|
194
|
+
<label class="font_normal_body">欠费金额</label>
|
|
195
|
+
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_oughtfee_col_small"
|
|
196
|
+
condition="f_oughtfee_col >= '{}' " placeholder="大于等于">
|
|
197
|
+
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtfee_col_big"
|
|
198
|
+
condition="f_oughtfee_col <= '{}' " placeholder="小于等于">
|
|
199
|
+
</div>
|
|
200
|
+
<div class="col-sm-2 form-group">
|
|
201
|
+
<label class="font_normal_body">欠费期数</label>
|
|
202
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.c"
|
|
203
|
+
condition="c > '{}'" placeholder='欠费期数大于'>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="col-sm-2 form-group">
|
|
206
|
+
<label class="font_normal_body">抄 表 员</label>
|
|
207
|
+
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
208
|
+
style="width:60%"
|
|
209
|
+
multiple="true"
|
|
210
|
+
:options='$parent.$parent.inputtores' placeholder='抄表员'
|
|
211
|
+
condition="f_inputtor in {}" multiple
|
|
212
|
+
close-on-select
|
|
213
|
+
v-el:cc></v-select>
|
|
214
|
+
</div>
|
|
215
|
+
<div class="col-sm-2 form-group">
|
|
216
|
+
<label class="font_normal_body">抄 表 册</label>
|
|
217
|
+
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
218
|
+
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
219
|
+
style="width:60%" multiple
|
|
220
|
+
close-on-select
|
|
221
|
+
condition="f_meter_book_num in {}"></v-select>
|
|
222
|
+
</div>
|
|
223
|
+
<div class="col-sm-2 form-group">
|
|
224
|
+
<label class="font_normal_body" >档案抄表员</label>
|
|
225
|
+
<v-select :value.sync="model.f_dainputtores"
|
|
226
|
+
v-model="model.f_dainputtores" multiple
|
|
227
|
+
:options='$parent.$parent.dainputtores' placeholder='请选择'
|
|
228
|
+
condition="f_dainputtores in {}"
|
|
229
|
+
close-on-select>
|
|
230
|
+
</v-select>
|
|
231
|
+
</div>
|
|
232
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
233
|
+
<!--<label class="font_normal_body">气价类型</label>-->
|
|
234
|
+
<!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
|
|
235
|
+
<!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
|
|
236
|
+
<!--close-on-select v-ref:type>-->
|
|
237
|
+
<!--</v-select>-->
|
|
238
|
+
<!--</div>-->
|
|
239
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
240
|
+
<!--<label class="font_normal_body">气价名称</label>-->
|
|
241
|
+
<!--<v-select :value.sync="model.f_price_name"-->
|
|
242
|
+
<!--v-model="model.f_price_name"-->
|
|
243
|
+
<!--:options="$parent.$parent.getPricenames"-->
|
|
244
|
+
<!--condition="f_price_name = '{}'"-->
|
|
245
|
+
<!--close-on-select></v-select>-->
|
|
246
|
+
<!--</div>-->
|
|
247
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
248
|
+
<!--<label class="font_normal_body"> 表编号</label>-->
|
|
249
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
|
|
250
|
+
<!--condition="f_user_id = '{}'" placeholder='表编号'>-->
|
|
251
|
+
<!--</div>-->
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</criteria>
|
|
255
|
+
|
|
256
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
257
|
+
<template partial='head'>
|
|
258
|
+
<tr>
|
|
259
|
+
<th>
|
|
260
|
+
<nobr>序号</nobr>
|
|
261
|
+
</th>
|
|
262
|
+
<th>
|
|
263
|
+
<nobr>客户编号</nobr>
|
|
264
|
+
</th>
|
|
265
|
+
<th>
|
|
266
|
+
<nobr>客户姓名</nobr>
|
|
267
|
+
</th>
|
|
268
|
+
<th>
|
|
269
|
+
<nobr>小区名称</nobr>
|
|
270
|
+
</th>
|
|
271
|
+
<th>
|
|
272
|
+
<nobr>身份证号</nobr>
|
|
273
|
+
</th>
|
|
274
|
+
<th>
|
|
275
|
+
<nobr>地址</nobr>
|
|
276
|
+
</th>
|
|
277
|
+
<th>
|
|
278
|
+
<nobr>客户电话</nobr>
|
|
279
|
+
</th>
|
|
280
|
+
<th>
|
|
281
|
+
<nobr>表号</nobr>
|
|
282
|
+
</th>
|
|
283
|
+
<th>
|
|
284
|
+
<nobr>备用电话</nobr>
|
|
285
|
+
</th>
|
|
286
|
+
<th>
|
|
287
|
+
<nobr>气表类型</nobr>
|
|
288
|
+
</th>
|
|
289
|
+
|
|
290
|
+
<th>
|
|
291
|
+
<nobr>欠费期数</nobr>
|
|
292
|
+
</th>
|
|
293
|
+
<th>
|
|
294
|
+
<nobr>欠费区间</nobr>
|
|
295
|
+
</th>
|
|
296
|
+
<th>
|
|
297
|
+
<nobr>上期抄表底数</nobr>
|
|
298
|
+
</th>
|
|
299
|
+
<th>
|
|
300
|
+
<nobr>本期抄表底数</nobr>
|
|
301
|
+
</th>
|
|
302
|
+
<th>
|
|
303
|
+
<nobr>用气量</nobr>
|
|
304
|
+
</th>
|
|
305
|
+
<th>
|
|
306
|
+
<nobr>用气金额</nobr>
|
|
307
|
+
</th>
|
|
308
|
+
<th>
|
|
309
|
+
<nobr>合计欠费</nobr>
|
|
310
|
+
</th>
|
|
311
|
+
<th>
|
|
312
|
+
<nobr>实际欠费</nobr>
|
|
313
|
+
</th>
|
|
314
|
+
<th>
|
|
315
|
+
<nobr>缴费时间</nobr>
|
|
316
|
+
</th>
|
|
317
|
+
<th>
|
|
318
|
+
<nobr>已交金额</nobr>
|
|
319
|
+
</th>
|
|
320
|
+
<!--<th>-->
|
|
321
|
+
<!--<nobr>回收率</nobr>-->
|
|
322
|
+
<!--</th>-->
|
|
323
|
+
<th>
|
|
324
|
+
<nobr>应交气费</nobr>
|
|
325
|
+
</th>
|
|
326
|
+
<th>
|
|
327
|
+
<nobr>违约金</nobr>
|
|
328
|
+
</th>
|
|
329
|
+
<th>
|
|
330
|
+
<nobr>附加费</nobr>
|
|
331
|
+
</th>
|
|
332
|
+
<th>
|
|
333
|
+
<nobr>上期余额</nobr>
|
|
334
|
+
</th>
|
|
335
|
+
<th>
|
|
336
|
+
<nobr>抄表员</nobr>
|
|
337
|
+
</th>
|
|
338
|
+
<th>
|
|
339
|
+
<nobr>抄表册</nobr>
|
|
340
|
+
</th>
|
|
341
|
+
<th>
|
|
342
|
+
<nobr>档案抄表员</nobr>
|
|
343
|
+
</th>
|
|
344
|
+
<th>
|
|
345
|
+
<nobr>客户类型</nobr>
|
|
346
|
+
</th>
|
|
347
|
+
<th>
|
|
348
|
+
<nobr>缴费类型</nobr>
|
|
349
|
+
</th>
|
|
350
|
+
<th>
|
|
351
|
+
<nobr>用气性质</nobr>
|
|
352
|
+
</th>
|
|
353
|
+
<th>
|
|
354
|
+
<nobr>备 注</nobr>
|
|
355
|
+
</th>
|
|
356
|
+
</tr>
|
|
357
|
+
</template>
|
|
358
|
+
<template partial='body'>
|
|
359
|
+
<td style="text-align:center">
|
|
360
|
+
<nobr>{{$index+1}}</nobr>
|
|
361
|
+
</td>
|
|
362
|
+
<td style="text-align: center;">
|
|
363
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
364
|
+
</td>
|
|
365
|
+
<td style="text-align: center;">
|
|
366
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
367
|
+
</td>
|
|
368
|
+
<td style="text-align: center;">
|
|
369
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
370
|
+
</td>
|
|
371
|
+
<td style="text-align: center;">
|
|
372
|
+
<nobr>{{row.f_idnumber}}</nobr>
|
|
373
|
+
</td>
|
|
374
|
+
<td style="text-align: center;">
|
|
375
|
+
<nobr>{{row.f_address}}</nobr>
|
|
376
|
+
</td>
|
|
377
|
+
<td style="text-align: center;">
|
|
378
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
379
|
+
</td>
|
|
380
|
+
<td style="text-align: center;">
|
|
381
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
382
|
+
</td>
|
|
383
|
+
<td style="text-align: center;">
|
|
384
|
+
<nobr>{{row.f_rent_phone}}</nobr>
|
|
385
|
+
</td>
|
|
386
|
+
<td style="text-align: center;">
|
|
387
|
+
<nobr>{{row.f_meter_classify}}</nobr>
|
|
388
|
+
</td>
|
|
389
|
+
|
|
390
|
+
<td style="text-align: center;">
|
|
391
|
+
<nobr>{{row.c}}</nobr>
|
|
392
|
+
</td>
|
|
393
|
+
<td style="text-align: center;">
|
|
394
|
+
<nobr>{{row.f_hand_date}}</nobr>
|
|
395
|
+
</td>
|
|
396
|
+
<td style="text-align: center;">
|
|
397
|
+
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
398
|
+
</td>
|
|
399
|
+
<td style="text-align: center;">
|
|
400
|
+
<nobr>{{row.f_tablebase}}</nobr>
|
|
401
|
+
</td>
|
|
402
|
+
<td style="text-align: center;">
|
|
403
|
+
<nobr>{{row.f_oughtamount}}</nobr>
|
|
404
|
+
</td>
|
|
405
|
+
<td style="text-align: center;">
|
|
406
|
+
<nobr>{{row.f_oughtfee}}</nobr>
|
|
407
|
+
</td>
|
|
408
|
+
<td style="text-align: center;">
|
|
409
|
+
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
410
|
+
</td>
|
|
411
|
+
<td style="text-align: center;">
|
|
412
|
+
<nobr>{{row.f_oughtfee_col}}</nobr>
|
|
413
|
+
</td>
|
|
414
|
+
<td style="text-align: center;">
|
|
415
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
416
|
+
</td>
|
|
417
|
+
<td style="text-align: center;">
|
|
418
|
+
<nobr>{{row.f_debt_money}}</nobr>
|
|
419
|
+
</td>
|
|
420
|
+
<!--<td style="text-align: center;">-->
|
|
421
|
+
<!--<nobr>{{row.f_hand_bv}}</nobr>-->
|
|
422
|
+
<!--</td>-->
|
|
423
|
+
<td style="text-align: center;">
|
|
424
|
+
<nobr>{{row.f_oughtfee_new}}</nobr>
|
|
425
|
+
</td>
|
|
426
|
+
<td style="text-align: center;">
|
|
427
|
+
<nobr>{{row.overdue}}</nobr>
|
|
428
|
+
</td>
|
|
429
|
+
<td style="text-align: center;">
|
|
430
|
+
<nobr>{{row.f_garbage_fee}}</nobr>
|
|
431
|
+
</td>
|
|
432
|
+
<td style="text-align: center;">
|
|
433
|
+
<nobr>{{row.f_balance}}</nobr>
|
|
434
|
+
</td>
|
|
435
|
+
<td style="text-align: center;">
|
|
436
|
+
<nobr>{{row.f_inputtor}}</nobr>
|
|
437
|
+
</td>
|
|
438
|
+
<td style="text-align: center;">
|
|
439
|
+
<nobr>{{row.f_book_name}}</nobr>
|
|
440
|
+
</td>
|
|
441
|
+
<td style="text-align: center;">
|
|
442
|
+
<nobr>{{row.f_dainputtores}}</nobr>
|
|
443
|
+
</td>
|
|
444
|
+
<td style="text-align: center;">
|
|
445
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
446
|
+
</td>
|
|
447
|
+
<td style="text-align: center;">
|
|
448
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
449
|
+
</td>
|
|
450
|
+
<td style="text-align: center;">
|
|
451
|
+
<nobr>{{row.f_cost_type}}</nobr>
|
|
452
|
+
</td>
|
|
453
|
+
<td style="text-align: center;">
|
|
454
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
455
|
+
</td>
|
|
456
|
+
</template>
|
|
457
|
+
<template partial='foot'></template>
|
|
458
|
+
</data-grid>
|
|
459
|
+
</criteria-paged>
|
|
460
|
+
<table class="table-hover">
|
|
461
|
+
<tr style="position: relative" class="table-bordered">
|
|
462
|
+
<td
|
|
463
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
464
|
+
汇总信息
|
|
465
|
+
</td>
|
|
466
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
467
|
+
用气量合计: {{sumsmodel.f_oughtamount}}
|
|
468
|
+
</td>
|
|
469
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
470
|
+
用气金额合计: {{sumsmodel.f_oughtfee}}
|
|
471
|
+
</td>
|
|
472
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
473
|
+
已交金额合计: {{sumsmodel.f_debt_money}}
|
|
474
|
+
</td>
|
|
475
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
476
|
+
气费金额合计: {{sumsmodel.f_oughtfee_new}}
|
|
477
|
+
</td>
|
|
478
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
479
|
+
违约金合计: {{sumsmodel.overdue}}
|
|
480
|
+
</td>
|
|
481
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
482
|
+
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
483
|
+
</td>
|
|
484
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
485
|
+
上期余额合计: {{sumsmodel.f_balance}}
|
|
486
|
+
</td>
|
|
487
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
488
|
+
合计欠费: {{sumsmodel.f_oughtfee_all}}
|
|
489
|
+
</td>
|
|
490
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
491
|
+
实际欠费: {{sumsmodel.f_oughtfee_col}}
|
|
492
|
+
</td>
|
|
493
|
+
</tr>
|
|
494
|
+
</table>
|
|
495
|
+
</div>
|
|
496
|
+
<div v-if="show">
|
|
497
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
</template>
|
|
502
|
+
|
|
503
|
+
<script>
|
|
504
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
505
|
+
|
|
506
|
+
let readySomething = async function (self) {
|
|
507
|
+
self.getinputtores()
|
|
508
|
+
// 加载抄表册
|
|
509
|
+
self.initmeterbook()
|
|
510
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
511
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
512
|
+
// self.$refs.paged.$refs.cri.search()
|
|
513
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
514
|
+
await self.$LoadParams.loadParam()
|
|
515
|
+
self.initParams()
|
|
516
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
517
|
+
}
|
|
518
|
+
export default {
|
|
519
|
+
title: '欠费查询',
|
|
520
|
+
data () {
|
|
521
|
+
return {
|
|
522
|
+
config: {
|
|
523
|
+
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
524
|
+
},
|
|
525
|
+
other: [],
|
|
526
|
+
footer: [],
|
|
527
|
+
// f_price_name:[],
|
|
528
|
+
gasproperties: [],
|
|
529
|
+
showinfo: false,
|
|
530
|
+
data: {},
|
|
531
|
+
show: false,
|
|
532
|
+
rowdata: {},
|
|
533
|
+
initres: {
|
|
534
|
+
org: [this.$login.f.orgid],
|
|
535
|
+
dep: [],
|
|
536
|
+
user: []
|
|
537
|
+
},
|
|
538
|
+
model: new PagedList('api/af-revenue/sql/salearrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
|
|
539
|
+
f_oughtamount: 0,
|
|
540
|
+
f_oughtfee: 0,
|
|
541
|
+
f_debt_money: 0,
|
|
542
|
+
f_oughtfee_new: 0,
|
|
543
|
+
overdue: 0,
|
|
544
|
+
f_garbage_fee: 0,
|
|
545
|
+
f_balance: 0,
|
|
546
|
+
f_oughtfee_all: 0,
|
|
547
|
+
f_oughtfee_col: 0
|
|
548
|
+
}),
|
|
549
|
+
criteriaShow: false,
|
|
550
|
+
orgCondtionStr: '',
|
|
551
|
+
condition: '',
|
|
552
|
+
// 下拉框
|
|
553
|
+
meterbrands: [],
|
|
554
|
+
pricenames: [],
|
|
555
|
+
prices: [],
|
|
556
|
+
area: [],
|
|
557
|
+
// 合计数据
|
|
558
|
+
defaultfield: [],
|
|
559
|
+
// 小区
|
|
560
|
+
residentialArea: [],
|
|
561
|
+
sumsmodel: {},
|
|
562
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
563
|
+
meterbooks: [{label: '全部', value: ''}], // 抄表册
|
|
564
|
+
// inputtores:[{label: '全部',value: ''}],
|
|
565
|
+
dainputtores: [{label: '全部', value: ''}],
|
|
566
|
+
allorgid: [],
|
|
567
|
+
tempfalg: false,
|
|
568
|
+
lastorgstr: '',
|
|
569
|
+
dypayment: [{label: '全部', value: ''}, {label: '银行代扣', value: '银行代扣'}, {label: '现金缴费', value: '现金缴费'}]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
ready () {
|
|
573
|
+
this.hqdainputtores()
|
|
574
|
+
this.getaddress()
|
|
575
|
+
readySomething(this).then(() => {
|
|
576
|
+
this.$emit('ready')
|
|
577
|
+
}).catch((error) => {
|
|
578
|
+
this.$emit('error', error)
|
|
579
|
+
})
|
|
580
|
+
},
|
|
581
|
+
methods: {
|
|
582
|
+
|
|
583
|
+
async hqdainputtores () {
|
|
584
|
+
let param = {
|
|
585
|
+
items: 'DISTINCT f_inputtor',
|
|
586
|
+
tablename: 't_userfiles',
|
|
587
|
+
condition: ` f_inputtor is NOT null`
|
|
588
|
+
}
|
|
589
|
+
let getDainputtores = await new HttpResetClass().load('POST', 'api/af-revenue/sql/singleTableParam', {data: param}, {
|
|
590
|
+
resolveMsg: null,
|
|
591
|
+
rejectMsg: null
|
|
592
|
+
})
|
|
593
|
+
if (getDainputtores.data.length > 0) {
|
|
594
|
+
let rs = []
|
|
595
|
+
getDainputtores.data.forEach((item) => {
|
|
596
|
+
if (item.f_inputtor.length > 0) {
|
|
597
|
+
let temp = {
|
|
598
|
+
label: item.f_inputtor,
|
|
599
|
+
value: item.f_inputtor
|
|
600
|
+
}
|
|
601
|
+
rs.push(temp)
|
|
602
|
+
}
|
|
603
|
+
})
|
|
604
|
+
this.dainputtores = [{label: '全部', value: ''}, ...rs]
|
|
605
|
+
} else {
|
|
606
|
+
this.dainputtores = [{label: '全部', value: ''}]
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
async inputtorchange () {
|
|
610
|
+
let val = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
611
|
+
if (val != null && val != '') {
|
|
612
|
+
let param = {
|
|
613
|
+
items: '*',
|
|
614
|
+
tablename: 't_meter_book',
|
|
615
|
+
condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
616
|
+
orderitem: 'id'
|
|
617
|
+
|
|
618
|
+
}
|
|
619
|
+
let getMeterBooks = await this.$resetpost('api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
620
|
+
if (getMeterBooks.data) {
|
|
621
|
+
if (getMeterBooks.data.length > 0) {
|
|
622
|
+
let rs = []
|
|
623
|
+
getMeterBooks.data.forEach((item) => {
|
|
624
|
+
let temp = {
|
|
625
|
+
label: item.f_book_name,
|
|
626
|
+
value: item.id
|
|
627
|
+
}
|
|
628
|
+
rs.push(temp)
|
|
629
|
+
})
|
|
630
|
+
this.meterbooks = [{label: '全部', value: ''}, ...rs]
|
|
631
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id])
|
|
632
|
+
} else {
|
|
633
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
634
|
+
this.meterbooks = [{label: '全部', value: ''}]
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
} else {
|
|
638
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
639
|
+
this.meterbooks = [{label: '全部', value: ''}]
|
|
640
|
+
this.initmeterbook()
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
async initmeterbook (orgstr) {
|
|
644
|
+
if (orgstr == null) {
|
|
645
|
+
orgstr = this.f_filialeid
|
|
646
|
+
}
|
|
647
|
+
// 获取新的抄表册,先去清理所有的抄表册
|
|
648
|
+
this.$GetSaleParam.meterbooks = []
|
|
649
|
+
// 开始加载新的抄表册
|
|
650
|
+
await this.$LoadParams.loadMeterBook(orgstr)
|
|
651
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
652
|
+
},
|
|
653
|
+
getinputtores () {
|
|
654
|
+
// 获取抄表员
|
|
655
|
+
let rs = []
|
|
656
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
657
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
658
|
+
let temp = {
|
|
659
|
+
label: this.$login.f.f_gasman[i].name,
|
|
660
|
+
value: this.$login.f.f_gasman[i].name
|
|
661
|
+
}
|
|
662
|
+
rs.push(temp)
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
666
|
+
},
|
|
667
|
+
// 加载抄表册
|
|
668
|
+
loadMeterBooks () {
|
|
669
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
670
|
+
},
|
|
671
|
+
getotherfooter () {
|
|
672
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
673
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
674
|
+
this.other = []
|
|
675
|
+
this.footer = []
|
|
676
|
+
let exportdata = this.getCondition
|
|
677
|
+
let otherInData = []
|
|
678
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
679
|
+
let footerData = [], exportfield = this.getfield
|
|
680
|
+
footerData.push('合计')
|
|
681
|
+
let self = this
|
|
682
|
+
for (var field in self.sumsmodel) {
|
|
683
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
684
|
+
}
|
|
685
|
+
this.footer.push(footerData)
|
|
686
|
+
this.other.push(otherInData)
|
|
687
|
+
},
|
|
688
|
+
async getaddress () {
|
|
689
|
+
console.log('开始获取小区')
|
|
690
|
+
let HttpReset = new HttpResetClass()
|
|
691
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
692
|
+
data: {
|
|
693
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
694
|
+
}
|
|
695
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
696
|
+
console.log('小区', data)
|
|
697
|
+
let house = [{label: '全部', value: ''}]
|
|
698
|
+
for (let row of data.data) {
|
|
699
|
+
console.log('开始保存小区')
|
|
700
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
701
|
+
}
|
|
702
|
+
this.residentialArea = house
|
|
703
|
+
},
|
|
704
|
+
// 把数据库查询数据转换为下拉数据
|
|
705
|
+
calculate (rows) {
|
|
706
|
+
let data = []
|
|
707
|
+
rows.forEach((row, n) => {
|
|
708
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
709
|
+
})
|
|
710
|
+
return data
|
|
711
|
+
},
|
|
712
|
+
|
|
713
|
+
search () {
|
|
714
|
+
this.$refs.paged.$refs.cri.search()
|
|
715
|
+
},
|
|
716
|
+
cancel () {
|
|
717
|
+
this.show = false
|
|
718
|
+
},
|
|
719
|
+
showmsg (obj) {
|
|
720
|
+
this.rowdata = obj
|
|
721
|
+
this.show = true
|
|
722
|
+
},
|
|
723
|
+
userTypeChange () {
|
|
724
|
+
this.gasproperties = []
|
|
725
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
726
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
727
|
+
|
|
728
|
+
console.log('查看客户类型是什么', this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
729
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
730
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
731
|
+
} else {
|
|
732
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
initParams () {
|
|
736
|
+
// 初始化气表品牌
|
|
737
|
+
let brandArr = []
|
|
738
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
739
|
+
let temp = {}
|
|
740
|
+
temp.label = item.label
|
|
741
|
+
temp.value = item.value.id
|
|
742
|
+
brandArr.push(temp)
|
|
743
|
+
// // 取出对应气表型号
|
|
744
|
+
// let styleArr = []
|
|
745
|
+
// for (let row of item.value.gasmodel) {
|
|
746
|
+
// styleArr.push({label: row.label, value: row.value.id})
|
|
747
|
+
// }
|
|
748
|
+
// this.meterstyle[temp.value] = styleArr
|
|
749
|
+
})
|
|
750
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
751
|
+
// 初始化气表价格
|
|
752
|
+
this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
|
|
753
|
+
},
|
|
754
|
+
selfSearch (args) {
|
|
755
|
+
console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
|
|
756
|
+
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
|
|
757
|
+
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
758
|
+
} else {
|
|
759
|
+
// 小区查询条件
|
|
760
|
+
let f_orgstr = this.orgCondtionStr
|
|
761
|
+
let str = '1=1 '
|
|
762
|
+
if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
|
|
763
|
+
str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
|
|
764
|
+
}
|
|
765
|
+
if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
|
|
766
|
+
str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
|
|
767
|
+
}
|
|
768
|
+
args.condition = `${args.condition} and f_meter_type='机表'` + f_orgstr
|
|
769
|
+
this.condition = args.condition
|
|
770
|
+
this.model.search(args.condition, args.model, str)
|
|
771
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
clear () {
|
|
775
|
+
// 清空部门和人员
|
|
776
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
777
|
+
// 部门和人员变为全选
|
|
778
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
779
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
780
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
781
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
782
|
+
})
|
|
783
|
+
},
|
|
784
|
+
dealmsg (val) {
|
|
785
|
+
val.model = this.model.model
|
|
786
|
+
this.$dispatch('deal-msg', val)
|
|
787
|
+
},
|
|
788
|
+
show () {
|
|
789
|
+
this.criteriaShow = true
|
|
790
|
+
},
|
|
791
|
+
hidden () {
|
|
792
|
+
this.criteriaShow = !this.criteriaShow
|
|
793
|
+
},
|
|
794
|
+
async getRes (condition, obj) {
|
|
795
|
+
this.orgCondtionStr = condition
|
|
796
|
+
this.orgname = obj.orgnames[0]
|
|
797
|
+
this.depname = obj.depnames[0]
|
|
798
|
+
},
|
|
799
|
+
async updateParams () {
|
|
800
|
+
await this.$LoadParams.loadParam(this.f_filialeid)
|
|
801
|
+
this.inputtores = []
|
|
802
|
+
this.inputtores.push({label: '全部', value: ''})
|
|
803
|
+
if (this.allorgid != null) {
|
|
804
|
+
this.allorgid.forEach((res) => {
|
|
805
|
+
this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res))
|
|
806
|
+
})
|
|
807
|
+
}
|
|
808
|
+
this.initParams()
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
events: {
|
|
812
|
+
'getidcard' (IdCard) {
|
|
813
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
watch: {
|
|
817
|
+
'model' (val) {
|
|
818
|
+
},
|
|
819
|
+
// async 'orgCondtionStr'(val) {
|
|
820
|
+
// this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
|
|
821
|
+
// this.$refs.paged.$refs.cri.model.f_meter_book = []
|
|
822
|
+
// this.meterbooks = [{label: '全部',value: ''}];
|
|
823
|
+
// if(this.lastorgstr != val){
|
|
824
|
+
// this.tempfalg = true;
|
|
825
|
+
// this.lastorgstr = val;
|
|
826
|
+
// }
|
|
827
|
+
// if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
|
|
828
|
+
// this.tempfalg = false;
|
|
829
|
+
// let a = val.substring(val.indexOf("(")+2)
|
|
830
|
+
// await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
|
|
831
|
+
// }
|
|
832
|
+
// let res = val.match(/'(.*?)'/)
|
|
833
|
+
// if (res) {
|
|
834
|
+
// this.f_filialeid = res[1]
|
|
835
|
+
// if(res.input !=null){
|
|
836
|
+
// let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
837
|
+
// if(resorgid!= null && resorgid!=''){
|
|
838
|
+
// resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
|
|
839
|
+
// // resorgid = resorgid.replaceAll("'","");
|
|
840
|
+
// resorgid = resorgid.replace(/'/g,"");
|
|
841
|
+
// this.allorgid = resorgid.split(",")
|
|
842
|
+
// }
|
|
843
|
+
// }
|
|
844
|
+
// this.updateParams()
|
|
845
|
+
// }
|
|
846
|
+
// },
|
|
847
|
+
sumsmodel: {
|
|
848
|
+
handler: function (val) {
|
|
849
|
+
this.getotherfooter()
|
|
850
|
+
},
|
|
851
|
+
deep: true
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
computed: {
|
|
855
|
+
pricetypes () {
|
|
856
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
857
|
+
},
|
|
858
|
+
inputtores () {
|
|
859
|
+
// 获取抄表员
|
|
860
|
+
console.log('获取抄表员', this.$login.f)
|
|
861
|
+
let rs = []
|
|
862
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
863
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
864
|
+
let temp = {
|
|
865
|
+
label: this.$login.f.f_gasman[i].name,
|
|
866
|
+
value: this.$login.f.f_gasman[i].name
|
|
867
|
+
}
|
|
868
|
+
rs.push(temp)
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
return [...rs]
|
|
872
|
+
},
|
|
873
|
+
getPricenames () {
|
|
874
|
+
let f_filialeid = this.f_filialeid
|
|
875
|
+
let result = []
|
|
876
|
+
this.$GetSaleParam.prices.forEach((item) => {
|
|
877
|
+
if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
|
|
878
|
+
let value = {
|
|
879
|
+
label: item.f_price_name,
|
|
880
|
+
value: item
|
|
881
|
+
}
|
|
882
|
+
result.push(value)
|
|
883
|
+
}
|
|
884
|
+
})
|
|
885
|
+
return Array.from(new Set(result))
|
|
886
|
+
},
|
|
887
|
+
getCondition () {
|
|
888
|
+
return {
|
|
889
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
890
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
891
|
+
condition: this.condition,
|
|
892
|
+
condValue: `${this.model.condValue}`
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
getfield () {
|
|
896
|
+
return {
|
|
897
|
+
'f_userinfo_code': '客户编号',
|
|
898
|
+
'f_user_name': '客户名称',
|
|
899
|
+
'f_residential_area': '小区名称',
|
|
900
|
+
'f_idnumber': '身份证号',
|
|
901
|
+
'f_address': '客户地址',
|
|
902
|
+
'f_user_phone': '客户电话',
|
|
903
|
+
'f_rent_phone': '备用电话',
|
|
904
|
+
'f_inputtor': '抄表员',
|
|
905
|
+
'f_book_name': '抄表册',
|
|
906
|
+
'f_user_type': '客户类型',
|
|
907
|
+
'f_gasproperties': '用气性质',
|
|
908
|
+
'f_comments': '备注',
|
|
909
|
+
'c': '欠费期数',
|
|
910
|
+
'f_hand_date': '欠费区间',
|
|
911
|
+
'f_oughtamount': '用气量',
|
|
912
|
+
'f_oughtfee': '用气金额',
|
|
913
|
+
'f_operate_date': '缴费时间',
|
|
914
|
+
'f_debt_money': '已交金额',
|
|
915
|
+
'f_oughtfee_new': '应交气费',
|
|
916
|
+
'overdue': '违约金',
|
|
917
|
+
'f_garbage_fee': '附加费',
|
|
918
|
+
'f_last_tablebase': '上期抄表底数',
|
|
919
|
+
'f_tablebase': '本期抄表底数',
|
|
920
|
+
'f_balance': '上期余额',
|
|
921
|
+
'f_oughtfee_all': '合计欠费金额',
|
|
922
|
+
'f_oughtfee_col': '实际欠费金额',
|
|
923
|
+
'f_cost_type': '缴费方式',
|
|
924
|
+
'f_meternumber': '表号'
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
usertypes () {
|
|
928
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
929
|
+
},
|
|
930
|
+
metertypes () {
|
|
931
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
932
|
+
},
|
|
933
|
+
chargetype () {
|
|
934
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
</script>
|