manage-client 3.3.232 → 3.3.233

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 (207) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/7.4/gc.properties +0 -0
  8. package/build/dev-server.js +190 -190
  9. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  10. package/gradlew +234 -234
  11. package/gradlew.bat +89 -89
  12. package/hs_err_pid13052.log +206 -206
  13. package/package.json +111 -111
  14. package/src/components/SellReport/BusinessClassify.vue +292 -292
  15. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  16. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  17. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -208
  18. package/src/components/SellReport/ManageSellType.vue +267 -267
  19. package/src/components/SellReport/ReportItems.vue +312 -312
  20. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  21. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  22. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  23. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  24. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  25. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  26. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  27. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  28. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  29. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  30. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  31. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  32. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  33. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  34. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  35. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  36. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  37. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  38. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  39. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  40. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  41. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  42. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  43. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  44. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  45. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  46. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  47. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  48. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  49. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  50. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  51. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  52. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  53. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  54. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  55. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  56. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  57. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  58. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  59. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  60. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  61. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  62. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  63. package/src/components/sale/businessquery/usergas.vue +315 -315
  64. package/src/components/sale/config/exportConfig.js +2763 -2762
  65. package/src/components/sale/config/tableConfig.js +59 -59
  66. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  67. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  68. package/src/components/sale/filesquery/UserQuery.vue +1002 -977
  69. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  70. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
  71. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
  72. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  73. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  74. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  75. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  76. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  77. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  78. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  79. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  80. package/src/components/webmeter/report/ReportList.vue +453 -453
  81. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  82. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  83. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  84. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  85. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  86. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  87. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  88. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  89. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  90. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  91. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  92. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  93. package/src/filiale/bayan/config/tableConfig.js +59 -59
  94. package/src/filiale/bayan/sale.js +8 -8
  95. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  96. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  97. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  98. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  99. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  100. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  101. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  102. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  103. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  104. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  105. package/src/filiale/bayan/webmeterManage.js +26 -26
  106. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  107. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  108. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  109. package/src/filiale/dingcheng/sale.js +9 -9
  110. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  111. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  112. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  113. package/src/filiale/hantou/config/tableConfig.js +54 -54
  114. package/src/filiale/hantou/sale.js +8 -8
  115. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  116. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  117. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  118. package/src/filiale/jingyang/RechargeList.vue +346 -346
  119. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  120. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  121. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  122. package/src/filiale/jingyang/sale.js +8 -8
  123. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  124. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  125. package/src/filiale/kelai/GasStatistics.vue +561 -561
  126. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  127. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  128. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  129. package/src/filiale/kelai/reportManage.js +13 -13
  130. package/src/filiale/kelai/sale.js +17 -17
  131. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  132. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  133. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  134. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  135. package/src/filiale/macheng/config/exportConfig.js +79 -79
  136. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  137. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  138. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  139. package/src/filiale/meihekou/CollectManage.vue +152 -152
  140. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  141. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  142. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  143. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  144. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  145. package/src/filiale/meihekou/sale.js +39 -39
  146. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  147. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  148. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  149. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  150. package/src/filiale/qianneng/exportConfig.js +232 -232
  151. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  152. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  153. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  154. package/src/filiale/rizhao/sale.js +13 -13
  155. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  156. package/src/filiale/shangluo/sale.js +17 -17
  157. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  158. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  159. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  160. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  161. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  162. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  163. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  164. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  165. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  166. package/src/filiale/taizhoukesi/sale.js +11 -11
  167. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  168. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  169. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  170. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  171. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  172. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  173. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  174. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  175. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  176. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  177. package/src/filiale/xinjiangdexin/sale.js +7 -7
  178. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  179. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  180. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  181. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  182. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  183. package/src/filiale/yangchun/UserQuery.vue +980 -980
  184. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  185. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  186. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  187. package/src/filiale/yangchun/reportManage.js +6 -6
  188. package/src/filiale/yangchun/sale.js +20 -20
  189. package/src/filiale/yangchun/webmeterManage.js +5 -5
  190. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  191. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  192. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  193. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  194. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  195. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  196. package/src/filiale/yuncheng/sale.js +23 -23
  197. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  198. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  199. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  200. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  201. package/src/filiale/zhongyi/sale.js +33 -33
  202. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  203. package/src/main.js +68 -68
  204. package/src/plugins/LodopFuncs.js +159 -159
  205. package/src/reportManage.js +777 -777
  206. package/src/saleManage.js +689 -689
  207. package/src/webmeterManage.js +130 -130
