manage-client 3.3.231 → 3.3.232

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