manage-client 3.3.217 → 3.3.218

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 (193) 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/.npmignore +10 -0
  9. package/build/.npmignore +1 -0
  10. package/build/dev-server.js +190 -190
  11. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  12. package/gradlew +234 -234
  13. package/gradlew.bat +89 -89
  14. package/hs_err_pid13052.log +206 -206
  15. package/package-lock.json +10123 -0
  16. package/package.json +111 -111
  17. package/src/components/SellReport/BusinessClassify.vue +292 -292
  18. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  19. package/src/components/SellReport/ManageSellType.vue +267 -267
  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 +6 -6
  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 +813 -813
  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/usergas.vue +315 -315
  63. package/src/components/sale/config/exportConfig.js +2761 -2761
  64. package/src/components/sale/config/tableConfig.js +59 -59
  65. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  66. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  67. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  68. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  69. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +695 -695
  70. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +646 -646
  71. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  72. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  73. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  74. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  75. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  76. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +552 -552
  77. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  78. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  79. package/src/components/webmeter/report/ReportList.vue +453 -453
  80. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  81. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  82. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +12 -10
  83. package/src/filiale/ancheng/exportConfig.js +120 -120
  84. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  85. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  86. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  87. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  88. package/src/filiale/bayan/config/tableConfig.js +59 -59
  89. package/src/filiale/bayan/sale.js +8 -8
  90. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  91. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  92. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  93. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  94. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  95. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  96. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  97. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  98. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  99. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  100. package/src/filiale/bayan/webmeterManage.js +26 -26
  101. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  102. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  103. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  104. package/src/filiale/dingcheng/sale.js +9 -9
  105. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  106. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  107. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  108. package/src/filiale/hantou/config/tableConfig.js +54 -54
  109. package/src/filiale/hantou/sale.js +8 -8
  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/GasStatistics.vue +561 -561
  118. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  119. package/src/filiale/kelai/NewGasStatistics.vue +542 -542
  120. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  121. package/src/filiale/kelai/reportManage.js +13 -13
  122. package/src/filiale/kelai/sale.js +17 -17
  123. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  124. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  125. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  126. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  127. package/src/filiale/macheng/config/exportConfig.js +79 -79
  128. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  129. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  130. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  131. package/src/filiale/meihekou/CollectManage.vue +152 -152
  132. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  133. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  134. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  135. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  136. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  137. package/src/filiale/meihekou/sale.js +39 -39
  138. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  139. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  140. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  141. package/src/filiale/qianneng/exportConfig.js +232 -232
  142. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  143. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  144. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  145. package/src/filiale/rizhao/sale.js +13 -13
  146. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  147. package/src/filiale/shangluo/sale.js +17 -17
  148. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  149. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  150. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  151. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  152. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  153. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  154. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  155. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  156. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  157. package/src/filiale/taizhoukesi/sale.js +11 -11
  158. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  159. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  160. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  161. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  162. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  163. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  164. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  165. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  166. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  167. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  168. package/src/filiale/xinjiangdexin/sale.js +7 -7
  169. package/src/filiale/yangchun/ChangeMeterQuery.vue +716 -716
  170. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  171. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  172. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  173. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -1477
  174. package/src/filiale/yangchun/UserQuery.vue +980 -980
  175. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  176. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  177. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  178. package/src/filiale/yangchun/reportManage.js +6 -6
  179. package/src/filiale/yangchun/sale.js +20 -20
  180. package/src/filiale/yangchun/webmeterManage.js +5 -5
  181. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  182. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  183. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  184. package/src/filiale/yuncheng/MeterQuery.vue +995 -995
  185. package/src/filiale/yuncheng/config/exportConfig.js +2674 -2674
  186. package/src/filiale/yuncheng/sale.js +23 -23
  187. package/src/filiale/zhongyi/GasStatistics.vue +522 -522
  188. package/src/filiale/zhongyi/exportConfig.js +2554 -2554
  189. package/src/main.js +68 -68
  190. package/src/plugins/LodopFuncs.js +159 -159
  191. package/src/reportManage.js +773 -773
  192. package/src/saleManage.js +689 -689
  193. package/src/webmeterManage.js +130 -130