@@ -1,1209 +1,1209 @@
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 @sort="sort">
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
- <label for="startDate" class="font_normal_body">开始日期</label>
11
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
14
- :format="'yyyy-MM-dd HH:mm:ss'"
15
- :show-reset-button="true"
16
- condition="f_operate_date >= '{}'">
17
- </datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label for="endDate" class="font_normal_body">结束日期</label>
21
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- :show-reset-button="true"
26
- condition="f_operate_date <= '{}'">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label class="font_normal_body">客户编号</label>
31
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
- </div>
34
- <div class="col-sm-2 form-group">
35
- <label class="font_normal_body">客户名称</label>
36
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
37
- condition="f_user_name = '{}'" placeholder="客户名称">
38
- </div>
39
-
40
- <div class="span" style="float:right;">
41
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
42
- <button class="button_search button_spacing" @click="search()">查询</button>
43
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
45
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
46
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
47
- :defaultselect="$parent.$parent.defaultexport"
48
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
49
- :choose-col="true">
50
- </export-excel>
51
-
52
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
53
- :defaultfield="$parent.$parent.defaultfield"
54
- titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
55
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
-
58
- </div>
59
- </div>
60
- <div class="row" v-show="$parent.$parent.criteriaShow">
61
- <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
- <div class="col-sm-2 form-group">
63
- <label class="font_normal_body" title="参数:收费人员查询">收费人员</label>
64
- <v-select :value.sync="model.f_operator" multiple
65
- v-model="model.f_operator"
66
- :options='$parent.$parent.foperators' placeholder='请选择'
67
- condition="f_operator in {}"
68
- close-on-select></v-select>
69
- </div>
70
- <div class="col-sm-2 form-group">
71
- <label class="font_normal_body">收费编号</label>
72
- <input type="text" style="width:60%" class="input_search" v-model="model.id"
73
- condition="id = '{}'" placeholder="收费编号">
74
- </div>
75
- <div class="col-sm-2 form-group">
76
- <label class="font_normal_body">客户电话</label>
77
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
78
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
79
- </div>
80
- <div class="col-sm-2 form-group">
81
- <label class="font_normal_body">身份证号</label>
82
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
83
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
84
- </div>
85
- <div class="col-sm-2 form-group">
86
- <label class="font_normal_body">客户地址</label>
87
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
88
- condition="f_address like '%{}%'" placeholder='客户地址'>
89
- </div>
90
- <div class="col-sm-2 form-group">
91
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
92
- <v-select :value.sync="model.f_residential_area"
93
- class="select_list select"
94
- v-model="model.f_residential_area"
95
- style="width: 60%"
96
- multiple
97
- condition="f_residential_area in {}"
98
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
99
- close-on-select>
100
-
101
- </v-select>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
105
- <v-select :value.sync="model.f_payment" multiple
106
- v-model="model.f_payment"
107
- :options='$parent.$parent.payment' placeholder='请选择'
108
- condition="f_payment in {}"
109
- close-on-select></v-select>
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
113
- <v-select :value.sync="model.f_bank_type" multiple
114
- v-model="model.f_bank_type"
115
- :options='$parent.$parent.banktype' placeholder='请选择'
116
- condition="f_bank_type in {}"
117
- close-on-select></v-select>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body">收费类型</label>
121
- <!-- <v-select :value.sync="model.f_type"
122
- v-model="model.f_type"
123
- :options='$parent.$parent.chargetype' placeholder='请选择'
124
- condition="f_type = '{}'"
125
- close-on-select></v-select>-->
126
- <v-select :value.sync="model.f_type" multiple
127
- :options='$parent.$parent.chargetype' placeholder='请选择'
128
- close-on-select clear-button
129
- condition="f_type in {}"
130
- v-model="model.f_type"></v-select>
131
- </div>
132
- <div class="col-sm-2 form-group">
133
- <label class="font_normal_body">客户类型</label>
134
- <v-select :value.sync="model.f_user_type"
135
- @change="$parent.$parent.userTypeChange()"
136
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
137
- condition="f_user_type = '{}'"
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.f_gasproperties" v-model="model.f_gasproperties"
143
- :options='$parent.$parent.gasproperties' placeholder='请选择'
144
- condition="f_gasproperties = '{}'"
145
- close-on-select></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.pricetype" v-model="model.pricetype"
150
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
151
- condition="f_price_type like '%{}%'"
152
- close-on-select v-ref:type>
153
- </v-select>
154
- </div>
155
- <div class="col-sm-2 form-group">
156
- <label class="font_normal_body">气价名称</label>
157
- <v-select :value.sync="model.f_price_name"
158
- v-model="model.f_price_name"
159
- :options="$parent.$parent.getPricenames"
160
- condition="f_price_name = '{}'"
161
- close-on-select></v-select>
162
- </div>
163
- <div class="col-sm-2 form-group">
164
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
165
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
166
- condition="f_user_id = '{}'" placeholder='表编号'>
167
- </div>
168
- <div class="col-sm-2 form-group">
169
- <label class="font_normal_body">气表类型</label>
170
- <v-select :value.sync="model.f_meter_type" multiple
171
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
172
- condition="f_meter_type in {}"
173
- close-on-select></v-select>
174
- </div>
175
- <div class="col-sm-2 form-group">
176
- <label class="font_normal_body">气表品牌</label>
177
- <v-select :value.sync="model.f_meter_brand" multiple
178
- v-model="model.f_meter_brand"
179
- :options='$parent.$parent.meterbrands' placeholder='请选择'
180
- condition="f_meter_brand in {}"
181
- close-on-select></v-select>
182
- </div>
183
-
184
- <div class="col-sm-2 form-group">
185
- <label class="font_normal_body">收费状态</label>
186
- <v-select :value.sync="model.f_state" multiple
187
- v-model="model.f_state"
188
- :options='$parent.$parent.charge_state' placeholder='请选择'
189
- condition="f_state in {}"
190
- close-on-select></v-select>
191
- </div>
192
- <div class="col-sm-2 form-group">
193
- <label class="font_normal_body">银行名称</label>
194
- <v-select :value.sync="model.f_bank_name"
195
- v-model="model.f_bank_name"
196
- :options='$parent.$parent.bank' placeholder='请选择'
197
- condition="f_bank_name = '{}'"
198
- close-on-select></v-select>
199
- </div>
200
- <div class="col-sm-2 form-group">
201
- <label class="font_normal_body">是否优惠</label>
202
- <v-select :value.sync="model.f_privilege_money"
203
- v-model="model.f_privilege_money"
204
- :options='$parent.$parent.privilege_money' placeholder='请选择'
205
- condition="f_privilege_money {}"
206
- close-on-select></v-select>
207
- </div>
208
- <div class="col-sm-2 form-group">
209
- <label class="font_normal_body">收&ensp;据&ensp;号</label>
210
- <input type="text" style="width:30%" class="input_search" title="大于等于"
211
- v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>
212
- <input type="text" style="width:30%" class="input_search" title="小于等于"
213
- v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>
214
- </div>
215
- <div class="col-sm-2 form-group">
216
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
217
- <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
218
- condition="f_serial_id = '{}'" placeholder='流水号'>
219
- </div>
220
- <div class="col-sm-2 form-group">
221
- <label class="font_normal_body">发票号码</label>
222
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
223
- condition="f_invoice_num = '{}'" placeholder='发票号码'>
224
- </div>
225
- <div class="col-sm-2 form-group">
226
- <label class="font_normal_body" title="发票类型查询">发票类型</label>
227
- <v-select :value.sync="model.f_invoice_type"
228
- v-model="model.f_invoice_type"
229
- :options='$parent.$parent.invoiceType' placeholder='请选择'
230
- condition="f_invoice_type = '{}'"
231
- close-on-select :value-single="true" :search="false">
232
- </v-select>
233
- </div>
234
- <div class="col-sm-2 form-group">
235
- <label class="font_normal_body">开&ensp;票&ensp;人</label>
236
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
237
- condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
238
- </div>
239
- <div class="col-sm-2 form-group">
240
- <label for="startDate" class="font_normal_body">开票时间</label>
241
- <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
242
- v-model="model.invoice_startDate"
243
- :value.sync="model.invoice_startDate"
244
- :format="'yyyy-MM-dd'"
245
- :show-reset-button="true"
246
- condition="f_invoice_date >= '{}'">
247
- </datepicker>
248
- </div>
249
- <div class="col-sm-2 form-group">
250
- <label for="endDate" class="font_normal_body">开票时间</label>
251
- <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
252
- v-model="model.invoice_endDate"
253
- :value.sync="model.invoice_endDate"
254
- :format="'yyyy-MM-dd'"
255
- :show-reset-button="true"
256
- condition="f_invoice_date <= '{}'">
257
- </datepicker>
258
- </div>
259
- <div class="col-sm-2 form-group">
260
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
261
- <v-select :value.sync="model.f_inputtor"
262
- v-model="model.f_inputtor"
263
- :options='$parent.$parent.inputtores' placeholder='请选择'
264
- condition="f_inputtor = '{}'"
265
- close-on-select :value-single="true" :search="false">
266
- </v-select>
267
- </div>
268
- <div class="col-sm-2 form-group">
269
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
270
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
271
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
272
- style="width:60%"
273
- close-on-select
274
- condition="f_meter_book_num = '{}'"></v-select>
275
- </div>
276
- <div class="col-sm-2 form-group">
277
- <label class="font_normal_body">写卡状态</label>
278
- <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
279
- :options='$parent.$parent.writecard' placeholder='写卡状态'
280
- style="width:60%"
281
- close-on-select
282
- condition="f_write_card = '{}'"></v-select>
283
- </div>
284
- <div class="col-sm-2 form-group">
285
- <label class="font_normal_body">街&ensp;&ensp;&ensp;&ensp;道</label>
286
- <input type="text" style="width:60%" class="input_search" v-model="model.f_street"
287
- condition="f_street like '%{}%'" placeholder='街道'>
288
- </div>
289
- <div class="col-sm-2 form-group">
290
- <label class="font_normal_body">用&ensp;气&ensp;点</label>
291
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
292
- condition="f_userfiles_address like '%{}%'" placeholder='用气点'>
293
- </div>
294
- </div>
295
- </div>
296
- </criteria>
297
-
298
- <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
299
- <template partial='head'>
300
- <tr>
301
- <th>
302
- <nobr>收费编号</nobr>
303
- </th>
304
- <th>
305
- <!-- <nobr>客户编号</nobr>-->
306
- <data-order field="f_userinfo_code" name="客户编号"
307
- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
308
- </th>
309
- <th><nobr>街道</nobr></th>
310
- <th>
311
- <nobr>客户名称</nobr>
312
- </th>
313
- <th>
314
- <nobr>片区</nobr>
315
- </th>
316
- <th>
317
- <!-- <nobr>客户地址</nobr>-->
318
- <data-order field="f_address" name="客户地址"
319
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
320
- </th>
321
- <th>
322
- <nobr>客户类型</nobr>
323
- </th>
324
- <th>
325
- <nobr>用气性质</nobr>
326
- </th>
327
- <th>
328
- <nobr>用气点</nobr>
329
- </th>
330
- <th>
331
- <nobr>表号</nobr>
332
- </th>
333
- <th>
334
- <nobr>气表品牌</nobr>
335
- </th>
336
- <th>
337
- <nobr>卡号</nobr>
338
- </th>
339
- <th>
340
- <nobr>购气次数</nobr>
341
- </th>
342
- <th>
343
- <nobr>气量</nobr>
344
- </th>
345
- <th>
346
- <nobr>金额</nobr>
347
- </th>
348
- <th>
349
- <nobr>违约金</nobr>
350
- </th>
351
- <th>
352
- <nobr>燃气费</nobr>
353
- </th>
354
- <th>
355
- <nobr>清缴金额</nobr>
356
- </th>
357
- <th>
358
- <nobr>预存金额</nobr>
359
- </th>
360
- <th>
361
- <nobr>上期结余</nobr>
362
- </th>
363
- <th>
364
- <nobr>收款</nobr>
365
- </th>
366
- <!--<th>-->
367
- <!--&lt;!&ndash; <nobr>所属年月</nobr>&ndash;&gt;-->
368
- <!--<data-order field="f_rest_date" name="所属年月"-->
369
- <!--:order.sync="$parent.$parent.$parent.orderFields.f_rest_date"></data-order>-->
370
-
371
- <!--</th>-->
372
- <th>
373
- <!-- <nobr>收费日期</nobr>-->
374
- <data-order field="f_operate_date" name="收费日期"
375
- :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
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>写卡状态</nobr>
388
- </th>
389
- <th>
390
- <nobr>支付渠道</nobr>
391
- </th>
392
- <th>
393
- <nobr>银行名称</nobr>
394
- </th>
395
- <th>
396
- <nobr>收费类型</nobr>
397
- </th>
398
- <th>
399
- <nobr>终端号</nobr>
400
- </th>
401
- <th>
402
- <nobr>蓝牙数据包状态</nobr>
403
- </th>
404
- <th>
405
- <nobr>状态</nobr>
406
- </th>
407
-
408
- <th>
409
- <nobr>备注</nobr>
410
- </th>
411
- <th>
412
- <nobr>补打次数</nobr>
413
- </th>
414
- <th>
415
- <nobr>人员</nobr>
416
- </th>
417
- <th>
418
- <nobr>部门</nobr>
419
- </th>
420
- <th>
421
- <nobr>公司</nobr>
422
- </th>
423
- <th>
424
- <nobr>流水号</nobr>
425
- </th>
426
- <th>
427
- <nobr>收据号</nobr>
428
- </th>
429
- <th>
430
- <nobr>订单编号</nobr>
431
- </th>
432
- <th>
433
- <nobr>发票号码</nobr>
434
- </th>
435
- <th>
436
- <nobr>发票类型</nobr>
437
- </th>
438
- <th>
439
- <nobr>开票人</nobr>
440
- </th>
441
- <th>
442
- <nobr>开票时间</nobr>
443
- </th>
444
- <th>
445
- <nobr>实际写卡金额</nobr>
446
- </th>
447
- <th>
448
- <nobr>冲正人</nobr>
449
- </th>
450
- <th>
451
- <nobr>冲正时间</nobr>
452
- </th>
453
- <th>
454
- <nobr>一阶气量</nobr>
455
- </th>
456
- <th>
457
- <nobr>一阶单价</nobr>
458
- </th>
459
- <th>
460
- <nobr>一阶气费</nobr>
461
- </th>
462
- <th>
463
- <nobr>二阶气量</nobr>
464
- </th>
465
- <th>
466
- <nobr>二阶单价</nobr>
467
- </th>
468
- <th>
469
- <nobr>二阶气费</nobr>
470
- </th>
471
- <th>
472
- <nobr>三阶气量</nobr>
473
- </th>
474
- <th>
475
- <nobr>三阶单价</nobr>
476
- </th>
477
- <th>
478
- <nobr>三阶气费</nobr>
479
- </th>
480
- <th><nobr>附件</nobr></th>
481
- </tr>
482
- </template>
483
- <template partial='body' >
484
- <td style="text-align: center;">
485
- <nobr>{{row.id}}</nobr>
486
- </td>
487
- <td style="text-align: center;"><nobr>
488
- <nobr>{{row.f_userinfo_code}}</nobr>
489
- </nobr> </td>
490
- <td style="text-align: center;">
491
- <nobr>{{row.f_street}}</nobr>
492
- </td>
493
- <td style="text-align: center;">
494
- <nobr>{{row.f_user_name}}</nobr>
495
- </td>
496
- <td style="text-align: center;">
497
- <nobr>{{row.f_zones}}</nobr>
498
- </td>
499
- <td style="text-align: center;">
500
- <nobr>{{row.f_address}}</nobr>
501
- </td>
502
- <td style="text-align: center;">
503
- <nobr>{{row.f_user_type}}</nobr>
504
- </td>
505
- <td style="text-align: center;">
506
- <nobr>{{row.f_gasproperties}}</nobr>
507
- </td>
508
- <td style="text-align: center;">
509
- <nobr>{{row.f_userfiles_address}}</nobr>
510
- </td>
511
- <td style="text-align: center;">
512
- <nobr>{{row.f_meternumber}}</nobr>
513
- </td>
514
- <td style="text-align: center;">
515
- <nobr>{{row.f_meter_brand}}</nobr>
516
- </td>
517
- <td style="text-align: center;">
518
- <nobr>{{row.f_card_id}}</nobr>
519
- </td>
520
- <td style="text-align: center;">
521
- <nobr>{{row.f_times}}</nobr>
522
- </td>
523
- <td style="text-align: center;">
524
- <nobr>{{row.f_pregas}}</nobr>
525
- </td>
526
- <td style="text-align: center;">
527
- <nobr>{{row.fee}}</nobr>
528
- </td>
529
- <td style="text-align: center;">
530
- <nobr>{{row.f_delaypay}}</nobr>
531
- </td>
532
- <td style="text-align: center;">
533
- <nobr>{{row.f_preamount}}</nobr>
534
- </td>
535
- <td style="text-align: center;">
536
- <nobr>{{row.f_charge_money}}</nobr>
537
- </td>
538
- <td style="text-align: center;">
539
- <nobr>{{row.f_yucun}}</nobr>
540
- </td>
541
- <td style="text-align: center;">
542
- <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_balance_amount}}</nobr>
543
- <nobr v-else>{{row.f_balance}}</nobr>
544
- </td>
545
- <td style="text-align: center;">
546
- <nobr>{{row.f_collection}}</nobr>
547
- </td>
548
- <!--<td style="text-align: center;">-->
549
- <!--<nobr>{{row.f_rest_date}}</nobr>-->
550
- <!--</td>-->
551
- <td style="text-align: center;">
552
- <nobr>{{row.f_operate_date}}</nobr>
553
- </td>
554
- <td style="text-align: center;">
555
- <nobr>{{row.f_privilege_money}}</nobr>
556
- </td>
557
-
558
-
559
- <td style="text-align: center;">
560
- <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_curbalance_amount}}</nobr>
561
- <nobr v-else>{{row.f_curbalance}}</nobr>
562
- </td>
563
- <td style="text-align: center;">
564
- <nobr>{{row.f_payment}}</nobr>
565
- </td>
566
- <td style="text-align: center;">
567
- <nobr>{{row.f_write_card}}</nobr>
568
- </td>
569
- <td style="text-align: center;">
570
- <nobr>{{row.f_bank_type}}</nobr>
571
- </td>
572
- <td style="text-align: center;">
573
- <nobr>{{row.f_bank_name}}</nobr>
574
- </td>
575
- <td style="text-align: center;">
576
- <nobr>{{row.f_type}}</nobr>
577
- </td>
578
- <td style="text-align: center;">
579
- <nobr>{{row.f_terminal_num}}</nobr>
580
- </td>
581
- <td style="text-align: center;">
582
- <nobr>{{row.f_bluetooth_package}}</nobr>
583
- </td>
584
- <td style="text-align: center;">
585
- <nobr>{{row.f_state}}</nobr>
586
- </td>
587
-
588
- <td style="text-align: center;">
589
- <nobr>{{row.f_comments}}</nobr>
590
- </td>
591
- <td style="text-align: center;">
592
- <nobr>{{row.filltimes}}</nobr>
593
- </td>
594
- <td style="text-align: center;">
595
- <nobr>{{row.f_operator}}</nobr>
596
- </td>
597
- <td style="text-align: center;">
598
- <nobr>{{row.f_depname}}</nobr>
599
- </td>
600
- <td style="text-align: center;">
601
- <nobr>{{row.f_orgname}}</nobr>
602
- </td>
603
- <td style="text-align: center;">
604
- <nobr>{{row.f_serial_id}}</nobr>
605
- </td>
606
- <td style="text-align: center;">
607
- <nobr>{{row.f_bill_number}}</nobr>
608
- </td>
609
- <td style="text-align: center;">
610
- <nobr>{{row.f_serial_number}}</nobr>
611
- </td>
612
- <td style="text-align: center;">
613
- <nobr>{{row.f_invoice_num}}</nobr>
614
- </td>
615
- <td style="text-align: center;">
616
- <nobr>{{row.f_invoice_type}}</nobr>
617
- </td>
618
- <td style="text-align: center;">
619
- <nobr>{{row.f_invoiceuse_operator}}</nobr>
620
- </td>
621
- <td style="text-align: center;">
622
- <nobr>{{row.f_invoice_date}}</nobr>
623
- </td>
624
- <td style="text-align: center;">
625
- <nobr>{{row.f_write_money}}</nobr>
626
- </td>
627
- <td style="text-align: center;">
628
- <nobr>{{row.f_corr_operator}}</nobr>
629
- </td>
630
- <td style="text-align: center;">
631
- <nobr>{{row.f_corr_operate_date}}</nobr>
632
- </td>
633
- <td style="text-align: center;">
634
- <nobr>{{row.f_stairamount1}}</nobr>
635
- </td>
636
- <td style="text-align: center;">
637
- <nobr>{{row.f_stair1price}}</nobr>
638
- </td>
639
- <td style="text-align: center;">
640
- <nobr>{{(row.f_stair1fee - 0).toFixed(0)}}</nobr>
641
- </td>
642
- <td style="text-align: center;">
643
- <nobr>{{row.f_stair2amount}}</nobr>
644
- </td>
645
- <td style="text-align: center;">
646
- <nobr>{{row.f_stair2price}}</nobr>
647
- </td>
648
- <td style="text-align: center;">
649
- <nobr>{{(row.f_stair2fee - 0).toFixed(0)}}</nobr>
650
- </td>
651
- <td style="text-align: center;">
652
- <nobr>{{row.f_stair3amount}}</nobr>
653
- </td>
654
- <td style="text-align: center;">
655
- <nobr>{{row.f_stair3price}}</nobr>
656
- </td>
657
- <td style="text-align: center;">
658
- <nobr>{{(row.f_stair3fee - 0).toFixed(0)}}</nobr>
659
- </td>
660
- <td style="text-align: center;"><nobr>
661
- <button class="btn btn-link" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
662
- </nobr></td>
663
- </template>
664
- <template partial='foot'></template>
665
- </data-grid>
666
- </criteria-paged>
667
- <table class="table-hover">
668
- <tr style="position: relative" class="table-bordered">
669
- <td
670
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
671
- 汇总信息
672
- </td>
673
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
674
- 气量合计:&emsp;{{sumsmodel.f_pregas}}
675
- </td>
676
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
677
- 应交金额合计:&emsp;{{sumsmodel.fee}}
678
- </td>
679
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
680
- 违约金合计:&emsp;{{sumsmodel.f_delaypay}}
681
- </td>
682
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
683
- 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
684
- </td>
685
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
686
- 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
687
- </td>
688
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
689
- 收款合计:&emsp;{{sumsmodel.f_collection}}
690
- </td>
691
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
692
- 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
693
- </td>
694
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
695
- 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
696
- </td>
697
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
698
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee.toFixed(0)}}
699
- </td>
700
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
701
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
702
- </td>
703
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
704
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee.toFixed(0)}}
705
- </td>
706
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
707
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
708
- </td>
709
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
710
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee.toFixed(0)}}
711
- </td>
712
- </tr>
713
- </table>
714
- </div>
715
- <!--<div v-if="show">-->
716
- <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
717
- <!--</div>-->
718
- </div>
719
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
720
- <article slot="modal-body">
721
- <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
722
- </article>
723
- <footer slot="modal-footer" class="modal-footer">
724
- </footer>
725
- </modal>
726
- </div>
727
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
728
- </template>
729
-
730
- <script>
731
- import {HttpResetClass, PagedList} from 'vue-client'
732
- import exportConfig from './config/exportConfig'
733
- let cardBtnGen = async function (self, val) {
734
- self.cardInfo = val.data
735
-
736
- // 判断读卡是否需要卡密码
737
- console.log('读卡上的信息', self.cardInfo)
738
-
739
- if (self.cardInfo.NewParam) {
740
- if (self.cardInfo.NewParam.error) {
741
- if (self.cardInfo.NewParam.error === '0001') {
742
- // 需要重新读卡并传卡密码
743
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
744
- self.readCardParam = self.model.rows[0].f_card_password
745
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
746
- } else {
747
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
748
- return
749
- }
750
- }
751
- }
752
- }
753
- self.card=self.cardInfo.CardID
754
- self.search()
755
- }
756
- let readySomething = async function (self) {
757
- //加载抄表册
758
- self.initmeterbook();
759
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
760
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
761
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
762
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
763
- // self.$refs.paged.$refs.cri.model.f_state=['有效'];
764
- // self.$refs.paged.$refs.cri.search()
765
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
766
- await self.$MagLoadParams.loadParam()
767
- self.initParams()
768
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
769
- }
770
- export default {
771
- props:['data'],
772
- title: '收费查询',
773
- data() {
774
- return {
775
- IdCardInfo:'',
776
- card:'',
777
- isSingleUser: null,
778
- startDate1:'',
779
- endDate1:'',
780
- resshow:['company','department','operator','slicearea'],
781
- other:[],
782
-
783
- footer:[],
784
- config: {
785
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount']
786
- },
787
- //排序
788
- orderitem:'f_operate_date desc',
789
- orderFields: {
790
- f_operate_date: 'no'
791
- },
792
- //f_price_name:[],
793
- gasproperties:[],
794
- showinfo: false,
795
- data: {},
796
- getstart:'',
797
- show:false,
798
- rowdata:{},
799
- initres: {
800
- org:[this.$login.f.orgid],
801
- dep:[],
802
- user:[]
803
- },
804
- model: new PagedList('api/af-revenue/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
805
- f_pregas: 0,
806
- f_preamount: 0,
807
- f_delaypay: 0,
808
- fee:0,
809
- f_yucun:0,
810
- f_privilege_money: 0,
811
- f_collection: 0,
812
- f_stairamount1:0,
813
- f_stair1fee:0,
814
- f_stair2amount:0,
815
- f_stair2fee:0,
816
- f_stair3amount:0,
817
- f_stair3fee:0,
818
- }),
819
- criteriaShow: false,
820
- orgCondtionStr: '',
821
- // 下拉框
822
- meterbrands: [],
823
- pricenames: [],
824
- prices: [],
825
- area: [],
826
- //默认打印列
827
- defaultfield: [],
828
- //小区
829
- residentialArea: [],
830
- sumsmodel: {},
831
- f_filialeid: this.$login.f.f_orgid,
832
- wxstate:[
833
- {label: '全部', value: ''},
834
- {label: '已退款', value: `= '3'`},
835
- {label: '未退款', value: `!= '3'`}
836
- ],
837
- privilege_money:[
838
- {label: '全部', value: ''},
839
- {label: '已优惠', value: '> 0'},
840
- {label: '未优惠', value: '= 0'}
841
- ],
842
- showupload:false,
843
- selected:{},
844
- meterbooks:[{label: '全部',value: ''}], //抄表册
845
- inputtores:[{label: '全部',value: ''}],
846
- writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'}],
847
- allorgid:[],
848
- tempfalg :false,
849
- lastorgstr:''
850
- }
851
- },
852
- ready() {
853
- this.$refs.paged.$refs.cri.model.f_state=['有效']
854
- this.getaddress()
855
- //加载抄表册
856
- this.$MagGetSaleParam.initinputtor();
857
- this.getinputtores();
858
- // this.initres.dep.push(this.$login.f.depids)
859
- readySomething(this).then(() => {
860
- this.$emit('ready')
861
- }).catch((error) => {
862
- this.$emit('error', error)
863
- })
864
- },
865
- methods: {
866
- ReadIDCard(){
867
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
868
- console.log('======',msg)
869
- if(msg.err !== 0){ return}
870
- this.IdCardInfo=msg.strID
871
- })
872
- if(this.IdCardInfo) {
873
- this.search()
874
- }else{
875
- alert("读取失败,找不到用户信息")
876
- }
877
- },
878
- cardBtn (val) {
879
- // this.clear()
880
- cardBtnGen(this, val)
881
- },
882
- async initmeterbook(orgstr){
883
- if(orgstr == null ){
884
- orgstr = this.f_filialeid;
885
- }
886
- //获取新的抄表册,先去清理所有的抄表册
887
- this.$GetSaleParam.meterbooks = [];
888
- //开始加载新的抄表册
889
- await this.$LoadParams.loadMeterBook(orgstr)
890
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
891
- },
892
- async getinputtores () {
893
- // 获取抄表员
894
- let rs = []
895
- if (this.$login.f.f_gasman.length > 0) {
896
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
897
- let temp = {
898
- label: this.$login.f.f_gasman[i].name,
899
- value: this.$login.f.f_gasman[i].name
900
- }
901
- rs.push(temp)
902
- }
903
- }
904
- this.inputtores = [{label: '全部', value: ''}, ...rs]
905
- },
906
- //显示附件
907
- view(row){
908
- this.showupload = true
909
- this.selected= row
910
- },
911
- getotherfooter () {
912
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
913
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
914
- this.other = [];
915
- this.footer = [];
916
- let exportdata = this.getCondition;
917
- let otherInData = [];
918
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
919
- let footerData = [], exportfield = this.getfield;
920
- footerData.push("合计");
921
- let self = this;
922
- for (var field in self.sumsmodel) {
923
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
924
- }
925
- this.footer.push(footerData);
926
- this.other.push(otherInData);
927
- },
928
- async getaddress(){
929
- let HttpReset = new HttpResetClass()
930
- var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
931
- data: {
932
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
933
- }
934
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
935
- console.log('小区',data)
936
- let house = [{label: '全部', value: ''}]
937
- for (let row of data.data){
938
- house.push({label: row.f_residential_area, value: row.f_residential_area})
939
- }
940
- this.residentialArea = house
941
- },
942
- //把数据库查询数据转换为下拉数据
943
- calculate(rows){
944
- let data = []
945
- rows.forEach((row, n) => {
946
- data[n] = {label: row.f_residential_area, value: row.id}
947
- })
948
- return data
949
- },
950
-
951
- search(){
952
-
953
- this.$refs.paged.$refs.cri.search()
954
- },
955
- cancel() {
956
- this.show = false
957
- },
958
- showmsg(obj){
959
- this.rowdata=obj
960
- this.show=true
961
- },
962
- userTypeChange () {
963
- this.gasproperties=[]
964
- if(this.$refs.paged.$refs.cri.model !==null) {
965
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
966
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
967
- }
968
- else{
969
- this.gasproperties =[{label: '全部', value: ''}]
970
- }
971
- },
972
- initParams() {
973
- // 初始化气表品牌
974
- let brandArr = []
975
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
976
- let temp = {}
977
- temp.label = item.label
978
- temp.value = item.value.f_meter_brand
979
- brandArr.push(temp)
980
- })
981
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
982
- //初始化气表价格
983
- this.prices = this.$MagGetSaleParam.getPrices();
984
- },
985
- selfSearch(args) {
986
- debugger
987
- if (this.data) {
988
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
989
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
990
- }
991
-
992
- let f_orgstr = this.orgCondtionStr
993
- args.condition = `${args.condition} ` + f_orgstr
994
- if(this.card!=''){
995
- args.condition+=` and f_card_id='${this.card}'`
996
- }
997
- if(this.IdCardInfo!=''){
998
- args.condition +=` and f_idnumber='${this.IdCardInfo}'`
999
- }
1000
- this.model.search(args.condition, args.model)
1001
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1002
- this.card=''
1003
- this.IdCardInfo=''
1004
- },
1005
- clear() {
1006
- //清空部门和人员
1007
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1008
- //部门和人员变为全选
1009
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1010
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1011
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1012
- this.$refs.paged.$refs.cri.model[key] = []
1013
- })
1014
-
1015
- },
1016
- dealmsg(val,startDate,endDate) {
1017
- val.model = this.model.model
1018
- startDate=this.startDate1
1019
- endDate=this.endDate1
1020
- this.$dispatch('deal-msg', val,startDate,endDate)
1021
- },
1022
- show() {
1023
- this.criteriaShow = true
1024
- },
1025
- hidden() {
1026
- this.criteriaShow = !this.criteriaShow
1027
- },
1028
- async getRes(condition,obj) {
1029
- this.orgCondtionStr = condition
1030
- this.orgname = obj.orgnames[0]
1031
- this.depname = obj.depnames[0]
1032
-
1033
-
1034
- },
1035
- async updateParams() {
1036
- await this.$MagLoadParams.loadParam(this.f_filialeid)
1037
- this.inputtores = [];
1038
- this.inputtores.push({label: "全部", value: ""})
1039
- if(this.allorgid!=null){
1040
- this.allorgid.forEach((res)=>{
1041
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1042
- })
1043
- }
1044
- this.initParams()
1045
- },
1046
- sort (field, rule) {
1047
- // 将所有排序方式设为不排序,实现相互排斥
1048
- for (let key in this.orderFields) {
1049
- if (key === field) {
1050
- this.orderFields[key] = rule
1051
- } else {
1052
- this.orderFields[key] = 'no'
1053
- }
1054
- }
1055
- // 如果新规则不排序,还原为默认排序
1056
- if (rule === 'no') {
1057
- this.model.paramSource.orderitem = `'${this.orderitem}'`
1058
- } else {
1059
- this.model.paramSource.orderitem = `'${field} ${rule}'`
1060
- }
1061
-
1062
- this.search()
1063
- }
1064
-
1065
- },
1066
- events:{
1067
- 'getidcard'(IdCard){
1068
- // console.log(param)
1069
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
1070
- }
1071
- },
1072
- watch: {
1073
- 'model.rows'(val) {
1074
- if(val.length === 0){
1075
- this.sumsmodel = {}
1076
- }
1077
- },
1078
- 'model.rows.length' () {
1079
- this.isSingleUser = this.model.rows
1080
- },
1081
- async 'orgCondtionStr'(val) {
1082
- //更新抄表册
1083
- this.meterbooks = [{label: '全部',value: ''}];
1084
- if(this.lastorgstr != val){
1085
- this.tempfalg = true;
1086
- this.lastorgstr = val;
1087
- }
1088
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1089
- this.tempfalg = false;
1090
- let a = val.substring(val.indexOf("(")+2)
1091
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1092
- }
1093
- let res = val.match(/'(.*?)'/)
1094
- console.log('正则提取:',res && res[1])
1095
- if (res) {
1096
- this.f_filialeid = res[1]
1097
- if(res.input !=null){
1098
- let resorgid = res.input.substring(res.input.indexOf("'"));
1099
- if(resorgid!= null && resorgid!=''){
1100
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1101
- // resorgid = resorgid.replaceAll("'","");
1102
- resorgid = resorgid.replace(/'/g,"");
1103
- this.allorgid = resorgid.split(",")
1104
- }
1105
- }
1106
- this.updateParams()
1107
- }
1108
- },
1109
- sumsmodel:{
1110
- handler: function(val) {
1111
- this.getotherfooter();
1112
- },
1113
- deep: true
1114
- }
1115
- },
1116
- computed: {
1117
- getstart(){
1118
- return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
1119
- },
1120
- chooserow(){
1121
- let aaa= true
1122
- if(this.$login.r && this.$login.r.includes('打印项选择')){
1123
- aaa = false
1124
- }
1125
- return aaa
1126
- },
1127
- getPricenames() {
1128
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1129
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1130
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1131
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1132
- if(this.$refs.paged.$refs.cri.model !==null) {
1133
- let rs = []
1134
- let priceArr = []
1135
- if ( pricetype.length >0) {
1136
- let params = {
1137
- f_price_type: pricetype[0],
1138
- filter: this.f_filialeid,
1139
- prices: this.prices
1140
- }
1141
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1142
- let temp = {}
1143
- temp.label = item.label
1144
- temp.value = item.value.f_price_name
1145
- priceArr.push(temp)
1146
- })
1147
- rs = [{label: '全部', value: ''}, ...priceArr]
1148
- }
1149
- if (rs.length === 0) {
1150
- console.log('rs读出来是空')
1151
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1152
- }
1153
- return rs
1154
- }
1155
- },
1156
- getCondition() {
1157
- return {
1158
- startDate: this.$refs.paged.$refs.cri.model.startDate,
1159
- endDate: this.$refs.paged.$refs.cri.model.endDate,
1160
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1161
- orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
1162
- }
1163
- },
1164
- getfield() {
1165
- return exportConfig.chargeConfig
1166
- },
1167
- defaultexport() {
1168
- return exportConfig.chargeexportConfig
1169
- },
1170
- pricetypes() {
1171
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1172
- },
1173
-
1174
- invoiceType() {
1175
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1176
- },
1177
- usertypes() {
1178
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1179
- },
1180
- metertypes() {
1181
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1182
- },
1183
-
1184
- tablestate() {
1185
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1186
- },
1187
- chargetype() {
1188
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1189
- },
1190
- payment() {
1191
- return [...this.$appdata.getParam('付款方式查询')]
1192
- },
1193
- banktype() {
1194
- return [...this.$appdata.getParam('支付渠道查询')]
1195
- },
1196
- foperators() {
1197
- return [...this.$appdata.getParam('收费员查询')]
1198
- },
1199
- charge_state() {
1200
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1201
- },
1202
- bank(){
1203
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1204
- }
1205
- }
1206
- }
1207
- </script>
1208
- <style scoped>
1209
- </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 @sort="sort">
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
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="true"
16
+ condition="f_operate_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="f_operate_date <= '{}'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body">客户名称</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
37
+ condition="f_user_name = '{}'" placeholder="客户名称">
38
+ </div>
39
+
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
45
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
46
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
47
+ :defaultselect="$parent.$parent.defaultexport"
48
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
49
+ :choose-col="true">
50
+ </export-excel>
51
+
52
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
53
+ :defaultfield="$parent.$parent.defaultfield"
54
+ titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
55
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
+
58
+ </div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body" title="参数:收费人员查询">收费人员</label>
64
+ <v-select :value.sync="model.f_operator" multiple
65
+ v-model="model.f_operator"
66
+ :options='$parent.$parent.foperators' placeholder='请选择'
67
+ condition="f_operator in {}"
68
+ close-on-select></v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label class="font_normal_body">收费编号</label>
72
+ <input type="text" style="width:60%" class="input_search" v-model="model.id"
73
+ condition="id = '{}'" placeholder="收费编号">
74
+ </div>
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body">客户电话</label>
77
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
78
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">身份证号</label>
82
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
83
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body">客户地址</label>
87
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
88
+ condition="f_address like '%{}%'" placeholder='客户地址'>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
92
+ <v-select :value.sync="model.f_residential_area"
93
+ class="select_list select"
94
+ v-model="model.f_residential_area"
95
+ style="width: 60%"
96
+ multiple
97
+ condition="f_residential_area in {}"
98
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
99
+ close-on-select>
100
+
101
+ </v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
105
+ <v-select :value.sync="model.f_payment" multiple
106
+ v-model="model.f_payment"
107
+ :options='$parent.$parent.payment' placeholder='请选择'
108
+ condition="f_payment in {}"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
113
+ <v-select :value.sync="model.f_bank_type" multiple
114
+ v-model="model.f_bank_type"
115
+ :options='$parent.$parent.banktype' placeholder='请选择'
116
+ condition="f_bank_type in {}"
117
+ close-on-select></v-select>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body">收费类型</label>
121
+ <!-- <v-select :value.sync="model.f_type"
122
+ v-model="model.f_type"
123
+ :options='$parent.$parent.chargetype' placeholder='请选择'
124
+ condition="f_type = '{}'"
125
+ close-on-select></v-select>-->
126
+ <v-select :value.sync="model.f_type" multiple
127
+ :options='$parent.$parent.chargetype' placeholder='请选择'
128
+ close-on-select clear-button
129
+ condition="f_type in {}"
130
+ v-model="model.f_type"></v-select>
131
+ </div>
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body">客户类型</label>
134
+ <v-select :value.sync="model.f_user_type"
135
+ @change="$parent.$parent.userTypeChange()"
136
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
137
+ condition="f_user_type = '{}'"
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.f_gasproperties" v-model="model.f_gasproperties"
143
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
144
+ condition="f_gasproperties = '{}'"
145
+ close-on-select></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.pricetype" v-model="model.pricetype"
150
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
151
+ condition="f_price_type like '%{}%'"
152
+ close-on-select v-ref:type>
153
+ </v-select>
154
+ </div>
155
+ <div class="col-sm-2 form-group">
156
+ <label class="font_normal_body">气价名称</label>
157
+ <v-select :value.sync="model.f_price_name"
158
+ v-model="model.f_price_name"
159
+ :options="$parent.$parent.getPricenames"
160
+ condition="f_price_name = '{}'"
161
+ close-on-select></v-select>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
165
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
166
+ condition="f_user_id = '{}'" placeholder='表编号'>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body">气表类型</label>
170
+ <v-select :value.sync="model.f_meter_type" multiple
171
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
172
+ condition="f_meter_type in {}"
173
+ close-on-select></v-select>
174
+ </div>
175
+ <div class="col-sm-2 form-group">
176
+ <label class="font_normal_body">气表品牌</label>
177
+ <v-select :value.sync="model.f_meter_brand" multiple
178
+ v-model="model.f_meter_brand"
179
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
180
+ condition="f_meter_brand in {}"
181
+ close-on-select></v-select>
182
+ </div>
183
+
184
+ <div class="col-sm-2 form-group">
185
+ <label class="font_normal_body">收费状态</label>
186
+ <v-select :value.sync="model.f_state" multiple
187
+ v-model="model.f_state"
188
+ :options='$parent.$parent.charge_state' placeholder='请选择'
189
+ condition="f_state in {}"
190
+ close-on-select></v-select>
191
+ </div>
192
+ <div class="col-sm-2 form-group">
193
+ <label class="font_normal_body">银行名称</label>
194
+ <v-select :value.sync="model.f_bank_name"
195
+ v-model="model.f_bank_name"
196
+ :options='$parent.$parent.bank' placeholder='请选择'
197
+ condition="f_bank_name = '{}'"
198
+ close-on-select></v-select>
199
+ </div>
200
+ <div class="col-sm-2 form-group">
201
+ <label class="font_normal_body">是否优惠</label>
202
+ <v-select :value.sync="model.f_privilege_money"
203
+ v-model="model.f_privilege_money"
204
+ :options='$parent.$parent.privilege_money' placeholder='请选择'
205
+ condition="f_privilege_money {}"
206
+ close-on-select></v-select>
207
+ </div>
208
+ <div class="col-sm-2 form-group">
209
+ <label class="font_normal_body">收&ensp;据&ensp;号</label>
210
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
211
+ v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>
212
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
213
+ v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>
214
+ </div>
215
+ <div class="col-sm-2 form-group">
216
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
217
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
218
+ condition="f_serial_id = '{}'" placeholder='流水号'>
219
+ </div>
220
+ <div class="col-sm-2 form-group">
221
+ <label class="font_normal_body">发票号码</label>
222
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
223
+ condition="f_invoice_num = '{}'" placeholder='发票号码'>
224
+ </div>
225
+ <div class="col-sm-2 form-group">
226
+ <label class="font_normal_body" title="发票类型查询">发票类型</label>
227
+ <v-select :value.sync="model.f_invoice_type"
228
+ v-model="model.f_invoice_type"
229
+ :options='$parent.$parent.invoiceType' placeholder='请选择'
230
+ condition="f_invoice_type = '{}'"
231
+ close-on-select :value-single="true" :search="false">
232
+ </v-select>
233
+ </div>
234
+ <div class="col-sm-2 form-group">
235
+ <label class="font_normal_body">开&ensp;票&ensp;人</label>
236
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
237
+ condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
238
+ </div>
239
+ <div class="col-sm-2 form-group">
240
+ <label for="startDate" class="font_normal_body">开票时间</label>
241
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
242
+ v-model="model.invoice_startDate"
243
+ :value.sync="model.invoice_startDate"
244
+ :format="'yyyy-MM-dd'"
245
+ :show-reset-button="true"
246
+ condition="f_invoice_date >= '{}'">
247
+ </datepicker>
248
+ </div>
249
+ <div class="col-sm-2 form-group">
250
+ <label for="endDate" class="font_normal_body">开票时间</label>
251
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
252
+ v-model="model.invoice_endDate"
253
+ :value.sync="model.invoice_endDate"
254
+ :format="'yyyy-MM-dd'"
255
+ :show-reset-button="true"
256
+ condition="f_invoice_date <= '{}'">
257
+ </datepicker>
258
+ </div>
259
+ <div class="col-sm-2 form-group">
260
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
261
+ <v-select :value.sync="model.f_inputtor"
262
+ v-model="model.f_inputtor"
263
+ :options='$parent.$parent.inputtores' placeholder='请选择'
264
+ condition="f_inputtor = '{}'"
265
+ close-on-select :value-single="true" :search="false">
266
+ </v-select>
267
+ </div>
268
+ <div class="col-sm-2 form-group">
269
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
270
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
271
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
272
+ style="width:60%"
273
+ close-on-select
274
+ condition="f_meter_book_num = '{}'"></v-select>
275
+ </div>
276
+ <div class="col-sm-2 form-group">
277
+ <label class="font_normal_body">写卡状态</label>
278
+ <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
279
+ :options='$parent.$parent.writecard' placeholder='写卡状态'
280
+ style="width:60%"
281
+ close-on-select
282
+ condition="f_write_card = '{}'"></v-select>
283
+ </div>
284
+ <div class="col-sm-2 form-group">
285
+ <label class="font_normal_body">街&ensp;&ensp;&ensp;&ensp;道</label>
286
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_street"
287
+ condition="f_street like '%{}%'" placeholder='街道'>
288
+ </div>
289
+ <div class="col-sm-2 form-group">
290
+ <label class="font_normal_body">用&ensp;气&ensp;点</label>
291
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
292
+ condition="f_userfiles_address like '%{}%'" placeholder='用气点'>
293
+ </div>
294
+ </div>
295
+ </div>
296
+ </criteria>
297
+
298
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
299
+ <template partial='head'>
300
+ <tr>
301
+ <th>
302
+ <nobr>收费编号</nobr>
303
+ </th>
304
+ <th>
305
+ <!-- <nobr>客户编号</nobr>-->
306
+ <data-order field="f_userinfo_code" name="客户编号"
307
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
308
+ </th>
309
+ <th><nobr>街道</nobr></th>
310
+ <th>
311
+ <nobr>客户名称</nobr>
312
+ </th>
313
+ <th>
314
+ <nobr>片区</nobr>
315
+ </th>
316
+ <th>
317
+ <!-- <nobr>客户地址</nobr>-->
318
+ <data-order field="f_address" name="客户地址"
319
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
320
+ </th>
321
+ <th>
322
+ <nobr>客户类型</nobr>
323
+ </th>
324
+ <th>
325
+ <nobr>用气性质</nobr>
326
+ </th>
327
+ <th>
328
+ <nobr>用气点</nobr>
329
+ </th>
330
+ <th>
331
+ <nobr>表号</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>气表品牌</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>卡号</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>购气次数</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>气量</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>金额</nobr>
347
+ </th>
348
+ <th>
349
+ <nobr>违约金</nobr>
350
+ </th>
351
+ <th>
352
+ <nobr>燃气费</nobr>
353
+ </th>
354
+ <th>
355
+ <nobr>清缴金额</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>预存金额</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>上期结余</nobr>
362
+ </th>
363
+ <th>
364
+ <nobr>收款</nobr>
365
+ </th>
366
+ <!--<th>-->
367
+ <!--&lt;!&ndash; <nobr>所属年月</nobr>&ndash;&gt;-->
368
+ <!--<data-order field="f_rest_date" name="所属年月"-->
369
+ <!--:order.sync="$parent.$parent.$parent.orderFields.f_rest_date"></data-order>-->
370
+
371
+ <!--</th>-->
372
+ <th>
373
+ <!-- <nobr>收费日期</nobr>-->
374
+ <data-order field="f_operate_date" name="收费日期"
375
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
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>写卡状态</nobr>
388
+ </th>
389
+ <th>
390
+ <nobr>支付渠道</nobr>
391
+ </th>
392
+ <th>
393
+ <nobr>银行名称</nobr>
394
+ </th>
395
+ <th>
396
+ <nobr>收费类型</nobr>
397
+ </th>
398
+ <th>
399
+ <nobr>终端号</nobr>
400
+ </th>
401
+ <th>
402
+ <nobr>蓝牙数据包状态</nobr>
403
+ </th>
404
+ <th>
405
+ <nobr>状态</nobr>
406
+ </th>
407
+
408
+ <th>
409
+ <nobr>备注</nobr>
410
+ </th>
411
+ <th>
412
+ <nobr>补打次数</nobr>
413
+ </th>
414
+ <th>
415
+ <nobr>人员</nobr>
416
+ </th>
417
+ <th>
418
+ <nobr>部门</nobr>
419
+ </th>
420
+ <th>
421
+ <nobr>公司</nobr>
422
+ </th>
423
+ <th>
424
+ <nobr>流水号</nobr>
425
+ </th>
426
+ <th>
427
+ <nobr>收据号</nobr>
428
+ </th>
429
+ <th>
430
+ <nobr>订单编号</nobr>
431
+ </th>
432
+ <th>
433
+ <nobr>发票号码</nobr>
434
+ </th>
435
+ <th>
436
+ <nobr>发票类型</nobr>
437
+ </th>
438
+ <th>
439
+ <nobr>开票人</nobr>
440
+ </th>
441
+ <th>
442
+ <nobr>开票时间</nobr>
443
+ </th>
444
+ <th>
445
+ <nobr>实际写卡金额</nobr>
446
+ </th>
447
+ <th>
448
+ <nobr>冲正人</nobr>
449
+ </th>
450
+ <th>
451
+ <nobr>冲正时间</nobr>
452
+ </th>
453
+ <th>
454
+ <nobr>一阶气量</nobr>
455
+ </th>
456
+ <th>
457
+ <nobr>一阶单价</nobr>
458
+ </th>
459
+ <th>
460
+ <nobr>一阶气费</nobr>
461
+ </th>
462
+ <th>
463
+ <nobr>二阶气量</nobr>
464
+ </th>
465
+ <th>
466
+ <nobr>二阶单价</nobr>
467
+ </th>
468
+ <th>
469
+ <nobr>二阶气费</nobr>
470
+ </th>
471
+ <th>
472
+ <nobr>三阶气量</nobr>
473
+ </th>
474
+ <th>
475
+ <nobr>三阶单价</nobr>
476
+ </th>
477
+ <th>
478
+ <nobr>三阶气费</nobr>
479
+ </th>
480
+ <th><nobr>附件</nobr></th>
481
+ </tr>
482
+ </template>
483
+ <template partial='body' >
484
+ <td style="text-align: center;">
485
+ <nobr>{{row.id}}</nobr>
486
+ </td>
487
+ <td style="text-align: center;"><nobr>
488
+ <nobr>{{row.f_userinfo_code}}</nobr>
489
+ </nobr> </td>
490
+ <td style="text-align: center;">
491
+ <nobr>{{row.f_street}}</nobr>
492
+ </td>
493
+ <td style="text-align: center;">
494
+ <nobr>{{row.f_user_name}}</nobr>
495
+ </td>
496
+ <td style="text-align: center;">
497
+ <nobr>{{row.f_zones}}</nobr>
498
+ </td>
499
+ <td style="text-align: center;">
500
+ <nobr>{{row.f_address}}</nobr>
501
+ </td>
502
+ <td style="text-align: center;">
503
+ <nobr>{{row.f_user_type}}</nobr>
504
+ </td>
505
+ <td style="text-align: center;">
506
+ <nobr>{{row.f_gasproperties}}</nobr>
507
+ </td>
508
+ <td style="text-align: center;">
509
+ <nobr>{{row.f_userfiles_address}}</nobr>
510
+ </td>
511
+ <td style="text-align: center;">
512
+ <nobr>{{row.f_meternumber}}</nobr>
513
+ </td>
514
+ <td style="text-align: center;">
515
+ <nobr>{{row.f_meter_brand}}</nobr>
516
+ </td>
517
+ <td style="text-align: center;">
518
+ <nobr>{{row.f_card_id}}</nobr>
519
+ </td>
520
+ <td style="text-align: center;">
521
+ <nobr>{{row.f_times}}</nobr>
522
+ </td>
523
+ <td style="text-align: center;">
524
+ <nobr>{{row.f_pregas}}</nobr>
525
+ </td>
526
+ <td style="text-align: center;">
527
+ <nobr>{{row.fee}}</nobr>
528
+ </td>
529
+ <td style="text-align: center;">
530
+ <nobr>{{row.f_delaypay}}</nobr>
531
+ </td>
532
+ <td style="text-align: center;">
533
+ <nobr>{{row.f_preamount}}</nobr>
534
+ </td>
535
+ <td style="text-align: center;">
536
+ <nobr>{{row.f_charge_money}}</nobr>
537
+ </td>
538
+ <td style="text-align: center;">
539
+ <nobr>{{row.f_yucun}}</nobr>
540
+ </td>
541
+ <td style="text-align: center;">
542
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_balance_amount}}</nobr>
543
+ <nobr v-else>{{row.f_balance}}</nobr>
544
+ </td>
545
+ <td style="text-align: center;">
546
+ <nobr>{{row.f_collection}}</nobr>
547
+ </td>
548
+ <!--<td style="text-align: center;">-->
549
+ <!--<nobr>{{row.f_rest_date}}</nobr>-->
550
+ <!--</td>-->
551
+ <td style="text-align: center;">
552
+ <nobr>{{row.f_operate_date}}</nobr>
553
+ </td>
554
+ <td style="text-align: center;">
555
+ <nobr>{{row.f_privilege_money}}</nobr>
556
+ </td>
557
+
558
+
559
+ <td style="text-align: center;">
560
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_curbalance_amount}}</nobr>
561
+ <nobr v-else>{{row.f_curbalance}}</nobr>
562
+ </td>
563
+ <td style="text-align: center;">
564
+ <nobr>{{row.f_payment}}</nobr>
565
+ </td>
566
+ <td style="text-align: center;">
567
+ <nobr>{{row.f_write_card}}</nobr>
568
+ </td>
569
+ <td style="text-align: center;">
570
+ <nobr>{{row.f_bank_type}}</nobr>
571
+ </td>
572
+ <td style="text-align: center;">
573
+ <nobr>{{row.f_bank_name}}</nobr>
574
+ </td>
575
+ <td style="text-align: center;">
576
+ <nobr>{{row.f_type}}</nobr>
577
+ </td>
578
+ <td style="text-align: center;">
579
+ <nobr>{{row.f_terminal_num}}</nobr>
580
+ </td>
581
+ <td style="text-align: center;">
582
+ <nobr>{{row.f_bluetooth_package}}</nobr>
583
+ </td>
584
+ <td style="text-align: center;">
585
+ <nobr>{{row.f_state}}</nobr>
586
+ </td>
587
+
588
+ <td style="text-align: center;">
589
+ <nobr>{{row.f_comments}}</nobr>
590
+ </td>
591
+ <td style="text-align: center;">
592
+ <nobr>{{row.filltimes}}</nobr>
593
+ </td>
594
+ <td style="text-align: center;">
595
+ <nobr>{{row.f_operator}}</nobr>
596
+ </td>
597
+ <td style="text-align: center;">
598
+ <nobr>{{row.f_depname}}</nobr>
599
+ </td>
600
+ <td style="text-align: center;">
601
+ <nobr>{{row.f_orgname}}</nobr>
602
+ </td>
603
+ <td style="text-align: center;">
604
+ <nobr>{{row.f_serial_id}}</nobr>
605
+ </td>
606
+ <td style="text-align: center;">
607
+ <nobr>{{row.f_bill_number}}</nobr>
608
+ </td>
609
+ <td style="text-align: center;">
610
+ <nobr>{{row.f_serial_number}}</nobr>
611
+ </td>
612
+ <td style="text-align: center;">
613
+ <nobr>{{row.f_invoice_num}}</nobr>
614
+ </td>
615
+ <td style="text-align: center;">
616
+ <nobr>{{row.f_invoice_type}}</nobr>
617
+ </td>
618
+ <td style="text-align: center;">
619
+ <nobr>{{row.f_invoiceuse_operator}}</nobr>
620
+ </td>
621
+ <td style="text-align: center;">
622
+ <nobr>{{row.f_invoice_date}}</nobr>
623
+ </td>
624
+ <td style="text-align: center;">
625
+ <nobr>{{row.f_write_money}}</nobr>
626
+ </td>
627
+ <td style="text-align: center;">
628
+ <nobr>{{row.f_corr_operator}}</nobr>
629
+ </td>
630
+ <td style="text-align: center;">
631
+ <nobr>{{row.f_corr_operate_date}}</nobr>
632
+ </td>
633
+ <td style="text-align: center;">
634
+ <nobr>{{row.f_stairamount1}}</nobr>
635
+ </td>
636
+ <td style="text-align: center;">
637
+ <nobr>{{row.f_stair1price}}</nobr>
638
+ </td>
639
+ <td style="text-align: center;">
640
+ <nobr>{{(row.f_stair1fee - 0).toFixed(0)}}</nobr>
641
+ </td>
642
+ <td style="text-align: center;">
643
+ <nobr>{{row.f_stair2amount}}</nobr>
644
+ </td>
645
+ <td style="text-align: center;">
646
+ <nobr>{{row.f_stair2price}}</nobr>
647
+ </td>
648
+ <td style="text-align: center;">
649
+ <nobr>{{(row.f_stair2fee - 0).toFixed(0)}}</nobr>
650
+ </td>
651
+ <td style="text-align: center;">
652
+ <nobr>{{row.f_stair3amount}}</nobr>
653
+ </td>
654
+ <td style="text-align: center;">
655
+ <nobr>{{row.f_stair3price}}</nobr>
656
+ </td>
657
+ <td style="text-align: center;">
658
+ <nobr>{{(row.f_stair3fee - 0).toFixed(0)}}</nobr>
659
+ </td>
660
+ <td style="text-align: center;"><nobr>
661
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
662
+ </nobr></td>
663
+ </template>
664
+ <template partial='foot'></template>
665
+ </data-grid>
666
+ </criteria-paged>
667
+ <table class="table-hover">
668
+ <tr style="position: relative" class="table-bordered">
669
+ <td
670
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
671
+ 汇总信息
672
+ </td>
673
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
674
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
675
+ </td>
676
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
677
+ 应交金额合计:&emsp;{{sumsmodel.fee}}
678
+ </td>
679
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
680
+ 违约金合计:&emsp;{{sumsmodel.f_delaypay}}
681
+ </td>
682
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
683
+ 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
684
+ </td>
685
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
686
+ 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
687
+ </td>
688
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
689
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
690
+ </td>
691
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
692
+ 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
693
+ </td>
694
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
695
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
696
+ </td>
697
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
698
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee.toFixed(0)}}
699
+ </td>
700
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
701
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
702
+ </td>
703
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
704
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee.toFixed(0)}}
705
+ </td>
706
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
707
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
708
+ </td>
709
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
710
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee.toFixed(0)}}
711
+ </td>
712
+ </tr>
713
+ </table>
714
+ </div>
715
+ <!--<div v-if="show">-->
716
+ <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
717
+ <!--</div>-->
718
+ </div>
719
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
720
+ <article slot="modal-body">
721
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
722
+ </article>
723
+ <footer slot="modal-footer" class="modal-footer">
724
+ </footer>
725
+ </modal>
726
+ </div>
727
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
728
+ </template>
729
+
730
+ <script>
731
+ import {HttpResetClass, PagedList} from 'vue-client'
732
+ import exportConfig from './config/exportConfig'
733
+ let cardBtnGen = async function (self, val) {
734
+ self.cardInfo = val.data
735
+
736
+ // 判断读卡是否需要卡密码
737
+ console.log('读卡上的信息', self.cardInfo)
738
+
739
+ if (self.cardInfo.NewParam) {
740
+ if (self.cardInfo.NewParam.error) {
741
+ if (self.cardInfo.NewParam.error === '0001') {
742
+ // 需要重新读卡并传卡密码
743
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
744
+ self.readCardParam = self.model.rows[0].f_card_password
745
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
746
+ } else {
747
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
748
+ return
749
+ }
750
+ }
751
+ }
752
+ }
753
+ self.card=self.cardInfo.CardID
754
+ self.search()
755
+ }
756
+ let readySomething = async function (self) {
757
+ //加载抄表册
758
+ self.initmeterbook();
759
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
760
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
761
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
762
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
763
+ // self.$refs.paged.$refs.cri.model.f_state=['有效'];
764
+ // self.$refs.paged.$refs.cri.search()
765
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
766
+ await self.$MagLoadParams.loadParam()
767
+ self.initParams()
768
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
769
+ }
770
+ export default {
771
+ props:['data'],
772
+ title: '收费查询',
773
+ data() {
774
+ return {
775
+ IdCardInfo:'',
776
+ card:'',
777
+ isSingleUser: null,
778
+ startDate1:'',
779
+ endDate1:'',
780
+ resshow:['company','department','operator','slicearea'],
781
+ other:[],
782
+
783
+ footer:[],
784
+ config: {
785
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount']
786
+ },
787
+ //排序
788
+ orderitem:'f_operate_date desc',
789
+ orderFields: {
790
+ f_operate_date: 'no'
791
+ },
792
+ //f_price_name:[],
793
+ gasproperties:[],
794
+ showinfo: false,
795
+ data: {},
796
+ getstart:'',
797
+ show:false,
798
+ rowdata:{},
799
+ initres: {
800
+ org:[this.$login.f.orgid],
801
+ dep:[],
802
+ user:[]
803
+ },
804
+ model: new PagedList('api/af-revenue/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
805
+ f_pregas: 0,
806
+ f_preamount: 0,
807
+ f_delaypay: 0,
808
+ fee:0,
809
+ f_yucun:0,
810
+ f_privilege_money: 0,
811
+ f_collection: 0,
812
+ f_stairamount1:0,
813
+ f_stair1fee:0,
814
+ f_stair2amount:0,
815
+ f_stair2fee:0,
816
+ f_stair3amount:0,
817
+ f_stair3fee:0,
818
+ }),
819
+ criteriaShow: false,
820
+ orgCondtionStr: '',
821
+ // 下拉框
822
+ meterbrands: [],
823
+ pricenames: [],
824
+ prices: [],
825
+ area: [],
826
+ //默认打印列
827
+ defaultfield: [],
828
+ //小区
829
+ residentialArea: [],
830
+ sumsmodel: {},
831
+ f_filialeid: this.$login.f.f_orgid,
832
+ wxstate:[
833
+ {label: '全部', value: ''},
834
+ {label: '已退款', value: `= '3'`},
835
+ {label: '未退款', value: `!= '3'`}
836
+ ],
837
+ privilege_money:[
838
+ {label: '全部', value: ''},
839
+ {label: '已优惠', value: '> 0'},
840
+ {label: '未优惠', value: '= 0'}
841
+ ],
842
+ showupload:false,
843
+ selected:{},
844
+ meterbooks:[{label: '全部',value: ''}], //抄表册
845
+ inputtores:[{label: '全部',value: ''}],
846
+ writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'}],
847
+ allorgid:[],
848
+ tempfalg :false,
849
+ lastorgstr:''
850
+ }
851
+ },
852
+ ready() {
853
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
854
+ this.getaddress()
855
+ //加载抄表册
856
+ this.$MagGetSaleParam.initinputtor();
857
+ this.getinputtores();
858
+ // this.initres.dep.push(this.$login.f.depids)
859
+ readySomething(this).then(() => {
860
+ this.$emit('ready')
861
+ }).catch((error) => {
862
+ this.$emit('error', error)
863
+ })
864
+ },
865
+ methods: {
866
+ ReadIDCard(){
867
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
868
+ console.log('======',msg)
869
+ if(msg.err !== 0){ return}
870
+ this.IdCardInfo=msg.strID
871
+ })
872
+ if(this.IdCardInfo) {
873
+ this.search()
874
+ }else{
875
+ alert("读取失败,找不到用户信息")
876
+ }
877
+ },
878
+ cardBtn (val) {
879
+ // this.clear()
880
+ cardBtnGen(this, val)
881
+ },
882
+ async initmeterbook(orgstr){
883
+ if(orgstr == null ){
884
+ orgstr = this.f_filialeid;
885
+ }
886
+ //获取新的抄表册,先去清理所有的抄表册
887
+ this.$GetSaleParam.meterbooks = [];
888
+ //开始加载新的抄表册
889
+ await this.$LoadParams.loadMeterBook(orgstr)
890
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
891
+ },
892
+ async getinputtores () {
893
+ // 获取抄表员
894
+ let rs = []
895
+ if (this.$login.f.f_gasman.length > 0) {
896
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
897
+ let temp = {
898
+ label: this.$login.f.f_gasman[i].name,
899
+ value: this.$login.f.f_gasman[i].name
900
+ }
901
+ rs.push(temp)
902
+ }
903
+ }
904
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
905
+ },
906
+ //显示附件
907
+ view(row){
908
+ this.showupload = true
909
+ this.selected= row
910
+ },
911
+ getotherfooter () {
912
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
913
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
914
+ this.other = [];
915
+ this.footer = [];
916
+ let exportdata = this.getCondition;
917
+ let otherInData = [];
918
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
919
+ let footerData = [], exportfield = this.getfield;
920
+ footerData.push("合计");
921
+ let self = this;
922
+ for (var field in self.sumsmodel) {
923
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
924
+ }
925
+ this.footer.push(footerData);
926
+ this.other.push(otherInData);
927
+ },
928
+ async getaddress(){
929
+ let HttpReset = new HttpResetClass()
930
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
931
+ data: {
932
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
933
+ }
934
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
935
+ console.log('小区',data)
936
+ let house = [{label: '全部', value: ''}]
937
+ for (let row of data.data){
938
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
939
+ }
940
+ this.residentialArea = house
941
+ },
942
+ //把数据库查询数据转换为下拉数据
943
+ calculate(rows){
944
+ let data = []
945
+ rows.forEach((row, n) => {
946
+ data[n] = {label: row.f_residential_area, value: row.id}
947
+ })
948
+ return data
949
+ },
950
+
951
+ search(){
952
+
953
+ this.$refs.paged.$refs.cri.search()
954
+ },
955
+ cancel() {
956
+ this.show = false
957
+ },
958
+ showmsg(obj){
959
+ this.rowdata=obj
960
+ this.show=true
961
+ },
962
+ userTypeChange () {
963
+ this.gasproperties=[]
964
+ if(this.$refs.paged.$refs.cri.model !==null) {
965
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
966
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
967
+ }
968
+ else{
969
+ this.gasproperties =[{label: '全部', value: ''}]
970
+ }
971
+ },
972
+ initParams() {
973
+ // 初始化气表品牌
974
+ let brandArr = []
975
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
976
+ let temp = {}
977
+ temp.label = item.label
978
+ temp.value = item.value.f_meter_brand
979
+ brandArr.push(temp)
980
+ })
981
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
982
+ //初始化气表价格
983
+ this.prices = this.$MagGetSaleParam.getPrices();
984
+ },
985
+ selfSearch(args) {
986
+ debugger
987
+ if (this.data) {
988
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
989
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
990
+ }
991
+
992
+ let f_orgstr = this.orgCondtionStr
993
+ args.condition = `${args.condition} ` + f_orgstr
994
+ if(this.card!=''){
995
+ args.condition+=` and f_card_id='${this.card}'`
996
+ }
997
+ if(this.IdCardInfo!=''){
998
+ args.condition +=` and f_idnumber='${this.IdCardInfo}'`
999
+ }
1000
+ this.model.search(args.condition, args.model)
1001
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1002
+ this.card=''
1003
+ this.IdCardInfo=''
1004
+ },
1005
+ clear() {
1006
+ //清空部门和人员
1007
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1008
+ //部门和人员变为全选
1009
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1010
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1011
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1012
+ this.$refs.paged.$refs.cri.model[key] = []
1013
+ })
1014
+
1015
+ },
1016
+ dealmsg(val,startDate,endDate) {
1017
+ val.model = this.model.model
1018
+ startDate=this.startDate1
1019
+ endDate=this.endDate1
1020
+ this.$dispatch('deal-msg', val,startDate,endDate)
1021
+ },
1022
+ show() {
1023
+ this.criteriaShow = true
1024
+ },
1025
+ hidden() {
1026
+ this.criteriaShow = !this.criteriaShow
1027
+ },
1028
+ async getRes(condition,obj) {
1029
+ this.orgCondtionStr = condition
1030
+ this.orgname = obj.orgnames[0]
1031
+ this.depname = obj.depnames[0]
1032
+
1033
+
1034
+ },
1035
+ async updateParams() {
1036
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
1037
+ this.inputtores = [];
1038
+ this.inputtores.push({label: "全部", value: ""})
1039
+ if(this.allorgid!=null){
1040
+ this.allorgid.forEach((res)=>{
1041
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1042
+ })
1043
+ }
1044
+ this.initParams()
1045
+ },
1046
+ sort (field, rule) {
1047
+ // 将所有排序方式设为不排序,实现相互排斥
1048
+ for (let key in this.orderFields) {
1049
+ if (key === field) {
1050
+ this.orderFields[key] = rule
1051
+ } else {
1052
+ this.orderFields[key] = 'no'
1053
+ }
1054
+ }
1055
+ // 如果新规则不排序,还原为默认排序
1056
+ if (rule === 'no') {
1057
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
1058
+ } else {
1059
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
1060
+ }
1061
+
1062
+ this.search()
1063
+ }
1064
+
1065
+ },
1066
+ events:{
1067
+ 'getidcard'(IdCard){
1068
+ // console.log(param)
1069
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
1070
+ }
1071
+ },
1072
+ watch: {
1073
+ 'model.rows'(val) {
1074
+ if(val.length === 0){
1075
+ this.sumsmodel = {}
1076
+ }
1077
+ },
1078
+ 'model.rows.length' () {
1079
+ this.isSingleUser = this.model.rows
1080
+ },
1081
+ async 'orgCondtionStr'(val) {
1082
+ //更新抄表册
1083
+ this.meterbooks = [{label: '全部',value: ''}];
1084
+ if(this.lastorgstr != val){
1085
+ this.tempfalg = true;
1086
+ this.lastorgstr = val;
1087
+ }
1088
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1089
+ this.tempfalg = false;
1090
+ let a = val.substring(val.indexOf("(")+2)
1091
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1092
+ }
1093
+ let res = val.match(/'(.*?)'/)
1094
+ console.log('正则提取:',res && res[1])
1095
+ if (res) {
1096
+ this.f_filialeid = res[1]
1097
+ if(res.input !=null){
1098
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1099
+ if(resorgid!= null && resorgid!=''){
1100
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1101
+ // resorgid = resorgid.replaceAll("'","");
1102
+ resorgid = resorgid.replace(/'/g,"");
1103
+ this.allorgid = resorgid.split(",")
1104
+ }
1105
+ }
1106
+ this.updateParams()
1107
+ }
1108
+ },
1109
+ sumsmodel:{
1110
+ handler: function(val) {
1111
+ this.getotherfooter();
1112
+ },
1113
+ deep: true
1114
+ }
1115
+ },
1116
+ computed: {
1117
+ getstart(){
1118
+ return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
1119
+ },
1120
+ chooserow(){
1121
+ let aaa= true
1122
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
1123
+ aaa = false
1124
+ }
1125
+ return aaa
1126
+ },
1127
+ getPricenames() {
1128
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1129
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1130
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1131
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1132
+ if(this.$refs.paged.$refs.cri.model !==null) {
1133
+ let rs = []
1134
+ let priceArr = []
1135
+ if ( pricetype.length >0) {
1136
+ let params = {
1137
+ f_price_type: pricetype[0],
1138
+ filter: this.f_filialeid,
1139
+ prices: this.prices
1140
+ }
1141
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1142
+ let temp = {}
1143
+ temp.label = item.label
1144
+ temp.value = item.value.f_price_name
1145
+ priceArr.push(temp)
1146
+ })
1147
+ rs = [{label: '全部', value: ''}, ...priceArr]
1148
+ }
1149
+ if (rs.length === 0) {
1150
+ console.log('rs读出来是空')
1151
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1152
+ }
1153
+ return rs
1154
+ }
1155
+ },
1156
+ getCondition() {
1157
+ return {
1158
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1159
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1160
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1161
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
1162
+ }
1163
+ },
1164
+ getfield() {
1165
+ return exportConfig.chargeConfig
1166
+ },
1167
+ defaultexport() {
1168
+ return exportConfig.chargeexportConfig
1169
+ },
1170
+ pricetypes() {
1171
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1172
+ },
1173
+
1174
+ invoiceType() {
1175
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1176
+ },
1177
+ usertypes() {
1178
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1179
+ },
1180
+ metertypes() {
1181
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1182
+ },
1183
+
1184
+ tablestate() {
1185
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1186
+ },
1187
+ chargetype() {
1188
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1189
+ },
1190
+ payment() {
1191
+ return [...this.$appdata.getParam('付款方式查询')]
1192
+ },
1193
+ banktype() {
1194
+ return [...this.$appdata.getParam('支付渠道查询')]
1195
+ },
1196
+ foperators() {
1197
+ return [...this.$appdata.getParam('收费员查询')]
1198
+ },
1199
+ charge_state() {
1200
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1201
+ },
1202
+ bank(){
1203
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1204
+ }
1205
+ }
1206
+ }
1207
+ </script>
1208
+ <style scoped>
1209
+ </style>