manage-client 3.3.217 → 3.3.219

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