manage-client 3.3.234 → 3.3.235

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