manage-client 3.3.233 → 3.3.234

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 (208) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -208
  11. package/src/components/SellReport/ManageSellType.vue +267 -267
  12. package/src/components/SellReport/ReportItems.vue +312 -312
  13. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  14. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  15. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  16. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  17. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  18. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  19. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  20. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  21. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  22. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  23. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  24. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  25. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  26. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  27. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  28. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  29. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  30. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  31. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  32. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  33. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  34. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  35. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  36. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  37. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  38. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  39. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  40. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  41. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  42. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  43. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  44. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  45. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  46. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  47. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  48. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  49. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  50. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  51. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  52. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  53. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  54. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  55. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  56. package/src/components/sale/businessquery/usergas.vue +315 -315
  57. package/src/components/sale/config/exportConfig.js +2763 -2763
  58. package/src/components/sale/config/tableConfig.js +59 -59
  59. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  60. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  61. package/src/components/sale/filesquery/UserQuery.vue +1002 -1002
  62. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  63. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
  64. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
  65. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  66. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  67. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  68. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  69. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  70. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  71. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  72. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  73. package/src/components/webmeter/report/ReportList.vue +453 -453
  74. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  75. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  76. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  77. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  78. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  79. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  80. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  81. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  82. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  83. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  84. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  85. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  86. package/src/filiale/bayan/config/tableConfig.js +59 -59
  87. package/src/filiale/bayan/sale.js +8 -8
  88. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  89. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  90. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  91. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  92. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  93. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  94. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  95. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  96. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  97. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  98. package/src/filiale/bayan/webmeterManage.js +26 -26
  99. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  100. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  101. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  102. package/src/filiale/dingcheng/sale.js +9 -9
  103. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  104. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  105. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  106. package/src/filiale/hantou/config/tableConfig.js +54 -54
  107. package/src/filiale/hantou/sale.js +8 -8
  108. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  109. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  110. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  111. package/src/filiale/jingyang/RechargeList.vue +346 -346
  112. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  113. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  114. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  115. package/src/filiale/jingyang/sale.js +8 -8
  116. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  117. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  118. package/src/filiale/kelai/GasStatistics.vue +561 -561
  119. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  120. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  121. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  122. package/src/filiale/kelai/reportManage.js +13 -13
  123. package/src/filiale/kelai/sale.js +17 -17
  124. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  125. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  126. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  127. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  128. package/src/filiale/macheng/config/exportConfig.js +79 -79
  129. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  130. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  131. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  132. package/src/filiale/meihekou/CollectManage.vue +152 -152
  133. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  134. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  135. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  136. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  137. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  138. package/src/filiale/meihekou/sale.js +39 -39
  139. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  140. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  141. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  142. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  143. package/src/filiale/qianneng/exportConfig.js +232 -232
  144. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  145. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  146. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  147. package/src/filiale/rizhao/sale.js +13 -13
  148. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  149. package/src/filiale/shangluo/sale.js +17 -17
  150. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  151. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  152. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  153. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  154. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  155. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  156. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  157. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  158. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  159. package/src/filiale/taizhoukesi/sale.js +11 -11
  160. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  161. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  162. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  163. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  164. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  165. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  166. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  167. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  168. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  169. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  170. package/src/filiale/xinjiangdexin/sale.js +7 -7
  171. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  172. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  173. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  174. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  175. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  176. package/src/filiale/yangchun/UserQuery.vue +980 -980
  177. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  178. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  179. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  180. package/src/filiale/yangchun/reportManage.js +6 -6
  181. package/src/filiale/yangchun/sale.js +20 -20
  182. package/src/filiale/yangchun/webmeterManage.js +5 -5
  183. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  184. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  185. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  186. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  187. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  188. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  189. package/src/filiale/yuncheng/sale.js +23 -23
  190. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  191. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  192. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  193. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  194. package/src/filiale/zhongyi/sale.js +33 -33
  195. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  196. package/src/main.js +68 -68
  197. package/src/plugins/LodopFuncs.js +159 -159
  198. package/src/reportManage.js +777 -777
  199. package/src/saleManage.js +689 -689
  200. package/src/stores/MagLoadParams.js +8 -4
  201. package/src/webmeterManage.js +130 -130
  202. package/.gradle/7.4/checksums/checksums.lock +0 -0
  203. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  204. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  205. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  206. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  207. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  208. package/.gradle/7.4/gc.properties +0 -0
