manage-client 4.1.83 → 4.1.85-tcls
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/build/dev-server.js +227 -145
- package/package.json +111 -111
- package/src/components/SellReport/shimen/SMSummary.vue +175 -0
- package/src/filiale/shanxian/OtherChargeQuery.vue +0 -4
- package/src/filiale/tongchuan/CancellationQuery.vue +455 -0
- package/src/filiale/tongchuan/ChangeMeterQuery.vue +730 -702
- package/src/filiale/tongchuan/ChargeQuery.vue +1514 -1487
- package/src/filiale/tongchuan/DisableQuery.vue +550 -523
- package/src/filiale/tongchuan/EnableQuery.vue +489 -0
- package/src/filiale/tongchuan/FillCardQuery.vue +598 -573
- package/src/filiale/tongchuan/FillGasQuery.vue +560 -533
- package/src/filiale/tongchuan/HandplanQuery.vue +1358 -1332
- package/src/filiale/tongchuan/OtherChargeDetailQuery.vue +74 -0
- package/src/filiale/tongchuan/OtherChargeQuery.vue +751 -0
- package/src/filiale/tongchuan/PrivilegeQuery.vue +420 -0
- package/src/filiale/tongchuan/RecordInfoQuery.vue +1493 -1493
- package/src/filiale/tongchuan/ResSelectUserGroup.vue +384 -0
- package/src/filiale/tongchuan/ReverseQuery.vue +477 -450
- package/src/filiale/tongchuan/TransferQuery.vue +528 -0
- package/src/filiale/tongchuan/TransferRecordQuery.vue +202 -0
- package/src/filiale/tongchuan/config/exportConfig.js +1102 -918
- package/src/filiale/tongchuan/overDueQuery.vue +497 -0
- package/src/filiale/tongchuan/priceadjustQuery.vue +560 -0
- package/src/filiale/tongchuan/sale.js +36 -0
- package/src/filiale/tongchuan/sellingChargePrice.vue +754 -714
- package/src/main.js +3 -3
- package/src/reportManage.js +4 -0
|
@@ -0,0 +1,560 @@
|
|
|
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 @sort="sort">
|
|
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
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
condition="f_operate_date >= '{}'">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
:show-reset-button="true"
|
|
26
|
+
condition="f_operate_date <= '{}'">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">客户编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 form-group">
|
|
35
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
36
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
37
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
38
|
+
</div>
|
|
39
|
+
<div class="span" style="float:right;">
|
|
40
|
+
<!--<read-idcard></read-idcard>-->
|
|
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" :footer="$parent.$parent.footer"
|
|
45
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
46
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="surplusQuery" template-name='调价补差查询导出'
|
|
47
|
+
:choose-col="true">
|
|
48
|
+
</export-excel>
|
|
49
|
+
|
|
50
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
51
|
+
:defaultfield="$parent.$parent.defaultfield" print-name="调价补差查询"
|
|
52
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
53
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
58
|
+
<res-select-user-group
|
|
59
|
+
:operator-initres="$parent.$parent.initres"
|
|
60
|
+
:user-initres="$parent.$parent.userInitres"
|
|
61
|
+
:show-component="['company','department','operator','user_company']"
|
|
62
|
+
@re-res="$parent.$parent.getRes"
|
|
63
|
+
@re-us-res="$parent.$parent.getUserRes"
|
|
64
|
+
v-ref:usersel>
|
|
65
|
+
</res-select-user-group>
|
|
66
|
+
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">客户名称</label>
|
|
69
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
70
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
<div class="col-sm-2 form-group">
|
|
74
|
+
<label class="font_normal_body">客户电话</label>
|
|
75
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
76
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<div class="col-sm-2 form-group">
|
|
80
|
+
<label class="font_normal_body">客户地址</label>
|
|
81
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
82
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-2 form-group">
|
|
85
|
+
<label class="font_normal_body" >是否缴费</label>
|
|
86
|
+
<v-select :value.sync="model.f_whether_pay"
|
|
87
|
+
v-model="model.f_whether_pay"
|
|
88
|
+
:options='$parent.$parent.whetherPay' placeholder='请选择'
|
|
89
|
+
condition="f_whether_pay = '{}'"
|
|
90
|
+
close-on-select></v-select>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="col-sm-2 form-group">
|
|
93
|
+
<label class="font_normal_body" >状  态</label>
|
|
94
|
+
<v-select :value.sync="model.f_state"
|
|
95
|
+
v-model="model.f_state"
|
|
96
|
+
:options='$parent.$parent.state' placeholder='请选择'
|
|
97
|
+
condition="f_state = '{}'"
|
|
98
|
+
close-on-select></v-select>
|
|
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.id"
|
|
103
|
+
condition="id = '{}'" placeholder="收费编号">
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">气表品牌</label>
|
|
107
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
108
|
+
v-model="model.f_meter_brand"
|
|
109
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
110
|
+
condition="f_meter_brand in {}"
|
|
111
|
+
close-on-select></v-select>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
</criteria>
|
|
118
|
+
|
|
119
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
120
|
+
<template partial='head'>
|
|
121
|
+
<tr>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>补差编号</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
127
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
128
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>客户名称</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>档案编号</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
<th>
|
|
137
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
138
|
+
<data-order field="f_address" name="客户地址"
|
|
139
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
140
|
+
</th>
|
|
141
|
+
<th>
|
|
142
|
+
<nobr>表号</nobr>
|
|
143
|
+
</th>
|
|
144
|
+
<th>
|
|
145
|
+
<nobr>气表品牌</nobr>
|
|
146
|
+
</th>
|
|
147
|
+
|
|
148
|
+
<th>
|
|
149
|
+
<nobr>原单价</nobr>
|
|
150
|
+
</th>
|
|
151
|
+
<th>
|
|
152
|
+
<nobr>现单价</nobr>
|
|
153
|
+
</th>
|
|
154
|
+
<th>
|
|
155
|
+
<nobr>单价调整量</nobr>
|
|
156
|
+
</th>
|
|
157
|
+
<th>
|
|
158
|
+
<nobr>补差气量</nobr>
|
|
159
|
+
</th>
|
|
160
|
+
<th>
|
|
161
|
+
<nobr>补差金额</nobr>
|
|
162
|
+
</th>
|
|
163
|
+
<th>
|
|
164
|
+
<nobr>调价区间</nobr>
|
|
165
|
+
</th>
|
|
166
|
+
<th>
|
|
167
|
+
<nobr>是否缴费</nobr>
|
|
168
|
+
</th>
|
|
169
|
+
<th>
|
|
170
|
+
<nobr>上次抄表日期</nobr>
|
|
171
|
+
</th>
|
|
172
|
+
<th>
|
|
173
|
+
<nobr>本次抄表日期</nobr>
|
|
174
|
+
</th>
|
|
175
|
+
<th>
|
|
176
|
+
<nobr>上期底数</nobr>
|
|
177
|
+
</th>
|
|
178
|
+
<th>
|
|
179
|
+
<nobr>本期底数</nobr>
|
|
180
|
+
</th>
|
|
181
|
+
<th>
|
|
182
|
+
<nobr>剩余量</nobr>
|
|
183
|
+
</th>
|
|
184
|
+
<th>
|
|
185
|
+
<nobr>抄表员</nobr>
|
|
186
|
+
</th>
|
|
187
|
+
<th>
|
|
188
|
+
<nobr>状态</nobr>
|
|
189
|
+
</th>
|
|
190
|
+
<th>
|
|
191
|
+
<!-- <nobr>操作日期</nobr>-->
|
|
192
|
+
<data-order field="f_operate_date" name="操作日期"
|
|
193
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
194
|
+
</th>
|
|
195
|
+
|
|
196
|
+
<th>
|
|
197
|
+
<nobr>操作员人员</nobr>
|
|
198
|
+
</th>
|
|
199
|
+
<th>
|
|
200
|
+
<nobr>操作员部门</nobr>
|
|
201
|
+
</th>
|
|
202
|
+
<th>
|
|
203
|
+
<nobr>操作员公司</nobr>
|
|
204
|
+
</th>
|
|
205
|
+
<th>
|
|
206
|
+
<nobr>用户公司</nobr>
|
|
207
|
+
</th>
|
|
208
|
+
<th><nobr>附件</nobr></th>
|
|
209
|
+
</tr>
|
|
210
|
+
</template>
|
|
211
|
+
<template partial='body'>
|
|
212
|
+
<td style="text-align: center;">
|
|
213
|
+
<nobr>{{row.id}}</nobr>
|
|
214
|
+
</td>
|
|
215
|
+
<td style="text-align: center;"><nobr>
|
|
216
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
217
|
+
</nobr> </td>
|
|
218
|
+
<td style="text-align: center;">
|
|
219
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
220
|
+
</td>
|
|
221
|
+
<td style="text-align: center;">
|
|
222
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
223
|
+
</td>
|
|
224
|
+
<td style="text-align: center;">
|
|
225
|
+
<nobr>{{row.f_address}}</nobr>
|
|
226
|
+
</td>
|
|
227
|
+
<td style="text-align: center;">
|
|
228
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
229
|
+
</td>
|
|
230
|
+
<td style="text-align: center;">
|
|
231
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
232
|
+
</td>
|
|
233
|
+
|
|
234
|
+
<td style="text-align: center;">
|
|
235
|
+
<nobr>{{row.f_old_price}}</nobr>
|
|
236
|
+
</td>
|
|
237
|
+
<td style="text-align: center;">
|
|
238
|
+
<nobr>{{row.f_new_price}}</nobr>
|
|
239
|
+
</td>
|
|
240
|
+
<td style="text-align: center;">
|
|
241
|
+
<nobr>{{row.f_change_price}}</nobr>
|
|
242
|
+
</td>
|
|
243
|
+
<td style="text-align: center;">
|
|
244
|
+
<nobr>{{row.f_real_amount}}</nobr>
|
|
245
|
+
</td>
|
|
246
|
+
<td style="text-align: center;">
|
|
247
|
+
<nobr>{{row.f_surplus_fee}}</nobr>
|
|
248
|
+
</td>
|
|
249
|
+
<td style="text-align: center;">
|
|
250
|
+
<nobr>{{row.f_qujian}}</nobr>
|
|
251
|
+
</td>
|
|
252
|
+
<td style="text-align: center;">
|
|
253
|
+
<nobr>{{row.f_whether_pay}}</nobr>
|
|
254
|
+
</td>
|
|
255
|
+
<td style="text-align: center;">
|
|
256
|
+
<nobr>{{row.last_hand_date}}</nobr>
|
|
257
|
+
</td>
|
|
258
|
+
<td style="text-align: center;">
|
|
259
|
+
<nobr>{{row.f_hand_date}}</nobr>
|
|
260
|
+
</td>
|
|
261
|
+
<td style="text-align: center;">
|
|
262
|
+
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
263
|
+
</td>
|
|
264
|
+
<td style="text-align: center;">
|
|
265
|
+
<nobr>{{row.f_tablebase}}</nobr>
|
|
266
|
+
</td>
|
|
267
|
+
<td style="text-align: center;">
|
|
268
|
+
<nobr>{{row.f_surplus_gas}}</nobr>
|
|
269
|
+
</td>
|
|
270
|
+
<td style="text-align: center;">
|
|
271
|
+
<nobr>{{row.f_inputtor}}</nobr>
|
|
272
|
+
</td>
|
|
273
|
+
<td style="text-align: center;">
|
|
274
|
+
<nobr>{{row.f_state}}</nobr>
|
|
275
|
+
</td>
|
|
276
|
+
<td style="text-align: center;">
|
|
277
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
278
|
+
</td>
|
|
279
|
+
|
|
280
|
+
<td style="text-align: center;">
|
|
281
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
282
|
+
</td>
|
|
283
|
+
<td style="text-align: center;">
|
|
284
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
285
|
+
</td>
|
|
286
|
+
<td style="text-align: center;">
|
|
287
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
288
|
+
</td>
|
|
289
|
+
<td style="text-align: center;">
|
|
290
|
+
<nobr>{{row.f_us_orgname}}</nobr>
|
|
291
|
+
</td>
|
|
292
|
+
<td style="text-align: center;"><nobr>
|
|
293
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
294
|
+
</nobr></td>
|
|
295
|
+
</template>
|
|
296
|
+
<template partial='foot'></template>
|
|
297
|
+
</data-grid>
|
|
298
|
+
</criteria-paged>
|
|
299
|
+
<table class="table-hover">
|
|
300
|
+
<tr style="position: relative" class="table-bordered">
|
|
301
|
+
<td
|
|
302
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
303
|
+
汇总信息
|
|
304
|
+
</td>
|
|
305
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
306
|
+
调价气量合计: {{sumsmodel.f_real_amount}}
|
|
307
|
+
</td>
|
|
308
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
309
|
+
调价金额合计: {{sumsmodel.f_surplus_fee}}
|
|
310
|
+
</td>
|
|
311
|
+
</tr>
|
|
312
|
+
</table>
|
|
313
|
+
</div>
|
|
314
|
+
<div class="flex" v-if="show">
|
|
315
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
319
|
+
<article slot="modal-body">
|
|
320
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="调价补差" :isremark="false" style="width:auto" ></upload>
|
|
321
|
+
</article>
|
|
322
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
323
|
+
</footer>
|
|
324
|
+
</modal>
|
|
325
|
+
</div>
|
|
326
|
+
</template>
|
|
327
|
+
|
|
328
|
+
<script>
|
|
329
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
330
|
+
import exportConfig from './config/exportConfig'
|
|
331
|
+
import ResSelectUserGroup from './ResSelectUserGroup.vue'
|
|
332
|
+
|
|
333
|
+
let readySomething = async function (self) {
|
|
334
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
335
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
336
|
+
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
337
|
+
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
338
|
+
await self.$MagLoadParams.loadParam()
|
|
339
|
+
self.initParams()
|
|
340
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
341
|
+
}
|
|
342
|
+
export default {
|
|
343
|
+
components: {
|
|
344
|
+
'res-select-user-group': ResSelectUserGroup
|
|
345
|
+
},
|
|
346
|
+
props:['data'],
|
|
347
|
+
title: '调价补差查询',
|
|
348
|
+
data() {
|
|
349
|
+
return {
|
|
350
|
+
resshow:['company','department','operator'],
|
|
351
|
+
other:[],
|
|
352
|
+
footer:[],
|
|
353
|
+
config: {
|
|
354
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name','f_address', 'f_change_price', 'f_real_amount','f_surplus_fee','f_qujian','f_whether_pay','f_state','f_operate_date','f_operator','f_depname','f_orgname']
|
|
355
|
+
},
|
|
356
|
+
//f_price_name:[],
|
|
357
|
+
gasproperties:[],
|
|
358
|
+
showinfo: false,
|
|
359
|
+
data: {},
|
|
360
|
+
show:false,
|
|
361
|
+
rowdata:{},
|
|
362
|
+
initres: {
|
|
363
|
+
org:[this.$login.f.orgid],
|
|
364
|
+
dep:[],
|
|
365
|
+
user:[]
|
|
366
|
+
},
|
|
367
|
+
userInitres: {
|
|
368
|
+
org: [],
|
|
369
|
+
dep: [],
|
|
370
|
+
user: []
|
|
371
|
+
},
|
|
372
|
+
//排序
|
|
373
|
+
orderitem:'f_operate_date desc',
|
|
374
|
+
orderFields: {
|
|
375
|
+
f_operate_date: 'no'
|
|
376
|
+
},
|
|
377
|
+
model: new PagedList('api/af-revenue/sql/surplusQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {
|
|
378
|
+
f_real_amount: 0,
|
|
379
|
+
f_surplus_fee: 0
|
|
380
|
+
}),
|
|
381
|
+
whetherPay:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
382
|
+
state:[{label: '全部', value: ''},{label: '有效', value: '有效'}],
|
|
383
|
+
criteriaShow: false,
|
|
384
|
+
orgCondtionStr: '',
|
|
385
|
+
userOrgConditionStr: '',
|
|
386
|
+
// 下拉框
|
|
387
|
+
meterbrands: [],
|
|
388
|
+
pricenames: [],
|
|
389
|
+
prices: [],
|
|
390
|
+
area: [],
|
|
391
|
+
//合计数据
|
|
392
|
+
defaultfield: [],
|
|
393
|
+
//小区
|
|
394
|
+
residentialArea: [],
|
|
395
|
+
sumsmodel: {},
|
|
396
|
+
showupload:false,
|
|
397
|
+
selected:{},
|
|
398
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
399
|
+
wxstate:[
|
|
400
|
+
{label: '全部', value: ''},
|
|
401
|
+
{label: '已退款', value: `= '3'`},
|
|
402
|
+
{label: '未退款', value: `!= '3'`}
|
|
403
|
+
],
|
|
404
|
+
privilege_money:[
|
|
405
|
+
{label: '全部', value: ''},
|
|
406
|
+
{label: '已优惠', value: '> 0'},
|
|
407
|
+
{label: '未优惠', value: '= 0'}
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
ready() {
|
|
412
|
+
// this.getaddress()
|
|
413
|
+
|
|
414
|
+
readySomething(this).then(() => {
|
|
415
|
+
this.$emit('ready')
|
|
416
|
+
}).catch((error) => {
|
|
417
|
+
this.$emit('error', error)
|
|
418
|
+
})
|
|
419
|
+
|
|
420
|
+
},
|
|
421
|
+
methods: {
|
|
422
|
+
view(row){
|
|
423
|
+
this.showupload = true
|
|
424
|
+
this.selected= row
|
|
425
|
+
},
|
|
426
|
+
initParams() {
|
|
427
|
+
// 初始化气表品牌
|
|
428
|
+
let brandArr = []
|
|
429
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
430
|
+
let temp = {}
|
|
431
|
+
temp.label = item.label
|
|
432
|
+
temp.value = item.value.f_meter_brand
|
|
433
|
+
brandArr.push(temp)
|
|
434
|
+
})
|
|
435
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
436
|
+
//初始化气表价格
|
|
437
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
438
|
+
},
|
|
439
|
+
getotherfooter () {
|
|
440
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
441
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
442
|
+
this.other = [];
|
|
443
|
+
this.footer = [];
|
|
444
|
+
let exportdata = this.getCondition;
|
|
445
|
+
let otherInData = [];
|
|
446
|
+
otherInData.push(`导出时间: ${exportdata.startDate} - ${exportdata.endDate}`);
|
|
447
|
+
let footerData = [], exportfield = this.getfield;
|
|
448
|
+
footerData.push("合计");
|
|
449
|
+
let self = this;
|
|
450
|
+
for (var field in self.sumsmodel) {
|
|
451
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
452
|
+
}
|
|
453
|
+
this.footer.push(footerData);
|
|
454
|
+
this.other.push(otherInData);
|
|
455
|
+
},
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
search(){
|
|
459
|
+
this.$refs.paged.$refs.cri.search()
|
|
460
|
+
},
|
|
461
|
+
cancel() {
|
|
462
|
+
this.show = false
|
|
463
|
+
},
|
|
464
|
+
showmsg(obj){
|
|
465
|
+
this.rowdata=obj
|
|
466
|
+
this.show=true
|
|
467
|
+
},
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
selfSearch(args) {
|
|
471
|
+
// 小区 + 组织 + 用户公司查询条件
|
|
472
|
+
if (this.data) {
|
|
473
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
474
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
475
|
+
}
|
|
476
|
+
let f_orgstr = this.orgCondtionStr + this.userOrgConditionStr
|
|
477
|
+
args.condition = `${args.condition} ` + f_orgstr
|
|
478
|
+
this.model.search(args.condition, args.model)
|
|
479
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
480
|
+
|
|
481
|
+
},
|
|
482
|
+
clear() {
|
|
483
|
+
// 清空组织、片区、人员
|
|
484
|
+
if (this.$refs.paged.$refs.cri.$refs.usersel && this.$refs.paged.$refs.cri.$refs.usersel.resetAll) {
|
|
485
|
+
this.$refs.paged.$refs.cri.$refs.usersel.resetAll()
|
|
486
|
+
}
|
|
487
|
+
this.orgCondtionStr = ''
|
|
488
|
+
this.userOrgConditionStr = ''
|
|
489
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
490
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
491
|
+
})
|
|
492
|
+
|
|
493
|
+
},
|
|
494
|
+
dealmsg(val) {
|
|
495
|
+
val.model = this.model.model
|
|
496
|
+
this.$dispatch('deal-msg', val)
|
|
497
|
+
},
|
|
498
|
+
show() {
|
|
499
|
+
this.criteriaShow = true
|
|
500
|
+
},
|
|
501
|
+
hidden() {
|
|
502
|
+
this.criteriaShow = !this.criteriaShow
|
|
503
|
+
},
|
|
504
|
+
getRes(condition,obj) {
|
|
505
|
+
this.orgCondtionStr = condition
|
|
506
|
+
this.orgname = obj.orgnames[0]
|
|
507
|
+
this.depname = obj.depnames[0]
|
|
508
|
+
},
|
|
509
|
+
getUserRes (condition) {
|
|
510
|
+
this.userOrgConditionStr = condition
|
|
511
|
+
},
|
|
512
|
+
sort (field, rule) {
|
|
513
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
514
|
+
for (let key in this.orderFields) {
|
|
515
|
+
if (key === field) {
|
|
516
|
+
this.orderFields[key] = rule
|
|
517
|
+
} else {
|
|
518
|
+
this.orderFields[key] = 'no'
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
// 如果新规则不排序,还原为默认排序
|
|
522
|
+
if (rule === 'no') {
|
|
523
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
524
|
+
} else {
|
|
525
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
this.search()
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
},
|
|
532
|
+
events:{
|
|
533
|
+
|
|
534
|
+
},
|
|
535
|
+
watch: {
|
|
536
|
+
|
|
537
|
+
'orgCondtionStr'(val) {
|
|
538
|
+
let res = val.match(/'(.*?)'/)
|
|
539
|
+
console.log('正则提取:',res && res[1])
|
|
540
|
+
if (res) {
|
|
541
|
+
this.f_filialeid = res[1]
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
computed: {
|
|
546
|
+
|
|
547
|
+
getCondition() {
|
|
548
|
+
return {
|
|
549
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
550
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
551
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr + this.userOrgConditionStr,
|
|
552
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
553
|
+
},
|
|
554
|
+
getfield() {
|
|
555
|
+
return exportConfig.surplusConfig
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
</script>
|
|
@@ -61,4 +61,40 @@ export default function () {
|
|
|
61
61
|
Vue.component('record-info-query', (resolve) => {
|
|
62
62
|
require(['./RecordInfoQuery'], resolve)
|
|
63
63
|
})
|
|
64
|
+
// 免费送气
|
|
65
|
+
Vue.component('privilege-query', (resolve) => {
|
|
66
|
+
require(['./PrivilegeQuery'], resolve)
|
|
67
|
+
})
|
|
68
|
+
// 过户查询
|
|
69
|
+
Vue.component('transfer-query', (resolve) => {
|
|
70
|
+
require(['./TransferQuery'], resolve)
|
|
71
|
+
})
|
|
72
|
+
// 记录转移查询
|
|
73
|
+
Vue.component('transfer-record-query', (resolve) => {
|
|
74
|
+
require(['./TransferRecordQuery'], resolve)
|
|
75
|
+
})
|
|
76
|
+
// 其他收费查询
|
|
77
|
+
Vue.component('other-charge-query', (resolve) => {
|
|
78
|
+
require(['./OtherChargeQuery'], resolve)
|
|
79
|
+
})
|
|
80
|
+
// 启用查询
|
|
81
|
+
Vue.component('enable-query', (resolve) => {
|
|
82
|
+
require(['./EnableQuery'], resolve)
|
|
83
|
+
})
|
|
84
|
+
// 停用查询
|
|
85
|
+
Vue.component('disable-query', (resolve) => {
|
|
86
|
+
require(['./DisableQuery'], resolve)
|
|
87
|
+
})
|
|
88
|
+
// 销户查询
|
|
89
|
+
Vue.component('cancellation-query', (resolve) => {
|
|
90
|
+
require(['./CancellationQuery'], resolve)
|
|
91
|
+
})
|
|
92
|
+
// 减免优惠查询
|
|
93
|
+
Vue.component('over-due-query', (resolve) => {
|
|
94
|
+
require(['./overDueQuery'], resolve)
|
|
95
|
+
})
|
|
96
|
+
// 调价补差查询
|
|
97
|
+
Vue.component('priceadjust-query', (resolve) => {
|
|
98
|
+
require(['./priceadjustQuery'], resolve)
|
|
99
|
+
})
|
|
64
100
|
}
|