manage-client 3.3.234 → 3.3.235

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