@@ -1,983 +1,983 @@
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 color-red" style="color: red;"
12
- title="归属日期">开始日期</label>
13
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
14
- v-model="model.startDate"
15
- :value.sync="model.startDate"
16
- :format="'yyyy-MM-dd HH:mm:ss'"
17
- :show-reset-button="true"
18
- >
19
- </datepicker>
20
- </div>
21
- <div class="col-sm-2 form-group">
22
- <label for="endDate" class="font_normal_body color-red" style="color: red;"
23
- title="归属日期">结束日期</label>
24
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
25
- v-model="model.endDate"
26
- :value.sync="model.endDate"
27
- :format="'yyyy-MM-dd HH:mm:ss'"
28
- :show-reset-button="true"
29
- >
30
- </datepicker>
31
- </div>
32
- <div class="col-sm-2 form-group">
33
- <label class="font_normal_body">客户编号</label>
34
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
35
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
36
- </div>
37
- <div class="col-sm-2 form-group">
38
- <label class="font_normal_body" title="旧客户编号">档案编号</label>
39
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
40
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
41
- </div>
42
-
43
- <div class="span" style="float:right;">
44
- <button class="button_search button_spacing" @click="search()">查询</button>
45
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
46
-
47
- <export-excel :data="$parent.$parent.getCondition"
48
- :field="$parent.$parent.getfield"
49
- :footer="$parent.$parent.footer"
50
- :header="$parent.$parent.other"
51
- sqlurl="api/af-revenue/logic/openapi/exportfile"
52
- sql-name="arrearsQuery"
53
- template-name='用户欠费查询导出'
54
- :choose-col="true"></export-excel>
55
-
56
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
57
- :field="$parent.$parent.getfield"
58
- :defaultfield="$parent.$parent.defaultfield"
59
- titletable="用户欠费查询导出"
60
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
61
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
62
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
63
-
64
- </div>
65
- </div>
66
-
67
- <div class="row" v-show="$parent.$parent.criteriaShow">
68
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
69
- v-ref:sel></res-select-group>
70
-
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">客户名称</label>
73
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
74
- condition="f_user_name like '%{}%'" placeholder="客户名称">
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_book_no"
79
- condition="f_book_no = '{}'" 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_meter_book_sort"
84
- condition="f_meter_book_sort = '{}'" placeholder="册内序号">
85
- </div>
86
- <div class="col-sm-2 form-group">
87
-
88
- <label for="inputstartDate" class="font_normal_body color-red" style="color: red;">抄表日期</label>
89
- <datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
90
- v-model="model.inputstartDate"
91
- :value.sync="model.inputstartDate"
92
- :format="'yyyy-MM-dd 00:00:00'"
93
- :show-reset-button="true"
94
- >
95
- </datepicker>
96
- </div>
97
- <div class="col-sm-2 form-group">
98
- <label for="inputendDate" class="font_normal_body color-red" style="color: red;">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
99
- <datepicker id="inputendDate" placeholder="结束日期" style="width:60%"
100
- v-model="model.inputendDate"
101
- :value.sync="model.inputendDate"
102
- :format="'yyyy-MM-dd 23:59:59'"
103
- :show-reset-button="true"
104
- >
105
- </datepicker>
106
- </div>
107
-
108
-
109
- <!--<div class="col-sm-2 form-group">-->
110
- <!--<label class="font_normal_body">收费编号</label>-->
111
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
112
- <!--condition="id = '{}'" placeholder="收费编号">-->
113
- <!--</div>-->
114
- <div class="col-sm-2 form-group">
115
- <label class="font_normal_body">客户电话</label>
116
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
117
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
118
- </div>
119
- <!--<div class="col-sm-2 form-group">-->
120
- <!--<label class="font_normal_body">身份证号</label>-->
121
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
122
- <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
123
- <!--</div>-->
124
- <div class="col-sm-2 form-group">
125
- <label class="font_normal_body">客户地址</label>
126
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
127
- condition="f_address like '%{}%'" placeholder='客户地址'>
128
- </div>
129
- <div class="col-sm-2 form-group">
130
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
131
- <v-select :value.sync="model.f_residential_area"
132
- class="select_list select"
133
- enter-push
134
- multiple
135
- condition="f_residential_area in {}"
136
- v-model="model.f_residential_area"
137
- style="width: 60%"
138
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
139
- close-on-select>
140
-
141
- </v-select>
142
- </div>
143
- <div class="col-sm-2 form-group">
144
- <label class="font_normal_body">缴费类型</label>
145
- <v-select :value.sync="model.f_payment" multiple
146
- v-model="model.f_payment"
147
- :options='$parent.$parent.dypayment' placeholder='请选择'
148
- condition="f_cost_type in {}"
149
- close-on-select></v-select>
150
- </div>
151
- <!--<div class="col-sm-2 form-group">-->
152
- <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
153
- <!--<v-select :value.sync="model.f_payment" multiple-->
154
- <!--v-model="model.f_payment"-->
155
- <!--:options='$parent.$parent.payment' placeholder='请选择'-->
156
- <!--condition="f_payment in {}"-->
157
- <!--close-on-select></v-select>-->
158
- <!--</div>-->
159
- <!--<div class="col-sm-2 form-group">-->
160
- <!--<label class="font_normal_body">收费类型</label>-->
161
- <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
162
- <!--v-model="model.f_type"-->
163
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
164
- <!--condition="f_type = '{}'"-->
165
- <!--close-on-select></v-select>&ndash;&gt;-->
166
- <!--<v-select :value.sync="model.f_type" multiple-->
167
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
168
- <!--close-on-select clear-button-->
169
- <!--condition="f_type in {}"-->
170
- <!--v-model="model.f_type"></v-select>-->
171
- <!--</div>-->
172
- <div class="col-sm-2 form-group">
173
- <label class="font_normal_body">客户类型</label>
174
- <v-select :value.sync="model.f_user_type"
175
- @change="$parent.$parent.userTypeChange()"
176
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
177
- condition="f_user_type = '{}'"
178
- close-on-select></v-select>
179
- </div>
180
- <div class="col-sm-2 form-group">
181
- <label class="font_normal_body">气表类型</label>
182
- <v-select :value.sync="model.f_meter_type" multiple
183
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
184
- condition="f_meter_type in {}"
185
- close-on-select></v-select>
186
- </div>
187
- <div class="col-sm-2 form-group">
188
- <label class="font_normal_body">用气性质</label>
189
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
190
- :options='$parent.$parent.gasproperties' placeholder='请选择'
191
- condition="f_gasproperties = '{}'"
192
- close-on-select></v-select>
193
- </div>
194
- <div class="col-sm-2 form-group">
195
- <label class="font_normal_body">气价类型</label>
196
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
197
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
198
- close-on-select v-ref:type>
199
- </v-select>
200
- </div>
201
- <div class="col-sm-2 form-group">
202
- <label class="font_normal_body">气价名称</label>
203
- <v-select :value.sync="model.f_price_name"
204
- v-model="model.f_price_name"
205
- :options="$parent.$parent.getPricenames"
206
- condition="f_price_name = '{}'"
207
- close-on-select></v-select>
208
- </div>
209
- <div class="col-sm-2 form-group">
210
- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
211
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
212
- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
213
- </div>
214
- <div class="col-sm-2 form-group">
215
- <label class="font_normal_body" title="气费金额大于">气费金额</label>
216
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
217
- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
218
- </div>
219
- <div class="col-sm-2 form-group">
220
- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
221
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
222
- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
223
- </div>
224
- <div class="col-sm-2 form-group">
225
- <label class="font_normal_body">欠费期数</label>
226
- <input type="text" style="width:60%" class="input_search" v-model="model.c"
227
- condition="c > '{}'" placeholder='欠费期数大于'>
228
- </div>
229
- <div class="col-sm-2 form-group">
230
- <label class="font_normal_body">抄&nbsp;&nbsp;表&nbsp;员</label>
231
- <v-select :value.sync="model.f_inputtor"
232
- v-model="model.f_inputtor"
233
- :options='$parent.$parent.inputtores' placeholder='请选择'
234
- condition="f_inputtor = '{}'"
235
- @change="$parent.$parent.inputtorchange"
236
- close-on-select :search="false">
237
- </v-select>
238
- </div>
239
- <div class="col-sm-2 form-group">
240
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
241
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
242
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
243
- style="width:60%"
244
- close-on-select
245
- condition="f_meter_book_num = '{}'"></v-select>
246
- </div>
247
- <div class="col-sm-2 form-group">
248
- <label class="font_normal_body">档案抄表员</label>
249
- <v-select :value.sync="model.f_dainputtores"
250
- v-model="model.f_dainputtores"
251
- :options='$parent.$parent.dainputtores' placeholder='请选择'
252
- condition="f_dainputtores = '{}'"
253
- close-on-select>
254
- </v-select>
255
- </div>
256
- <!--<div class="col-sm-2 form-group">-->
257
- <!--<label class="font_normal_body">气价类型</label>-->
258
- <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
259
- <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
260
- <!--close-on-select v-ref:type>-->
261
- <!--</v-select>-->
262
- <!--</div>-->
263
- <!--<div class="col-sm-2 form-group">-->
264
- <!--<label class="font_normal_body">气价名称</label>-->
265
- <!--<v-select :value.sync="model.f_price_name"-->
266
- <!--v-model="model.f_price_name"-->
267
- <!--:options="$parent.$parent.getPricenames"-->
268
- <!--condition="f_price_name = '{}'"-->
269
- <!--close-on-select></v-select>-->
270
- <!--</div>-->
271
- <!--<div class="col-sm-2 form-group">-->
272
- <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
273
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
274
- <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
275
- <!--</div>-->
276
- </div>
277
- </div>
278
- </criteria>
279
-
280
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
281
- <template partial='head'>
282
- <tr>
283
- <th>
284
- <nobr>序号</nobr>
285
- </th>
286
- <th>
287
- <nobr>客户编号</nobr>
288
- </th>
289
- <th>
290
- <nobr>客户姓名</nobr>
291
- </th>
292
- <th>
293
- <nobr>档案编号</nobr>
294
- </th>
295
- <th>
296
- <nobr>用户证号</nobr>
297
- </th>
298
- <th>
299
- <nobr>身份证号</nobr>
300
- </th>
301
- <th>
302
- <nobr>册内序号</nobr>
303
- </th>
304
- <th>
305
- <nobr>小区名称</nobr>
306
- </th>
307
- <th>
308
- <nobr>地址</nobr>
309
- </th>
310
- <th>
311
- <nobr>客户电话</nobr>
312
- </th>
313
- <th>
314
- <nobr>表号</nobr>
315
- </th>
316
- <th>
317
- <nobr>备用电话</nobr>
318
- </th>
319
- <th>
320
- <nobr>气表类型</nobr>
321
- </th>
322
-
323
- <th>
324
- <nobr>欠费期数</nobr>
325
- </th>
326
- <th>
327
- <nobr>欠费区间</nobr>
328
- </th>
329
- <th>
330
- <nobr>上期抄表底数</nobr>
331
- </th>
332
- <th>
333
- <nobr>本期抄表底数</nobr>
334
- </th>
335
- <th>
336
- <nobr>用气量</nobr>
337
- </th>
338
- <th>
339
- <nobr>用气金额</nobr>
340
- </th>
341
- <!-- <th>-->
342
- <!-- <nobr>缴费时间</nobr>-->
343
- <!-- </th>-->
344
- <th>
345
- <nobr>已交金额</nobr>
346
- </th>
347
- <!--<th>-->
348
- <!--<nobr>回收率</nobr>-->
349
- <!--</th>-->
350
- <th>
351
- <nobr>应交气费</nobr>
352
- </th>
353
- <th>
354
- <nobr>违约金</nobr>
355
- </th>
356
- <th>
357
- <nobr>附加费</nobr>
358
- </th>
359
- <!-- <th>-->
360
- <!-- <nobr>上期余额</nobr>-->
361
- <!-- </th>-->
362
- <th>
363
- <nobr>合计欠费</nobr>
364
- </th>
365
- <!-- <th title="实际欠费=合计欠费-上期结余">-->
366
- <!-- <nobr>实际欠费</nobr>-->
367
- <!-- </th>-->
368
- <th>
369
- <nobr>抄表员</nobr>
370
- </th>
371
- <th>
372
- <nobr>抄表册</nobr>
373
- </th>
374
- <th>
375
- <nobr>档案抄表员</nobr>
376
- </th>
377
- <th>
378
- <nobr>客户类型</nobr>
379
- </th>
380
- <th>
381
- <nobr>缴费类型</nobr>
382
- </th>
383
- <th>
384
- <nobr>用气性质</nobr>
385
- </th>
386
- <th>
387
- <nobr>备&nbsp;&nbsp;&nbsp;&nbsp;注</nobr>
388
- </th>
389
- </tr>
390
- </template>
391
- <template partial='body'>
392
- <td style="text-align:center">
393
- <nobr>{{ $index + 1 }}</nobr>
394
- </td>
395
- <td style="text-align: center;">
396
- <nobr>{{ row.f_userinfo_code }}</nobr>
397
- </td>
398
- <td style="text-align: center;">
399
- <nobr>{{ row.f_user_name }}</nobr>
400
- </td>
401
- <td style="text-align: center;">
402
- <nobr>{{ row.f_olduserinfo_code }}</nobr>
403
- </td>
404
- <td style="text-align: center;">
405
- <nobr>{{ row.f_book_no }}</nobr>
406
- </td>
407
- <td style="text-align: center;">
408
- <nobr>{{ row.f_idnumber }}</nobr>
409
- </td>
410
- <td style="text-align: center;">
411
- <nobr>{{ row.f_meter_book_sort }}</nobr>
412
- </td>
413
- <td style="text-align: center;">
414
- <nobr>{{ row.f_residential_area }}</nobr>
415
- </td>
416
- <td style="text-align: center;">
417
- <nobr>{{ row.f_address }}</nobr>
418
- </td>
419
- <td style="text-align: center;">
420
- <nobr>{{ row.f_user_phone }}</nobr>
421
- </td>
422
- <td style="text-align: center;">
423
- <nobr>{{ row.f_meternumber }}</nobr>
424
- </td>
425
- <td style="text-align: center;">
426
- <nobr>{{ row.f_rent_phone }}</nobr>
427
- </td>
428
- <td style="text-align: center;">
429
- <nobr>{{ row.f_meter_classify }}</nobr>
430
- </td>
431
-
432
- <td style="text-align: center;">
433
- <nobr>{{ row.c }}</nobr>
434
- </td>
435
- <td style="text-align: center;">
436
- <nobr>{{ row.f_hand_date }}</nobr>
437
- </td>
438
- <td style="text-align: center;">
439
- <nobr>{{ row.f_last_tablebase }}</nobr>
440
- </td>
441
- <td style="text-align: center;">
442
- <nobr>{{ row.f_tablebase }}</nobr>
443
- </td>
444
- <td style="text-align: center;">
445
- <nobr>{{ row.f_oughtamount }}</nobr>
446
- </td>
447
- <td style="text-align: center;">
448
- <nobr>{{ row.f_oughtfee }}</nobr>
449
- </td>
450
- <!-- <td style="text-align: center;">-->
451
- <!-- <nobr>{{row.f_operate_date}}</nobr>-->
452
- <!-- </td>-->
453
- <td style="text-align: center;">
454
- <nobr>{{ row.f_debt_money }}</nobr>
455
- </td>
456
- <!--<td style="text-align: center;">-->
457
- <!--<nobr>{{row.f_hand_bv}}</nobr>-->
458
- <!--</td>-->
459
- <td style="text-align: center;">
460
- <nobr>{{ row.f_oughtfee_new }}</nobr>
461
- </td>
462
- <td style="text-align: center;">
463
- <nobr>{{ row.overdue }}</nobr>
464
- </td>
465
- <td style="text-align: center;">
466
- <nobr>{{ row.f_garbage_fee }}</nobr>
467
- </td>
468
- <!-- <td style="text-align: center;">-->
469
- <!-- <nobr>{{row.f_balance}}</nobr>-->
470
- <!-- </td>-->
471
- <td style="text-align: center;">
472
- <nobr>{{ row.f_oughtfee_all }}</nobr>
473
- </td>
474
- <!-- <td style="text-align: center;">-->
475
- <!-- <nobr>{{ row.f_oughtfee_col }}</nobr>-->
476
- <!-- </td>-->
477
- <td style="text-align: center;">
478
- <nobr>{{ row.f_inputtor }}</nobr>
479
- </td>
480
- <td style="text-align: center;">
481
- <nobr>{{ row.f_book_name }}</nobr>
482
- </td>
483
- <td style="text-align: center;">
484
- <nobr>{{ row.f_dainputtores }}</nobr>
485
- </td>
486
- <td style="text-align: center;">
487
- <nobr>{{ row.f_user_type }}</nobr>
488
- </td>
489
- <td style="text-align: center;">
490
- <nobr>{{ row.f_gasproperties }}</nobr>
491
- </td>
492
- <td style="text-align: center;">
493
- <nobr>{{ row.f_cost_type }}</nobr>
494
- </td>
495
- <td style="text-align: center;">
496
- <nobr>{{ row.f_comments }}</nobr>
497
- </td>
498
- </template>
499
- <template partial='foot'></template>
500
- </data-grid>
501
- </criteria-paged>
502
- <table class="table-hover">
503
- <tr style="position: relative" class="table-bordered">
504
- <td
505
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
506
- 汇总信息
507
- </td>
508
- <td
509
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
510
- 用气量合计:&emsp;{{ sumsmodel.f_oughtamount }}
511
- </td>
512
- <td
513
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
514
- 用气金额合计:&emsp;{{ sumsmodel.f_oughtfee }}
515
- </td>
516
- <td
517
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
518
- 已交金额合计:&emsp;{{ sumsmodel.f_debt_money }}
519
- </td>
520
- <td
521
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
522
- 气费金额合计:&emsp;{{ sumsmodel.f_oughtfee_new }}
523
- </td>
524
- <td
525
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
526
- 违约金合计:&emsp;{{ sumsmodel.overdue }}
527
- </td>
528
- <td
529
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
530
- 附加费合计:&emsp;{{ sumsmodel.f_garbage_fee }}
531
- </td>
532
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
533
- <!-- 上期余额合计:&emsp;{{sumsmodel.f_balance}}-->
534
- <!-- </td>-->
535
- <td
536
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
537
- 合计欠费:&emsp;{{ sumsmodel.f_oughtfee_all }}
538
- </td>
539
- <td
540
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
541
- 实际欠费:&emsp;{{ sumsmodel.f_oughtfee_col }}
542
- </td>
543
- </tr>
544
- </table>
545
- </div>
546
- <div v-if="show">
547
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
548
- @cancel-main="cancel"></user-info-detail-manage-new>
549
- </div>
550
- </div>
551
- </div>
552
- </template>
553
-
554
- <script>
555
- import {HttpResetClass, PagedList} from 'vue-client'
556
- import exportConfig from '../config/exportConfig'
557
-
558
- let readySomething = async function (self) {
559
- self.$MagGetSaleParam.initinputtor();
560
- self.getinputtores();
561
- //加载抄表册
562
- self.initmeterbook();
563
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
564
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
565
-
566
- self.$refs.paged.$refs.cri.model.inputstartDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
567
- self.$refs.paged.$refs.cri.model.inputendDate = self.$login.toStandardDateString() + ' 23:59:59'
568
- // self.$refs.paged.$refs.cri.search()
569
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
570
- await self.$MagLoadParams.loadParam()
571
- self.initParams()
572
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
573
- }
574
- export default {
575
- title: '欠费查询',
576
- data() {
577
- return {
578
- config: {
579
- defaultPrint: ['f_userinfo_code', 'f_address']
580
- },
581
- other: [],
582
- footer: [],
583
- //f_price_name:[],
584
- gasproperties: [],
585
- showinfo: false,
586
- data: {},
587
- show: false,
588
- rowdata: {},
589
- initres: {
590
- org: [this.$login.f.orgid],
591
- dep: [],
592
- user: []
593
- },
594
- model: new PagedList('api/af-revenue/sql/arrearsQuery', 20, {
595
- startDate: 'this.model.inputstartDate',
596
- endDate: 'this.model.inputendDate',
597
- startDate1: 'this.model.startDate',
598
- endDate1: 'this.model.endDate'
599
- }, {
600
- f_oughtamount: 0,
601
- f_oughtfee: 0,
602
- f_debt_money: 0,
603
- f_oughtfee_new: 0,
604
- overdue: 0,
605
- f_garbage_fee: 0,
606
- f_oughtfee_all: 0
607
- }),
608
- criteriaShow: false,
609
- orgCondtionStr: '',
610
- // 下拉框
611
- meterbrands: [],
612
- pricenames: [],
613
- prices: [],
614
- area: [],
615
- //合计数据
616
- defaultfield: [],
617
- //小区
618
- residentialArea: [],
619
- sumsmodel: {},
620
- f_filialeid: this.$login.f.f_orgid,
621
- meterbooks: [{label: '全部', value: ''}], //抄表册
622
- inputtores: [{label: '全部', value: ''}],
623
- dainputtores: [{label: '全部', value: ''}],
624
- allorgid: [],
625
- tempfalg: false,
626
- lastorgstr: '',
627
- dypayment: [{label: "全部", value: ""}, {label: "银行代扣", value: "银行代扣",}, {
628
- label: "现金缴费",
629
- value: "现金缴费",
630
- }],
631
- }
632
- },
633
- ready() {
634
- this.hqdainputtores()
635
- this.getaddress()
636
- readySomething(this).then(() => {
637
- this.$emit('ready')
638
- }).catch((error) => {
639
- this.$emit('error', error)
640
- })
641
- },
642
- methods: {
643
-
644
- async hqdainputtores() {
645
- let param = {
646
- items: 'DISTINCT f_inputtor',
647
- tablename: 't_userfiles',
648
- condition: ` f_inputtor is NOT null`,
649
- }
650
- let getDainputtores = await new HttpResetClass().load("POST", 'api/af-revenue/sql/singleTableParam', {data: param}, {
651
- resolveMsg: null,
652
- rejectMsg: null
653
- });
654
- if (getDainputtores.data.length > 0) {
655
- let rs = [];
656
- getDainputtores.data.forEach((item) => {
657
- if (item.f_inputtor.length > 0) {
658
- let temp = {
659
- label: item.f_inputtor,
660
- value: item.f_inputtor
661
- };
662
- rs.push(temp);
663
- }
664
- })
665
- this.dainputtores = [{label: '全部', value: ''}, ...rs];
666
- } else {
667
- this.dainputtores = [{label: '全部', value: ''}];
668
- }
669
- },
670
- async inputtorchange() {
671
- let val = this.$refs.paged.$refs.cri.model.f_inputtor;
672
- if (val != null && val != "") {
673
- let param = {
674
- items: '*',
675
- tablename: 't_meter_book',
676
- condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
677
- orderitem: 'id'
678
-
679
- }
680
- let getMeterBooks = await this.$resetpost('api/af-revenue/sql/manage_singleTable', {data: param}, {
681
- resolveMsg: null,
682
- rejectMsg: '获取营收参数出错!!!'
683
- })
684
- if (getMeterBooks.data) {
685
- if (getMeterBooks.data.length > 0) {
686
- let rs = [];
687
- getMeterBooks.data.forEach((item) => {
688
- let temp = {
689
- label: item.f_book_name,
690
- value: item.id
691
- };
692
- rs.push(temp);
693
-
694
- })
695
- this.meterbooks = [{label: '全部', value: ''}, ...rs];
696
- this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id]);
697
- } else {
698
- this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
699
- this.meterbooks = [{label: '全部', value: ''}];
700
- }
701
- }
702
- } else {
703
- this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
704
- this.meterbooks = [{label: '全部', value: ''}];
705
- this.initmeterbook();
706
- }
707
- },
708
- async initmeterbook(orgstr) {
709
- if (orgstr == null) {
710
- orgstr = this.f_filialeid;
711
- }
712
- //获取新的抄表册,先去清理所有的抄表册
713
- this.$GetSaleParam.meterbooks = [];
714
- //开始加载新的抄表册
715
- await this.$LoadParams.loadMeterBook(orgstr)
716
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
717
- },
718
- getinputtores() {
719
- // 获取抄表员
720
- let rs = []
721
- if (this.$login.f.f_gasman.length > 0) {
722
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
723
- let temp = {
724
- label: this.$login.f.f_gasman[i].name,
725
- value: this.$login.f.f_gasman[i].name
726
- }
727
- rs.push(temp)
728
- }
729
- }
730
- return [{label: '全部', value: ''}, ...rs]
731
- },
732
- //加载抄表册
733
- loadMeterBooks() {
734
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
735
- },
736
- getotherfooter() {
737
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
738
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
739
- this.other = [];
740
- this.footer = [];
741
- let exportdata = this.getCondition;
742
- let otherInData = [];
743
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
744
- let footerData = [], exportfield = this.getfield;
745
- footerData.push("合计");
746
- let self = this;
747
- for (var field in self.sumsmodel) {
748
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
749
- }
750
- this.footer.push(footerData);
751
- this.other.push(otherInData);
752
- let date = []
753
- date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
754
- date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
755
- this.other.push(date)
756
- },
757
- async getaddress() {
758
- console.log('开始获取小区')
759
- let HttpReset = new HttpResetClass()
760
- var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
761
- data: {
762
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
763
- }
764
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
765
- console.log('小区', data)
766
- let house = [{label: '全部', value: ''}]
767
- for (let row of data.data) {
768
- console.log('开始保存小区')
769
- house.push({label: row.f_residential_area, value: row.f_residential_area})
770
- }
771
- this.residentialArea = house
772
- },
773
- //把数据库查询数据转换为下拉数据
774
- calculate(rows) {
775
- let data = []
776
- rows.forEach((row, n) => {
777
- data[n] = {label: row.f_residential_area, value: row.id}
778
- })
779
- return data
780
- },
781
-
782
- search() {
783
- this.$refs.paged.$refs.cri.search()
784
- },
785
- cancel() {
786
- this.show = false
787
- },
788
- showmsg(obj) {
789
- this.rowdata = obj
790
- this.show = true
791
- },
792
- userTypeChange() {
793
- this.gasproperties = []
794
- if (this.$refs.paged.$refs.cri.model !== null) {
795
- this.$refs.paged.$refs.cri.model.f_gasproperties = ''
796
-
797
- console.log("查看客户类型是什么", this.$refs.paged.$refs.cri.model.f_user_type[0])
798
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
799
- // this.gasproperties.push({label: '全部', value: ''})
800
- } else {
801
- this.gasproperties = [{label: '全部', value: ''}]
802
- }
803
- },
804
- initParams() {
805
- // 初始化气表品牌
806
- let brandArr = []
807
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
808
- let temp = {}
809
- temp.label = item.label
810
- temp.value = item.value.f_meter_brand
811
- brandArr.push(temp)
812
- })
813
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
814
- //初始化气表价格
815
- this.prices = this.$MagGetSaleParam.getPrices();
816
- },
817
- selfSearch(args) {
818
- console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
819
- if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
820
- this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
821
- } else if (this.$refs.paged.$refs.cri.model.inputstartDate === '' || this.$refs.paged.$refs.cri.model.inputendDate === '') {
822
- this.$showAlert('请先选择抄表开始时间、抄表结束时间,再进行查询操作!', 'warning', 3000)
823
- } else {
824
- //小区查询条件
825
- let f_orgstr = this.orgCondtionStr
826
- let str = '1=1 '
827
- if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
828
- str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
829
- }
830
- if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
831
- str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
832
- }
833
- args.condition = `${args.condition} ` + f_orgstr
834
- this.model.search(args.condition, args.model, str)
835
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
836
- }
837
- },
838
- clear() {
839
- //清空部门和人员
840
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
841
- //部门和人员变为全选
842
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
843
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
844
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
845
- this.$refs.paged.$refs.cri.model[key] = []
846
- })
847
-
848
- },
849
- dealmsg(val) {
850
- val.model = this.model.model
851
- this.$dispatch('deal-msg', val)
852
- },
853
- show() {
854
- this.criteriaShow = true
855
- },
856
- hidden() {
857
- this.criteriaShow = !this.criteriaShow
858
- },
859
- async getRes(condition, obj) {
860
- this.orgCondtionStr = condition
861
- this.orgname = obj.orgnames[0]
862
- this.depname = obj.depnames[0]
863
-
864
- },
865
- async updateParams() {
866
- await this.$MagLoadParams.loadParam(this.f_filialeid)
867
- this.inputtores = [];
868
- this.inputtores.push({label: "全部", value: ""})
869
- if (this.allorgid != null) {
870
- this.allorgid.forEach((res) => {
871
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
872
- })
873
- }
874
- this.initParams()
875
- },
876
- },
877
- events: {
878
- 'getidcard'(IdCard) {
879
- this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
880
- }
881
- },
882
- watch: {
883
- 'model'(val) {
884
- },
885
- async 'orgCondtionStr'(val) {
886
- this.$refs.paged.$refs.cri.model.f_book_slice_area = []
887
- this.$refs.paged.$refs.cri.model.f_meter_book = []
888
- this.meterbooks = [{label: '全部', value: ''}];
889
- if (this.lastorgstr != val) {
890
- this.tempfalg = true;
891
- this.lastorgstr = val;
892
- }
893
- if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
894
- this.tempfalg = false;
895
- let a = val.substring(val.indexOf("(") + 2)
896
- await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
897
- }
898
- let res = val.match(/'(.*?)'/)
899
- if (res) {
900
- this.f_filialeid = res[1]
901
- if (res.input != null) {
902
- let resorgid = res.input.substring(res.input.indexOf("'"));
903
- if (resorgid != null && resorgid != '') {
904
- resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
905
- // resorgid = resorgid.replaceAll("'","");
906
- resorgid = resorgid.replace(/'/g, "");
907
- this.allorgid = resorgid.split(",")
908
- }
909
- }
910
- this.updateParams()
911
- }
912
- },
913
- sumsmodel: {
914
- handler: function (val) {
915
- this.getotherfooter();
916
- },
917
- deep: true
918
- }
919
- },
920
- computed: {
921
- pricetypes() {
922
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
923
- },
924
-
925
- getPricenames() {
926
- let f_user_type = this.$refs.paged.model.model.f_user_type;
927
- let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
928
- let pricetype = this.$refs.paged.model.model.pricetype;
929
- if (this.$refs.paged.model.model !== null) {
930
- let rs = []
931
- let priceArr = []
932
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length > 0) {
933
- let params = {
934
- f_user_type: f_user_type[0],
935
- f_gasproperties: f_gasproperties[0],
936
- f_price_type: pricetype[0],
937
- filter: this.f_filialeid,
938
- prices: this.prices
939
- }
940
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
941
- let temp = {}
942
- temp.label = item.label
943
- temp.value = item.value.f_price_name
944
- priceArr.push(temp)
945
- })
946
- rs = [{label: '全部', value: ''}, ...priceArr]
947
- }
948
- if (rs.length === 0) {
949
- this.$refs.paged.model.model.f_price_name = ''
950
- }
951
- return rs
952
- }
953
- },
954
- getCondition() {
955
- return {
956
- startDate: this.$refs.paged.$refs.cri.model.inputstartDate,
957
- endDate: this.$refs.paged.$refs.cri.model.inputendDate,
958
- startDate1: this.$refs.paged.$refs.cri.model.startDate,
959
- endDate1: this.$refs.paged.$refs.cri.model.endDate,
960
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
961
- condValue: `${this.model.condValue}`
962
- }
963
- },
964
- getfield() {
965
- return exportConfig.arrearsConfig
966
- },
967
- usertypes() {
968
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
969
- },
970
- metertypes() {
971
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
972
- },
973
- chargetype() {
974
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
975
- }
976
- }
977
- }
978
- </script>
979
- <style lang="less">
980
- .color-red {
981
- color: red;
982
- }
983
- </style>
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 color-red" style="color: red;"
12
+ title="归属日期">开始日期</label>
13
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
14
+ v-model="model.startDate"
15
+ :value.sync="model.startDate"
16
+ :format="'yyyy-MM-dd HH:mm:ss'"
17
+ :show-reset-button="true"
18
+ >
19
+ </datepicker>
20
+ </div>
21
+ <div class="col-sm-2 form-group">
22
+ <label for="endDate" class="font_normal_body color-red" style="color: red;"
23
+ title="归属日期">结束日期</label>
24
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
25
+ v-model="model.endDate"
26
+ :value.sync="model.endDate"
27
+ :format="'yyyy-MM-dd HH:mm:ss'"
28
+ :show-reset-button="true"
29
+ >
30
+ </datepicker>
31
+ </div>
32
+ <div class="col-sm-2 form-group">
33
+ <label class="font_normal_body">客户编号</label>
34
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
35
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
36
+ </div>
37
+ <div class="col-sm-2 form-group">
38
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
39
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
40
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
41
+ </div>
42
+
43
+ <div class="span" style="float:right;">
44
+ <button class="button_search button_spacing" @click="search()">查询</button>
45
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
46
+
47
+ <export-excel :data="$parent.$parent.getCondition"
48
+ :field="$parent.$parent.getfield"
49
+ :footer="$parent.$parent.footer"
50
+ :header="$parent.$parent.other"
51
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
52
+ sql-name="arrearsQuery"
53
+ template-name='用户欠费查询导出'
54
+ :choose-col="true"></export-excel>
55
+
56
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
57
+ :field="$parent.$parent.getfield"
58
+ :defaultfield="$parent.$parent.defaultfield"
59
+ titletable="用户欠费查询导出"
60
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
61
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
62
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
63
+
64
+ </div>
65
+ </div>
66
+
67
+ <div class="row" v-show="$parent.$parent.criteriaShow">
68
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
69
+ v-ref:sel></res-select-group>
70
+
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">客户名称</label>
73
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
74
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
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_book_no"
79
+ condition="f_book_no = '{}'" 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_meter_book_sort"
84
+ condition="f_meter_book_sort = '{}'" placeholder="册内序号">
85
+ </div>
86
+ <div class="col-sm-2 form-group">
87
+
88
+ <label for="inputstartDate" class="font_normal_body color-red" style="color: red;">抄表日期</label>
89
+ <datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
90
+ v-model="model.inputstartDate"
91
+ :value.sync="model.inputstartDate"
92
+ :format="'yyyy-MM-dd 00:00:00'"
93
+ :show-reset-button="true"
94
+ >
95
+ </datepicker>
96
+ </div>
97
+ <div class="col-sm-2 form-group">
98
+ <label for="inputendDate" class="font_normal_body color-red" style="color: red;">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
99
+ <datepicker id="inputendDate" placeholder="结束日期" style="width:60%"
100
+ v-model="model.inputendDate"
101
+ :value.sync="model.inputendDate"
102
+ :format="'yyyy-MM-dd 23:59:59'"
103
+ :show-reset-button="true"
104
+ >
105
+ </datepicker>
106
+ </div>
107
+
108
+
109
+ <!--<div class="col-sm-2 form-group">-->
110
+ <!--<label class="font_normal_body">收费编号</label>-->
111
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
112
+ <!--condition="id = '{}'" placeholder="收费编号">-->
113
+ <!--</div>-->
114
+ <div class="col-sm-2 form-group">
115
+ <label class="font_normal_body">客户电话</label>
116
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
117
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
118
+ </div>
119
+ <!--<div class="col-sm-2 form-group">-->
120
+ <!--<label class="font_normal_body">身份证号</label>-->
121
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
122
+ <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
123
+ <!--</div>-->
124
+ <div class="col-sm-2 form-group">
125
+ <label class="font_normal_body">客户地址</label>
126
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
127
+ condition="f_address like '%{}%'" placeholder='客户地址'>
128
+ </div>
129
+ <div class="col-sm-2 form-group">
130
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
131
+ <v-select :value.sync="model.f_residential_area"
132
+ class="select_list select"
133
+ enter-push
134
+ multiple
135
+ condition="f_residential_area in {}"
136
+ v-model="model.f_residential_area"
137
+ style="width: 60%"
138
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
139
+ close-on-select>
140
+
141
+ </v-select>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">缴费类型</label>
145
+ <v-select :value.sync="model.f_payment" multiple
146
+ v-model="model.f_payment"
147
+ :options='$parent.$parent.dypayment' placeholder='请选择'
148
+ condition="f_cost_type in {}"
149
+ close-on-select></v-select>
150
+ </div>
151
+ <!--<div class="col-sm-2 form-group">-->
152
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
153
+ <!--<v-select :value.sync="model.f_payment" multiple-->
154
+ <!--v-model="model.f_payment"-->
155
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
156
+ <!--condition="f_payment in {}"-->
157
+ <!--close-on-select></v-select>-->
158
+ <!--</div>-->
159
+ <!--<div class="col-sm-2 form-group">-->
160
+ <!--<label class="font_normal_body">收费类型</label>-->
161
+ <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
162
+ <!--v-model="model.f_type"-->
163
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
164
+ <!--condition="f_type = '{}'"-->
165
+ <!--close-on-select></v-select>&ndash;&gt;-->
166
+ <!--<v-select :value.sync="model.f_type" multiple-->
167
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
168
+ <!--close-on-select clear-button-->
169
+ <!--condition="f_type in {}"-->
170
+ <!--v-model="model.f_type"></v-select>-->
171
+ <!--</div>-->
172
+ <div class="col-sm-2 form-group">
173
+ <label class="font_normal_body">客户类型</label>
174
+ <v-select :value.sync="model.f_user_type"
175
+ @change="$parent.$parent.userTypeChange()"
176
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
177
+ condition="f_user_type = '{}'"
178
+ close-on-select></v-select>
179
+ </div>
180
+ <div class="col-sm-2 form-group">
181
+ <label class="font_normal_body">气表类型</label>
182
+ <v-select :value.sync="model.f_meter_type" multiple
183
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
184
+ condition="f_meter_type in {}"
185
+ close-on-select></v-select>
186
+ </div>
187
+ <div class="col-sm-2 form-group">
188
+ <label class="font_normal_body">用气性质</label>
189
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
190
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
191
+ condition="f_gasproperties = '{}'"
192
+ close-on-select></v-select>
193
+ </div>
194
+ <div class="col-sm-2 form-group">
195
+ <label class="font_normal_body">气价类型</label>
196
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
197
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
198
+ close-on-select v-ref:type>
199
+ </v-select>
200
+ </div>
201
+ <div class="col-sm-2 form-group">
202
+ <label class="font_normal_body">气价名称</label>
203
+ <v-select :value.sync="model.f_price_name"
204
+ v-model="model.f_price_name"
205
+ :options="$parent.$parent.getPricenames"
206
+ condition="f_price_name = '{}'"
207
+ close-on-select></v-select>
208
+ </div>
209
+ <div class="col-sm-2 form-group">
210
+ <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
211
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
212
+ condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
213
+ </div>
214
+ <div class="col-sm-2 form-group">
215
+ <label class="font_normal_body" title="气费金额大于">气费金额</label>
216
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
217
+ condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
221
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
222
+ condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
223
+ </div>
224
+ <div class="col-sm-2 form-group">
225
+ <label class="font_normal_body">欠费期数</label>
226
+ <input type="text" style="width:60%" class="input_search" v-model="model.c"
227
+ condition="c > '{}'" placeholder='欠费期数大于'>
228
+ </div>
229
+ <div class="col-sm-2 form-group">
230
+ <label class="font_normal_body">抄&nbsp;&nbsp;表&nbsp;员</label>
231
+ <v-select :value.sync="model.f_inputtor"
232
+ v-model="model.f_inputtor"
233
+ :options='$parent.$parent.inputtores' placeholder='请选择'
234
+ condition="f_inputtor = '{}'"
235
+ @change="$parent.$parent.inputtorchange"
236
+ close-on-select :search="false">
237
+ </v-select>
238
+ </div>
239
+ <div class="col-sm-2 form-group">
240
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
241
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
242
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
243
+ style="width:60%"
244
+ close-on-select
245
+ condition="f_meter_book_num = '{}'"></v-select>
246
+ </div>
247
+ <div class="col-sm-2 form-group">
248
+ <label class="font_normal_body">档案抄表员</label>
249
+ <v-select :value.sync="model.f_dainputtores"
250
+ v-model="model.f_dainputtores"
251
+ :options='$parent.$parent.dainputtores' placeholder='请选择'
252
+ condition="f_dainputtores = '{}'"
253
+ close-on-select>
254
+ </v-select>
255
+ </div>
256
+ <!--<div class="col-sm-2 form-group">-->
257
+ <!--<label class="font_normal_body">气价类型</label>-->
258
+ <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
259
+ <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
260
+ <!--close-on-select v-ref:type>-->
261
+ <!--</v-select>-->
262
+ <!--</div>-->
263
+ <!--<div class="col-sm-2 form-group">-->
264
+ <!--<label class="font_normal_body">气价名称</label>-->
265
+ <!--<v-select :value.sync="model.f_price_name"-->
266
+ <!--v-model="model.f_price_name"-->
267
+ <!--:options="$parent.$parent.getPricenames"-->
268
+ <!--condition="f_price_name = '{}'"-->
269
+ <!--close-on-select></v-select>-->
270
+ <!--</div>-->
271
+ <!--<div class="col-sm-2 form-group">-->
272
+ <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
273
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
274
+ <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
275
+ <!--</div>-->
276
+ </div>
277
+ </div>
278
+ </criteria>
279
+
280
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
281
+ <template partial='head'>
282
+ <tr>
283
+ <th>
284
+ <nobr>序号</nobr>
285
+ </th>
286
+ <th>
287
+ <nobr>客户编号</nobr>
288
+ </th>
289
+ <th>
290
+ <nobr>客户姓名</nobr>
291
+ </th>
292
+ <th>
293
+ <nobr>档案编号</nobr>
294
+ </th>
295
+ <th>
296
+ <nobr>用户证号</nobr>
297
+ </th>
298
+ <th>
299
+ <nobr>身份证号</nobr>
300
+ </th>
301
+ <th>
302
+ <nobr>册内序号</nobr>
303
+ </th>
304
+ <th>
305
+ <nobr>小区名称</nobr>
306
+ </th>
307
+ <th>
308
+ <nobr>地址</nobr>
309
+ </th>
310
+ <th>
311
+ <nobr>客户电话</nobr>
312
+ </th>
313
+ <th>
314
+ <nobr>表号</nobr>
315
+ </th>
316
+ <th>
317
+ <nobr>备用电话</nobr>
318
+ </th>
319
+ <th>
320
+ <nobr>气表类型</nobr>
321
+ </th>
322
+
323
+ <th>
324
+ <nobr>欠费期数</nobr>
325
+ </th>
326
+ <th>
327
+ <nobr>欠费区间</nobr>
328
+ </th>
329
+ <th>
330
+ <nobr>上期抄表底数</nobr>
331
+ </th>
332
+ <th>
333
+ <nobr>本期抄表底数</nobr>
334
+ </th>
335
+ <th>
336
+ <nobr>用气量</nobr>
337
+ </th>
338
+ <th>
339
+ <nobr>用气金额</nobr>
340
+ </th>
341
+ <!-- <th>-->
342
+ <!-- <nobr>缴费时间</nobr>-->
343
+ <!-- </th>-->
344
+ <th>
345
+ <nobr>已交金额</nobr>
346
+ </th>
347
+ <!--<th>-->
348
+ <!--<nobr>回收率</nobr>-->
349
+ <!--</th>-->
350
+ <th>
351
+ <nobr>应交气费</nobr>
352
+ </th>
353
+ <th>
354
+ <nobr>违约金</nobr>
355
+ </th>
356
+ <th>
357
+ <nobr>附加费</nobr>
358
+ </th>
359
+ <!-- <th>-->
360
+ <!-- <nobr>上期余额</nobr>-->
361
+ <!-- </th>-->
362
+ <th>
363
+ <nobr>合计欠费</nobr>
364
+ </th>
365
+ <!-- <th title="实际欠费=合计欠费-上期结余">-->
366
+ <!-- <nobr>实际欠费</nobr>-->
367
+ <!-- </th>-->
368
+ <th>
369
+ <nobr>抄表员</nobr>
370
+ </th>
371
+ <th>
372
+ <nobr>抄表册</nobr>
373
+ </th>
374
+ <th>
375
+ <nobr>档案抄表员</nobr>
376
+ </th>
377
+ <th>
378
+ <nobr>客户类型</nobr>
379
+ </th>
380
+ <th>
381
+ <nobr>缴费类型</nobr>
382
+ </th>
383
+ <th>
384
+ <nobr>用气性质</nobr>
385
+ </th>
386
+ <th>
387
+ <nobr>备&nbsp;&nbsp;&nbsp;&nbsp;注</nobr>
388
+ </th>
389
+ </tr>
390
+ </template>
391
+ <template partial='body'>
392
+ <td style="text-align:center">
393
+ <nobr>{{ $index + 1 }}</nobr>
394
+ </td>
395
+ <td style="text-align: center;">
396
+ <nobr>{{ row.f_userinfo_code }}</nobr>
397
+ </td>
398
+ <td style="text-align: center;">
399
+ <nobr>{{ row.f_user_name }}</nobr>
400
+ </td>
401
+ <td style="text-align: center;">
402
+ <nobr>{{ row.f_olduserinfo_code }}</nobr>
403
+ </td>
404
+ <td style="text-align: center;">
405
+ <nobr>{{ row.f_book_no }}</nobr>
406
+ </td>
407
+ <td style="text-align: center;">
408
+ <nobr>{{ row.f_idnumber }}</nobr>
409
+ </td>
410
+ <td style="text-align: center;">
411
+ <nobr>{{ row.f_meter_book_sort }}</nobr>
412
+ </td>
413
+ <td style="text-align: center;">
414
+ <nobr>{{ row.f_residential_area }}</nobr>
415
+ </td>
416
+ <td style="text-align: center;">
417
+ <nobr>{{ row.f_address }}</nobr>
418
+ </td>
419
+ <td style="text-align: center;">
420
+ <nobr>{{ row.f_user_phone }}</nobr>
421
+ </td>
422
+ <td style="text-align: center;">
423
+ <nobr>{{ row.f_meternumber }}</nobr>
424
+ </td>
425
+ <td style="text-align: center;">
426
+ <nobr>{{ row.f_rent_phone }}</nobr>
427
+ </td>
428
+ <td style="text-align: center;">
429
+ <nobr>{{ row.f_meter_classify }}</nobr>
430
+ </td>
431
+
432
+ <td style="text-align: center;">
433
+ <nobr>{{ row.c }}</nobr>
434
+ </td>
435
+ <td style="text-align: center;">
436
+ <nobr>{{ row.f_hand_date }}</nobr>
437
+ </td>
438
+ <td style="text-align: center;">
439
+ <nobr>{{ row.f_last_tablebase }}</nobr>
440
+ </td>
441
+ <td style="text-align: center;">
442
+ <nobr>{{ row.f_tablebase }}</nobr>
443
+ </td>
444
+ <td style="text-align: center;">
445
+ <nobr>{{ row.f_oughtamount }}</nobr>
446
+ </td>
447
+ <td style="text-align: center;">
448
+ <nobr>{{ row.f_oughtfee }}</nobr>
449
+ </td>
450
+ <!-- <td style="text-align: center;">-->
451
+ <!-- <nobr>{{row.f_operate_date}}</nobr>-->
452
+ <!-- </td>-->
453
+ <td style="text-align: center;">
454
+ <nobr>{{ row.f_debt_money }}</nobr>
455
+ </td>
456
+ <!--<td style="text-align: center;">-->
457
+ <!--<nobr>{{row.f_hand_bv}}</nobr>-->
458
+ <!--</td>-->
459
+ <td style="text-align: center;">
460
+ <nobr>{{ row.f_oughtfee_new }}</nobr>
461
+ </td>
462
+ <td style="text-align: center;">
463
+ <nobr>{{ row.overdue }}</nobr>
464
+ </td>
465
+ <td style="text-align: center;">
466
+ <nobr>{{ row.f_garbage_fee }}</nobr>
467
+ </td>
468
+ <!-- <td style="text-align: center;">-->
469
+ <!-- <nobr>{{row.f_balance}}</nobr>-->
470
+ <!-- </td>-->
471
+ <td style="text-align: center;">
472
+ <nobr>{{ row.f_oughtfee_all }}</nobr>
473
+ </td>
474
+ <!-- <td style="text-align: center;">-->
475
+ <!-- <nobr>{{ row.f_oughtfee_col }}</nobr>-->
476
+ <!-- </td>-->
477
+ <td style="text-align: center;">
478
+ <nobr>{{ row.f_inputtor }}</nobr>
479
+ </td>
480
+ <td style="text-align: center;">
481
+ <nobr>{{ row.f_book_name }}</nobr>
482
+ </td>
483
+ <td style="text-align: center;">
484
+ <nobr>{{ row.f_dainputtores }}</nobr>
485
+ </td>
486
+ <td style="text-align: center;">
487
+ <nobr>{{ row.f_user_type }}</nobr>
488
+ </td>
489
+ <td style="text-align: center;">
490
+ <nobr>{{ row.f_gasproperties }}</nobr>
491
+ </td>
492
+ <td style="text-align: center;">
493
+ <nobr>{{ row.f_cost_type }}</nobr>
494
+ </td>
495
+ <td style="text-align: center;">
496
+ <nobr>{{ row.f_comments }}</nobr>
497
+ </td>
498
+ </template>
499
+ <template partial='foot'></template>
500
+ </data-grid>
501
+ </criteria-paged>
502
+ <table class="table-hover">
503
+ <tr style="position: relative" class="table-bordered">
504
+ <td
505
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
506
+ 汇总信息
507
+ </td>
508
+ <td
509
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
510
+ 用气量合计:&emsp;{{ sumsmodel.f_oughtamount }}
511
+ </td>
512
+ <td
513
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
514
+ 用气金额合计:&emsp;{{ sumsmodel.f_oughtfee }}
515
+ </td>
516
+ <td
517
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
518
+ 已交金额合计:&emsp;{{ sumsmodel.f_debt_money }}
519
+ </td>
520
+ <td
521
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
522
+ 气费金额合计:&emsp;{{ sumsmodel.f_oughtfee_new }}
523
+ </td>
524
+ <td
525
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
526
+ 违约金合计:&emsp;{{ sumsmodel.overdue }}
527
+ </td>
528
+ <td
529
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
530
+ 附加费合计:&emsp;{{ sumsmodel.f_garbage_fee }}
531
+ </td>
532
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
533
+ <!-- 上期余额合计:&emsp;{{sumsmodel.f_balance}}-->
534
+ <!-- </td>-->
535
+ <td
536
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
537
+ 合计欠费:&emsp;{{ sumsmodel.f_oughtfee_all }}
538
+ </td>
539
+ <td
540
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
541
+ 实际欠费:&emsp;{{ sumsmodel.f_oughtfee_col }}
542
+ </td>
543
+ </tr>
544
+ </table>
545
+ </div>
546
+ <div v-if="show">
547
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
548
+ @cancel-main="cancel"></user-info-detail-manage-new>
549
+ </div>
550
+ </div>
551
+ </div>
552
+ </template>
553
+
554
+ <script>
555
+ import {HttpResetClass, PagedList} from 'vue-client'
556
+ import exportConfig from '../config/exportConfig'
557
+
558
+ let readySomething = async function (self) {
559
+ self.$MagGetSaleParam.initinputtor();
560
+ self.getinputtores();
561
+ //加载抄表册
562
+ self.initmeterbook();
563
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
564
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
565
+
566
+ self.$refs.paged.$refs.cri.model.inputstartDate = self.$login.toStartAndEndDateString()[0] + ' 00:00:00'
567
+ self.$refs.paged.$refs.cri.model.inputendDate = self.$login.toStandardDateString() + ' 23:59:59'
568
+ // self.$refs.paged.$refs.cri.search()
569
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
570
+ await self.$MagLoadParams.loadParam()
571
+ self.initParams()
572
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
573
+ }
574
+ export default {
575
+ title: '欠费查询',
576
+ data() {
577
+ return {
578
+ config: {
579
+ defaultPrint: ['f_userinfo_code', 'f_address']
580
+ },
581
+ other: [],
582
+ footer: [],
583
+ //f_price_name:[],
584
+ gasproperties: [],
585
+ showinfo: false,
586
+ data: {},
587
+ show: false,
588
+ rowdata: {},
589
+ initres: {
590
+ org: [this.$login.f.orgid],
591
+ dep: [],
592
+ user: []
593
+ },
594
+ model: new PagedList('api/af-revenue/sql/arrearsQuery', 20, {
595
+ startDate: 'this.model.inputstartDate',
596
+ endDate: 'this.model.inputendDate',
597
+ startDate1: 'this.model.startDate',
598
+ endDate1: 'this.model.endDate'
599
+ }, {
600
+ f_oughtamount: 0,
601
+ f_oughtfee: 0,
602
+ f_debt_money: 0,
603
+ f_oughtfee_new: 0,
604
+ overdue: 0,
605
+ f_garbage_fee: 0,
606
+ f_oughtfee_all: 0
607
+ }),
608
+ criteriaShow: false,
609
+ orgCondtionStr: '',
610
+ // 下拉框
611
+ meterbrands: [],
612
+ pricenames: [],
613
+ prices: [],
614
+ area: [],
615
+ //合计数据
616
+ defaultfield: [],
617
+ //小区
618
+ residentialArea: [],
619
+ sumsmodel: {},
620
+ f_filialeid: this.$login.f.f_orgid,
621
+ meterbooks: [{label: '全部', value: ''}], //抄表册
622
+ inputtores: [{label: '全部', value: ''}],
623
+ dainputtores: [{label: '全部', value: ''}],
624
+ allorgid: [],
625
+ tempfalg: false,
626
+ lastorgstr: '',
627
+ dypayment: [{label: "全部", value: ""}, {label: "银行代扣", value: "银行代扣",}, {
628
+ label: "现金缴费",
629
+ value: "现金缴费",
630
+ }],
631
+ }
632
+ },
633
+ ready() {
634
+ this.hqdainputtores()
635
+ this.getaddress()
636
+ readySomething(this).then(() => {
637
+ this.$emit('ready')
638
+ }).catch((error) => {
639
+ this.$emit('error', error)
640
+ })
641
+ },
642
+ methods: {
643
+
644
+ async hqdainputtores() {
645
+ let param = {
646
+ items: 'DISTINCT f_inputtor',
647
+ tablename: 't_userfiles',
648
+ condition: ` f_inputtor is NOT null`,
649
+ }
650
+ let getDainputtores = await new HttpResetClass().load("POST", 'api/af-revenue/sql/singleTableParam', {data: param}, {
651
+ resolveMsg: null,
652
+ rejectMsg: null
653
+ });
654
+ if (getDainputtores.data.length > 0) {
655
+ let rs = [];
656
+ getDainputtores.data.forEach((item) => {
657
+ if (item.f_inputtor.length > 0) {
658
+ let temp = {
659
+ label: item.f_inputtor,
660
+ value: item.f_inputtor
661
+ };
662
+ rs.push(temp);
663
+ }
664
+ })
665
+ this.dainputtores = [{label: '全部', value: ''}, ...rs];
666
+ } else {
667
+ this.dainputtores = [{label: '全部', value: ''}];
668
+ }
669
+ },
670
+ async inputtorchange() {
671
+ let val = this.$refs.paged.$refs.cri.model.f_inputtor;
672
+ if (val != null && val != "") {
673
+ let param = {
674
+ items: '*',
675
+ tablename: 't_meter_book',
676
+ condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
677
+ orderitem: 'id'
678
+
679
+ }
680
+ let getMeterBooks = await this.$resetpost('api/af-revenue/sql/manage_singleTable', {data: param}, {
681
+ resolveMsg: null,
682
+ rejectMsg: '获取营收参数出错!!!'
683
+ })
684
+ if (getMeterBooks.data) {
685
+ if (getMeterBooks.data.length > 0) {
686
+ let rs = [];
687
+ getMeterBooks.data.forEach((item) => {
688
+ let temp = {
689
+ label: item.f_book_name,
690
+ value: item.id
691
+ };
692
+ rs.push(temp);
693
+
694
+ })
695
+ this.meterbooks = [{label: '全部', value: ''}, ...rs];
696
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id]);
697
+ } else {
698
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
699
+ this.meterbooks = [{label: '全部', value: ''}];
700
+ }
701
+ }
702
+ } else {
703
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book', '');
704
+ this.meterbooks = [{label: '全部', value: ''}];
705
+ this.initmeterbook();
706
+ }
707
+ },
708
+ async initmeterbook(orgstr) {
709
+ if (orgstr == null) {
710
+ orgstr = this.f_filialeid;
711
+ }
712
+ //获取新的抄表册,先去清理所有的抄表册
713
+ this.$GetSaleParam.meterbooks = [];
714
+ //开始加载新的抄表册
715
+ await this.$LoadParams.loadMeterBook(orgstr)
716
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
717
+ },
718
+ getinputtores() {
719
+ // 获取抄表员
720
+ let rs = []
721
+ if (this.$login.f.f_gasman.length > 0) {
722
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
723
+ let temp = {
724
+ label: this.$login.f.f_gasman[i].name,
725
+ value: this.$login.f.f_gasman[i].name
726
+ }
727
+ rs.push(temp)
728
+ }
729
+ }
730
+ return [{label: '全部', value: ''}, ...rs]
731
+ },
732
+ //加载抄表册
733
+ loadMeterBooks() {
734
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
735
+ },
736
+ getotherfooter() {
737
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
738
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
739
+ this.other = [];
740
+ this.footer = [];
741
+ let exportdata = this.getCondition;
742
+ let otherInData = [];
743
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
744
+ let footerData = [], exportfield = this.getfield;
745
+ footerData.push("合计");
746
+ let self = this;
747
+ for (var field in self.sumsmodel) {
748
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
749
+ }
750
+ this.footer.push(footerData);
751
+ this.other.push(otherInData);
752
+ let date = []
753
+ date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
754
+ date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
755
+ this.other.push(date)
756
+ },
757
+ async getaddress() {
758
+ console.log('开始获取小区')
759
+ let HttpReset = new HttpResetClass()
760
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
761
+ data: {
762
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
763
+ }
764
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
765
+ console.log('小区', data)
766
+ let house = [{label: '全部', value: ''}]
767
+ for (let row of data.data) {
768
+ console.log('开始保存小区')
769
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
770
+ }
771
+ this.residentialArea = house
772
+ },
773
+ //把数据库查询数据转换为下拉数据
774
+ calculate(rows) {
775
+ let data = []
776
+ rows.forEach((row, n) => {
777
+ data[n] = {label: row.f_residential_area, value: row.id}
778
+ })
779
+ return data
780
+ },
781
+
782
+ search() {
783
+ this.$refs.paged.$refs.cri.search()
784
+ },
785
+ cancel() {
786
+ this.show = false
787
+ },
788
+ showmsg(obj) {
789
+ this.rowdata = obj
790
+ this.show = true
791
+ },
792
+ userTypeChange() {
793
+ this.gasproperties = []
794
+ if (this.$refs.paged.$refs.cri.model !== null) {
795
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
796
+
797
+ console.log("查看客户类型是什么", this.$refs.paged.$refs.cri.model.f_user_type[0])
798
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
799
+ // this.gasproperties.push({label: '全部', value: ''})
800
+ } else {
801
+ this.gasproperties = [{label: '全部', value: ''}]
802
+ }
803
+ },
804
+ initParams() {
805
+ // 初始化气表品牌
806
+ let brandArr = []
807
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
808
+ let temp = {}
809
+ temp.label = item.label
810
+ temp.value = item.value.f_meter_brand
811
+ brandArr.push(temp)
812
+ })
813
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
814
+ //初始化气表价格
815
+ this.prices = this.$MagGetSaleParam.getPrices();
816
+ },
817
+ selfSearch(args) {
818
+ console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
819
+ if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
820
+ this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
821
+ } else if (this.$refs.paged.$refs.cri.model.inputstartDate === '' || this.$refs.paged.$refs.cri.model.inputendDate === '') {
822
+ this.$showAlert('请先选择抄表开始时间、抄表结束时间,再进行查询操作!', 'warning', 3000)
823
+ } else {
824
+ //小区查询条件
825
+ let f_orgstr = this.orgCondtionStr
826
+ let str = '1=1 '
827
+ if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
828
+ str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
829
+ }
830
+ if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
831
+ str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
832
+ }
833
+ args.condition = `${args.condition} ` + f_orgstr
834
+ this.model.search(args.condition, args.model, str)
835
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
836
+ }
837
+ },
838
+ clear() {
839
+ //清空部门和人员
840
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
841
+ //部门和人员变为全选
842
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
843
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
844
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
845
+ this.$refs.paged.$refs.cri.model[key] = []
846
+ })
847
+
848
+ },
849
+ dealmsg(val) {
850
+ val.model = this.model.model
851
+ this.$dispatch('deal-msg', val)
852
+ },
853
+ show() {
854
+ this.criteriaShow = true
855
+ },
856
+ hidden() {
857
+ this.criteriaShow = !this.criteriaShow
858
+ },
859
+ async getRes(condition, obj) {
860
+ this.orgCondtionStr = condition
861
+ this.orgname = obj.orgnames[0]
862
+ this.depname = obj.depnames[0]
863
+
864
+ },
865
+ async updateParams() {
866
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
867
+ this.inputtores = [];
868
+ this.inputtores.push({label: "全部", value: ""})
869
+ if (this.allorgid != null) {
870
+ this.allorgid.forEach((res) => {
871
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
872
+ })
873
+ }
874
+ this.initParams()
875
+ },
876
+ },
877
+ events: {
878
+ 'getidcard'(IdCard) {
879
+ this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
880
+ }
881
+ },
882
+ watch: {
883
+ 'model'(val) {
884
+ },
885
+ async 'orgCondtionStr'(val) {
886
+ this.$refs.paged.$refs.cri.model.f_book_slice_area = []
887
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
888
+ this.meterbooks = [{label: '全部', value: ''}];
889
+ if (this.lastorgstr != val) {
890
+ this.tempfalg = true;
891
+ this.lastorgstr = val;
892
+ }
893
+ if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
894
+ this.tempfalg = false;
895
+ let a = val.substring(val.indexOf("(") + 2)
896
+ await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
897
+ }
898
+ let res = val.match(/'(.*?)'/)
899
+ if (res) {
900
+ this.f_filialeid = res[1]
901
+ if (res.input != null) {
902
+ let resorgid = res.input.substring(res.input.indexOf("'"));
903
+ if (resorgid != null && resorgid != '') {
904
+ resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
905
+ // resorgid = resorgid.replaceAll("'","");
906
+ resorgid = resorgid.replace(/'/g, "");
907
+ this.allorgid = resorgid.split(",")
908
+ }
909
+ }
910
+ this.updateParams()
911
+ }
912
+ },
913
+ sumsmodel: {
914
+ handler: function (val) {
915
+ this.getotherfooter();
916
+ },
917
+ deep: true
918
+ }
919
+ },
920
+ computed: {
921
+ pricetypes() {
922
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
923
+ },
924
+
925
+ getPricenames() {
926
+ let f_user_type = this.$refs.paged.model.model.f_user_type;
927
+ let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
928
+ let pricetype = this.$refs.paged.model.model.pricetype;
929
+ if (this.$refs.paged.model.model !== null) {
930
+ let rs = []
931
+ let priceArr = []
932
+ if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length > 0) {
933
+ let params = {
934
+ f_user_type: f_user_type[0],
935
+ f_gasproperties: f_gasproperties[0],
936
+ f_price_type: pricetype[0],
937
+ filter: this.f_filialeid,
938
+ prices: this.prices
939
+ }
940
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
941
+ let temp = {}
942
+ temp.label = item.label
943
+ temp.value = item.value.f_price_name
944
+ priceArr.push(temp)
945
+ })
946
+ rs = [{label: '全部', value: ''}, ...priceArr]
947
+ }
948
+ if (rs.length === 0) {
949
+ this.$refs.paged.model.model.f_price_name = ''
950
+ }
951
+ return rs
952
+ }
953
+ },
954
+ getCondition() {
955
+ return {
956
+ startDate: this.$refs.paged.$refs.cri.model.inputstartDate,
957
+ endDate: this.$refs.paged.$refs.cri.model.inputendDate,
958
+ startDate1: this.$refs.paged.$refs.cri.model.startDate,
959
+ endDate1: this.$refs.paged.$refs.cri.model.endDate,
960
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
961
+ condValue: `${this.model.condValue}`
962
+ }
963
+ },
964
+ getfield() {
965
+ return exportConfig.arrearsConfig
966
+ },
967
+ usertypes() {
968
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
969
+ },
970
+ metertypes() {
971
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
972
+ },
973
+ chargetype() {
974
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
975
+ }
976
+ }
977
+ }
978
+ </script>
979
+ <style lang="less">
980
+ .color-red {
981
+ color: red;
982
+ }
983
+ </style>