manage-client 3.3.232 → 3.3.233

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