manage-client 3.2.83 → 3.2.86

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