manage-client 3.3.231 → 3.3.232
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +190 -190
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/hs_err_pid13052.log +206 -206
- package/package.json +111 -111
- package/src/components/SellReport/BusinessClassify.vue +292 -292
- package/src/components/SellReport/ChManageBusSummary.vue +273 -273
- package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
- package/src/components/SellReport/ManageGasGroupSummary.vue +208 -0
- package/src/components/SellReport/ManageSellType.vue +267 -267
- package/src/components/SellReport/ReportItems.vue +312 -312
- package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
- package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
- package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
- package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
- package/src/components/sale/businessquery/BalanceTable.vue +482 -482
- package/src/components/sale/businessquery/BusinessManage.vue +212 -212
- package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
- package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
- package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
- package/src/components/sale/businessquery/CollectManage.vue +161 -161
- package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
- package/src/components/sale/businessquery/DisableQuery.vue +523 -523
- package/src/components/sale/businessquery/EnableQuery.vue +462 -462
- package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
- package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
- package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
- package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
- package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
- package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
- package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
- package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
- package/src/components/sale/businessquery/Handgasquery.vue +477 -477
- package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
- package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
- package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
- package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
- package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
- package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
- package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
- package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
- package/src/components/sale/businessquery/SellingHand.vue +421 -421
- package/src/components/sale/businessquery/TransferQuery.vue +502 -502
- package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
- package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
- package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
- package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
- package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
- package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
- package/src/components/sale/businessquery/usergas.vue +315 -315
- package/src/components/sale/config/exportConfig.js +2762 -2762
- package/src/components/sale/config/tableConfig.js +59 -59
- package/src/components/sale/filesquery/FireQuery.vue +539 -539
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
- package/src/components/sale/filesquery/UserQuery.vue +977 -977
- package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
- package/src/components/webmeter/WebmeterQuery.vue +77 -77
- package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
- package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
- package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
- package/src/components/webmeter/recharge/RechargeList.vue +371 -371
- package/src/components/webmeter/report/ReportList.vue +453 -453
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
- package/src/filiale/WEINAN/InspectListGas.vue +616 -616
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
- package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
- package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
- package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
- package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
- package/src/filiale/ancheng/exportConfig.js +1112 -1112
- package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
- package/src/filiale/bayan/PrintTableManage.vue +242 -242
- package/src/filiale/bayan/config/DefaultPrint.js +6 -6
- package/src/filiale/bayan/config/exportConfig.js +2642 -2642
- package/src/filiale/bayan/config/tableConfig.js +59 -59
- package/src/filiale/bayan/sale.js +8 -8
- package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
- package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
- package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
- package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
- package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
- package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
- package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
- package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
- package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
- package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
- package/src/filiale/bayan/webmeterManage.js +26 -26
- package/src/filiale/dingcheng/DefaultPrint.js +6 -6
- package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
- package/src/filiale/dingcheng/exportConfig.js +2765 -2765
- package/src/filiale/dingcheng/sale.js +9 -9
- package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
- package/src/filiale/hantou/config/DefaultPrint.js +6 -6
- package/src/filiale/hantou/config/exportConfig.js +2667 -2667
- package/src/filiale/hantou/config/tableConfig.js +54 -54
- package/src/filiale/hantou/sale.js +8 -8
- package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
- package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
- package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
- package/src/filiale/jingyang/RechargeList.vue +346 -346
- package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
- package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
- package/src/filiale/jingyang/config/tableConfig.js +58 -58
- package/src/filiale/jingyang/sale.js +8 -8
- package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
- package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
- package/src/filiale/kelai/GasStatistics.vue +561 -561
- package/src/filiale/kelai/NewAccountQuery.vue +417 -417
- package/src/filiale/kelai/NewGasStatistics.vue +556 -556
- package/src/filiale/kelai/feimin_style_kl.vue +400 -400
- package/src/filiale/kelai/reportManage.js +13 -13
- package/src/filiale/kelai/sale.js +17 -17
- package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
- package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
- package/src/filiale/macheng/ArrearsQuery.vue +831 -831
- package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
- package/src/filiale/macheng/config/exportConfig.js +79 -79
- package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
- package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
- package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
- package/src/filiale/meihekou/CollectManage.vue +152 -152
- package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
- package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
- package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
- package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
- package/src/filiale/meihekou/config/exportConfig.js +829 -829
- package/src/filiale/meihekou/sale.js +39 -39
- package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
- package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
- package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
- package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
- package/src/filiale/qianneng/exportConfig.js +232 -232
- package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
- package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
- package/src/filiale/rizhao/BusinessManage.vue +212 -212
- package/src/filiale/rizhao/sale.js +13 -13
- package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
- package/src/filiale/shangluo/sale.js +17 -17
- package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
- package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
- package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
- package/src/filiale/shanxian/EchartsBox.vue +134 -134
- package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
- package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
- package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
- package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
- package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
- package/src/filiale/taizhoukesi/sale.js +11 -11
- package/src/filiale/tongchuan/GasInspection.vue +716 -716
- package/src/filiale/tongchuan/InspectListGas.vue +700 -700
- package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
- package/src/filiale/tongchuan/config/exportConfig.js +858 -858
- package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
- package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
- package/src/filiale/wenxi/config/exportConfig.js +995 -995
- package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
- package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
- package/src/filiale/xinjiangdexin/sale.js +7 -7
- package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
- package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
- package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
- package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
- package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
- package/src/filiale/yangchun/UserQuery.vue +980 -980
- package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
- package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
- package/src/filiale/yangchun/config/tableConfig.js +58 -58
- package/src/filiale/yangchun/reportManage.js +6 -6
- package/src/filiale/yangchun/sale.js +20 -20
- package/src/filiale/yangchun/webmeterManage.js +5 -5
- package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
- package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
- package/src/filiale/yuncheng/GasInspection.vue +610 -610
- package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
- package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
- package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
- package/src/filiale/yuncheng/sale.js +23 -23
- package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
- package/src/filiale/zhongyi/GasStatistics.vue +537 -537
- package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
- package/src/filiale/zhongyi/exportConfig.js +2556 -2556
- package/src/filiale/zhongyi/sale.js +33 -33
- package/src/filiale/zhongyi/webmeterManage.js +15 -15
- package/src/main.js +68 -68
- package/src/plugins/LodopFuncs.js +159 -159
- package/src/reportManage.js +777 -773
- package/src/saleManage.js +689 -689
- package/src/webmeterManage.js +130 -130
- 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
|
@@ -1,665 +1,665 @@
|
|
|
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
|
-
<res-select-group :show-component="['company','department']"
|
|
10
|
-
:initres="$parent.$parent.org"
|
|
11
|
-
@re-res="$parent.$parent.getorg">
|
|
12
|
-
</res-select-group>
|
|
13
|
-
<div class="col-sm-2">
|
|
14
|
-
<label class="font_normal_body">客户编号</label>
|
|
15
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
16
|
-
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
17
|
-
condition="ss.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
18
|
-
>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2">
|
|
21
|
-
<label class="font_normal_body">客户名称</label>
|
|
22
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
23
|
-
v-model="model.f_username" placeholder='客户名称'
|
|
24
|
-
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="span" style="float:right;margin-top:10px">
|
|
27
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
28
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
29
|
-
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
30
|
-
:field="$parent.$parent.getfield"
|
|
31
|
-
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="newGasStatisticsQuery"
|
|
32
|
-
template-name='用气量统计表'
|
|
33
|
-
:choose-col="true"></export-excel>
|
|
34
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
35
|
-
:field="$parent.$parent.getfield"
|
|
36
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
37
|
-
titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
|
|
38
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
39
|
-
<div style="float: right" class="button_spacing"
|
|
40
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
41
|
-
@click="$parent.$parent.hidden()"></div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
45
|
-
<div class="col-sm-2">
|
|
46
|
-
<label class="font_normal_body">客户地址</label>
|
|
47
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
48
|
-
v-model="model.f_address" placeholder='客户地址'
|
|
49
|
-
condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="col-sm-2">
|
|
52
|
-
<label class="font_normal_body">电 话</label>
|
|
53
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
54
|
-
v-model="model.f_user_phone" placeholder='电话'
|
|
55
|
-
condition="ss.f_user_phone like '%{}%'" v-next-el='f_user_phone' v-el:f_user_phone
|
|
56
|
-
>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="col-sm-2">
|
|
59
|
-
<label class="font_normal_body">小 区</label>
|
|
60
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
61
|
-
v-model="model.f_residential_area" placeholder='小区'
|
|
62
|
-
condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area'
|
|
63
|
-
v-el:f_residential_area>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="col-sm-2">
|
|
66
|
-
<label class="font_normal_body">表 号</label>
|
|
67
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
68
|
-
v-model="model.f_meternumber" placeholder='表号'
|
|
69
|
-
condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
70
|
-
>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="col-sm-2">
|
|
73
|
-
<label class="font_normal_body">燃气证号</label>
|
|
74
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
75
|
-
v-model="model.f_gascode" placeholder='燃气证号'
|
|
76
|
-
condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
|
|
77
|
-
>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="col-sm-2 form-group">
|
|
80
|
-
<label class="font_normal_body">气价类型</label>
|
|
81
|
-
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
82
|
-
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
83
|
-
condition="ss.f_price_type = '{}'"
|
|
84
|
-
close-on-select>
|
|
85
|
-
</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_price_name"
|
|
90
|
-
v-model="model.f_price_name"
|
|
91
|
-
:options="$parent.$parent.getPricenames"
|
|
92
|
-
condition="ss.f_price_name = '{}'"
|
|
93
|
-
close-on-select></v-select>
|
|
94
|
-
</div>
|
|
95
|
-
<div class="col-sm-2 form-group">
|
|
96
|
-
<label class="font_normal_body">气表品牌</label>
|
|
97
|
-
<v-select :value.sync="model.f_meter_brand" multiple
|
|
98
|
-
v-model="model.f_meter_brand"
|
|
99
|
-
:options="$parent.$parent.meterbrands"
|
|
100
|
-
condition="ss.f_meter_brand in {}"
|
|
101
|
-
value-single="false"
|
|
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_changetable_state"
|
|
107
|
-
v-model="model.f_changetable_state"
|
|
108
|
-
:options="$parent.$parent.isChange"
|
|
109
|
-
condition="ss.f_changetable_state = '{}'"
|
|
110
|
-
close-on-select></v-select>
|
|
111
|
-
</div>
|
|
112
|
-
<div class="col-sm-2 form-group">
|
|
113
|
-
<label class="font_normal_body">用气状态</label>
|
|
114
|
-
<v-select :value.sync="model.f_gas_state"
|
|
115
|
-
v-model="model.f_gas_state"
|
|
116
|
-
:options="$parent.$parent.gasState"
|
|
117
|
-
condition="ss.f_gas_state = '{}'"
|
|
118
|
-
close-on-select></v-select>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="col-sm-2 form-group">
|
|
121
|
-
<label class="font_normal_body">气表状态</label>
|
|
122
|
-
<v-select :value.sync="model.f_table_state"
|
|
123
|
-
v-model="model.f_table_state"
|
|
124
|
-
:options="$parent.$parent.tableState"
|
|
125
|
-
condition="f_table_state = '{}'"
|
|
126
|
-
close-on-select></v-select>
|
|
127
|
-
</div>
|
|
128
|
-
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
129
|
-
<label class="font_normal_body">用气量区间</label>
|
|
130
|
-
<div class="row">
|
|
131
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
|
|
132
|
-
condition="ss.f_oughtamount >= {} " placeholder="">
|
|
133
|
-
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
134
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
|
|
135
|
-
condition="ss.f_oughtamount <= {} " placeholder="">
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
139
|
-
<label class="font_normal_body"> 充值区间 </label>
|
|
140
|
-
<div class="row">
|
|
141
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
|
|
142
|
-
condition="ss.f_collection >= {} " placeholder="">
|
|
143
|
-
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
144
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
|
|
145
|
-
condition="ss.f_collection <= {} " placeholder="">
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="col-sm-2 form-group">
|
|
149
|
-
<label class="font_normal_body" for="startDate">开始时间</label>
|
|
150
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
151
|
-
v-model="model.startDate"
|
|
152
|
-
:value.sync="model.startDate"
|
|
153
|
-
:disabled-days-of-Week="[]"
|
|
154
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
155
|
-
:show-reset-button="reset">
|
|
156
|
-
</datepicker>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="col-sm-2 form-group">
|
|
159
|
-
<label class="font_normal_body" for="endDate">结束时间</label>
|
|
160
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
161
|
-
v-model="model.endDate"
|
|
162
|
-
:value.sync="model.endDate"
|
|
163
|
-
:disabled-days-of-Week="[]"
|
|
164
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
165
|
-
:show-reset-button="reset">
|
|
166
|
-
</datepicker>
|
|
167
|
-
</div>
|
|
168
|
-
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
169
|
-
<label class="font_normal_body">余额区间</label>
|
|
170
|
-
<div class="row">
|
|
171
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
|
|
172
|
-
condition="ss.f_balance_amount >= {} " placeholder="">
|
|
173
|
-
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
174
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
|
|
175
|
-
condition="ss.f_balance_amount <= {} " placeholder="">
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
<div class="col-sm-2 form-group">
|
|
179
|
-
<label class="font_normal_body">用户类型</label>
|
|
180
|
-
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
181
|
-
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
182
|
-
condition="f_user_type = '{}'"
|
|
183
|
-
close-on-select></v-select>
|
|
184
|
-
</div>
|
|
185
|
-
<div class="col-sm-2 form-group">
|
|
186
|
-
<label class="font_normal_body">用气性质</label>
|
|
187
|
-
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
188
|
-
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
189
|
-
condition="f_gasproperties = '{}'"
|
|
190
|
-
close-on-select></v-select>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</criteria>
|
|
195
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
196
|
-
<template partial='head'>
|
|
197
|
-
<tr>
|
|
198
|
-
<th>
|
|
199
|
-
<nobr>客户编号</nobr>
|
|
200
|
-
</th>
|
|
201
|
-
<th>
|
|
202
|
-
<nobr>客户名称</nobr>
|
|
203
|
-
</th>
|
|
204
|
-
<th>
|
|
205
|
-
<nobr>小区</nobr>
|
|
206
|
-
</th>
|
|
207
|
-
<th>
|
|
208
|
-
<nobr>地址</nobr>
|
|
209
|
-
</th>
|
|
210
|
-
<th>
|
|
211
|
-
<nobr>电话</nobr>
|
|
212
|
-
</th>
|
|
213
|
-
|
|
214
|
-
<th>
|
|
215
|
-
<nobr>气表状态</nobr>
|
|
216
|
-
</th>
|
|
217
|
-
<th>
|
|
218
|
-
<nobr>燃气证号</nobr>
|
|
219
|
-
</th>
|
|
220
|
-
<th>
|
|
221
|
-
<nobr>气表品牌</nobr>
|
|
222
|
-
</th>
|
|
223
|
-
<th>
|
|
224
|
-
<nobr>表号</nobr>
|
|
225
|
-
</th>
|
|
226
|
-
<th>
|
|
227
|
-
<nobr>表具类型</nobr>
|
|
228
|
-
</th>
|
|
229
|
-
<th>
|
|
230
|
-
<nobr>表描述</nobr>
|
|
231
|
-
</th>
|
|
232
|
-
<th>
|
|
233
|
-
<nobr>气价名称</nobr>
|
|
234
|
-
</th>
|
|
235
|
-
|
|
236
|
-
<th>
|
|
237
|
-
<nobr>用气性质</nobr>
|
|
238
|
-
</th>
|
|
239
|
-
<th>
|
|
240
|
-
<nobr>期初余额</nobr>
|
|
241
|
-
</th>
|
|
242
|
-
<th>
|
|
243
|
-
<nobr>起方</nobr>
|
|
244
|
-
</th>
|
|
245
|
-
<th>
|
|
246
|
-
<nobr>止方</nobr>
|
|
247
|
-
</th>
|
|
248
|
-
<th>
|
|
249
|
-
<nobr>期间用气量</nobr>
|
|
250
|
-
</th>
|
|
251
|
-
|
|
252
|
-
<th>
|
|
253
|
-
<nobr>期间用气金额</nobr>
|
|
254
|
-
</th>
|
|
255
|
-
<th>
|
|
256
|
-
<nobr>期间充值金额</nobr>
|
|
257
|
-
</th>
|
|
258
|
-
<th>
|
|
259
|
-
<nobr>期末余额</nobr>
|
|
260
|
-
</th>
|
|
261
|
-
<th>
|
|
262
|
-
<nobr>用气状态</nobr>
|
|
263
|
-
</th>
|
|
264
|
-
<th>
|
|
265
|
-
<nobr>是否换表</nobr>
|
|
266
|
-
</th>
|
|
267
|
-
<th>
|
|
268
|
-
<nobr>首次抄表时间</nobr>
|
|
269
|
-
</th>
|
|
270
|
-
<th>
|
|
271
|
-
<nobr>最后通讯日期</nobr>
|
|
272
|
-
</th>
|
|
273
|
-
<th>
|
|
274
|
-
<nobr>部门</nobr>
|
|
275
|
-
</th>
|
|
276
|
-
</tr>
|
|
277
|
-
</template>
|
|
278
|
-
<template partial='body' partial='list'>
|
|
279
|
-
<tr>
|
|
280
|
-
<td style="text-align: left;">
|
|
281
|
-
<nobr><span @click="$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span></nobr>
|
|
282
|
-
</td>
|
|
283
|
-
<td style="text-align: left;">
|
|
284
|
-
<nobr>{{ row.f_user_name }}</nobr>
|
|
285
|
-
</td>
|
|
286
|
-
<td style="text-align: left;">
|
|
287
|
-
<nobr>{{ row.f_residential_area }}</nobr>
|
|
288
|
-
</td>
|
|
289
|
-
<td style="text-align: left;">
|
|
290
|
-
<nobr>{{ row.f_address }}</nobr>
|
|
291
|
-
</td>
|
|
292
|
-
<td style="text-align: center;">
|
|
293
|
-
<nobr>{{ row.f_user_phone }}</nobr>
|
|
294
|
-
</td>
|
|
295
|
-
|
|
296
|
-
<td style="text-align:center">
|
|
297
|
-
<nobr>{{ row.f_table_state }}</nobr>
|
|
298
|
-
</td>
|
|
299
|
-
<td style="text-align:center">
|
|
300
|
-
<nobr>{{ row.f_gascode }}</nobr>
|
|
301
|
-
</td>
|
|
302
|
-
<th style="text-align:center">
|
|
303
|
-
<nobr>{{ row.f_meter_brand }}</nobr>
|
|
304
|
-
</th>
|
|
305
|
-
<th style="text-align:center">
|
|
306
|
-
<nobr>{{ row.f_meternumber }}</nobr>
|
|
307
|
-
</th>
|
|
308
|
-
<th style="text-align:center">
|
|
309
|
-
<nobr>{{ row.f_meter_classify }}</nobr>
|
|
310
|
-
</th>
|
|
311
|
-
<th style="text-align:center">
|
|
312
|
-
<nobr>{{ row.f_meter_title }}</nobr>
|
|
313
|
-
</th>
|
|
314
|
-
<th style="text-align:center">
|
|
315
|
-
<nobr>{{ row.f_price_name }}</nobr>
|
|
316
|
-
</th>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
<th style="text-align:center">
|
|
320
|
-
<nobr>{{ row.f_gasproperties }}</nobr>
|
|
321
|
-
</th>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
<th style="text-align:center">
|
|
325
|
-
<nobr>{{ row.f_balance }}</nobr>
|
|
326
|
-
</th>
|
|
327
|
-
<th style="text-align:center">
|
|
328
|
-
<nobr>{{ row.f_last_tablebase }}</nobr>
|
|
329
|
-
</th>
|
|
330
|
-
<th style="text-align:center">
|
|
331
|
-
<nobr>{{ row.f_tablebase }}</nobr>
|
|
332
|
-
</th>
|
|
333
|
-
<th style="text-align:center">
|
|
334
|
-
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
335
|
-
</th>
|
|
336
|
-
<th style="text-align:center">
|
|
337
|
-
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
338
|
-
</th>
|
|
339
|
-
|
|
340
|
-
<th style="text-align:center">
|
|
341
|
-
<nobr>{{ row.f_collection }}</nobr>
|
|
342
|
-
</th>
|
|
343
|
-
<th style="text-align:center">
|
|
344
|
-
<nobr>{{ row.f_curbalance }}</nobr>
|
|
345
|
-
</th>
|
|
346
|
-
<th style="text-align:center">
|
|
347
|
-
<nobr>{{ row.f_gas_state }}</nobr>
|
|
348
|
-
</th>
|
|
349
|
-
<th style="text-align:center">
|
|
350
|
-
<nobr>{{ row.f_changetable_state }}</nobr>
|
|
351
|
-
</th>
|
|
352
|
-
<th style="text-align:center">
|
|
353
|
-
<nobr>{{ row.f_first_input_date }}</nobr>
|
|
354
|
-
</th>
|
|
355
|
-
<th style="text-align:center">
|
|
356
|
-
<nobr>{{ row.f_input_date }}</nobr>
|
|
357
|
-
</th>
|
|
358
|
-
<th style="text-align:center">
|
|
359
|
-
<nobr>{{ row.f_depname }}</nobr>
|
|
360
|
-
</th>
|
|
361
|
-
</tr>
|
|
362
|
-
</template>
|
|
363
|
-
<template partial='foot'></template>
|
|
364
|
-
</data-grid>
|
|
365
|
-
</criteria-paged>
|
|
366
|
-
<table class="table-hover">
|
|
367
|
-
<tr style="position: relative" class="table-bordered">
|
|
368
|
-
<td
|
|
369
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
370
|
-
汇总信息
|
|
371
|
-
</td>
|
|
372
|
-
<td
|
|
373
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
374
|
-
期间用气量: {{ sumsmodel.f_oughtamount }}
|
|
375
|
-
</td>
|
|
376
|
-
<td
|
|
377
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
378
|
-
期间用气金额: {{ sumsmodel.f_oughtfee }}
|
|
379
|
-
</td>
|
|
380
|
-
<td
|
|
381
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
382
|
-
期间充值金额: {{ sumsmodel.f_collection }}
|
|
383
|
-
</td>
|
|
384
|
-
<td
|
|
385
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
386
|
-
一阶气量合计: {{ sumsmodel.f_stairamount1 }}
|
|
387
|
-
</td>
|
|
388
|
-
<td
|
|
389
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
390
|
-
一阶气费合计: {{ sumsmodel.f_stair1fee }}
|
|
391
|
-
</td>
|
|
392
|
-
<td
|
|
393
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
394
|
-
二阶气量合计: {{ sumsmodel.f_stairamount2 }}
|
|
395
|
-
</td>
|
|
396
|
-
<td
|
|
397
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
398
|
-
二阶气费合计: {{ sumsmodel.f_stair2fee }}
|
|
399
|
-
</td>
|
|
400
|
-
<td
|
|
401
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
402
|
-
三阶气量合计: {{ sumsmodel.f_stairamount3 }}
|
|
403
|
-
</td>
|
|
404
|
-
<td
|
|
405
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
406
|
-
三阶气费合计: {{ sumsmodel.f_stair3fee }}
|
|
407
|
-
</td>
|
|
408
|
-
</tr>
|
|
409
|
-
</table>
|
|
410
|
-
</div>
|
|
411
|
-
</div>
|
|
412
|
-
</div>
|
|
413
|
-
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
414
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
415
|
-
@cancel-main="cancel"></user-info-detail-manage-new>
|
|
416
|
-
</div>
|
|
417
|
-
</template>
|
|
418
|
-
|
|
419
|
-
<script>
|
|
420
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
421
|
-
import exportConfig from '../config/exportConfig'
|
|
422
|
-
import * as Util from '../../../Util'
|
|
423
|
-
import plugins from '../../../plugins/GetLoginInfoService'
|
|
424
|
-
|
|
425
|
-
let readySomething = async function (self) {
|
|
426
|
-
await self.$MagLoadParams.loadParam()
|
|
427
|
-
self.initParams()
|
|
428
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
429
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
430
|
-
}
|
|
431
|
-
export default {
|
|
432
|
-
title: '用气量统计表',
|
|
433
|
-
data() {
|
|
434
|
-
return {
|
|
435
|
-
show: false,
|
|
436
|
-
org: {
|
|
437
|
-
org: [this.$login.f.orgid],
|
|
438
|
-
dep: [],
|
|
439
|
-
user: [],
|
|
440
|
-
},
|
|
441
|
-
orgcondition: '',
|
|
442
|
-
//f_filialeid: this.$login.f.f_orgid,
|
|
443
|
-
detaillist: [],
|
|
444
|
-
meterbrands: [],
|
|
445
|
-
prices: [],
|
|
446
|
-
gasproperties: [],
|
|
447
|
-
condition: '',
|
|
448
|
-
rowdata: {},
|
|
449
|
-
getstart: '',
|
|
450
|
-
config: {
|
|
451
|
-
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase', 'f_tablebase',
|
|
452
|
-
'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
453
|
-
},
|
|
454
|
-
sumsmodel: {},
|
|
455
|
-
orgid: [this.$login.f.orgid],
|
|
456
|
-
criteriaShow: false,
|
|
457
|
-
showdetail: false,
|
|
458
|
-
//默认打印列
|
|
459
|
-
defaultfield: [],
|
|
460
|
-
orgCondtionStr: '',
|
|
461
|
-
model: new PagedList('api/af-revenue/sql/newGasStatisticsQuery', 50, {
|
|
462
|
-
startDate: 'this.model.startDate',
|
|
463
|
-
endDate: 'this.model.endDate'
|
|
464
|
-
}, {
|
|
465
|
-
f_oughtamount: 0,
|
|
466
|
-
f_oughtfee: 0,
|
|
467
|
-
f_collection: 0,
|
|
468
|
-
f_stairamount1: 0,
|
|
469
|
-
f_stair1fee: 0,
|
|
470
|
-
f_stairamount2: 0,
|
|
471
|
-
f_stair2fee: 0,
|
|
472
|
-
f_stairamount3: 0,
|
|
473
|
-
f_stair3fee: 0
|
|
474
|
-
}),
|
|
475
|
-
showbottomsum: false //页面下方是否有合计: 默认为false, 在watch修改
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
ready() {
|
|
479
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
480
|
-
readySomething(this).then(() => {
|
|
481
|
-
this.$emit('ready')
|
|
482
|
-
}).catch((error) => {
|
|
483
|
-
this.$emit('error', error)
|
|
484
|
-
})
|
|
485
|
-
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
|
|
486
|
-
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
|
|
487
|
-
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
|
|
488
|
-
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
|
|
489
|
-
},
|
|
490
|
-
methods: {
|
|
491
|
-
initParams() {
|
|
492
|
-
// 初始化气表品牌
|
|
493
|
-
let brandArr = []
|
|
494
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
495
|
-
if (item.value.f_meter_type === '物联网表') {
|
|
496
|
-
let temp = {}
|
|
497
|
-
temp.label = item.label
|
|
498
|
-
temp.value = item.value.f_meter_brand
|
|
499
|
-
brandArr.push(temp)
|
|
500
|
-
}
|
|
501
|
-
})
|
|
502
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
503
|
-
//初始化气表价格
|
|
504
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
505
|
-
},
|
|
506
|
-
async updateParams() {
|
|
507
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
508
|
-
this.initParams()
|
|
509
|
-
},
|
|
510
|
-
getorg(condition, obj) {
|
|
511
|
-
this.orgcondition = condition
|
|
512
|
-
this.orgname = obj.orgnames[0]
|
|
513
|
-
},
|
|
514
|
-
userTypeChange() {
|
|
515
|
-
this.gasproperties = []
|
|
516
|
-
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
517
|
-
this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
|
|
518
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
519
|
-
} else {
|
|
520
|
-
this.gasproperties = [{label: '全部', value: ''}]
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
hidden() {
|
|
524
|
-
this.criteriaShow = !this.criteriaShow
|
|
525
|
-
},
|
|
526
|
-
cancel() {
|
|
527
|
-
this.showdetail = false
|
|
528
|
-
},
|
|
529
|
-
clearmsg() {
|
|
530
|
-
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
531
|
-
this.$refs.paged.$refs.criteria.model[key] = []
|
|
532
|
-
})
|
|
533
|
-
},
|
|
534
|
-
getRes(obj) {
|
|
535
|
-
this.orgCondtionStr = condition
|
|
536
|
-
this.orgname = obj.orgnames[0]
|
|
537
|
-
this.depname = obj.depnames[0]
|
|
538
|
-
},
|
|
539
|
-
showmsg(obj) {
|
|
540
|
-
this.rowdata = obj
|
|
541
|
-
this.showdetail = true
|
|
542
|
-
},
|
|
543
|
-
|
|
544
|
-
search(args) {
|
|
545
|
-
if (this.orgcondition) {
|
|
546
|
-
args.condition = `${args.condition}` + this.orgcondition
|
|
547
|
-
} else {
|
|
548
|
-
args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
|
|
549
|
-
}
|
|
550
|
-
this.condition = args.condition
|
|
551
|
-
this.model.search(args.condition, args.model)
|
|
552
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
553
|
-
// args.condition = `${args.condition}`
|
|
554
|
-
// if (this.orgcondition)
|
|
555
|
-
// args.condition = `${args.condition}` + this.orgcondition
|
|
556
|
-
// else
|
|
557
|
-
// args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
558
|
-
// this.model.search(args.condition, args.model)
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
watch: {
|
|
562
|
-
'model.rows'(val) {
|
|
563
|
-
//如果有合计 这里为true, 其他为false ,反正相反
|
|
564
|
-
this.showbottomsum = true;
|
|
565
|
-
if (val.length === 0) {
|
|
566
|
-
this.sumsmodel = {}
|
|
567
|
-
this.showbottomsum = false;
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
'orgCondtionStr'(val) {
|
|
571
|
-
let res = val.match(/'(.*?)'/)
|
|
572
|
-
console.log('正则提取:', res && res[1])
|
|
573
|
-
if (res) {
|
|
574
|
-
this.f_filialeid = res[1]
|
|
575
|
-
// this.updateParams()
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
computed: {
|
|
580
|
-
getstart() {
|
|
581
|
-
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
582
|
-
},
|
|
583
|
-
getPricenames() {
|
|
584
|
-
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
585
|
-
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
586
|
-
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
587
|
-
console.log("打印一下:", f_user_type, f_gasproperties, pricetype, this.f_filialeid, this.prices)
|
|
588
|
-
console.log("查看f_orgid:", this.$login.f.f_orgid)
|
|
589
|
-
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
590
|
-
let rs = []
|
|
591
|
-
let priceArr = []
|
|
592
|
-
if (pricetype.length > 0) {
|
|
593
|
-
let params = {
|
|
594
|
-
f_price_type: pricetype[0],
|
|
595
|
-
filter: this.org[0],
|
|
596
|
-
prices: this.prices
|
|
597
|
-
}
|
|
598
|
-
console.log("打印一下params:", params)
|
|
599
|
-
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
600
|
-
console.log("====================================》")
|
|
601
|
-
let temp = {}
|
|
602
|
-
temp.label = item.label
|
|
603
|
-
temp.value = item.value.f_price_name
|
|
604
|
-
priceArr.push(temp)
|
|
605
|
-
console.log("打印一下temp:", temp)
|
|
606
|
-
})
|
|
607
|
-
|
|
608
|
-
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
609
|
-
}
|
|
610
|
-
if (rs.length === 0) {
|
|
611
|
-
console.log('rs读出来是空')
|
|
612
|
-
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
613
|
-
}
|
|
614
|
-
return rs
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
getfield() {
|
|
618
|
-
return exportConfig.GasStatistics
|
|
619
|
-
},
|
|
620
|
-
usertypes() {
|
|
621
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
622
|
-
},
|
|
623
|
-
gasproperties() {
|
|
624
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
625
|
-
},
|
|
626
|
-
pricetypes() {
|
|
627
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
628
|
-
},
|
|
629
|
-
tableState() {
|
|
630
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
631
|
-
},
|
|
632
|
-
gasState() {
|
|
633
|
-
return [{label: '正常', value: '正常'},
|
|
634
|
-
{label: '异常', value: '异常'},
|
|
635
|
-
]
|
|
636
|
-
},
|
|
637
|
-
isChange() {
|
|
638
|
-
return [{label: '是', value: '是'},
|
|
639
|
-
{label: '否', value: '否'},
|
|
640
|
-
]
|
|
641
|
-
},
|
|
642
|
-
getCondition() {
|
|
643
|
-
// var con = ""
|
|
644
|
-
// if (this.orgCondtionStr) {
|
|
645
|
-
// con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
|
|
646
|
-
// }
|
|
647
|
-
// else {
|
|
648
|
-
// con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|
|
649
|
-
// }
|
|
650
|
-
return {
|
|
651
|
-
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
652
|
-
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
653
|
-
condition: this.condition
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
</script>
|
|
659
|
-
|
|
660
|
-
<style>
|
|
661
|
-
.showbottom {
|
|
662
|
-
height: 95%
|
|
663
|
-
}
|
|
664
|
-
</style>
|
|
665
|
-
|
|
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
|
+
<res-select-group :show-component="['company','department']"
|
|
10
|
+
:initres="$parent.$parent.org"
|
|
11
|
+
@re-res="$parent.$parent.getorg">
|
|
12
|
+
</res-select-group>
|
|
13
|
+
<div class="col-sm-2">
|
|
14
|
+
<label class="font_normal_body">客户编号</label>
|
|
15
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
16
|
+
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
17
|
+
condition="ss.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
18
|
+
>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2">
|
|
21
|
+
<label class="font_normal_body">客户名称</label>
|
|
22
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
23
|
+
v-model="model.f_username" placeholder='客户名称'
|
|
24
|
+
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
27
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
28
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
29
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
30
|
+
:field="$parent.$parent.getfield"
|
|
31
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="newGasStatisticsQuery"
|
|
32
|
+
template-name='用气量统计表'
|
|
33
|
+
:choose-col="true"></export-excel>
|
|
34
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
35
|
+
:field="$parent.$parent.getfield"
|
|
36
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
37
|
+
titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
|
|
38
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
39
|
+
<div style="float: right" class="button_spacing"
|
|
40
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
41
|
+
@click="$parent.$parent.hidden()"></div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
45
|
+
<div class="col-sm-2">
|
|
46
|
+
<label class="font_normal_body">客户地址</label>
|
|
47
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
48
|
+
v-model="model.f_address" placeholder='客户地址'
|
|
49
|
+
condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-2">
|
|
52
|
+
<label class="font_normal_body">电 话</label>
|
|
53
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
54
|
+
v-model="model.f_user_phone" placeholder='电话'
|
|
55
|
+
condition="ss.f_user_phone like '%{}%'" v-next-el='f_user_phone' v-el:f_user_phone
|
|
56
|
+
>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="col-sm-2">
|
|
59
|
+
<label class="font_normal_body">小 区</label>
|
|
60
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
61
|
+
v-model="model.f_residential_area" placeholder='小区'
|
|
62
|
+
condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area'
|
|
63
|
+
v-el:f_residential_area>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="col-sm-2">
|
|
66
|
+
<label class="font_normal_body">表 号</label>
|
|
67
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
68
|
+
v-model="model.f_meternumber" placeholder='表号'
|
|
69
|
+
condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
70
|
+
>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2">
|
|
73
|
+
<label class="font_normal_body">燃气证号</label>
|
|
74
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
75
|
+
v-model="model.f_gascode" placeholder='燃气证号'
|
|
76
|
+
condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
|
|
77
|
+
>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-sm-2 form-group">
|
|
80
|
+
<label class="font_normal_body">气价类型</label>
|
|
81
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
82
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
83
|
+
condition="ss.f_price_type = '{}'"
|
|
84
|
+
close-on-select>
|
|
85
|
+
</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_price_name"
|
|
90
|
+
v-model="model.f_price_name"
|
|
91
|
+
:options="$parent.$parent.getPricenames"
|
|
92
|
+
condition="ss.f_price_name = '{}'"
|
|
93
|
+
close-on-select></v-select>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="col-sm-2 form-group">
|
|
96
|
+
<label class="font_normal_body">气表品牌</label>
|
|
97
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
98
|
+
v-model="model.f_meter_brand"
|
|
99
|
+
:options="$parent.$parent.meterbrands"
|
|
100
|
+
condition="ss.f_meter_brand in {}"
|
|
101
|
+
value-single="false"
|
|
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_changetable_state"
|
|
107
|
+
v-model="model.f_changetable_state"
|
|
108
|
+
:options="$parent.$parent.isChange"
|
|
109
|
+
condition="ss.f_changetable_state = '{}'"
|
|
110
|
+
close-on-select></v-select>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="col-sm-2 form-group">
|
|
113
|
+
<label class="font_normal_body">用气状态</label>
|
|
114
|
+
<v-select :value.sync="model.f_gas_state"
|
|
115
|
+
v-model="model.f_gas_state"
|
|
116
|
+
:options="$parent.$parent.gasState"
|
|
117
|
+
condition="ss.f_gas_state = '{}'"
|
|
118
|
+
close-on-select></v-select>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="col-sm-2 form-group">
|
|
121
|
+
<label class="font_normal_body">气表状态</label>
|
|
122
|
+
<v-select :value.sync="model.f_table_state"
|
|
123
|
+
v-model="model.f_table_state"
|
|
124
|
+
:options="$parent.$parent.tableState"
|
|
125
|
+
condition="f_table_state = '{}'"
|
|
126
|
+
close-on-select></v-select>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
129
|
+
<label class="font_normal_body">用气量区间</label>
|
|
130
|
+
<div class="row">
|
|
131
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
|
|
132
|
+
condition="ss.f_oughtamount >= {} " placeholder="">
|
|
133
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
134
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
|
|
135
|
+
condition="ss.f_oughtamount <= {} " placeholder="">
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
139
|
+
<label class="font_normal_body"> 充值区间 </label>
|
|
140
|
+
<div class="row">
|
|
141
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
|
|
142
|
+
condition="ss.f_collection >= {} " placeholder="">
|
|
143
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
144
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
|
|
145
|
+
condition="ss.f_collection <= {} " placeholder="">
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="col-sm-2 form-group">
|
|
149
|
+
<label class="font_normal_body" for="startDate">开始时间</label>
|
|
150
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
151
|
+
v-model="model.startDate"
|
|
152
|
+
:value.sync="model.startDate"
|
|
153
|
+
:disabled-days-of-Week="[]"
|
|
154
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
155
|
+
:show-reset-button="reset">
|
|
156
|
+
</datepicker>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="col-sm-2 form-group">
|
|
159
|
+
<label class="font_normal_body" for="endDate">结束时间</label>
|
|
160
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
161
|
+
v-model="model.endDate"
|
|
162
|
+
:value.sync="model.endDate"
|
|
163
|
+
:disabled-days-of-Week="[]"
|
|
164
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
165
|
+
:show-reset-button="reset">
|
|
166
|
+
</datepicker>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
169
|
+
<label class="font_normal_body">余额区间</label>
|
|
170
|
+
<div class="row">
|
|
171
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
|
|
172
|
+
condition="ss.f_balance_amount >= {} " placeholder="">
|
|
173
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
174
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
|
|
175
|
+
condition="ss.f_balance_amount <= {} " placeholder="">
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-2 form-group">
|
|
179
|
+
<label class="font_normal_body">用户类型</label>
|
|
180
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
181
|
+
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
182
|
+
condition="f_user_type = '{}'"
|
|
183
|
+
close-on-select></v-select>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="col-sm-2 form-group">
|
|
186
|
+
<label class="font_normal_body">用气性质</label>
|
|
187
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
188
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
189
|
+
condition="f_gasproperties = '{}'"
|
|
190
|
+
close-on-select></v-select>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</criteria>
|
|
195
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
196
|
+
<template partial='head'>
|
|
197
|
+
<tr>
|
|
198
|
+
<th>
|
|
199
|
+
<nobr>客户编号</nobr>
|
|
200
|
+
</th>
|
|
201
|
+
<th>
|
|
202
|
+
<nobr>客户名称</nobr>
|
|
203
|
+
</th>
|
|
204
|
+
<th>
|
|
205
|
+
<nobr>小区</nobr>
|
|
206
|
+
</th>
|
|
207
|
+
<th>
|
|
208
|
+
<nobr>地址</nobr>
|
|
209
|
+
</th>
|
|
210
|
+
<th>
|
|
211
|
+
<nobr>电话</nobr>
|
|
212
|
+
</th>
|
|
213
|
+
|
|
214
|
+
<th>
|
|
215
|
+
<nobr>气表状态</nobr>
|
|
216
|
+
</th>
|
|
217
|
+
<th>
|
|
218
|
+
<nobr>燃气证号</nobr>
|
|
219
|
+
</th>
|
|
220
|
+
<th>
|
|
221
|
+
<nobr>气表品牌</nobr>
|
|
222
|
+
</th>
|
|
223
|
+
<th>
|
|
224
|
+
<nobr>表号</nobr>
|
|
225
|
+
</th>
|
|
226
|
+
<th>
|
|
227
|
+
<nobr>表具类型</nobr>
|
|
228
|
+
</th>
|
|
229
|
+
<th>
|
|
230
|
+
<nobr>表描述</nobr>
|
|
231
|
+
</th>
|
|
232
|
+
<th>
|
|
233
|
+
<nobr>气价名称</nobr>
|
|
234
|
+
</th>
|
|
235
|
+
|
|
236
|
+
<th>
|
|
237
|
+
<nobr>用气性质</nobr>
|
|
238
|
+
</th>
|
|
239
|
+
<th>
|
|
240
|
+
<nobr>期初余额</nobr>
|
|
241
|
+
</th>
|
|
242
|
+
<th>
|
|
243
|
+
<nobr>起方</nobr>
|
|
244
|
+
</th>
|
|
245
|
+
<th>
|
|
246
|
+
<nobr>止方</nobr>
|
|
247
|
+
</th>
|
|
248
|
+
<th>
|
|
249
|
+
<nobr>期间用气量</nobr>
|
|
250
|
+
</th>
|
|
251
|
+
|
|
252
|
+
<th>
|
|
253
|
+
<nobr>期间用气金额</nobr>
|
|
254
|
+
</th>
|
|
255
|
+
<th>
|
|
256
|
+
<nobr>期间充值金额</nobr>
|
|
257
|
+
</th>
|
|
258
|
+
<th>
|
|
259
|
+
<nobr>期末余额</nobr>
|
|
260
|
+
</th>
|
|
261
|
+
<th>
|
|
262
|
+
<nobr>用气状态</nobr>
|
|
263
|
+
</th>
|
|
264
|
+
<th>
|
|
265
|
+
<nobr>是否换表</nobr>
|
|
266
|
+
</th>
|
|
267
|
+
<th>
|
|
268
|
+
<nobr>首次抄表时间</nobr>
|
|
269
|
+
</th>
|
|
270
|
+
<th>
|
|
271
|
+
<nobr>最后通讯日期</nobr>
|
|
272
|
+
</th>
|
|
273
|
+
<th>
|
|
274
|
+
<nobr>部门</nobr>
|
|
275
|
+
</th>
|
|
276
|
+
</tr>
|
|
277
|
+
</template>
|
|
278
|
+
<template partial='body' partial='list'>
|
|
279
|
+
<tr>
|
|
280
|
+
<td style="text-align: left;">
|
|
281
|
+
<nobr><span @click="$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span></nobr>
|
|
282
|
+
</td>
|
|
283
|
+
<td style="text-align: left;">
|
|
284
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
285
|
+
</td>
|
|
286
|
+
<td style="text-align: left;">
|
|
287
|
+
<nobr>{{ row.f_residential_area }}</nobr>
|
|
288
|
+
</td>
|
|
289
|
+
<td style="text-align: left;">
|
|
290
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
291
|
+
</td>
|
|
292
|
+
<td style="text-align: center;">
|
|
293
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
294
|
+
</td>
|
|
295
|
+
|
|
296
|
+
<td style="text-align:center">
|
|
297
|
+
<nobr>{{ row.f_table_state }}</nobr>
|
|
298
|
+
</td>
|
|
299
|
+
<td style="text-align:center">
|
|
300
|
+
<nobr>{{ row.f_gascode }}</nobr>
|
|
301
|
+
</td>
|
|
302
|
+
<th style="text-align:center">
|
|
303
|
+
<nobr>{{ row.f_meter_brand }}</nobr>
|
|
304
|
+
</th>
|
|
305
|
+
<th style="text-align:center">
|
|
306
|
+
<nobr>{{ row.f_meternumber }}</nobr>
|
|
307
|
+
</th>
|
|
308
|
+
<th style="text-align:center">
|
|
309
|
+
<nobr>{{ row.f_meter_classify }}</nobr>
|
|
310
|
+
</th>
|
|
311
|
+
<th style="text-align:center">
|
|
312
|
+
<nobr>{{ row.f_meter_title }}</nobr>
|
|
313
|
+
</th>
|
|
314
|
+
<th style="text-align:center">
|
|
315
|
+
<nobr>{{ row.f_price_name }}</nobr>
|
|
316
|
+
</th>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<th style="text-align:center">
|
|
320
|
+
<nobr>{{ row.f_gasproperties }}</nobr>
|
|
321
|
+
</th>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
<th style="text-align:center">
|
|
325
|
+
<nobr>{{ row.f_balance }}</nobr>
|
|
326
|
+
</th>
|
|
327
|
+
<th style="text-align:center">
|
|
328
|
+
<nobr>{{ row.f_last_tablebase }}</nobr>
|
|
329
|
+
</th>
|
|
330
|
+
<th style="text-align:center">
|
|
331
|
+
<nobr>{{ row.f_tablebase }}</nobr>
|
|
332
|
+
</th>
|
|
333
|
+
<th style="text-align:center">
|
|
334
|
+
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
335
|
+
</th>
|
|
336
|
+
<th style="text-align:center">
|
|
337
|
+
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
338
|
+
</th>
|
|
339
|
+
|
|
340
|
+
<th style="text-align:center">
|
|
341
|
+
<nobr>{{ row.f_collection }}</nobr>
|
|
342
|
+
</th>
|
|
343
|
+
<th style="text-align:center">
|
|
344
|
+
<nobr>{{ row.f_curbalance }}</nobr>
|
|
345
|
+
</th>
|
|
346
|
+
<th style="text-align:center">
|
|
347
|
+
<nobr>{{ row.f_gas_state }}</nobr>
|
|
348
|
+
</th>
|
|
349
|
+
<th style="text-align:center">
|
|
350
|
+
<nobr>{{ row.f_changetable_state }}</nobr>
|
|
351
|
+
</th>
|
|
352
|
+
<th style="text-align:center">
|
|
353
|
+
<nobr>{{ row.f_first_input_date }}</nobr>
|
|
354
|
+
</th>
|
|
355
|
+
<th style="text-align:center">
|
|
356
|
+
<nobr>{{ row.f_input_date }}</nobr>
|
|
357
|
+
</th>
|
|
358
|
+
<th style="text-align:center">
|
|
359
|
+
<nobr>{{ row.f_depname }}</nobr>
|
|
360
|
+
</th>
|
|
361
|
+
</tr>
|
|
362
|
+
</template>
|
|
363
|
+
<template partial='foot'></template>
|
|
364
|
+
</data-grid>
|
|
365
|
+
</criteria-paged>
|
|
366
|
+
<table class="table-hover">
|
|
367
|
+
<tr style="position: relative" class="table-bordered">
|
|
368
|
+
<td
|
|
369
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
370
|
+
汇总信息
|
|
371
|
+
</td>
|
|
372
|
+
<td
|
|
373
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
374
|
+
期间用气量: {{ sumsmodel.f_oughtamount }}
|
|
375
|
+
</td>
|
|
376
|
+
<td
|
|
377
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
378
|
+
期间用气金额: {{ sumsmodel.f_oughtfee }}
|
|
379
|
+
</td>
|
|
380
|
+
<td
|
|
381
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
382
|
+
期间充值金额: {{ sumsmodel.f_collection }}
|
|
383
|
+
</td>
|
|
384
|
+
<td
|
|
385
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
386
|
+
一阶气量合计: {{ sumsmodel.f_stairamount1 }}
|
|
387
|
+
</td>
|
|
388
|
+
<td
|
|
389
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
390
|
+
一阶气费合计: {{ sumsmodel.f_stair1fee }}
|
|
391
|
+
</td>
|
|
392
|
+
<td
|
|
393
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
394
|
+
二阶气量合计: {{ sumsmodel.f_stairamount2 }}
|
|
395
|
+
</td>
|
|
396
|
+
<td
|
|
397
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
398
|
+
二阶气费合计: {{ sumsmodel.f_stair2fee }}
|
|
399
|
+
</td>
|
|
400
|
+
<td
|
|
401
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
402
|
+
三阶气量合计: {{ sumsmodel.f_stairamount3 }}
|
|
403
|
+
</td>
|
|
404
|
+
<td
|
|
405
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
406
|
+
三阶气费合计: {{ sumsmodel.f_stair3fee }}
|
|
407
|
+
</td>
|
|
408
|
+
</tr>
|
|
409
|
+
</table>
|
|
410
|
+
</div>
|
|
411
|
+
</div>
|
|
412
|
+
</div>
|
|
413
|
+
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
414
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
|
|
415
|
+
@cancel-main="cancel"></user-info-detail-manage-new>
|
|
416
|
+
</div>
|
|
417
|
+
</template>
|
|
418
|
+
|
|
419
|
+
<script>
|
|
420
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
421
|
+
import exportConfig from '../config/exportConfig'
|
|
422
|
+
import * as Util from '../../../Util'
|
|
423
|
+
import plugins from '../../../plugins/GetLoginInfoService'
|
|
424
|
+
|
|
425
|
+
let readySomething = async function (self) {
|
|
426
|
+
await self.$MagLoadParams.loadParam()
|
|
427
|
+
self.initParams()
|
|
428
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
429
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
430
|
+
}
|
|
431
|
+
export default {
|
|
432
|
+
title: '用气量统计表',
|
|
433
|
+
data() {
|
|
434
|
+
return {
|
|
435
|
+
show: false,
|
|
436
|
+
org: {
|
|
437
|
+
org: [this.$login.f.orgid],
|
|
438
|
+
dep: [],
|
|
439
|
+
user: [],
|
|
440
|
+
},
|
|
441
|
+
orgcondition: '',
|
|
442
|
+
//f_filialeid: this.$login.f.f_orgid,
|
|
443
|
+
detaillist: [],
|
|
444
|
+
meterbrands: [],
|
|
445
|
+
prices: [],
|
|
446
|
+
gasproperties: [],
|
|
447
|
+
condition: '',
|
|
448
|
+
rowdata: {},
|
|
449
|
+
getstart: '',
|
|
450
|
+
config: {
|
|
451
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase', 'f_tablebase',
|
|
452
|
+
'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
453
|
+
},
|
|
454
|
+
sumsmodel: {},
|
|
455
|
+
orgid: [this.$login.f.orgid],
|
|
456
|
+
criteriaShow: false,
|
|
457
|
+
showdetail: false,
|
|
458
|
+
//默认打印列
|
|
459
|
+
defaultfield: [],
|
|
460
|
+
orgCondtionStr: '',
|
|
461
|
+
model: new PagedList('api/af-revenue/sql/newGasStatisticsQuery', 50, {
|
|
462
|
+
startDate: 'this.model.startDate',
|
|
463
|
+
endDate: 'this.model.endDate'
|
|
464
|
+
}, {
|
|
465
|
+
f_oughtamount: 0,
|
|
466
|
+
f_oughtfee: 0,
|
|
467
|
+
f_collection: 0,
|
|
468
|
+
f_stairamount1: 0,
|
|
469
|
+
f_stair1fee: 0,
|
|
470
|
+
f_stairamount2: 0,
|
|
471
|
+
f_stair2fee: 0,
|
|
472
|
+
f_stairamount3: 0,
|
|
473
|
+
f_stair3fee: 0
|
|
474
|
+
}),
|
|
475
|
+
showbottomsum: false //页面下方是否有合计: 默认为false, 在watch修改
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
ready() {
|
|
479
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
480
|
+
readySomething(this).then(() => {
|
|
481
|
+
this.$emit('ready')
|
|
482
|
+
}).catch((error) => {
|
|
483
|
+
this.$emit('error', error)
|
|
484
|
+
})
|
|
485
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
|
|
486
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
|
|
487
|
+
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
|
|
488
|
+
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
|
|
489
|
+
},
|
|
490
|
+
methods: {
|
|
491
|
+
initParams() {
|
|
492
|
+
// 初始化气表品牌
|
|
493
|
+
let brandArr = []
|
|
494
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
495
|
+
if (item.value.f_meter_type === '物联网表') {
|
|
496
|
+
let temp = {}
|
|
497
|
+
temp.label = item.label
|
|
498
|
+
temp.value = item.value.f_meter_brand
|
|
499
|
+
brandArr.push(temp)
|
|
500
|
+
}
|
|
501
|
+
})
|
|
502
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
503
|
+
//初始化气表价格
|
|
504
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
505
|
+
},
|
|
506
|
+
async updateParams() {
|
|
507
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
508
|
+
this.initParams()
|
|
509
|
+
},
|
|
510
|
+
getorg(condition, obj) {
|
|
511
|
+
this.orgcondition = condition
|
|
512
|
+
this.orgname = obj.orgnames[0]
|
|
513
|
+
},
|
|
514
|
+
userTypeChange() {
|
|
515
|
+
this.gasproperties = []
|
|
516
|
+
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
517
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
|
|
518
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
519
|
+
} else {
|
|
520
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
hidden() {
|
|
524
|
+
this.criteriaShow = !this.criteriaShow
|
|
525
|
+
},
|
|
526
|
+
cancel() {
|
|
527
|
+
this.showdetail = false
|
|
528
|
+
},
|
|
529
|
+
clearmsg() {
|
|
530
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
531
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
532
|
+
})
|
|
533
|
+
},
|
|
534
|
+
getRes(obj) {
|
|
535
|
+
this.orgCondtionStr = condition
|
|
536
|
+
this.orgname = obj.orgnames[0]
|
|
537
|
+
this.depname = obj.depnames[0]
|
|
538
|
+
},
|
|
539
|
+
showmsg(obj) {
|
|
540
|
+
this.rowdata = obj
|
|
541
|
+
this.showdetail = true
|
|
542
|
+
},
|
|
543
|
+
|
|
544
|
+
search(args) {
|
|
545
|
+
if (this.orgcondition) {
|
|
546
|
+
args.condition = `${args.condition}` + this.orgcondition
|
|
547
|
+
} else {
|
|
548
|
+
args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
|
|
549
|
+
}
|
|
550
|
+
this.condition = args.condition
|
|
551
|
+
this.model.search(args.condition, args.model)
|
|
552
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
553
|
+
// args.condition = `${args.condition}`
|
|
554
|
+
// if (this.orgcondition)
|
|
555
|
+
// args.condition = `${args.condition}` + this.orgcondition
|
|
556
|
+
// else
|
|
557
|
+
// args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
558
|
+
// this.model.search(args.condition, args.model)
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
watch: {
|
|
562
|
+
'model.rows'(val) {
|
|
563
|
+
//如果有合计 这里为true, 其他为false ,反正相反
|
|
564
|
+
this.showbottomsum = true;
|
|
565
|
+
if (val.length === 0) {
|
|
566
|
+
this.sumsmodel = {}
|
|
567
|
+
this.showbottomsum = false;
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
'orgCondtionStr'(val) {
|
|
571
|
+
let res = val.match(/'(.*?)'/)
|
|
572
|
+
console.log('正则提取:', res && res[1])
|
|
573
|
+
if (res) {
|
|
574
|
+
this.f_filialeid = res[1]
|
|
575
|
+
// this.updateParams()
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
computed: {
|
|
580
|
+
getstart() {
|
|
581
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
582
|
+
},
|
|
583
|
+
getPricenames() {
|
|
584
|
+
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
585
|
+
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
586
|
+
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
587
|
+
console.log("打印一下:", f_user_type, f_gasproperties, pricetype, this.f_filialeid, this.prices)
|
|
588
|
+
console.log("查看f_orgid:", this.$login.f.f_orgid)
|
|
589
|
+
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
590
|
+
let rs = []
|
|
591
|
+
let priceArr = []
|
|
592
|
+
if (pricetype.length > 0) {
|
|
593
|
+
let params = {
|
|
594
|
+
f_price_type: pricetype[0],
|
|
595
|
+
filter: this.org[0],
|
|
596
|
+
prices: this.prices
|
|
597
|
+
}
|
|
598
|
+
console.log("打印一下params:", params)
|
|
599
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
600
|
+
console.log("====================================》")
|
|
601
|
+
let temp = {}
|
|
602
|
+
temp.label = item.label
|
|
603
|
+
temp.value = item.value.f_price_name
|
|
604
|
+
priceArr.push(temp)
|
|
605
|
+
console.log("打印一下temp:", temp)
|
|
606
|
+
})
|
|
607
|
+
|
|
608
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
609
|
+
}
|
|
610
|
+
if (rs.length === 0) {
|
|
611
|
+
console.log('rs读出来是空')
|
|
612
|
+
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
613
|
+
}
|
|
614
|
+
return rs
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
getfield() {
|
|
618
|
+
return exportConfig.GasStatistics
|
|
619
|
+
},
|
|
620
|
+
usertypes() {
|
|
621
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
622
|
+
},
|
|
623
|
+
gasproperties() {
|
|
624
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
625
|
+
},
|
|
626
|
+
pricetypes() {
|
|
627
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
628
|
+
},
|
|
629
|
+
tableState() {
|
|
630
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
631
|
+
},
|
|
632
|
+
gasState() {
|
|
633
|
+
return [{label: '正常', value: '正常'},
|
|
634
|
+
{label: '异常', value: '异常'},
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
isChange() {
|
|
638
|
+
return [{label: '是', value: '是'},
|
|
639
|
+
{label: '否', value: '否'},
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
getCondition() {
|
|
643
|
+
// var con = ""
|
|
644
|
+
// if (this.orgCondtionStr) {
|
|
645
|
+
// con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
|
|
646
|
+
// }
|
|
647
|
+
// else {
|
|
648
|
+
// con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|
|
649
|
+
// }
|
|
650
|
+
return {
|
|
651
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
652
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
653
|
+
condition: this.condition
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
</script>
|
|
659
|
+
|
|
660
|
+
<style>
|
|
661
|
+
.showbottom {
|
|
662
|
+
height: 95%
|
|
663
|
+
}
|
|
664
|
+
</style>
|
|
665
|
+
|