manage-client 3.3.217 → 3.3.219

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