manage-client 4.0.39 → 4.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/filiale/fugou/WebHandplanQuery.vue +2 -2
- package/src/filiale/rizhao/NewGasStatisticsSingle.vue +542 -0
- package/src/filiale/rizhao/sale.js +2 -0
- package/src/filiale/jinbin/exportConfig.js +0 -1110
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +0 -1372
- package/src/filiale/jinbin/sale.js +0 -7
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
:value.sync="model.handStartDate"
|
|
44
44
|
:format="'yyyy-MM-dd 00:00:00'"
|
|
45
45
|
:show-reset-button="true"
|
|
46
|
-
condition="
|
|
46
|
+
condition="f_hand_date >= '{}'">
|
|
47
47
|
</datepicker>
|
|
48
48
|
</div>
|
|
49
49
|
<div class="col-sm-2 form-group">
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
:value.sync="model.handEndDate"
|
|
54
54
|
:format="'yyyy-MM-dd 23:59:59'"
|
|
55
55
|
:show-reset-button="true"
|
|
56
|
-
condition="
|
|
56
|
+
condition="f_hand_date <= '{}'">
|
|
57
57
|
</datepicker>
|
|
58
58
|
</div>
|
|
59
59
|
<div class="col-sm-2 form-group">
|
|
@@ -0,0 +1,542 @@
|
|
|
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="f_userinfo_code = '{}'" 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="f_user_name = '{}'" 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="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="api/af-revenue/logic/openapi/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="f_user_phone = '{}'" 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="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="f_meternumber = '{}'" 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="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
|
+
<!-- condition="f_price_type = '{}'"-->
|
|
77
|
+
<!-- close-on-select>-->
|
|
78
|
+
<!-- </v-select>-->
|
|
79
|
+
<!-- </div>-->
|
|
80
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
81
|
+
<!-- <label class="font_normal_body">气价名称</label>-->
|
|
82
|
+
<!-- <v-select :value.sync="model.f_price_name"-->
|
|
83
|
+
<!-- v-model="model.f_price_name"-->
|
|
84
|
+
<!-- :options="$parent.$parent.getPricenames"-->
|
|
85
|
+
<!-- condition="f_price_name = '{}'"-->
|
|
86
|
+
<!-- close-on-select></v-select>-->
|
|
87
|
+
<!-- </div>-->
|
|
88
|
+
<div class="col-sm-2 form-group">
|
|
89
|
+
<label class="font_normal_body">气表品牌</label>
|
|
90
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
91
|
+
v-model="model.f_meter_brand"
|
|
92
|
+
:options="$parent.$parent.meterbrands"
|
|
93
|
+
condition="f_meter_brand in {}"
|
|
94
|
+
value-single="false"
|
|
95
|
+
close-on-select></v-select>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-sm-2 form-group">
|
|
98
|
+
<label class="font_normal_body">是否换表</label>
|
|
99
|
+
<v-select :value.sync="model.f_changetable_state"
|
|
100
|
+
v-model="model.f_changetable_state"
|
|
101
|
+
:options="$parent.$parent.isChange"
|
|
102
|
+
condition="f_changetable_state = '{}'"
|
|
103
|
+
close-on-select></v-select>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">用气状态</label>
|
|
107
|
+
<v-select :value.sync="model.f_gas_state"
|
|
108
|
+
v-model="model.f_gas_state"
|
|
109
|
+
:options="$parent.$parent.gasState"
|
|
110
|
+
condition="f_gas_state = '{}'"
|
|
111
|
+
close-on-select></v-select>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-sm-2 form-group">
|
|
114
|
+
<label class="font_normal_body">气表状态</label>
|
|
115
|
+
<v-select :value.sync="model.f_table_state"
|
|
116
|
+
v-model="model.f_table_state"
|
|
117
|
+
:options="$parent.$parent.tableState"
|
|
118
|
+
condition="f_table_state = '{}'"
|
|
119
|
+
close-on-select></v-select>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
122
|
+
<label class="font_normal_body">用气量区间</label>
|
|
123
|
+
<div class="row">
|
|
124
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
|
|
125
|
+
condition="f_oughtamount >= {} " placeholder="">
|
|
126
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
127
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
|
|
128
|
+
condition="f_oughtamount <= {} " placeholder="">
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
132
|
+
<label class="font_normal_body"> 充值区间 </label>
|
|
133
|
+
<div class="row">
|
|
134
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
|
|
135
|
+
condition="f_collection >= {} " placeholder="">
|
|
136
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
137
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
|
|
138
|
+
condition="f_collection <= {} " placeholder="">
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="col-sm-2 form-group" >
|
|
142
|
+
<label class="font_normal_body" for="startDate">开始时间</label>
|
|
143
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
144
|
+
v-model="model.startDate"
|
|
145
|
+
:value.sync="model.startDate"
|
|
146
|
+
:disabled-days-of-Week="[]"
|
|
147
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
148
|
+
:show-reset-button="reset">
|
|
149
|
+
</datepicker>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="col-sm-2 form-group" >
|
|
152
|
+
<label class="font_normal_body" for="endDate">结束时间</label>
|
|
153
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
154
|
+
v-model="model.endDate"
|
|
155
|
+
:value.sync="model.endDate"
|
|
156
|
+
:disabled-days-of-Week="[]"
|
|
157
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
158
|
+
:show-reset-button="reset">
|
|
159
|
+
</datepicker>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
162
|
+
<label class="font_normal_body">余额区间</label>
|
|
163
|
+
<div class="row">
|
|
164
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
|
|
165
|
+
condition="f_balance_amount >= {} " placeholder="">
|
|
166
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
167
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
|
|
168
|
+
condition="f_balance_amount <= {} " placeholder="">
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-sm-2 form-group">
|
|
172
|
+
<label class="font_normal_body">用户类型</label>
|
|
173
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
174
|
+
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
175
|
+
condition="f_user_type = '{}'"
|
|
176
|
+
close-on-select></v-select>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-2 form-group">
|
|
179
|
+
<label class="font_normal_body">用气性质</label>
|
|
180
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
181
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
182
|
+
condition="f_gasproperties = '{}'"
|
|
183
|
+
close-on-select></v-select>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</criteria>
|
|
188
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
189
|
+
<template partial='head'>
|
|
190
|
+
<tr>
|
|
191
|
+
<th><nobr>客户编号</nobr></th>
|
|
192
|
+
<th><nobr>客户名称</nobr></th>
|
|
193
|
+
<th><nobr>小区</nobr></th>
|
|
194
|
+
<th><nobr>地址</nobr></th>
|
|
195
|
+
<th><nobr>电话</nobr></th>
|
|
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
|
+
<th><nobr>表描述</nobr></th>
|
|
203
|
+
<th><nobr>气价名称</nobr></th>
|
|
204
|
+
|
|
205
|
+
<th><nobr>用气性质</nobr></th>
|
|
206
|
+
<th><nobr>期初余额</nobr></th>
|
|
207
|
+
<th><nobr>起方</nobr></th>
|
|
208
|
+
<th><nobr>止方</nobr></th>
|
|
209
|
+
<th><nobr>期间用气量</nobr></th>
|
|
210
|
+
|
|
211
|
+
<th><nobr>期间用气金额</nobr></th>
|
|
212
|
+
<th><nobr>期间充值金额</nobr></th>
|
|
213
|
+
<th><nobr>期末余额</nobr></th>
|
|
214
|
+
<th><nobr>用气状态</nobr></th>
|
|
215
|
+
<th><nobr>是否换表</nobr></th>
|
|
216
|
+
<th><nobr>首次抄表时间</nobr></th>
|
|
217
|
+
<th><nobr>最后通讯日期</nobr></th>
|
|
218
|
+
</tr>
|
|
219
|
+
</template>
|
|
220
|
+
<template partial='body' partial='list'>
|
|
221
|
+
<tr >
|
|
222
|
+
<td style="text-align: left;"><nobr> <span @click="$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
223
|
+
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
224
|
+
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
225
|
+
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
226
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
227
|
+
|
|
228
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
229
|
+
<td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
|
|
230
|
+
<th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
231
|
+
<th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
|
|
232
|
+
<th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
|
|
233
|
+
<th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
|
|
234
|
+
<th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
|
|
241
|
+
<th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
|
|
242
|
+
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
243
|
+
<th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
|
|
244
|
+
<th style="text-align:center"><nobr>{{row.f_oughtfee}}</nobr></th>
|
|
245
|
+
|
|
246
|
+
<th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
|
|
247
|
+
<th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
|
|
248
|
+
<th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
|
|
249
|
+
<th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
|
|
250
|
+
<th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
|
|
251
|
+
<th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
|
|
252
|
+
</tr>
|
|
253
|
+
</template>
|
|
254
|
+
<template partial='foot'></template>
|
|
255
|
+
</data-grid>
|
|
256
|
+
</criteria-paged>
|
|
257
|
+
<table class="table-hover">
|
|
258
|
+
<tr style="position: relative" class="table-bordered">
|
|
259
|
+
<td
|
|
260
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
261
|
+
汇总信息
|
|
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_oughtamount}}
|
|
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_oughtfee}}
|
|
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_collection}}
|
|
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_stairamount1}}
|
|
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_stair1fee}}
|
|
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_stairamount2}}
|
|
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_stair2fee}}
|
|
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_stairamount3}}
|
|
286
|
+
</td>
|
|
287
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
288
|
+
三阶气费合计: {{sumsmodel.f_stair3fee}}
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
291
|
+
</table>
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
296
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
297
|
+
</div>
|
|
298
|
+
</template>
|
|
299
|
+
|
|
300
|
+
<script>
|
|
301
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
302
|
+
import exportConfig from './config/exportConfig'
|
|
303
|
+
import * as Util from '../../Util'
|
|
304
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
305
|
+
|
|
306
|
+
let readySomething = async function (self) {
|
|
307
|
+
await self.$MagLoadParams.loadParam()
|
|
308
|
+
self.initParams()
|
|
309
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
310
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
311
|
+
}
|
|
312
|
+
export default {
|
|
313
|
+
title: '用气量统计表',
|
|
314
|
+
data () {
|
|
315
|
+
return {
|
|
316
|
+
show:false,
|
|
317
|
+
org:[this.$login.f.orgid],
|
|
318
|
+
orgcondition: ' and f_orgid = ' + this.$login.f.orgid,
|
|
319
|
+
//f_filialeid: this.$login.f.f_orgid,
|
|
320
|
+
detaillist: [],
|
|
321
|
+
meterbrands: [],
|
|
322
|
+
prices: [],
|
|
323
|
+
gasproperties:[],
|
|
324
|
+
condition:'',
|
|
325
|
+
rowdata:{},
|
|
326
|
+
getstart:'',
|
|
327
|
+
config: {
|
|
328
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
|
|
329
|
+
'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
330
|
+
},
|
|
331
|
+
sumsmodel: {},
|
|
332
|
+
orgid:[this.$login.f.orgid],
|
|
333
|
+
criteriaShow:false,
|
|
334
|
+
showdetail:false,
|
|
335
|
+
//默认打印列
|
|
336
|
+
defaultfield: [],
|
|
337
|
+
orgCondtionStr: '',
|
|
338
|
+
model: new PagedList('api/af-revenue/sql/newGasRecordQuery', 50,{
|
|
339
|
+
startDate: 'this.model.startDate',
|
|
340
|
+
endDate: 'this.model.endDate'
|
|
341
|
+
},{
|
|
342
|
+
f_oughtamount: 0,
|
|
343
|
+
f_oughtfee: 0,
|
|
344
|
+
f_collection:0,
|
|
345
|
+
f_stairamount1:0,
|
|
346
|
+
f_stair1fee:0,
|
|
347
|
+
f_stairamount2:0,
|
|
348
|
+
f_stair2fee:0,
|
|
349
|
+
f_stairamount3:0,
|
|
350
|
+
f_stair3fee:0
|
|
351
|
+
}),
|
|
352
|
+
showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
ready () {
|
|
356
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
357
|
+
readySomething(this).then(() => {
|
|
358
|
+
this.$emit('ready')
|
|
359
|
+
}).catch((error) => {
|
|
360
|
+
this.$emit('error', error)
|
|
361
|
+
})
|
|
362
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
363
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
364
|
+
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
365
|
+
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
366
|
+
},
|
|
367
|
+
methods: {
|
|
368
|
+
initParams() {
|
|
369
|
+
// 初始化气表品牌
|
|
370
|
+
let brandArr = []
|
|
371
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
372
|
+
if (item.value.f_meter_type==='物联网表'){
|
|
373
|
+
let temp = {}
|
|
374
|
+
temp.label = item.label
|
|
375
|
+
temp.value = item.value.f_meter_brand
|
|
376
|
+
brandArr.push(temp)
|
|
377
|
+
}
|
|
378
|
+
})
|
|
379
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
380
|
+
//初始化气表价格
|
|
381
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
382
|
+
},
|
|
383
|
+
async updateParams() {
|
|
384
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
385
|
+
this.initParams()
|
|
386
|
+
},
|
|
387
|
+
getorg(obj) {
|
|
388
|
+
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
389
|
+
this.orgcondition = " and f_orgid in " + plugins.convertToIn(obj)
|
|
390
|
+
}else{
|
|
391
|
+
this.orgcondition = " and f_orgid = " + this.$login.f.orgid
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
userTypeChange () {
|
|
395
|
+
this.gasproperties=[]
|
|
396
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
397
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
398
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
399
|
+
}
|
|
400
|
+
else{
|
|
401
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
hidden(){
|
|
405
|
+
this.criteriaShow = !this.criteriaShow
|
|
406
|
+
},
|
|
407
|
+
cancel() {
|
|
408
|
+
this.showdetail = false
|
|
409
|
+
},
|
|
410
|
+
clearmsg () {
|
|
411
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
412
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
413
|
+
})
|
|
414
|
+
},
|
|
415
|
+
getRes (obj) {
|
|
416
|
+
this.orgCondtionStr = condition
|
|
417
|
+
this.orgname = obj.orgnames[0]
|
|
418
|
+
this.depname = obj.depnames[0]
|
|
419
|
+
},
|
|
420
|
+
showmsg(obj){
|
|
421
|
+
this.rowdata=obj
|
|
422
|
+
this.showdetail=true
|
|
423
|
+
},
|
|
424
|
+
|
|
425
|
+
search (args) {
|
|
426
|
+
args.condition = `${args.condition}`+this.orgcondition
|
|
427
|
+
this.condition = args.condition
|
|
428
|
+
this.model.search(args.condition, args.model)
|
|
429
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
430
|
+
// args.condition = `${args.condition}`
|
|
431
|
+
// if (this.orgcondition)
|
|
432
|
+
// args.condition = `${args.condition}` + this.orgcondition
|
|
433
|
+
// else
|
|
434
|
+
// args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
435
|
+
// this.model.search(args.condition, args.model)
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
watch: {
|
|
439
|
+
'model.rows'(val) {
|
|
440
|
+
//如果有合计 这里为true, 其他为false ,反正相反
|
|
441
|
+
this.showbottomsum=true;
|
|
442
|
+
if(val.length === 0){
|
|
443
|
+
this.sumsmodel = {}
|
|
444
|
+
this.showbottomsum=false;
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
'orgCondtionStr'(val) {
|
|
448
|
+
let res = val.match(/'(.*?)'/)
|
|
449
|
+
console.log('正则提取:',res && res[1])
|
|
450
|
+
if (res) {
|
|
451
|
+
this.f_filialeid = res[1]
|
|
452
|
+
// this.updateParams()
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
computed: {
|
|
457
|
+
getstart(){
|
|
458
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
459
|
+
},
|
|
460
|
+
getPricenames() {
|
|
461
|
+
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
462
|
+
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
463
|
+
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
464
|
+
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
465
|
+
console.log("查看f_orgid:",this.$login.f.f_orgid)
|
|
466
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
467
|
+
let rs = []
|
|
468
|
+
let priceArr = []
|
|
469
|
+
if ( pricetype.length >0) {
|
|
470
|
+
let params = {
|
|
471
|
+
f_price_type: pricetype[0],
|
|
472
|
+
filter: this.org[0],
|
|
473
|
+
prices: this.prices
|
|
474
|
+
}
|
|
475
|
+
console.log("打印一下params:",params)
|
|
476
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
477
|
+
console.log("====================================》")
|
|
478
|
+
let temp = {}
|
|
479
|
+
temp.label = item.label
|
|
480
|
+
temp.value = item.value.f_price_name
|
|
481
|
+
priceArr.push(temp)
|
|
482
|
+
console.log("打印一下temp:",temp)
|
|
483
|
+
})
|
|
484
|
+
|
|
485
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
486
|
+
}
|
|
487
|
+
if (rs.length === 0) {
|
|
488
|
+
console.log('rs读出来是空')
|
|
489
|
+
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
490
|
+
}
|
|
491
|
+
return rs
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
getfield () {
|
|
495
|
+
return exportConfig.GasStatistics
|
|
496
|
+
},
|
|
497
|
+
usertypes() {
|
|
498
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
499
|
+
},
|
|
500
|
+
gasproperties() {
|
|
501
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
502
|
+
},
|
|
503
|
+
pricetypes() {
|
|
504
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
505
|
+
},
|
|
506
|
+
tableState() {
|
|
507
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
508
|
+
},
|
|
509
|
+
gasState() {
|
|
510
|
+
return [{label:'正常', value:'正常'},
|
|
511
|
+
{label:'异常', value:'异常'},
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
isChange() {
|
|
515
|
+
return [{label:'是', value:'是'},
|
|
516
|
+
{label:'否', value:'否'},
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
getCondition () {
|
|
520
|
+
// var con = ""
|
|
521
|
+
// if (this.orgCondtionStr) {
|
|
522
|
+
// con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
|
|
523
|
+
// }
|
|
524
|
+
// else {
|
|
525
|
+
// con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|
|
526
|
+
// }
|
|
527
|
+
return {
|
|
528
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
529
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
530
|
+
condition: this.condition
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
</script>
|
|
536
|
+
|
|
537
|
+
<style>
|
|
538
|
+
.showbottom{
|
|
539
|
+
height:95%
|
|
540
|
+
}
|
|
541
|
+
</style>
|
|
542
|
+
|
|
@@ -10,4 +10,6 @@ export default function () {
|
|
|
10
10
|
Vue.component('user-query', (resolve) => { require(['./UserQuery'], resolve) })
|
|
11
11
|
// 业务查询
|
|
12
12
|
Vue.component('business-manage', (resolve) => { require(['./BusinessManage'], resolve) })
|
|
13
|
+
// 物联网表用气量统计表新
|
|
14
|
+
Vue.component('new-use-gas-statistics-single', (resolve) => { require(['./NewGasStatisticsSingle'], resolve) })
|
|
13
15
|
}
|