manage-client 4.1.91 → 4.1.93
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/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/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/build/dev-server.js +145 -145
- package/package.json +1 -1
- package/src/components/sale/businessquery/cardGasStatistics.vue +568 -568
- package/src/components/sale/config/exportConfig.js +2824 -2824
- package/src/filiale/bayan/ManageMaterialUsageDetails.vue +20 -0
- package/src/filiale/bayan/ManageOtherCharge.vue +20 -1
- package/src/filiale/bayan/OtherChargeQuery.vue +18 -4
- package/src/filiale/wuhai/UserGasList.vue +6 -8
- package/src/filiale/xinjiangdexin/config/exportConfig.js +0 -3
- package/src/filiale/yangchun/NewGasStatistics.vue +4 -0
|
@@ -1,568 +1,568 @@
|
|
|
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 = '{}'" 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 = '{}'" 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="api/af-revenue/logic/openapi/exportfile" sql-name="cardGasStatistics" 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 = '{}'" 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 = '{}'" 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
|
-
condition="ss.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="ss.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="ss.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="ss.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="ss.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="ss.f_actualtablebase >= {} " 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="ss.f_actualtablebase <= {} " 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="ss.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="ss.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="ss.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="ss.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
|
-
<th><nobr>气价详情</nobr></th>
|
|
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
|
-
<th><nobr>起方(液晶)</nobr></th>
|
|
211
|
-
<th><nobr>止方</nobr></th>
|
|
212
|
-
<th><nobr>止方(液晶)</nobr></th>
|
|
213
|
-
<th><nobr>止方(液晶)【公式】</nobr></th>
|
|
214
|
-
<th><nobr>期间用气量</nobr></th>
|
|
215
|
-
|
|
216
|
-
<th><nobr>期间用气金额</nobr></th>
|
|
217
|
-
<th><nobr>期间充值气量</nobr></th>
|
|
218
|
-
<th><nobr>期间充值单价</nobr></th>
|
|
219
|
-
<th><nobr>期间充值金额</nobr></th>
|
|
220
|
-
<th><nobr>期间补气量</nobr></th>
|
|
221
|
-
<th><nobr>期间补气金额</nobr></th>
|
|
222
|
-
<th><nobr>期间换表补气量</nobr></th>
|
|
223
|
-
<th><nobr>期间换表补气金额</nobr></th>
|
|
224
|
-
<th><nobr>期末余量</nobr></th>
|
|
225
|
-
<th><nobr>期末余额</nobr></th>
|
|
226
|
-
<th><nobr>一阶剩余单价</nobr></th>
|
|
227
|
-
<th><nobr>一阶剩余气量</nobr></th>
|
|
228
|
-
<th><nobr>一阶剩余金额</nobr></th>
|
|
229
|
-
|
|
230
|
-
<th><nobr>二阶剩余单价</nobr></th>
|
|
231
|
-
<th><nobr>二阶剩余气量</nobr></th>
|
|
232
|
-
<th><nobr>二阶剩余金额</nobr></th>
|
|
233
|
-
|
|
234
|
-
<th><nobr>三阶剩余单价</nobr></th>
|
|
235
|
-
<th><nobr>三阶剩余气量</nobr></th>
|
|
236
|
-
<th><nobr>三阶剩余金额</nobr></th>
|
|
237
|
-
<th><nobr>用气状态</nobr></th>
|
|
238
|
-
<th><nobr>是否换表</nobr></th>
|
|
239
|
-
<th><nobr>首次抄表时间</nobr></th>
|
|
240
|
-
<th><nobr>最后通讯日期</nobr></th>
|
|
241
|
-
</tr>
|
|
242
|
-
</template>
|
|
243
|
-
<template partial='body' partial='list'>
|
|
244
|
-
<tr >
|
|
245
|
-
<td style="text-align: left;"><nobr> {{row.f_userinfo_code}}</nobr></td>
|
|
246
|
-
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
247
|
-
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
248
|
-
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
249
|
-
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
250
|
-
|
|
251
|
-
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
252
|
-
<td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
|
|
253
|
-
<th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
254
|
-
<th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
|
|
255
|
-
<th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
|
|
256
|
-
<th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
|
|
257
|
-
<th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
|
|
258
|
-
<th style="text-align:center"><nobr>{{row.f_detailprice}}</nobr></th>
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
<th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
262
|
-
|
|
263
|
-
<th style="text-align:center"><nobr>{{row.f_last_gas}}</nobr></th>
|
|
264
|
-
<th style="text-align:center"><nobr>{{row.f_last_balance}}</nobr></th>
|
|
265
|
-
<th style="text-align:center"><nobr>{{row.f_last_balance_gongshi}}</nobr></th>
|
|
266
|
-
<th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
|
|
267
|
-
<th style="text-align:center"><nobr>{{row.f_last_shengyu_gas}}</nobr></th>
|
|
268
|
-
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
269
|
-
<th style="text-align:center"><nobr>{{row.f_shengyu_gas}}</nobr></th>
|
|
270
|
-
<th style="text-align:center"><nobr>{{row.f_shengyu_gas_gongshi}}</nobr></th>
|
|
271
|
-
<th style="text-align:center"><nobr>{{row.f_actualtablebase}}</nobr></th>
|
|
272
|
-
<th style="text-align:center"><nobr>{{row.f_real_fee}}</nobr></th>
|
|
273
|
-
<th style="text-align:center"><nobr>{{row.f_pregas}}</nobr></th>
|
|
274
|
-
<th style="text-align:center"><nobr>{{row.f_during_price}}</nobr></th>
|
|
275
|
-
<th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
|
|
276
|
-
<th style="text-align:center"><nobr>{{row.f_bq_f_pregas}}</nobr></th>
|
|
277
|
-
<th style="text-align:center"><nobr>{{row.f_bq_preamount}}</nobr></th>
|
|
278
|
-
<th style="text-align:center"><nobr>{{row.f_hbbq_pregas}}</nobr></th>
|
|
279
|
-
<th style="text-align:center"><nobr>{{row.f_hbbq_preamount}}</nobr></th>
|
|
280
|
-
<th style="text-align:center"><nobr>{{row.f_remain_gas}}</nobr></th>
|
|
281
|
-
<th style="text-align:center"><nobr>{{row.f_remain_curbalance}}</nobr></th>
|
|
282
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair1price}}</nobr></th>
|
|
283
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair1amount}}</nobr></th>
|
|
284
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair1fee}}</nobr></th>
|
|
285
|
-
|
|
286
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair2price}}</nobr></th>
|
|
287
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair2amount}}</nobr></th>
|
|
288
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair2fee}}</nobr></th>
|
|
289
|
-
|
|
290
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair3price}}</nobr></th>
|
|
291
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair3amount}}</nobr></th>
|
|
292
|
-
<th style="text-align:center"><nobr>{{row.f_remain_stair3fee}}</nobr></th>
|
|
293
|
-
<th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
|
|
294
|
-
<th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
|
|
295
|
-
<th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
|
|
296
|
-
<th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
|
|
297
|
-
</tr>
|
|
298
|
-
</template>
|
|
299
|
-
<template partial='foot'></template>
|
|
300
|
-
</data-grid>
|
|
301
|
-
</criteria-paged>
|
|
302
|
-
<table class="table-hover">
|
|
303
|
-
<tr style="position: relative" class="table-bordered">
|
|
304
|
-
<td
|
|
305
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
306
|
-
汇总信息
|
|
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_actualtablebase}}
|
|
310
|
-
</td>
|
|
311
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
312
|
-
期间用气金额: {{sumsmodel.f_real_fee}}
|
|
313
|
-
</td>
|
|
314
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
315
|
-
期间充值金额: {{sumsmodel.f_collection}}
|
|
316
|
-
</td>
|
|
317
|
-
</tr>
|
|
318
|
-
</table>
|
|
319
|
-
</div>
|
|
320
|
-
</div>
|
|
321
|
-
</div>
|
|
322
|
-
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
323
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
324
|
-
</div>
|
|
325
|
-
</template>
|
|
326
|
-
|
|
327
|
-
<script>
|
|
328
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
329
|
-
import exportConfig from '../../../filiale/xinjiangdexin/config/exportConfig'
|
|
330
|
-
import * as Util from '../../../Util'
|
|
331
|
-
import plugins from '../../../plugins/GetLoginInfoService'
|
|
332
|
-
|
|
333
|
-
let readySomething = async function (self) {
|
|
334
|
-
await self.$MagLoadParams.loadParam()
|
|
335
|
-
self.initParams()
|
|
336
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
337
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
338
|
-
}
|
|
339
|
-
export default {
|
|
340
|
-
title: '卡表用气量统计表',
|
|
341
|
-
data () {
|
|
342
|
-
return {
|
|
343
|
-
show:false,
|
|
344
|
-
org:[this.$login.f.orgid],
|
|
345
|
-
orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
|
|
346
|
-
//f_filialeid: this.$login.f.f_orgid,
|
|
347
|
-
detaillist: [],
|
|
348
|
-
meterbrands: [],
|
|
349
|
-
prices: [],
|
|
350
|
-
gasproperties:[],
|
|
351
|
-
condition:'',
|
|
352
|
-
rowdata:{},
|
|
353
|
-
getstart:'',
|
|
354
|
-
config: {
|
|
355
|
-
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
|
|
356
|
-
'f_actualtablebase', 'f_real_fee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
357
|
-
},
|
|
358
|
-
sumsmodel: {},
|
|
359
|
-
orgid:[this.$login.f.orgid],
|
|
360
|
-
criteriaShow:false,
|
|
361
|
-
showdetail:false,
|
|
362
|
-
//默认打印列
|
|
363
|
-
defaultfield: [],
|
|
364
|
-
orgCondtionStr: '',
|
|
365
|
-
model: new PagedList('api/af-revenue/sql/cardGasStatistics', 50,{
|
|
366
|
-
startDate: 'this.model.startDate',
|
|
367
|
-
endDate: 'this.model.endDate'
|
|
368
|
-
},{
|
|
369
|
-
f_actualtablebase: 0,
|
|
370
|
-
f_real_fee: 0,
|
|
371
|
-
f_collection:0
|
|
372
|
-
}),
|
|
373
|
-
showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
ready () {
|
|
377
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
378
|
-
readySomething(this).then(() => {
|
|
379
|
-
this.$emit('ready')
|
|
380
|
-
}).catch((error) => {
|
|
381
|
-
this.$emit('error', error)
|
|
382
|
-
})
|
|
383
|
-
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
384
|
-
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
385
|
-
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
386
|
-
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
387
|
-
},
|
|
388
|
-
methods: {
|
|
389
|
-
initParams() {
|
|
390
|
-
// 初始化气表品牌
|
|
391
|
-
let brandArr = []
|
|
392
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
393
|
-
if (item.value.f_meter_type==='气量卡表' || item.value.f_meter_type==='金额卡表'){
|
|
394
|
-
let temp = {}
|
|
395
|
-
temp.label = item.label
|
|
396
|
-
temp.value = item.value.f_meter_brand
|
|
397
|
-
brandArr.push(temp)
|
|
398
|
-
}
|
|
399
|
-
})
|
|
400
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
401
|
-
//初始化气表价格
|
|
402
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
403
|
-
},
|
|
404
|
-
async updateParams() {
|
|
405
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
406
|
-
this.initParams()
|
|
407
|
-
},
|
|
408
|
-
getorg(obj) {
|
|
409
|
-
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
410
|
-
this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
|
|
411
|
-
}else{
|
|
412
|
-
this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
userTypeChange () {
|
|
416
|
-
this.gasproperties=[]
|
|
417
|
-
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
418
|
-
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
419
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
420
|
-
}
|
|
421
|
-
else{
|
|
422
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
hidden(){
|
|
426
|
-
this.criteriaShow = !this.criteriaShow
|
|
427
|
-
},
|
|
428
|
-
cancel() {
|
|
429
|
-
this.showdetail = false
|
|
430
|
-
},
|
|
431
|
-
clearmsg () {
|
|
432
|
-
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
433
|
-
this.$refs.paged.$refs.criteria.model[key] = []
|
|
434
|
-
})
|
|
435
|
-
},
|
|
436
|
-
getRes (obj) {
|
|
437
|
-
this.orgCondtionStr = condition
|
|
438
|
-
this.orgname = obj.orgnames[0]
|
|
439
|
-
this.depname = obj.depnames[0]
|
|
440
|
-
},
|
|
441
|
-
showmsg(obj){
|
|
442
|
-
this.rowdata=obj
|
|
443
|
-
this.showdetail=true
|
|
444
|
-
},
|
|
445
|
-
|
|
446
|
-
search (args) {
|
|
447
|
-
// 判断客户编号和表号
|
|
448
|
-
const userCode = this.$refs.paged.$refs.criteria.model.f_userinfo_code;
|
|
449
|
-
const meterNumber = this.$refs.paged.$refs.criteria.model.f_meternumber;
|
|
450
|
-
if ((!userCode || userCode.length === 0) && (!meterNumber || meterNumber.length === 0)) {
|
|
451
|
-
this.$refs.paged.model.params.condition1 = 'with(nolock,index(ix_ms_hs_idate))';
|
|
452
|
-
} else {
|
|
453
|
-
this.$refs.paged.model.params.condition1 = 'with(nolock)';
|
|
454
|
-
}
|
|
455
|
-
args.condition = `${args.condition}`+this.orgcondition
|
|
456
|
-
this.condition = args.condition
|
|
457
|
-
this.model.search(args.condition, args.model)
|
|
458
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
watch: {
|
|
462
|
-
'model.rows'(val) {
|
|
463
|
-
//如果有合计 这里为true, 其他为false ,反正相反
|
|
464
|
-
this.showbottomsum=true;
|
|
465
|
-
if(val.length === 0){
|
|
466
|
-
this.sumsmodel = {}
|
|
467
|
-
this.showbottomsum=false;
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
'orgCondtionStr'(val) {
|
|
471
|
-
let res = val.match(/'(.*?)'/)
|
|
472
|
-
console.log('正则提取:',res && res[1])
|
|
473
|
-
if (res) {
|
|
474
|
-
this.f_filialeid = res[1]
|
|
475
|
-
// this.updateParams()
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
computed: {
|
|
480
|
-
getstart(){
|
|
481
|
-
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
482
|
-
},
|
|
483
|
-
getPricenames() {
|
|
484
|
-
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
485
|
-
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
486
|
-
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
487
|
-
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
488
|
-
console.log("查看f_orgid:",this.$login.f.f_orgid)
|
|
489
|
-
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
490
|
-
let rs = []
|
|
491
|
-
let priceArr = []
|
|
492
|
-
if ( pricetype.length >0) {
|
|
493
|
-
let params = {
|
|
494
|
-
f_price_type: pricetype[0],
|
|
495
|
-
filter: this.org[0],
|
|
496
|
-
prices: this.prices
|
|
497
|
-
}
|
|
498
|
-
console.log("打印一下params:",params)
|
|
499
|
-
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
500
|
-
console.log("====================================》")
|
|
501
|
-
let temp = {}
|
|
502
|
-
temp.label = item.label
|
|
503
|
-
temp.value = item.value.f_price_name
|
|
504
|
-
priceArr.push(temp)
|
|
505
|
-
console.log("打印一下temp:",temp)
|
|
506
|
-
})
|
|
507
|
-
|
|
508
|
-
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
509
|
-
}
|
|
510
|
-
if (rs.length === 0) {
|
|
511
|
-
console.log('rs读出来是空')
|
|
512
|
-
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
513
|
-
}
|
|
514
|
-
return rs
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
getfield () {
|
|
518
|
-
return exportConfig.cardGasStatistics
|
|
519
|
-
},
|
|
520
|
-
usertypes() {
|
|
521
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
522
|
-
},
|
|
523
|
-
gasproperties() {
|
|
524
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
525
|
-
},
|
|
526
|
-
pricetypes() {
|
|
527
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
528
|
-
},
|
|
529
|
-
tableState() {
|
|
530
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
531
|
-
},
|
|
532
|
-
gasState() {
|
|
533
|
-
return [{label:'正常', value:'正常'},
|
|
534
|
-
{label:'异常', value:'异常'},
|
|
535
|
-
]
|
|
536
|
-
},
|
|
537
|
-
isChange() {
|
|
538
|
-
return [{label:'是', value:'是'},
|
|
539
|
-
{label:'否', value:'否'},
|
|
540
|
-
]
|
|
541
|
-
},
|
|
542
|
-
getCondition () {
|
|
543
|
-
// 判断客户编号和表号
|
|
544
|
-
const userCode = this.$refs.paged.$refs.criteria.model.f_userinfo_code;
|
|
545
|
-
const meterNumber = this.$refs.paged.$refs.criteria.model.f_meternumber;
|
|
546
|
-
let condition1 = '';
|
|
547
|
-
if ((!userCode || userCode.length === 0) && (!meterNumber || meterNumber.length === 0)) {
|
|
548
|
-
condition1 = 'with(nolock,index(ix_ms_hs_idate))';
|
|
549
|
-
} else {
|
|
550
|
-
condition1 = 'with(nolock)';
|
|
551
|
-
}
|
|
552
|
-
return {
|
|
553
|
-
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
554
|
-
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
555
|
-
condition: this.condition,
|
|
556
|
-
condition1: condition1
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
</script>
|
|
562
|
-
|
|
563
|
-
<style>
|
|
564
|
-
.showbottom{
|
|
565
|
-
height:95%
|
|
566
|
-
}
|
|
567
|
-
</style>
|
|
568
|
-
|
|
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 = '{}'" 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 = '{}'" 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="api/af-revenue/logic/openapi/exportfile" sql-name="cardGasStatistics" 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 = '{}'" 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 = '{}'" 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
|
+
condition="ss.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="ss.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="ss.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="ss.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="ss.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="ss.f_actualtablebase >= {} " 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="ss.f_actualtablebase <= {} " 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="ss.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="ss.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="ss.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="ss.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
|
+
<th><nobr>气价详情</nobr></th>
|
|
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
|
+
<th><nobr>起方(液晶)</nobr></th>
|
|
211
|
+
<th><nobr>止方</nobr></th>
|
|
212
|
+
<th><nobr>止方(液晶)</nobr></th>
|
|
213
|
+
<th><nobr>止方(液晶)【公式】</nobr></th>
|
|
214
|
+
<th><nobr>期间用气量</nobr></th>
|
|
215
|
+
|
|
216
|
+
<th><nobr>期间用气金额</nobr></th>
|
|
217
|
+
<th><nobr>期间充值气量</nobr></th>
|
|
218
|
+
<th><nobr>期间充值单价</nobr></th>
|
|
219
|
+
<th><nobr>期间充值金额</nobr></th>
|
|
220
|
+
<th><nobr>期间补气量</nobr></th>
|
|
221
|
+
<th><nobr>期间补气金额</nobr></th>
|
|
222
|
+
<th><nobr>期间换表补气量</nobr></th>
|
|
223
|
+
<th><nobr>期间换表补气金额</nobr></th>
|
|
224
|
+
<th><nobr>期末余量</nobr></th>
|
|
225
|
+
<th><nobr>期末余额</nobr></th>
|
|
226
|
+
<th><nobr>一阶剩余单价</nobr></th>
|
|
227
|
+
<th><nobr>一阶剩余气量</nobr></th>
|
|
228
|
+
<th><nobr>一阶剩余金额</nobr></th>
|
|
229
|
+
|
|
230
|
+
<th><nobr>二阶剩余单价</nobr></th>
|
|
231
|
+
<th><nobr>二阶剩余气量</nobr></th>
|
|
232
|
+
<th><nobr>二阶剩余金额</nobr></th>
|
|
233
|
+
|
|
234
|
+
<th><nobr>三阶剩余单价</nobr></th>
|
|
235
|
+
<th><nobr>三阶剩余气量</nobr></th>
|
|
236
|
+
<th><nobr>三阶剩余金额</nobr></th>
|
|
237
|
+
<th><nobr>用气状态</nobr></th>
|
|
238
|
+
<th><nobr>是否换表</nobr></th>
|
|
239
|
+
<th><nobr>首次抄表时间</nobr></th>
|
|
240
|
+
<th><nobr>最后通讯日期</nobr></th>
|
|
241
|
+
</tr>
|
|
242
|
+
</template>
|
|
243
|
+
<template partial='body' partial='list'>
|
|
244
|
+
<tr >
|
|
245
|
+
<td style="text-align: left;"><nobr> <span @click="$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
246
|
+
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
247
|
+
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
248
|
+
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
249
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
250
|
+
|
|
251
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
252
|
+
<td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
|
|
253
|
+
<th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
254
|
+
<th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
|
|
255
|
+
<th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
|
|
256
|
+
<th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
|
|
257
|
+
<th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
|
|
258
|
+
<th style="text-align:center"><nobr>{{row.f_detailprice}}</nobr></th>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
262
|
+
|
|
263
|
+
<th style="text-align:center"><nobr>{{row.f_last_gas}}</nobr></th>
|
|
264
|
+
<th style="text-align:center"><nobr>{{row.f_last_balance}}</nobr></th>
|
|
265
|
+
<th style="text-align:center"><nobr>{{row.f_last_balance_gongshi}}</nobr></th>
|
|
266
|
+
<th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
|
|
267
|
+
<th style="text-align:center"><nobr>{{row.f_last_shengyu_gas}}</nobr></th>
|
|
268
|
+
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
269
|
+
<th style="text-align:center"><nobr>{{row.f_shengyu_gas}}</nobr></th>
|
|
270
|
+
<th style="text-align:center"><nobr>{{row.f_shengyu_gas_gongshi}}</nobr></th>
|
|
271
|
+
<th style="text-align:center"><nobr>{{row.f_actualtablebase}}</nobr></th>
|
|
272
|
+
<th style="text-align:center"><nobr>{{row.f_real_fee}}</nobr></th>
|
|
273
|
+
<th style="text-align:center"><nobr>{{row.f_pregas}}</nobr></th>
|
|
274
|
+
<th style="text-align:center"><nobr>{{row.f_during_price}}</nobr></th>
|
|
275
|
+
<th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
|
|
276
|
+
<th style="text-align:center"><nobr>{{row.f_bq_f_pregas}}</nobr></th>
|
|
277
|
+
<th style="text-align:center"><nobr>{{row.f_bq_preamount}}</nobr></th>
|
|
278
|
+
<th style="text-align:center"><nobr>{{row.f_hbbq_pregas}}</nobr></th>
|
|
279
|
+
<th style="text-align:center"><nobr>{{row.f_hbbq_preamount}}</nobr></th>
|
|
280
|
+
<th style="text-align:center"><nobr>{{row.f_remain_gas}}</nobr></th>
|
|
281
|
+
<th style="text-align:center"><nobr>{{row.f_remain_curbalance}}</nobr></th>
|
|
282
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair1price}}</nobr></th>
|
|
283
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair1amount}}</nobr></th>
|
|
284
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair1fee}}</nobr></th>
|
|
285
|
+
|
|
286
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair2price}}</nobr></th>
|
|
287
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair2amount}}</nobr></th>
|
|
288
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair2fee}}</nobr></th>
|
|
289
|
+
|
|
290
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair3price}}</nobr></th>
|
|
291
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair3amount}}</nobr></th>
|
|
292
|
+
<th style="text-align:center"><nobr>{{row.f_remain_stair3fee}}</nobr></th>
|
|
293
|
+
<th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
|
|
294
|
+
<th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
|
|
295
|
+
<th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
|
|
296
|
+
<th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
|
|
297
|
+
</tr>
|
|
298
|
+
</template>
|
|
299
|
+
<template partial='foot'></template>
|
|
300
|
+
</data-grid>
|
|
301
|
+
</criteria-paged>
|
|
302
|
+
<table class="table-hover">
|
|
303
|
+
<tr style="position: relative" class="table-bordered">
|
|
304
|
+
<td
|
|
305
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
306
|
+
汇总信息
|
|
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_actualtablebase}}
|
|
310
|
+
</td>
|
|
311
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
312
|
+
期间用气金额: {{sumsmodel.f_real_fee}}
|
|
313
|
+
</td>
|
|
314
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
315
|
+
期间充值金额: {{sumsmodel.f_collection}}
|
|
316
|
+
</td>
|
|
317
|
+
</tr>
|
|
318
|
+
</table>
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
</div>
|
|
322
|
+
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
323
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
324
|
+
</div>
|
|
325
|
+
</template>
|
|
326
|
+
|
|
327
|
+
<script>
|
|
328
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
329
|
+
import exportConfig from '../../../filiale/xinjiangdexin/config/exportConfig'
|
|
330
|
+
import * as Util from '../../../Util'
|
|
331
|
+
import plugins from '../../../plugins/GetLoginInfoService'
|
|
332
|
+
|
|
333
|
+
let readySomething = async function (self) {
|
|
334
|
+
await self.$MagLoadParams.loadParam()
|
|
335
|
+
self.initParams()
|
|
336
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
337
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
338
|
+
}
|
|
339
|
+
export default {
|
|
340
|
+
title: '卡表用气量统计表',
|
|
341
|
+
data () {
|
|
342
|
+
return {
|
|
343
|
+
show:false,
|
|
344
|
+
org:[this.$login.f.orgid],
|
|
345
|
+
orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
|
|
346
|
+
//f_filialeid: this.$login.f.f_orgid,
|
|
347
|
+
detaillist: [],
|
|
348
|
+
meterbrands: [],
|
|
349
|
+
prices: [],
|
|
350
|
+
gasproperties:[],
|
|
351
|
+
condition:'',
|
|
352
|
+
rowdata:{},
|
|
353
|
+
getstart:'',
|
|
354
|
+
config: {
|
|
355
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
|
|
356
|
+
'f_actualtablebase', 'f_real_fee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
357
|
+
},
|
|
358
|
+
sumsmodel: {},
|
|
359
|
+
orgid:[this.$login.f.orgid],
|
|
360
|
+
criteriaShow:false,
|
|
361
|
+
showdetail:false,
|
|
362
|
+
//默认打印列
|
|
363
|
+
defaultfield: [],
|
|
364
|
+
orgCondtionStr: '',
|
|
365
|
+
model: new PagedList('api/af-revenue/sql/cardGasStatistics', 50,{
|
|
366
|
+
startDate: 'this.model.startDate',
|
|
367
|
+
endDate: 'this.model.endDate'
|
|
368
|
+
},{
|
|
369
|
+
f_actualtablebase: 0,
|
|
370
|
+
f_real_fee: 0,
|
|
371
|
+
f_collection:0
|
|
372
|
+
}),
|
|
373
|
+
showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
ready () {
|
|
377
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
378
|
+
readySomething(this).then(() => {
|
|
379
|
+
this.$emit('ready')
|
|
380
|
+
}).catch((error) => {
|
|
381
|
+
this.$emit('error', error)
|
|
382
|
+
})
|
|
383
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
384
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
385
|
+
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
386
|
+
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
387
|
+
},
|
|
388
|
+
methods: {
|
|
389
|
+
initParams() {
|
|
390
|
+
// 初始化气表品牌
|
|
391
|
+
let brandArr = []
|
|
392
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
393
|
+
if (item.value.f_meter_type==='气量卡表' || item.value.f_meter_type==='金额卡表'){
|
|
394
|
+
let temp = {}
|
|
395
|
+
temp.label = item.label
|
|
396
|
+
temp.value = item.value.f_meter_brand
|
|
397
|
+
brandArr.push(temp)
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
401
|
+
//初始化气表价格
|
|
402
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
403
|
+
},
|
|
404
|
+
async updateParams() {
|
|
405
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
406
|
+
this.initParams()
|
|
407
|
+
},
|
|
408
|
+
getorg(obj) {
|
|
409
|
+
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
410
|
+
this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
|
|
411
|
+
}else{
|
|
412
|
+
this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
userTypeChange () {
|
|
416
|
+
this.gasproperties=[]
|
|
417
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
418
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
419
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
420
|
+
}
|
|
421
|
+
else{
|
|
422
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
hidden(){
|
|
426
|
+
this.criteriaShow = !this.criteriaShow
|
|
427
|
+
},
|
|
428
|
+
cancel() {
|
|
429
|
+
this.showdetail = false
|
|
430
|
+
},
|
|
431
|
+
clearmsg () {
|
|
432
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
433
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
434
|
+
})
|
|
435
|
+
},
|
|
436
|
+
getRes (obj) {
|
|
437
|
+
this.orgCondtionStr = condition
|
|
438
|
+
this.orgname = obj.orgnames[0]
|
|
439
|
+
this.depname = obj.depnames[0]
|
|
440
|
+
},
|
|
441
|
+
showmsg(obj){
|
|
442
|
+
this.rowdata=obj
|
|
443
|
+
this.showdetail=true
|
|
444
|
+
},
|
|
445
|
+
|
|
446
|
+
search (args) {
|
|
447
|
+
// 判断客户编号和表号
|
|
448
|
+
const userCode = this.$refs.paged.$refs.criteria.model.f_userinfo_code;
|
|
449
|
+
const meterNumber = this.$refs.paged.$refs.criteria.model.f_meternumber;
|
|
450
|
+
if ((!userCode || userCode.length === 0) && (!meterNumber || meterNumber.length === 0)) {
|
|
451
|
+
this.$refs.paged.model.params.condition1 = 'with(nolock,index(ix_ms_hs_idate))';
|
|
452
|
+
} else {
|
|
453
|
+
this.$refs.paged.model.params.condition1 = 'with(nolock)';
|
|
454
|
+
}
|
|
455
|
+
args.condition = `${args.condition}`+this.orgcondition
|
|
456
|
+
this.condition = args.condition
|
|
457
|
+
this.model.search(args.condition, args.model)
|
|
458
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
watch: {
|
|
462
|
+
'model.rows'(val) {
|
|
463
|
+
//如果有合计 这里为true, 其他为false ,反正相反
|
|
464
|
+
this.showbottomsum=true;
|
|
465
|
+
if(val.length === 0){
|
|
466
|
+
this.sumsmodel = {}
|
|
467
|
+
this.showbottomsum=false;
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
'orgCondtionStr'(val) {
|
|
471
|
+
let res = val.match(/'(.*?)'/)
|
|
472
|
+
console.log('正则提取:',res && res[1])
|
|
473
|
+
if (res) {
|
|
474
|
+
this.f_filialeid = res[1]
|
|
475
|
+
// this.updateParams()
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
computed: {
|
|
480
|
+
getstart(){
|
|
481
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
482
|
+
},
|
|
483
|
+
getPricenames() {
|
|
484
|
+
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
485
|
+
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
486
|
+
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
487
|
+
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
488
|
+
console.log("查看f_orgid:",this.$login.f.f_orgid)
|
|
489
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
490
|
+
let rs = []
|
|
491
|
+
let priceArr = []
|
|
492
|
+
if ( pricetype.length >0) {
|
|
493
|
+
let params = {
|
|
494
|
+
f_price_type: pricetype[0],
|
|
495
|
+
filter: this.org[0],
|
|
496
|
+
prices: this.prices
|
|
497
|
+
}
|
|
498
|
+
console.log("打印一下params:",params)
|
|
499
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
500
|
+
console.log("====================================》")
|
|
501
|
+
let temp = {}
|
|
502
|
+
temp.label = item.label
|
|
503
|
+
temp.value = item.value.f_price_name
|
|
504
|
+
priceArr.push(temp)
|
|
505
|
+
console.log("打印一下temp:",temp)
|
|
506
|
+
})
|
|
507
|
+
|
|
508
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
509
|
+
}
|
|
510
|
+
if (rs.length === 0) {
|
|
511
|
+
console.log('rs读出来是空')
|
|
512
|
+
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
513
|
+
}
|
|
514
|
+
return rs
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
getfield () {
|
|
518
|
+
return exportConfig.cardGasStatistics
|
|
519
|
+
},
|
|
520
|
+
usertypes() {
|
|
521
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
522
|
+
},
|
|
523
|
+
gasproperties() {
|
|
524
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
525
|
+
},
|
|
526
|
+
pricetypes() {
|
|
527
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
528
|
+
},
|
|
529
|
+
tableState() {
|
|
530
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
531
|
+
},
|
|
532
|
+
gasState() {
|
|
533
|
+
return [{label:'正常', value:'正常'},
|
|
534
|
+
{label:'异常', value:'异常'},
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
isChange() {
|
|
538
|
+
return [{label:'是', value:'是'},
|
|
539
|
+
{label:'否', value:'否'},
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
getCondition () {
|
|
543
|
+
// 判断客户编号和表号
|
|
544
|
+
const userCode = this.$refs.paged.$refs.criteria.model.f_userinfo_code;
|
|
545
|
+
const meterNumber = this.$refs.paged.$refs.criteria.model.f_meternumber;
|
|
546
|
+
let condition1 = '';
|
|
547
|
+
if ((!userCode || userCode.length === 0) && (!meterNumber || meterNumber.length === 0)) {
|
|
548
|
+
condition1 = 'with(nolock,index(ix_ms_hs_idate))';
|
|
549
|
+
} else {
|
|
550
|
+
condition1 = 'with(nolock)';
|
|
551
|
+
}
|
|
552
|
+
return {
|
|
553
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
554
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
555
|
+
condition: this.condition,
|
|
556
|
+
condition1: condition1
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
</script>
|
|
562
|
+
|
|
563
|
+
<style>
|
|
564
|
+
.showbottom{
|
|
565
|
+
height:95%
|
|
566
|
+
}
|
|
567
|
+
</style>
|
|
568
|
+
|