manage-client 3.3.123 → 3.3.125
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/package.json +1 -1
- package/src/components/SellReport/YCMonthSummary.vue +111 -9
- package/src/components/sale/businessquery/ChargeQuery.vue +18 -0
- package/src/components/sale/config/exportConfig.js +2 -2
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1 -6
- package/src/filiale/lixianV3/HandplanQuery.vue +1381 -0
- package/src/filiale/lixianV3/NewGasStatistics.vue +532 -0
- package/src/filiale/lixianV3/config/exportConfig.js +21 -17
- package/src/filiale/lixianV3/sale.js +2 -0
- package/src/filiale/lixianV3/webmeterManage.js +7 -0
- package/src/filiale/ningjin/GetNoMetereadData.vue +409 -0
- package/src/filiale/ningjin/webmeterManage.js +2 -0
- package/src/filiale/qianneng/RecordInfoQuery.vue +9 -0
- package/src/filiale/qianneng/exportConfig.js +1 -1
- package/src/filiale/taizhoukesi/SellReport/ManageBusSummary.vue +238 -0
- package/src/filiale/taizhoukesi/config/exportConfig.js +1 -0
- package/src/filiale/taizhoukesi/reportManage.js +4 -0
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row" >
|
|
9
|
+
<div class="col-sm-2">
|
|
10
|
+
<label class="font_normal_body">组织机构</label>
|
|
11
|
+
<res-select :initresid="$parent.$parent.org"
|
|
12
|
+
style="width:60%"
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
:is-mul=false
|
|
15
|
+
restype='organization'>
|
|
16
|
+
</res-select>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2">
|
|
19
|
+
<label class="font_normal_body">客户编号</label>
|
|
20
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
21
|
+
condition="ss.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
22
|
+
>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-2">
|
|
25
|
+
<label class="font_normal_body">客户名称</label>
|
|
26
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
|
|
27
|
+
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2">
|
|
30
|
+
<label class="font_normal_body">客户地址</label>
|
|
31
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
|
|
32
|
+
condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
35
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
36
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
37
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
38
|
+
:field="$parent.$parent.getfield"
|
|
39
|
+
sqlurl="rs/logic/exportfile" sql-name="newGasStatisticsQuery" template-name='用气量统计表'
|
|
40
|
+
:choose-col="true"></export-excel>
|
|
41
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
42
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
43
|
+
titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
|
|
44
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
45
|
+
<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>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
49
|
+
<div class="col-sm-2">
|
|
50
|
+
<label class="font_normal_body">电 话</label>
|
|
51
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_user_phone" placeholder='电话'
|
|
52
|
+
condition="ss.f_user_phone like '%{}%'" v-next-el='f_user_phone' v-el:f_user_phone
|
|
53
|
+
>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-2">
|
|
56
|
+
<label class="font_normal_body">小 区</label>
|
|
57
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
|
|
58
|
+
condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area' v-el:f_residential_area>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2">
|
|
61
|
+
<label class="font_normal_body">表 号</label>
|
|
62
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
|
|
63
|
+
condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
64
|
+
>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-2">
|
|
67
|
+
<label class="font_normal_body">燃气证号</label>
|
|
68
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_gascode" placeholder='燃气证号'
|
|
69
|
+
condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
|
|
70
|
+
>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">气价类型</label>
|
|
74
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
75
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
76
|
+
close-on-select>
|
|
77
|
+
</v-select>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-sm-2 form-group">
|
|
80
|
+
<label class="font_normal_body">气价名称</label>
|
|
81
|
+
<v-select :value.sync="model.f_price_name"
|
|
82
|
+
v-model="model.f_price_name"
|
|
83
|
+
:options="$parent.$parent.getPricenames"
|
|
84
|
+
condition="ss.f_price_name = '{}'"
|
|
85
|
+
close-on-select></v-select>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="col-sm-2 form-group">
|
|
88
|
+
<label class="font_normal_body">气表品牌</label>
|
|
89
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
90
|
+
v-model="model.f_meter_brand"
|
|
91
|
+
:options="$parent.$parent.meterbrands"
|
|
92
|
+
condition="ss.f_meter_brand in {}"
|
|
93
|
+
value-single="false"
|
|
94
|
+
close-on-select></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">是否换表</label>
|
|
98
|
+
<v-select :value.sync="model.f_changetable_state"
|
|
99
|
+
v-model="model.f_changetable_state"
|
|
100
|
+
:options="$parent.$parent.isChange"
|
|
101
|
+
condition="ss.f_changetable_state = '{}'"
|
|
102
|
+
close-on-select></v-select>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-2 form-group">
|
|
105
|
+
<label class="font_normal_body">用气状态</label>
|
|
106
|
+
<v-select :value.sync="model.f_gas_state"
|
|
107
|
+
v-model="model.f_gas_state"
|
|
108
|
+
:options="$parent.$parent.gasState"
|
|
109
|
+
condition="ss.f_gas_state = '{}'"
|
|
110
|
+
close-on-select></v-select>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
113
|
+
<label class="font_normal_body">用气量区间</label>
|
|
114
|
+
<div class="row">
|
|
115
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
|
|
116
|
+
condition="ss.f_oughtamount >= {} " placeholder="">
|
|
117
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
118
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
|
|
119
|
+
condition="ss.f_oughtamount <= {} " placeholder="">
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
123
|
+
<label class="font_normal_body"> 充值区间 </label>
|
|
124
|
+
<div class="row">
|
|
125
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
|
|
126
|
+
condition="ss.f_collection >= {} " placeholder="">
|
|
127
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
128
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
|
|
129
|
+
condition="ss.f_collection <= {} " placeholder="">
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="col-sm-2 form-group" >
|
|
133
|
+
<label class="font_normal_body" for="startDate">开始时间</label>
|
|
134
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
135
|
+
v-model="model.startDate"
|
|
136
|
+
:value.sync="model.startDate"
|
|
137
|
+
:disabled-days-of-Week="[]"
|
|
138
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
139
|
+
:show-reset-button="reset">
|
|
140
|
+
</datepicker>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="col-sm-2 form-group" >
|
|
143
|
+
<label class="font_normal_body" for="endDate">结束时间</label>
|
|
144
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
145
|
+
v-model="model.endDate"
|
|
146
|
+
:value.sync="model.endDate"
|
|
147
|
+
:disabled-days-of-Week="[]"
|
|
148
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
149
|
+
:show-reset-button="reset">
|
|
150
|
+
</datepicker>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
153
|
+
<label class="font_normal_body">余额区间</label>
|
|
154
|
+
<div class="row">
|
|
155
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
|
|
156
|
+
condition="ss.f_balance_amount >= {} " placeholder="">
|
|
157
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
158
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
|
|
159
|
+
condition="ss.f_balance_amount <= {} " placeholder="">
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
<div class="col-sm-2 form-group">
|
|
163
|
+
<label class="font_normal_body">用户类型</label>
|
|
164
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
165
|
+
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
166
|
+
condition="f_user_type = '{}'"
|
|
167
|
+
close-on-select></v-select>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="col-sm-2 form-group">
|
|
170
|
+
<label class="font_normal_body">用气性质</label>
|
|
171
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
172
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
173
|
+
condition="f_gasproperties = '{}'"
|
|
174
|
+
close-on-select></v-select>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</criteria>
|
|
179
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
180
|
+
<template partial='head'>
|
|
181
|
+
<tr>
|
|
182
|
+
<th><nobr>客户编号</nobr></th>
|
|
183
|
+
<th><nobr>客户名称</nobr></th>
|
|
184
|
+
<th><nobr>地址</nobr></th>
|
|
185
|
+
<th><nobr>电话</nobr></th>
|
|
186
|
+
<th><nobr>表号</nobr></th>
|
|
187
|
+
<th><nobr>起方</nobr></th>
|
|
188
|
+
<th><nobr>止方</nobr></th>
|
|
189
|
+
<th><nobr>期间用气量</nobr></th>
|
|
190
|
+
<th><nobr>期间用气金额</nobr></th>
|
|
191
|
+
<th><nobr>期末余额</nobr></th>
|
|
192
|
+
<th><nobr>录入人员</nobr></th>
|
|
193
|
+
<th><nobr>抄表员</nobr></th>
|
|
194
|
+
<th><nobr>小区</nobr></th>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
<th><nobr>燃气证号</nobr></th>
|
|
198
|
+
<th><nobr>气表品牌</nobr></th>
|
|
199
|
+
<th><nobr>表具类型</nobr></th>
|
|
200
|
+
<th><nobr>表描述</nobr></th>
|
|
201
|
+
<th><nobr>气价名称</nobr></th>
|
|
202
|
+
|
|
203
|
+
<th><nobr>用气性质</nobr></th>
|
|
204
|
+
<th><nobr>期初余额</nobr></th>
|
|
205
|
+
|
|
206
|
+
<th><nobr>期间充值金额</nobr></th>
|
|
207
|
+
|
|
208
|
+
<th><nobr>用气状态</nobr></th>
|
|
209
|
+
<th><nobr>是否换表</nobr></th>
|
|
210
|
+
<th><nobr>首次抄表时间</nobr></th>
|
|
211
|
+
<th><nobr>最后通讯日期</nobr></th>
|
|
212
|
+
</tr>
|
|
213
|
+
</template>
|
|
214
|
+
<template partial='body' partial='list'>
|
|
215
|
+
<tr >
|
|
216
|
+
<td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
217
|
+
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
218
|
+
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
219
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
220
|
+
<th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
|
|
221
|
+
<th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
|
|
222
|
+
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
223
|
+
<th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
|
|
224
|
+
<th style="text-align:center"><nobr>{{row.f_oughtfee}}</nobr></th>
|
|
225
|
+
<th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
|
|
226
|
+
<th style="text-align:center"><nobr>{{row.f_input_person}}</nobr></th>
|
|
227
|
+
<th style="text-align:center"><nobr>{{row.f_inputtor}}</nobr></th>
|
|
228
|
+
|
|
229
|
+
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
230
|
+
|
|
231
|
+
<td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
|
|
232
|
+
<th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
233
|
+
<th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
|
|
234
|
+
<th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
|
|
235
|
+
<th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
<th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
|
|
242
|
+
|
|
243
|
+
<th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
|
|
244
|
+
|
|
245
|
+
<th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
|
|
246
|
+
<th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
|
|
247
|
+
<th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
|
|
248
|
+
<th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
|
|
249
|
+
</tr>
|
|
250
|
+
</template>
|
|
251
|
+
<template partial='foot'></template>
|
|
252
|
+
</data-grid>
|
|
253
|
+
</criteria-paged>
|
|
254
|
+
<table class="table-hover">
|
|
255
|
+
<tr style="position: relative" class="table-bordered">
|
|
256
|
+
<td
|
|
257
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
258
|
+
汇总信息
|
|
259
|
+
</td>
|
|
260
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
261
|
+
期间用气量: {{sumsmodel.f_oughtamount}}
|
|
262
|
+
</td>
|
|
263
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
264
|
+
期间用气金额: {{sumsmodel.f_oughtfee}}
|
|
265
|
+
</td>
|
|
266
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
267
|
+
期间充值金额: {{sumsmodel.f_collection}}
|
|
268
|
+
</td>
|
|
269
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
270
|
+
一阶气量合计: {{sumsmodel.f_stairamount1}}
|
|
271
|
+
</td>
|
|
272
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
273
|
+
一阶气费合计: {{sumsmodel.f_stair1fee}}
|
|
274
|
+
</td>
|
|
275
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
276
|
+
二阶气量合计: {{sumsmodel.f_stairamount2}}
|
|
277
|
+
</td>
|
|
278
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
279
|
+
二阶气费合计: {{sumsmodel.f_stair2fee}}
|
|
280
|
+
</td>
|
|
281
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
282
|
+
三阶气量合计: {{sumsmodel.f_stairamount3}}
|
|
283
|
+
</td>
|
|
284
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
285
|
+
三阶气费合计: {{sumsmodel.f_stair3fee}}
|
|
286
|
+
</td>
|
|
287
|
+
</tr>
|
|
288
|
+
</table>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
</template>
|
|
293
|
+
|
|
294
|
+
<script>
|
|
295
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
296
|
+
import exportConfig from './config/exportConfig'
|
|
297
|
+
import * as Util from '../../Util'
|
|
298
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
299
|
+
|
|
300
|
+
let readySomething = async function (self) {
|
|
301
|
+
await self.$MagLoadParams.loadParam()
|
|
302
|
+
self.initParams()
|
|
303
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
304
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
305
|
+
}
|
|
306
|
+
export default {
|
|
307
|
+
title: '用气量统计表',
|
|
308
|
+
data () {
|
|
309
|
+
return {
|
|
310
|
+
show:false,
|
|
311
|
+
org:[this.$login.f.orgid],
|
|
312
|
+
orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
|
|
313
|
+
//f_filialeid: this.$login.f.f_orgid,
|
|
314
|
+
detaillist: [],
|
|
315
|
+
meterbrands: [],
|
|
316
|
+
prices: [],
|
|
317
|
+
gasproperties:[],
|
|
318
|
+
condition:'',
|
|
319
|
+
rowdata:{},
|
|
320
|
+
getstart:'',
|
|
321
|
+
config: {
|
|
322
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
|
|
323
|
+
'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
324
|
+
},
|
|
325
|
+
sumsmodel: {},
|
|
326
|
+
orgid:[this.$login.f.orgid],
|
|
327
|
+
criteriaShow:false,
|
|
328
|
+
//默认打印列
|
|
329
|
+
defaultfield: [],
|
|
330
|
+
orgCondtionStr: '',
|
|
331
|
+
model: new PagedList('rs/sql/newGasStatisticsQuery', 50,{
|
|
332
|
+
startDate: 'this.model.startDate',
|
|
333
|
+
endDate: 'this.model.endDate'
|
|
334
|
+
},{
|
|
335
|
+
f_oughtamount: 0,
|
|
336
|
+
f_oughtfee: 0,
|
|
337
|
+
f_collection:0,
|
|
338
|
+
f_stairamount1:0,
|
|
339
|
+
f_stair1fee:0,
|
|
340
|
+
f_stairamount2:0,
|
|
341
|
+
f_stair2fee:0,
|
|
342
|
+
f_stairamount3:0,
|
|
343
|
+
f_stair3fee:0
|
|
344
|
+
}),
|
|
345
|
+
showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
ready () {
|
|
349
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
350
|
+
readySomething(this).then(() => {
|
|
351
|
+
this.$emit('ready')
|
|
352
|
+
}).catch((error) => {
|
|
353
|
+
this.$emit('error', error)
|
|
354
|
+
})
|
|
355
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
356
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
357
|
+
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
358
|
+
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
359
|
+
},
|
|
360
|
+
methods: {
|
|
361
|
+
initParams() {
|
|
362
|
+
// 初始化气表品牌
|
|
363
|
+
let brandArr = []
|
|
364
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
365
|
+
if (item.value.f_meter_type==='物联网表'){
|
|
366
|
+
let temp = {}
|
|
367
|
+
temp.label = item.label
|
|
368
|
+
temp.value = item.value.f_meter_brand
|
|
369
|
+
brandArr.push(temp)
|
|
370
|
+
}
|
|
371
|
+
})
|
|
372
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
373
|
+
//初始化气表价格
|
|
374
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
375
|
+
},
|
|
376
|
+
async updateParams() {
|
|
377
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
378
|
+
this.initParams()
|
|
379
|
+
},
|
|
380
|
+
getorg(obj) {
|
|
381
|
+
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
382
|
+
this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
|
|
383
|
+
}else{
|
|
384
|
+
this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
userTypeChange () {
|
|
388
|
+
this.gasproperties=[]
|
|
389
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
390
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
391
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
392
|
+
}
|
|
393
|
+
else{
|
|
394
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
hidden(){
|
|
398
|
+
this.criteriaShow = !this.criteriaShow
|
|
399
|
+
},
|
|
400
|
+
cancel() {
|
|
401
|
+
this.show = false
|
|
402
|
+
},
|
|
403
|
+
clearmsg () {
|
|
404
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
405
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
406
|
+
})
|
|
407
|
+
},
|
|
408
|
+
getRes (obj) {
|
|
409
|
+
this.orgCondtionStr = condition
|
|
410
|
+
this.orgname = obj.orgnames[0]
|
|
411
|
+
this.depname = obj.depnames[0]
|
|
412
|
+
},
|
|
413
|
+
showmsg(obj){
|
|
414
|
+
this.rowdata=obj
|
|
415
|
+
this.show=true
|
|
416
|
+
},
|
|
417
|
+
|
|
418
|
+
search (args) {
|
|
419
|
+
args.condition = `${args.condition}`+this.orgcondition
|
|
420
|
+
this.condition = args.condition
|
|
421
|
+
this.model.search(args.condition, args.model)
|
|
422
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
423
|
+
// args.condition = `${args.condition}`
|
|
424
|
+
// if (this.orgcondition)
|
|
425
|
+
// args.condition = `${args.condition}` + this.orgcondition
|
|
426
|
+
// else
|
|
427
|
+
// args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
428
|
+
// this.model.search(args.condition, args.model)
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
watch: {
|
|
432
|
+
'model.rows'(val) {
|
|
433
|
+
//如果有合计 这里为true, 其他为false ,反正相反
|
|
434
|
+
this.showbottomsum=true;
|
|
435
|
+
if(val.length === 0){
|
|
436
|
+
this.sumsmodel = {}
|
|
437
|
+
this.showbottomsum=false;
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
'orgCondtionStr'(val) {
|
|
441
|
+
let res = val.match(/'(.*?)'/)
|
|
442
|
+
console.log('正则提取:',res && res[1])
|
|
443
|
+
if (res) {
|
|
444
|
+
this.f_filialeid = res[1]
|
|
445
|
+
// this.updateParams()
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
computed: {
|
|
450
|
+
getstart(){
|
|
451
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
452
|
+
},
|
|
453
|
+
getPricenames() {
|
|
454
|
+
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
455
|
+
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
456
|
+
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
457
|
+
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
458
|
+
console.log("查看f_orgid:",this.$login.f.f_orgid)
|
|
459
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
460
|
+
let rs = []
|
|
461
|
+
let priceArr = []
|
|
462
|
+
if ( pricetype.length >0) {
|
|
463
|
+
let params = {
|
|
464
|
+
f_price_type: pricetype[0],
|
|
465
|
+
filter: this.org[0],
|
|
466
|
+
prices: this.prices
|
|
467
|
+
}
|
|
468
|
+
console.log("打印一下params:",params)
|
|
469
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
470
|
+
console.log("====================================》")
|
|
471
|
+
let temp = {}
|
|
472
|
+
temp.label = item.label
|
|
473
|
+
temp.value = item.value.f_price_name
|
|
474
|
+
priceArr.push(temp)
|
|
475
|
+
console.log("打印一下temp:",temp)
|
|
476
|
+
})
|
|
477
|
+
|
|
478
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
479
|
+
}
|
|
480
|
+
if (rs.length === 0) {
|
|
481
|
+
console.log('rs读出来是空')
|
|
482
|
+
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
483
|
+
}
|
|
484
|
+
return rs
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
getfield () {
|
|
488
|
+
return exportConfig.GasStatistics
|
|
489
|
+
},
|
|
490
|
+
usertypes() {
|
|
491
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
492
|
+
},
|
|
493
|
+
gasproperties() {
|
|
494
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
495
|
+
},
|
|
496
|
+
pricetypes() {
|
|
497
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
498
|
+
},
|
|
499
|
+
gasState() {
|
|
500
|
+
return [{label:'正常', value:'正常'},
|
|
501
|
+
{label:'异常', value:'异常'},
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
isChange() {
|
|
505
|
+
return [{label:'是', value:'是'},
|
|
506
|
+
{label:'否', value:'否'},
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
getCondition () {
|
|
510
|
+
// var con = ""
|
|
511
|
+
// if (this.orgCondtionStr) {
|
|
512
|
+
// con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
|
|
513
|
+
// }
|
|
514
|
+
// else {
|
|
515
|
+
// con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|
|
516
|
+
// }
|
|
517
|
+
return {
|
|
518
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
519
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
520
|
+
condition: this.condition
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
</script>
|
|
526
|
+
|
|
527
|
+
<style>
|
|
528
|
+
.showbottom{
|
|
529
|
+
height:95%
|
|
530
|
+
}
|
|
531
|
+
</style>
|
|
532
|
+
|
|
@@ -781,31 +781,33 @@ export default {
|
|
|
781
781
|
handplanConfig: {
|
|
782
782
|
'f_userinfo_code': '客户编号',
|
|
783
783
|
'f_user_name': '客户名称',
|
|
784
|
-
'f_olduserinfo_code': '档案编号',
|
|
785
784
|
'f_address': '客户地址',
|
|
786
|
-
'f_zones': '片区',
|
|
787
785
|
'phone': '客户手机',
|
|
788
786
|
'f_meternumber': '表号',
|
|
789
|
-
'ym_data': '数据年月',
|
|
790
787
|
'f_last_tablebase': '上期底数',
|
|
791
788
|
'f_tablebase': '本期底数',
|
|
792
789
|
'f_oughtamount': '用气量',
|
|
793
|
-
'overdue': '违约金',
|
|
794
790
|
'f_oughtfee': '用气金额',
|
|
791
|
+
'f_curbalance': '本期余额',
|
|
792
|
+
'f_input_person': '录入人员',
|
|
793
|
+
'f_inputtor': '抄表员',
|
|
794
|
+
'f_input_date': '录入日期',
|
|
795
|
+
'f_whether_pay': '是否缴费',
|
|
796
|
+
'f_operator': '下发人员',
|
|
797
|
+
'f_meter_state': '抄表状态',
|
|
798
|
+
'f_olduserinfo_code': '档案编号',
|
|
799
|
+
'f_zones': '片区',
|
|
800
|
+
'ym_data': '数据年月',
|
|
801
|
+
'overdue': '违约金',
|
|
795
802
|
'f_debt_money': '已交金额',
|
|
796
803
|
'f_actual_arrears': '欠费金额',
|
|
797
804
|
'f_balance': '上期余额',
|
|
798
|
-
'f_curbalance': '本期余额',
|
|
799
805
|
'f_accounts_state': '下账状态',
|
|
800
806
|
'f_operate_date': '收费时间',
|
|
801
|
-
'f_inputtor': '抄表员',
|
|
802
807
|
'f_book_slice_area': '表册片区',
|
|
803
808
|
'f_hand_date': '下发日期',
|
|
804
|
-
'f_input_date': '录入日期',
|
|
805
809
|
'f_audit_date': '审核日期',
|
|
806
|
-
'f_meter_state': '抄表状态',
|
|
807
810
|
'f_hand_state': '记录状态',
|
|
808
|
-
'f_operator': '操作员',
|
|
809
811
|
'f_depname': '部门',
|
|
810
812
|
'f_orgname': '公司',
|
|
811
813
|
'f_surplus_gas': '剩余气量',
|
|
@@ -1609,23 +1611,25 @@ export default {
|
|
|
1609
1611
|
GasStatistics: {
|
|
1610
1612
|
'f_userinfo_code': '客户编号',
|
|
1611
1613
|
'f_user_name': '客户姓名',
|
|
1612
|
-
'
|
|
1613
|
-
'f_address': '地址',
|
|
1614
|
+
'f_address': '客户地址',
|
|
1614
1615
|
'f_user_phone': '电话',
|
|
1615
|
-
'f_gascode': '燃气证号',
|
|
1616
1616
|
'f_meternumber': '表号',
|
|
1617
|
+
'f_last_tablebase': '起方',
|
|
1618
|
+
'f_tablebase': '止方',
|
|
1619
|
+
'f_oughtamount': '期间用气量',
|
|
1620
|
+
'f_oughtfee': '期间用气金额',
|
|
1621
|
+
'f_curbalance': '期末余额',
|
|
1622
|
+
'f_input_person': '录入人员',
|
|
1623
|
+
'f_inputtor': '抄表员',
|
|
1624
|
+
'f_residential_area': '小区',
|
|
1625
|
+
'f_gascode': '燃气证号',
|
|
1617
1626
|
'f_meter_classify': '表具类型',
|
|
1618
1627
|
'f_meter_title': '表描述',
|
|
1619
1628
|
'f_price_name': '气价名称',
|
|
1620
1629
|
'f_user_nature': '用气类型',
|
|
1621
1630
|
'f_gasproperties': '用气性质',
|
|
1622
1631
|
'f_balance': '期初余额',
|
|
1623
|
-
'f_last_tablebase': '起方',
|
|
1624
|
-
'f_tablebase': '止方',
|
|
1625
|
-
'f_oughtamount': '期间用气量',
|
|
1626
|
-
'f_oughtfee': '期间用气金额',
|
|
1627
1632
|
'f_collection': '期末充值金额',
|
|
1628
|
-
'f_curbalance': '期末余额',
|
|
1629
1633
|
'f_gas_state': '用气状态',
|
|
1630
1634
|
'f_changetable_state': '是否换表',
|
|
1631
1635
|
'f_input_date': '最后通讯日期'
|
|
@@ -18,4 +18,6 @@ export default function () {
|
|
|
18
18
|
Vue.component('manage-payment-query', (resolve) => { require(['./paymentQuery'], resolve) })
|
|
19
19
|
// 综合档案信息查询
|
|
20
20
|
Vue.component('record-info-query', (resolve) => { require(['./RecordInfoQuery'], resolve) })
|
|
21
|
+
// 机表抄表查询
|
|
22
|
+
Vue.component('handplan-query', (resolve) => { require(['./HandplanQuery'], resolve) })
|
|
21
23
|
}
|