@@ -1,778 +1,778 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
-
11
- <label for="startDate" class="font_normal_body">开始日期</label>
12
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
- v-model="model.startDate"
14
- :value.sync="model.startDate"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="true"
17
- >
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="true"
27
- >
28
- </datepicker>
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户编号</label>
32
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
- </div>
35
- <div class="span" style="float:right;">
36
- <button class="button_search button_spacing" @click="search()">查询</button>
37
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
-
39
- <export-excel :data="$parent.$parent.getCondition"
40
- :field="$parent.$parent.getfield"
41
- :footer="$parent.$parent.footer"
42
- :header="$parent.$parent.other"
43
- sqlurl="api/af-revenue/logic/openapi/exportfile"
44
- sql-name="noBusinessQuery"
45
- template-name='非收费业务查询导出'
46
- :choose-col="true"></export-excel>
47
-
48
- <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
49
- :defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
50
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
51
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
52
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
53
-
54
- </div>
55
- </div>
56
- <div class="row" v-show="$parent.$parent.criteriaShow">
57
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
58
- <div class="col-sm-2 form-group">
59
- <label class="font_normal_body">客户名称</label>
60
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
61
- condition="f_user_name like '%{}%'" placeholder="客户名称">
62
- </div>
63
- <!--<div class="col-sm-2 form-group">-->
64
- <!--<label class="font_normal_body">收费编号</label>-->
65
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
66
- <!--condition="id = '{}'" placeholder="收费编号">-->
67
- <!--</div>-->
68
- <!-- <div class="col-sm-2 form-group">-->
69
- <!-- <label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
70
- <!-- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
71
- <!-- :options='$parent.$parent.meterbooks' placeholder='抄表册'-->
72
- <!-- style="width:60%"-->
73
- <!-- close-on-select-->
74
- <!-- condition="f_meter_book_num = '{}'"></v-select>-->
75
- <!-- </div>-->
76
- <div class="col-sm-2 form-group">
77
- <label class="font_normal_body">客户电话</label>
78
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
79
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
80
- </div>
81
- <!--<div class="col-sm-2 form-group">-->
82
- <!--<label class="font_normal_body">身份证号</label>-->
83
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
84
- <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
85
- <!--</div>-->
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">客户地址</label>
88
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
89
- condition="f_address like '%{}%'" placeholder='客户地址'>
90
- </div>
91
- <div class="col-sm-2 form-group">
92
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
93
- <v-select :value.sync="model.f_residential_area"
94
- class="select_list select"
95
- enter-push
96
- multiple = "true"
97
- v-model="model.f_residential_area"
98
- style="width: 60%"
99
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
100
- close-on-select>
101
-
102
- </v-select>
103
- </div>
104
- <!--<div class="col-sm-2 form-group">-->
105
- <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
106
- <!--<v-select :value.sync="model.f_payment" multiple-->
107
- <!--v-model="model.f_payment"-->
108
- <!--:options='$parent.$parent.payment' placeholder='请选择'-->
109
- <!--condition="f_payment in {}"-->
110
- <!--close-on-select></v-select>-->
111
- <!--</div>-->
112
- <!--<div class="col-sm-2 form-group">-->
113
- <!--<label class="font_normal_body">收费类型</label>-->
114
- <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
115
- <!--v-model="model.f_type"-->
116
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
117
- <!--condition="f_type = '{}'"-->
118
- <!--close-on-select></v-select>&ndash;&gt;-->
119
- <!--<v-select :value.sync="model.f_type" multiple-->
120
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
121
- <!--close-on-select clear-button-->
122
- <!--condition="f_type in {}"-->
123
- <!--v-model="model.f_type"></v-select>-->
124
- <!--</div>-->
125
- <div class="col-sm-2 form-group">
126
- <label class="font_normal_body">客户类型</label>
127
- <v-select :value.sync="model.f_user_type"
128
- @change="$parent.$parent.userTypeChange()"
129
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
130
- condition="f_user_type = '{}'"
131
- close-on-select></v-select>
132
- </div>
133
- <div class="col-sm-2 form-group">
134
- <label class="font_normal_body">用气性质</label>
135
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
136
- :options='$parent.$parent.gasproperties' placeholder='请选择'
137
- condition="f_gasproperties = '{}'"
138
- close-on-select></v-select>
139
- </div>
140
- <div class="col-sm-2 form-group">
141
- <label class="font_normal_body">气价类型</label>
142
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
143
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
144
- close-on-select v-ref:type>
145
- </v-select>
146
- </div>
147
- <div class="col-sm-2 form-group">
148
- <label class="font_normal_body">气价名称</label>
149
- <v-select :value.sync="model.f_price_name"
150
- v-model="model.f_price_name"
151
- :options="$parent.$parent.getPricenames"
152
- close-on-select></v-select>
153
- </div>
154
- <!-- <div class="col-sm-2 form-group">-->
155
- <!-- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>-->
156
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"-->
157
- <!-- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">-->
158
- <!-- </div>-->
159
- <!-- <div class="col-sm-2 form-group">-->
160
- <!-- <label class="font_normal_body" title="气费金额大于">气费金额</label>-->
161
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"-->
162
- <!-- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">-->
163
- <!-- </div>-->
164
- <!-- <div class="col-sm-2 form-group">-->
165
- <!-- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>-->
166
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"-->
167
- <!-- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">-->
168
- <!-- </div>-->
169
- <!-- <div class="col-sm-2 form-group">-->
170
- <!-- <label class="font_normal_body">欠费期数</label>-->
171
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.c"-->
172
- <!-- condition="c > '{}'" placeholder='欠费期数大于'>-->
173
- <!-- </div>-->
174
- <!-- <div class="col-sm-2 form-group">-->
175
- <!-- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>-->
176
- <!-- <v-select :value.sync="model.f_inputtor"-->
177
- <!-- v-model="model.f_inputtor"-->
178
- <!-- :options='$parent.$parent.inputtores' placeholder='请选择'-->
179
- <!-- condition="f_inputtor = '{}'"-->
180
- <!-- close-on-select :search="false">-->
181
- <!-- </v-select>-->
182
- <!-- </div>-->
183
- <div class="col-sm-2 form-group" v-if="false">
184
- <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
185
- <input type="text" style="width:60%" class="input_search" v-model="model.f_inputtor"
186
- condition="f_inputtor = '{}'" placeholder='抄表员'>
187
- </div>
188
- <!--<div class="col-sm-2 form-group">-->
189
- <!--<label class="font_normal_body">气价类型</label>-->
190
- <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
191
- <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
192
- <!--close-on-select v-ref:type>-->
193
- <!--</v-select>-->
194
- <!--</div>-->
195
- <!--<div class="col-sm-2 form-group">-->
196
- <!--<label class="font_normal_body">气价名称</label>-->
197
- <!--<v-select :value.sync="model.f_price_name"-->
198
- <!--v-model="model.f_price_name"-->
199
- <!--:options="$parent.$parent.getPricenames"-->
200
- <!--condition="f_price_name = '{}'"-->
201
- <!--close-on-select></v-select>-->
202
- <!--</div>-->
203
- <!--<div class="col-sm-2 form-group">-->
204
- <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
205
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
206
- <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
207
- <!--</div>-->
208
- </div>
209
- </div>
210
- </criteria>
211
-
212
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
213
- <template partial='head'>
214
- <tr>
215
- <th>
216
- <nobr>序号</nobr>
217
- </th>
218
- <th>
219
- <nobr>日期</nobr>
220
- </th>
221
- <th>
222
- <nobr>过户</nobr>
223
- </th>
224
- <th>
225
- <nobr>发折</nobr>
226
- </th>
227
- <th>
228
- <nobr>补折</nobr>
229
- </th>
230
- <th>
231
- <nobr>换折</nobr>
232
- </th>
233
- <th>
234
- <nobr>发卡</nobr>
235
- </th>
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
- <th>
252
- <nobr>换表补气</nobr>
253
- </th>
254
- <th>
255
- <nobr>停用</nobr>
256
- </th>
257
- <th>
258
- <nobr>启用</nobr>
259
- </th>
260
- <th>
261
- <nobr>转费</nobr>
262
- </th>
263
- <th>
264
- <nobr>民用机表</nobr>
265
- </th>
266
- <th>
267
- <nobr>公福机表</nobr>
268
- </th>
269
- <th>
270
- <nobr>工业机表</nobr>
271
- </th>
272
- <th>
273
- <nobr>民用卡表</nobr>
274
- </th>
275
- <th>
276
- <nobr>公福卡表</nobr>
277
- </th>
278
- <th>
279
- <nobr>工业卡表</nobr>
280
- </th>
281
- </tr>
282
- </template>
283
- <template partial='body'>
284
- <td style="text-align:center">
285
- <nobr>{{$index+1}}</nobr>
286
- </td>
287
- <td style="text-align: center;">
288
- <nobr>{{row.f_date}}</nobr>
289
- </td>
290
- <td style="text-align: center;">
291
- <nobr>{{row.f_transfernum}}</nobr>
292
- </td>
293
- <td style="text-align: center;">
294
- <nobr>{{row.f_fazhe}}</nobr>
295
- </td>
296
- <td style="text-align: center;">
297
- <nobr>{{row.f_buzhe}}</nobr>
298
- </td>
299
- <td style="text-align: center;">
300
- <nobr>{{row.f_huanzhe}}</nobr>
301
- </td>
302
- <td style="text-align: center;">
303
- <nobr>{{row.f_recordnum}}</nobr>
304
- </td>
305
- <td style="text-align: center;">
306
- <nobr>{{row.f_fillcardnum}}</nobr>
307
- </td>
308
- <td style="text-align: center;">
309
- <nobr>{{row.f_huanka}}</nobr>
310
- </td>
311
- <td style="text-align: center;">
312
- <nobr>{{row.f_minyongxiaohu}}</nobr>
313
- </td>
314
- <td style="text-align: center;">
315
- <nobr>{{row.f_feiminyongxiaohu}}</nobr>
316
- </td>
317
- <td style="text-align: center;">
318
- <nobr>{{row.f_weixiubuqi}}</nobr>
319
- </td>
320
- <td style="text-align: center;">
321
- <nobr>{{row.f_huanbiaobuqi}}</nobr>
322
- </td>
323
- <td style="text-align: center;">
324
- <nobr>{{row.f_disablenum}}</nobr>
325
- </td>
326
- <td style="text-align: center;">
327
- <nobr>{{row.f_enablenum}}</nobr>
328
- </td>
329
- <td style="text-align: center;">
330
- <nobr>{{row.f_zhuanfei}}</nobr>
331
- </td>
332
- <td style="text-align: center;">
333
- <nobr>{{row.f_minyongjibiao}}</nobr>
334
- </td>
335
- <td style="text-align: center;">
336
- <nobr>{{row.f_gongfujibiao}}</nobr>
337
- </td>
338
- <td style="text-align: center;">
339
- <nobr>{{row.f_gongyejibiao}}</nobr>
340
- </td>
341
- <td style="text-align: center;">
342
- <nobr>{{row.f_minyongkabiao}}</nobr>
343
- </td>
344
- <td style="text-align: center;">
345
- <nobr>{{row.f_gongfukabiao}}</nobr>
346
- </td>
347
- <td style="text-align: center;">
348
- <nobr>{{row.f_gongyekabiao}}</nobr>
349
- </td>
350
- </template>
351
- <template partial='foot'></template>
352
- </data-grid>
353
- </criteria-paged>
354
- <table class="table-hover">
355
- <tr style="position: relative" class="table-bordered">
356
- <td
357
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
358
- 汇总信息
359
- </td>
360
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
361
- 过户合计:&emsp;{{sumsmodel.f_transfernum}}
362
- </td>
363
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
364
- 发折合计:&emsp;{{sumsmodel.f_fazhe}}
365
- </td>
366
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
367
- 补折合计:&emsp;{{sumsmodel.f_buzhe}}
368
- </td>
369
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
370
- 换折合计:&emsp;{{sumsmodel.f_huanzhe}}
371
- </td>
372
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
373
- 发卡合计:&emsp;{{sumsmodel.f_recordnum}}
374
- </td>
375
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
376
- 补卡合计:&emsp;{{sumsmodel.f_fillcardnum}}
377
- </td>
378
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
379
- 换卡合计:&emsp;{{sumsmodel.f_huanka}}
380
- </td>
381
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
382
- 民用销户合计:&emsp;{{sumsmodel.f_minyongxiaohu}}
383
- </td>
384
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
385
- 非民用销户合计:&emsp;{{sumsmodel.f_feiminyongxiaohu}}
386
- </td>
387
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
388
- 维修补气合计:&emsp;{{sumsmodel.f_weixiubuqi}}
389
- </td>
390
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
391
- 换表补气合计:&emsp;{{sumsmodel.f_huanbiaobuqi}}
392
- </td>
393
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
394
- 停用合计:&emsp;{{sumsmodel.f_disablenum}}
395
- </td>
396
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
397
- 启用合计:&emsp;{{sumsmodel.f_enablenum}}
398
- </td>
399
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
400
- 转费合计:&emsp;{{sumsmodel.f_zhuanfei}}
401
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
402
- 民用机表合计:&emsp;{{sumsmodel.f_minyongjibiao}}
403
- </td>
404
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
405
- 公福机表合计:&emsp;{{sumsmodel.f_gongfujibiao}}
406
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
407
- 工业机表合计:&emsp;{{sumsmodel.f_minyongkabiao}}
408
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
409
- 民用卡表合计:&emsp;{{sumsmodel.f_gongfukabiao}}
410
- </td>
411
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
412
- 公福卡表合计:&emsp;{{sumsmodel.f_gongyekabiao}}
413
- </td>
414
- </tr>
415
- </table>
416
- </div>
417
- <div v-if="show">
418
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
419
- </div>
420
- </div>
421
- </div>
422
- </template>
423
-
424
- <script>
425
- import {HttpResetClass, PagedList} from 'vue-client'
426
- import exportConfig from '../config/exportConfig'
427
-
428
- let readySomething = async function (self) {
429
- //加载抄表册
430
- self.$MagGetSaleParam.initinputtor();
431
- self.getinputtores();
432
- self.initmeterbook();
433
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
434
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
435
- // self.$refs.paged.$refs.cri.search()
436
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
437
-
438
- self.initParams()
439
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
440
- }
441
- export default {
442
- title: '非收费业务查询',
443
- data() {
444
- return {
445
- config: {
446
- defaultPrint: ['f_userinfo_code', 'f_address']
447
- },
448
- other:[],
449
- footer:[],
450
- //f_price_name:[],
451
- gasproperties:[],
452
- showinfo: false,
453
- data: {},
454
- show:false,
455
- rowdata:{},
456
- initres: {
457
- org:[this.$login.f.orgid],
458
- dep:[],
459
- user:[]
460
- },
461
- model: new PagedList('api/af-revenue/sql/noBusinessQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
462
- f_transfernum: 0,
463
- f_fazhe: 0,
464
- f_buzhe: 0,
465
- f_huanzhe: 0,
466
- f_recordnum: 0,
467
- f_fillcardnum: 0,
468
- f_huanka:0,
469
- f_minyongxiaohu:0,
470
- f_feiminyongxiaohu:0,
471
- f_weixiubuqi: 0,
472
- f_huanbiaobuqi: 0,
473
- f_disablenum: 0,
474
- f_enablenum: 0,
475
- f_zhuanfei: 0,
476
- f_minyongjibiao: 0,
477
- f_gongfujibiao: 0,
478
- f_gongyejibiao: 0,
479
- f_minyongkabiao: 0,
480
- f_gongfukabiao: 0,
481
- f_gongyekabiao: 0
482
- }),
483
- criteriaShow: false,
484
- orgCondtionStr: '',
485
- // 下拉框
486
- meterbrands: [],
487
- pricenames: [],
488
- prices: [],
489
- area: [],
490
- //合计数据
491
- defaultfield: [],
492
- //小区
493
- residentialArea: [],
494
- sumsmodel: {},
495
- f_filialeid: this.$login.f.f_orgid,
496
- meterbooks:[{label: '全部',value: ''}], //抄表册
497
- tempfalg :false,
498
- lastorgstr:'',
499
- allorgid:[],
500
- inputtores:[{label: '全部',value: ''}], //抄表员
501
- }
502
- },
503
- ready() {
504
- this.getaddress()
505
-
506
- readySomething(this).then(() => {
507
- this.$emit('ready')
508
- }).catch((error) => {
509
- this.$emit('error', error)
510
- })
511
- },
512
- methods: {
513
- async initmeterbook(orgstr){
514
- if(orgstr == null ){
515
- orgstr = this.f_filialeid;
516
- }
517
- //获取新的抄表册,先去清理所有的抄表册
518
- this.$GetSaleParam.meterbooks = [];
519
- //开始加载新的抄表册
520
- await this.$LoadParams.loadMeterBook(orgstr)
521
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
522
- },
523
- async getinputtores () {
524
- // 获取抄表员
525
- let rs = []
526
- if (this.$login.f.f_gasman.length > 0) {
527
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
528
- let temp = {
529
- label: this.$login.f.f_gasman[i].name,
530
- value: this.$login.f.f_gasman[i].name
531
- }
532
- rs.push(temp)
533
- }
534
- }
535
- this.inputtores = [{label: '全部', value: ''}, ...rs]
536
- },
537
- async updateParams() {
538
- await this.$MagLoadParams.loadParam(this.f_filialeid)
539
- this.inputtores = [];
540
- this.inputtores.push({label: "全部", value: ""})
541
- if(this.allorgid!=null){
542
- this.allorgid.forEach((res)=>{
543
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
544
- })
545
- }
546
- this.initParams()
547
- },
548
- getotherfooter(){
549
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
550
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
551
- this.other=[];
552
- this.footer=[];
553
- let exportdata = this.getCondition;
554
- let otherInData=[];
555
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
556
- let footerData=[],exportfield=this.getfield;
557
- footerData.push("合计");
558
- let self =this;
559
- for(var field in self.sumsmodel){
560
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
561
- }
562
- this.footer.push(footerData);
563
- this.other.push(otherInData);
564
- let date = []
565
- date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
566
- date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
567
- this.other.push(date)
568
- },
569
- async getaddress(){
570
- console.log('开始获取小区')
571
- let HttpReset = new HttpResetClass()
572
- var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
573
- data: {
574
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
575
- }
576
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
577
- console.log('小区',data)
578
- let house = [{label: '全部', value: ''}]
579
- for (let row of data.data){
580
- console.log('开始保存小区')
581
- house.push({label: row.f_residential_area, value: row.f_residential_area})
582
- }
583
- this.residentialArea = house
584
- },
585
-
586
- //把数据库查询数据转换为下拉数据
587
- calculate(rows){
588
- let data = []
589
- rows.forEach((row, n) => {
590
- data[n] = {label: row.f_residential_area, value: row.id}
591
- })
592
- return data
593
- },
594
-
595
- search(){
596
- this.$refs.paged.$refs.cri.search()
597
- },
598
- cancel() {
599
- this.show = false
600
- },
601
- showmsg(obj){
602
- this.rowdata=obj
603
- this.show=true
604
- },
605
- userTypeChange () {
606
- this.gasproperties=[]
607
- if(this.$refs.paged.$refs.cri.model !==null) {
608
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
609
-
610
- console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
611
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
612
- // this.gasproperties.push({label: '全部', value: ''})
613
- }
614
- else{
615
- this.gasproperties =[{label: '全部', value: ''}]
616
- }
617
- },
618
- initParams() {
619
- // 初始化气表品牌
620
- let brandArr = []
621
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
622
- let temp = {}
623
- temp.label = item.label
624
- temp.value = item.value.f_meter_brand
625
- brandArr.push(temp)
626
- })
627
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
628
- //初始化气表价格
629
- this.prices = this.$MagGetSaleParam.getPrices();
630
- },
631
- selfSearch(args) {
632
- console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
633
- if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
634
- this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
635
- } else {
636
- //小区查询条件
637
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
638
- if(this.area.length !== 0){
639
- let str = JSON.stringify(this.area)
640
- str = str.replace(/"/g,`'`)
641
- str = str.replace(/\[/g,``)
642
- str = str.replace(/\]/g,``)
643
- //查询多个小区时条件
644
- args.condition += ` and f_residential_area in ( ${str} )`
645
- }
646
-
647
- let f_orgstr = this.orgCondtionStr
648
- args.condition = `${args.condition} ` + f_orgstr
649
- this.model.search(args.condition, args.model)
650
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
651
- }
652
- },
653
- clear() {
654
- //清空部门和人员
655
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
656
- //部门和人员变为全选
657
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
658
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
659
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
660
- this.$refs.paged.$refs.cri.model[key] = []
661
- })
662
-
663
- },
664
- dealmsg(val) {
665
- val.model = this.model.model
666
- this.$dispatch('deal-msg', val)
667
- },
668
- show() {
669
- this.criteriaShow = true
670
- },
671
- hidden() {
672
- this.criteriaShow = !this.criteriaShow
673
- },
674
- async getRes(condition,obj) {
675
- this.orgCondtionStr = condition
676
-
677
- },
678
-
679
-
680
- },
681
- events:{
682
- 'getidcard'(IdCard){
683
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
684
- }
685
- },
686
- watch: {
687
- 'model'(val) {
688
- },
689
- async 'orgCondtionStr'(val) {
690
- this.$refs.paged.$refs.cri.model.f_inputtor = []
691
- this.$refs.paged.$refs.cri.model.f_meter_book = []
692
- this.meterbooks = [{label: '全部',value: ''}];
693
- if(this.lastorgstr != val){
694
- this.tempfalg = true;
695
- this.lastorgstr = val;
696
- }
697
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
698
- this.tempfalg = false;
699
- let a = val.substring(val.indexOf("(")+2)
700
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
701
- }
702
- let res = val.match(/'(.*?)'/)
703
- console.log('正则提取:',res && res[1])
704
- if (res) {
705
- this.f_filialeid = res[1]
706
- if(res.input !=null){
707
- let resorgid = res.input.substring(res.input.indexOf("'"));
708
- if(resorgid!= null && resorgid!=''){
709
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
710
- // resorgid = resorgid.replaceAll("'","");
711
- resorgid = resorgid.replace(/'/g,"");
712
- this.allorgid = resorgid.split(",")
713
- }
714
- }
715
- this.updateParams()
716
- }
717
- },
718
- sumsmodel:{
719
- handler: function(val) {
720
- this.getotherfooter();
721
- },
722
- deep: true
723
- }
724
- },
725
- computed: {
726
- pricetypes() {
727
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
728
- },
729
- getPricenames() {
730
- let f_user_type = this.$refs.paged.model.model.f_user_type;
731
- let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
732
- let pricetype = this.$refs.paged.model.model.pricetype;
733
- if(this.$refs.paged.model.model !==null) {
734
- let rs = []
735
- let priceArr = []
736
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
737
- let params = {
738
- f_user_type: f_user_type[0],
739
- f_gasproperties: f_gasproperties[0],
740
- f_price_type: pricetype[0],
741
- filter: this.f_filialeid,
742
- prices: this.prices
743
- }
744
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
745
- let temp = {}
746
- temp.label = item.label
747
- temp.value = item.value.f_price_name
748
- priceArr.push(temp)
749
- })
750
- rs = [{label: '全部', value: ''}, ...priceArr]
751
- }
752
- if (rs.length === 0) {
753
- this.$refs.paged.model.model.f_price_name = ''
754
- }
755
- return rs
756
- }
757
- },
758
- getCondition() {
759
- return {
760
- startDate: this.$refs.paged.$refs.cri.model.startDate,
761
- endDate: this.$refs.paged.$refs.cri.model.endDate,
762
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
763
- },
764
- getfield() {
765
- return exportConfig.noBusinessConfig
766
- },
767
- usertypes() {
768
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
769
- },
770
- metertypes() {
771
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
772
- },
773
- chargetype() {
774
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
775
- }
776
- }
777
- }
778
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+
11
+ <label for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ >
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ >
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="button_search button_spacing" @click="search()">查询</button>
37
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
+
39
+ <export-excel :data="$parent.$parent.getCondition"
40
+ :field="$parent.$parent.getfield"
41
+ :footer="$parent.$parent.footer"
42
+ :header="$parent.$parent.other"
43
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
44
+ sql-name="noBusinessQuery"
45
+ template-name='非收费业务查询导出'
46
+ :choose-col="true"></export-excel>
47
+
48
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
49
+ :defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
50
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
51
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
52
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
53
+
54
+ </div>
55
+ </div>
56
+ <div class="row" v-show="$parent.$parent.criteriaShow">
57
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
58
+ <div class="col-sm-2 form-group">
59
+ <label class="font_normal_body">客户名称</label>
60
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
61
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
62
+ </div>
63
+ <!--<div class="col-sm-2 form-group">-->
64
+ <!--<label class="font_normal_body">收费编号</label>-->
65
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
66
+ <!--condition="id = '{}'" placeholder="收费编号">-->
67
+ <!--</div>-->
68
+ <!-- <div class="col-sm-2 form-group">-->
69
+ <!-- <label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
70
+ <!-- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
71
+ <!-- :options='$parent.$parent.meterbooks' placeholder='抄表册'-->
72
+ <!-- style="width:60%"-->
73
+ <!-- close-on-select-->
74
+ <!-- condition="f_meter_book_num = '{}'"></v-select>-->
75
+ <!-- </div>-->
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">客户电话</label>
78
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
79
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
80
+ </div>
81
+ <!--<div class="col-sm-2 form-group">-->
82
+ <!--<label class="font_normal_body">身份证号</label>-->
83
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
84
+ <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
85
+ <!--</div>-->
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">客户地址</label>
88
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
89
+ condition="f_address like '%{}%'" placeholder='客户地址'>
90
+ </div>
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
93
+ <v-select :value.sync="model.f_residential_area"
94
+ class="select_list select"
95
+ enter-push
96
+ multiple = "true"
97
+ v-model="model.f_residential_area"
98
+ style="width: 60%"
99
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
100
+ close-on-select>
101
+
102
+ </v-select>
103
+ </div>
104
+ <!--<div class="col-sm-2 form-group">-->
105
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
106
+ <!--<v-select :value.sync="model.f_payment" multiple-->
107
+ <!--v-model="model.f_payment"-->
108
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
109
+ <!--condition="f_payment in {}"-->
110
+ <!--close-on-select></v-select>-->
111
+ <!--</div>-->
112
+ <!--<div class="col-sm-2 form-group">-->
113
+ <!--<label class="font_normal_body">收费类型</label>-->
114
+ <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
115
+ <!--v-model="model.f_type"-->
116
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
117
+ <!--condition="f_type = '{}'"-->
118
+ <!--close-on-select></v-select>&ndash;&gt;-->
119
+ <!--<v-select :value.sync="model.f_type" multiple-->
120
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
121
+ <!--close-on-select clear-button-->
122
+ <!--condition="f_type in {}"-->
123
+ <!--v-model="model.f_type"></v-select>-->
124
+ <!--</div>-->
125
+ <div class="col-sm-2 form-group">
126
+ <label class="font_normal_body">客户类型</label>
127
+ <v-select :value.sync="model.f_user_type"
128
+ @change="$parent.$parent.userTypeChange()"
129
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
130
+ condition="f_user_type = '{}'"
131
+ close-on-select></v-select>
132
+ </div>
133
+ <div class="col-sm-2 form-group">
134
+ <label class="font_normal_body">用气性质</label>
135
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
136
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
137
+ condition="f_gasproperties = '{}'"
138
+ close-on-select></v-select>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">气价类型</label>
142
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
143
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
144
+ close-on-select v-ref:type>
145
+ </v-select>
146
+ </div>
147
+ <div class="col-sm-2 form-group">
148
+ <label class="font_normal_body">气价名称</label>
149
+ <v-select :value.sync="model.f_price_name"
150
+ v-model="model.f_price_name"
151
+ :options="$parent.$parent.getPricenames"
152
+ close-on-select></v-select>
153
+ </div>
154
+ <!-- <div class="col-sm-2 form-group">-->
155
+ <!-- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>-->
156
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"-->
157
+ <!-- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">-->
158
+ <!-- </div>-->
159
+ <!-- <div class="col-sm-2 form-group">-->
160
+ <!-- <label class="font_normal_body" title="气费金额大于">气费金额</label>-->
161
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"-->
162
+ <!-- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">-->
163
+ <!-- </div>-->
164
+ <!-- <div class="col-sm-2 form-group">-->
165
+ <!-- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>-->
166
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"-->
167
+ <!-- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">-->
168
+ <!-- </div>-->
169
+ <!-- <div class="col-sm-2 form-group">-->
170
+ <!-- <label class="font_normal_body">欠费期数</label>-->
171
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.c"-->
172
+ <!-- condition="c > '{}'" placeholder='欠费期数大于'>-->
173
+ <!-- </div>-->
174
+ <!-- <div class="col-sm-2 form-group">-->
175
+ <!-- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>-->
176
+ <!-- <v-select :value.sync="model.f_inputtor"-->
177
+ <!-- v-model="model.f_inputtor"-->
178
+ <!-- :options='$parent.$parent.inputtores' placeholder='请选择'-->
179
+ <!-- condition="f_inputtor = '{}'"-->
180
+ <!-- close-on-select :search="false">-->
181
+ <!-- </v-select>-->
182
+ <!-- </div>-->
183
+ <div class="col-sm-2 form-group" v-if="false">
184
+ <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
185
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_inputtor"
186
+ condition="f_inputtor = '{}'" placeholder='抄表员'>
187
+ </div>
188
+ <!--<div class="col-sm-2 form-group">-->
189
+ <!--<label class="font_normal_body">气价类型</label>-->
190
+ <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
191
+ <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
192
+ <!--close-on-select v-ref:type>-->
193
+ <!--</v-select>-->
194
+ <!--</div>-->
195
+ <!--<div class="col-sm-2 form-group">-->
196
+ <!--<label class="font_normal_body">气价名称</label>-->
197
+ <!--<v-select :value.sync="model.f_price_name"-->
198
+ <!--v-model="model.f_price_name"-->
199
+ <!--:options="$parent.$parent.getPricenames"-->
200
+ <!--condition="f_price_name = '{}'"-->
201
+ <!--close-on-select></v-select>-->
202
+ <!--</div>-->
203
+ <!--<div class="col-sm-2 form-group">-->
204
+ <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
205
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
206
+ <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
207
+ <!--</div>-->
208
+ </div>
209
+ </div>
210
+ </criteria>
211
+
212
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
213
+ <template partial='head'>
214
+ <tr>
215
+ <th>
216
+ <nobr>序号</nobr>
217
+ </th>
218
+ <th>
219
+ <nobr>日期</nobr>
220
+ </th>
221
+ <th>
222
+ <nobr>过户</nobr>
223
+ </th>
224
+ <th>
225
+ <nobr>发折</nobr>
226
+ </th>
227
+ <th>
228
+ <nobr>补折</nobr>
229
+ </th>
230
+ <th>
231
+ <nobr>换折</nobr>
232
+ </th>
233
+ <th>
234
+ <nobr>发卡</nobr>
235
+ </th>
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
+ <th>
252
+ <nobr>换表补气</nobr>
253
+ </th>
254
+ <th>
255
+ <nobr>停用</nobr>
256
+ </th>
257
+ <th>
258
+ <nobr>启用</nobr>
259
+ </th>
260
+ <th>
261
+ <nobr>转费</nobr>
262
+ </th>
263
+ <th>
264
+ <nobr>民用机表</nobr>
265
+ </th>
266
+ <th>
267
+ <nobr>公福机表</nobr>
268
+ </th>
269
+ <th>
270
+ <nobr>工业机表</nobr>
271
+ </th>
272
+ <th>
273
+ <nobr>民用卡表</nobr>
274
+ </th>
275
+ <th>
276
+ <nobr>公福卡表</nobr>
277
+ </th>
278
+ <th>
279
+ <nobr>工业卡表</nobr>
280
+ </th>
281
+ </tr>
282
+ </template>
283
+ <template partial='body'>
284
+ <td style="text-align:center">
285
+ <nobr>{{$index+1}}</nobr>
286
+ </td>
287
+ <td style="text-align: center;">
288
+ <nobr>{{row.f_date}}</nobr>
289
+ </td>
290
+ <td style="text-align: center;">
291
+ <nobr>{{row.f_transfernum}}</nobr>
292
+ </td>
293
+ <td style="text-align: center;">
294
+ <nobr>{{row.f_fazhe}}</nobr>
295
+ </td>
296
+ <td style="text-align: center;">
297
+ <nobr>{{row.f_buzhe}}</nobr>
298
+ </td>
299
+ <td style="text-align: center;">
300
+ <nobr>{{row.f_huanzhe}}</nobr>
301
+ </td>
302
+ <td style="text-align: center;">
303
+ <nobr>{{row.f_recordnum}}</nobr>
304
+ </td>
305
+ <td style="text-align: center;">
306
+ <nobr>{{row.f_fillcardnum}}</nobr>
307
+ </td>
308
+ <td style="text-align: center;">
309
+ <nobr>{{row.f_huanka}}</nobr>
310
+ </td>
311
+ <td style="text-align: center;">
312
+ <nobr>{{row.f_minyongxiaohu}}</nobr>
313
+ </td>
314
+ <td style="text-align: center;">
315
+ <nobr>{{row.f_feiminyongxiaohu}}</nobr>
316
+ </td>
317
+ <td style="text-align: center;">
318
+ <nobr>{{row.f_weixiubuqi}}</nobr>
319
+ </td>
320
+ <td style="text-align: center;">
321
+ <nobr>{{row.f_huanbiaobuqi}}</nobr>
322
+ </td>
323
+ <td style="text-align: center;">
324
+ <nobr>{{row.f_disablenum}}</nobr>
325
+ </td>
326
+ <td style="text-align: center;">
327
+ <nobr>{{row.f_enablenum}}</nobr>
328
+ </td>
329
+ <td style="text-align: center;">
330
+ <nobr>{{row.f_zhuanfei}}</nobr>
331
+ </td>
332
+ <td style="text-align: center;">
333
+ <nobr>{{row.f_minyongjibiao}}</nobr>
334
+ </td>
335
+ <td style="text-align: center;">
336
+ <nobr>{{row.f_gongfujibiao}}</nobr>
337
+ </td>
338
+ <td style="text-align: center;">
339
+ <nobr>{{row.f_gongyejibiao}}</nobr>
340
+ </td>
341
+ <td style="text-align: center;">
342
+ <nobr>{{row.f_minyongkabiao}}</nobr>
343
+ </td>
344
+ <td style="text-align: center;">
345
+ <nobr>{{row.f_gongfukabiao}}</nobr>
346
+ </td>
347
+ <td style="text-align: center;">
348
+ <nobr>{{row.f_gongyekabiao}}</nobr>
349
+ </td>
350
+ </template>
351
+ <template partial='foot'></template>
352
+ </data-grid>
353
+ </criteria-paged>
354
+ <table class="table-hover">
355
+ <tr style="position: relative" class="table-bordered">
356
+ <td
357
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
358
+ 汇总信息
359
+ </td>
360
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
361
+ 过户合计:&emsp;{{sumsmodel.f_transfernum}}
362
+ </td>
363
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
364
+ 发折合计:&emsp;{{sumsmodel.f_fazhe}}
365
+ </td>
366
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
367
+ 补折合计:&emsp;{{sumsmodel.f_buzhe}}
368
+ </td>
369
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
370
+ 换折合计:&emsp;{{sumsmodel.f_huanzhe}}
371
+ </td>
372
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
373
+ 发卡合计:&emsp;{{sumsmodel.f_recordnum}}
374
+ </td>
375
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
376
+ 补卡合计:&emsp;{{sumsmodel.f_fillcardnum}}
377
+ </td>
378
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
379
+ 换卡合计:&emsp;{{sumsmodel.f_huanka}}
380
+ </td>
381
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
382
+ 民用销户合计:&emsp;{{sumsmodel.f_minyongxiaohu}}
383
+ </td>
384
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
385
+ 非民用销户合计:&emsp;{{sumsmodel.f_feiminyongxiaohu}}
386
+ </td>
387
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
388
+ 维修补气合计:&emsp;{{sumsmodel.f_weixiubuqi}}
389
+ </td>
390
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
391
+ 换表补气合计:&emsp;{{sumsmodel.f_huanbiaobuqi}}
392
+ </td>
393
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
394
+ 停用合计:&emsp;{{sumsmodel.f_disablenum}}
395
+ </td>
396
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
397
+ 启用合计:&emsp;{{sumsmodel.f_enablenum}}
398
+ </td>
399
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
400
+ 转费合计:&emsp;{{sumsmodel.f_zhuanfei}}
401
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
402
+ 民用机表合计:&emsp;{{sumsmodel.f_minyongjibiao}}
403
+ </td>
404
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
405
+ 公福机表合计:&emsp;{{sumsmodel.f_gongfujibiao}}
406
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
407
+ 工业机表合计:&emsp;{{sumsmodel.f_minyongkabiao}}
408
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
409
+ 民用卡表合计:&emsp;{{sumsmodel.f_gongfukabiao}}
410
+ </td>
411
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
412
+ 公福卡表合计:&emsp;{{sumsmodel.f_gongyekabiao}}
413
+ </td>
414
+ </tr>
415
+ </table>
416
+ </div>
417
+ <div v-if="show">
418
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
419
+ </div>
420
+ </div>
421
+ </div>
422
+ </template>
423
+
424
+ <script>
425
+ import {HttpResetClass, PagedList} from 'vue-client'
426
+ import exportConfig from '../config/exportConfig'
427
+
428
+ let readySomething = async function (self) {
429
+ //加载抄表册
430
+ self.$MagGetSaleParam.initinputtor();
431
+ self.getinputtores();
432
+ self.initmeterbook();
433
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
434
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
435
+ // self.$refs.paged.$refs.cri.search()
436
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
437
+
438
+ self.initParams()
439
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
440
+ }
441
+ export default {
442
+ title: '非收费业务查询',
443
+ data() {
444
+ return {
445
+ config: {
446
+ defaultPrint: ['f_userinfo_code', 'f_address']
447
+ },
448
+ other:[],
449
+ footer:[],
450
+ //f_price_name:[],
451
+ gasproperties:[],
452
+ showinfo: false,
453
+ data: {},
454
+ show:false,
455
+ rowdata:{},
456
+ initres: {
457
+ org:[this.$login.f.orgid],
458
+ dep:[],
459
+ user:[]
460
+ },
461
+ model: new PagedList('api/af-revenue/sql/noBusinessQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
462
+ f_transfernum: 0,
463
+ f_fazhe: 0,
464
+ f_buzhe: 0,
465
+ f_huanzhe: 0,
466
+ f_recordnum: 0,
467
+ f_fillcardnum: 0,
468
+ f_huanka:0,
469
+ f_minyongxiaohu:0,
470
+ f_feiminyongxiaohu:0,
471
+ f_weixiubuqi: 0,
472
+ f_huanbiaobuqi: 0,
473
+ f_disablenum: 0,
474
+ f_enablenum: 0,
475
+ f_zhuanfei: 0,
476
+ f_minyongjibiao: 0,
477
+ f_gongfujibiao: 0,
478
+ f_gongyejibiao: 0,
479
+ f_minyongkabiao: 0,
480
+ f_gongfukabiao: 0,
481
+ f_gongyekabiao: 0
482
+ }),
483
+ criteriaShow: false,
484
+ orgCondtionStr: '',
485
+ // 下拉框
486
+ meterbrands: [],
487
+ pricenames: [],
488
+ prices: [],
489
+ area: [],
490
+ //合计数据
491
+ defaultfield: [],
492
+ //小区
493
+ residentialArea: [],
494
+ sumsmodel: {},
495
+ f_filialeid: this.$login.f.f_orgid,
496
+ meterbooks:[{label: '全部',value: ''}], //抄表册
497
+ tempfalg :false,
498
+ lastorgstr:'',
499
+ allorgid:[],
500
+ inputtores:[{label: '全部',value: ''}], //抄表员
501
+ }
502
+ },
503
+ ready() {
504
+ this.getaddress()
505
+
506
+ readySomething(this).then(() => {
507
+ this.$emit('ready')
508
+ }).catch((error) => {
509
+ this.$emit('error', error)
510
+ })
511
+ },
512
+ methods: {
513
+ async initmeterbook(orgstr){
514
+ if(orgstr == null ){
515
+ orgstr = this.f_filialeid;
516
+ }
517
+ //获取新的抄表册,先去清理所有的抄表册
518
+ this.$GetSaleParam.meterbooks = [];
519
+ //开始加载新的抄表册
520
+ await this.$LoadParams.loadMeterBook(orgstr)
521
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
522
+ },
523
+ async getinputtores () {
524
+ // 获取抄表员
525
+ let rs = []
526
+ if (this.$login.f.f_gasman.length > 0) {
527
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
528
+ let temp = {
529
+ label: this.$login.f.f_gasman[i].name,
530
+ value: this.$login.f.f_gasman[i].name
531
+ }
532
+ rs.push(temp)
533
+ }
534
+ }
535
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
536
+ },
537
+ async updateParams() {
538
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
539
+ this.inputtores = [];
540
+ this.inputtores.push({label: "全部", value: ""})
541
+ if(this.allorgid!=null){
542
+ this.allorgid.forEach((res)=>{
543
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
544
+ })
545
+ }
546
+ this.initParams()
547
+ },
548
+ getotherfooter(){
549
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
550
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
551
+ this.other=[];
552
+ this.footer=[];
553
+ let exportdata = this.getCondition;
554
+ let otherInData=[];
555
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
556
+ let footerData=[],exportfield=this.getfield;
557
+ footerData.push("合计");
558
+ let self =this;
559
+ for(var field in self.sumsmodel){
560
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
561
+ }
562
+ this.footer.push(footerData);
563
+ this.other.push(otherInData);
564
+ let date = []
565
+ date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
566
+ date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
567
+ this.other.push(date)
568
+ },
569
+ async getaddress(){
570
+ console.log('开始获取小区')
571
+ let HttpReset = new HttpResetClass()
572
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
573
+ data: {
574
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
575
+ }
576
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
577
+ console.log('小区',data)
578
+ let house = [{label: '全部', value: ''}]
579
+ for (let row of data.data){
580
+ console.log('开始保存小区')
581
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
582
+ }
583
+ this.residentialArea = house
584
+ },
585
+
586
+ //把数据库查询数据转换为下拉数据
587
+ calculate(rows){
588
+ let data = []
589
+ rows.forEach((row, n) => {
590
+ data[n] = {label: row.f_residential_area, value: row.id}
591
+ })
592
+ return data
593
+ },
594
+
595
+ search(){
596
+ this.$refs.paged.$refs.cri.search()
597
+ },
598
+ cancel() {
599
+ this.show = false
600
+ },
601
+ showmsg(obj){
602
+ this.rowdata=obj
603
+ this.show=true
604
+ },
605
+ userTypeChange () {
606
+ this.gasproperties=[]
607
+ if(this.$refs.paged.$refs.cri.model !==null) {
608
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
609
+
610
+ console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
611
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
612
+ // this.gasproperties.push({label: '全部', value: ''})
613
+ }
614
+ else{
615
+ this.gasproperties =[{label: '全部', value: ''}]
616
+ }
617
+ },
618
+ initParams() {
619
+ // 初始化气表品牌
620
+ let brandArr = []
621
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
622
+ let temp = {}
623
+ temp.label = item.label
624
+ temp.value = item.value.f_meter_brand
625
+ brandArr.push(temp)
626
+ })
627
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
628
+ //初始化气表价格
629
+ this.prices = this.$MagGetSaleParam.getPrices();
630
+ },
631
+ selfSearch(args) {
632
+ console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
633
+ if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
634
+ this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
635
+ } else {
636
+ //小区查询条件
637
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
638
+ if(this.area.length !== 0){
639
+ let str = JSON.stringify(this.area)
640
+ str = str.replace(/"/g,`'`)
641
+ str = str.replace(/\[/g,``)
642
+ str = str.replace(/\]/g,``)
643
+ //查询多个小区时条件
644
+ args.condition += ` and f_residential_area in ( ${str} )`
645
+ }
646
+
647
+ let f_orgstr = this.orgCondtionStr
648
+ args.condition = `${args.condition} ` + f_orgstr
649
+ this.model.search(args.condition, args.model)
650
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
651
+ }
652
+ },
653
+ clear() {
654
+ //清空部门和人员
655
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
656
+ //部门和人员变为全选
657
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
658
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
659
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
660
+ this.$refs.paged.$refs.cri.model[key] = []
661
+ })
662
+
663
+ },
664
+ dealmsg(val) {
665
+ val.model = this.model.model
666
+ this.$dispatch('deal-msg', val)
667
+ },
668
+ show() {
669
+ this.criteriaShow = true
670
+ },
671
+ hidden() {
672
+ this.criteriaShow = !this.criteriaShow
673
+ },
674
+ async getRes(condition,obj) {
675
+ this.orgCondtionStr = condition
676
+
677
+ },
678
+
679
+
680
+ },
681
+ events:{
682
+ 'getidcard'(IdCard){
683
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
684
+ }
685
+ },
686
+ watch: {
687
+ 'model'(val) {
688
+ },
689
+ async 'orgCondtionStr'(val) {
690
+ this.$refs.paged.$refs.cri.model.f_inputtor = []
691
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
692
+ this.meterbooks = [{label: '全部',value: ''}];
693
+ if(this.lastorgstr != val){
694
+ this.tempfalg = true;
695
+ this.lastorgstr = val;
696
+ }
697
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
698
+ this.tempfalg = false;
699
+ let a = val.substring(val.indexOf("(")+2)
700
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
701
+ }
702
+ let res = val.match(/'(.*?)'/)
703
+ console.log('正则提取:',res && res[1])
704
+ if (res) {
705
+ this.f_filialeid = res[1]
706
+ if(res.input !=null){
707
+ let resorgid = res.input.substring(res.input.indexOf("'"));
708
+ if(resorgid!= null && resorgid!=''){
709
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
710
+ // resorgid = resorgid.replaceAll("'","");
711
+ resorgid = resorgid.replace(/'/g,"");
712
+ this.allorgid = resorgid.split(",")
713
+ }
714
+ }
715
+ this.updateParams()
716
+ }
717
+ },
718
+ sumsmodel:{
719
+ handler: function(val) {
720
+ this.getotherfooter();
721
+ },
722
+ deep: true
723
+ }
724
+ },
725
+ computed: {
726
+ pricetypes() {
727
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
728
+ },
729
+ getPricenames() {
730
+ let f_user_type = this.$refs.paged.model.model.f_user_type;
731
+ let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
732
+ let pricetype = this.$refs.paged.model.model.pricetype;
733
+ if(this.$refs.paged.model.model !==null) {
734
+ let rs = []
735
+ let priceArr = []
736
+ if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
737
+ let params = {
738
+ f_user_type: f_user_type[0],
739
+ f_gasproperties: f_gasproperties[0],
740
+ f_price_type: pricetype[0],
741
+ filter: this.f_filialeid,
742
+ prices: this.prices
743
+ }
744
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
745
+ let temp = {}
746
+ temp.label = item.label
747
+ temp.value = item.value.f_price_name
748
+ priceArr.push(temp)
749
+ })
750
+ rs = [{label: '全部', value: ''}, ...priceArr]
751
+ }
752
+ if (rs.length === 0) {
753
+ this.$refs.paged.model.model.f_price_name = ''
754
+ }
755
+ return rs
756
+ }
757
+ },
758
+ getCondition() {
759
+ return {
760
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
761
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
762
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
763
+ },
764
+ getfield() {
765
+ return exportConfig.noBusinessConfig
766
+ },
767
+ usertypes() {
768
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
769
+ },
770
+ metertypes() {
771
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
772
+ },
773
+ chargetype() {
774
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
775
+ }
776
+ }
777
+ }
778
+ </script>