sale-client 3.6.18 → 3.6.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.18",
3
+ "version": "3.6.19",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/App.vue CHANGED
@@ -10,12 +10,8 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import Vue from 'vue'
14
13
 
15
14
  export default {
16
- ready () {
17
- Vue.config.silent = true
18
- Vue.mmType = 'AES'
19
- }
15
+ ready () {}
20
16
  }
21
17
  </script>
@@ -3,7 +3,7 @@
3
3
  <div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
4
4
  <file-address-list @select-changed="selected" v-ref:addresslist :style="style" :select=select :company=company :f_filialeids.sync="f_filialeids"></file-address-list>
5
5
  </div>
6
- <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}" style="width:60%">
6
+ <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
7
7
  <div class="flex">
8
8
  <file-user-address :f_filialeids.sync="f_filialeids" :is_pecial="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></file-user-address>
9
9
 
@@ -283,6 +283,13 @@
283
283
  <input class="input_search" condition="f_meternumber ='{}'" placeholder='表号' style="width:60%"
284
284
  type="text" v-model="model.f_meternumber">
285
285
  </div>
286
+ <div
287
+ :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
288
+ class="form-group">
289
+ <label class="font_normal_body">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
290
+ <input class="input_search" condition="f_comments like '%{}%'" placeholder='备注' style="width:60%"
291
+ type="text" v-model="model.f_comments">
292
+ </div>
286
293
  </div>
287
294
  </div>
288
295
  </criteria>
@@ -331,6 +338,9 @@
331
338
  <th v-if="!$parent.$parent.$parent.createFile">
332
339
  <nobr>状态</nobr>
333
340
  </th>
341
+ <th>
342
+ <nobr>备注</nobr>
343
+ </th>
334
344
  <th >
335
345
  <nobr>客户等级</nobr>
336
346
  </th>
@@ -362,6 +372,7 @@
362
372
  <td style="text-align: center;">{{row.f_whether_hairpin}}</td>
363
373
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_userfiles_address}}</td>
364
374
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_user_state}}</td>
375
+ <td style="text-align: center;" >{{row.f_comments}}</td>
365
376
  <td style="text-align: center;" >{{row.f_user_level}}</td>
366
377
  <td style="text-align: center;">
367
378
  <button type="button" name="button" class="button_search-2 button_spacing width-60"
@@ -205,7 +205,7 @@
205
205
  </div>
206
206
  </form>
207
207
  </validator>
208
- <modal v-if="showselectaddress" :show.sync="showselectaddress" width="70%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
208
+ <modal v-if="showselectaddress" :show.sync="showselectaddress" width="50%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
209
209
  <article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
210
210
  <file-address-manage :is-select="isSelect" :fileinfo="addressinfo"
211
211
  @address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex" style="height: 90%;overflow-y: scroll">
3
- <mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
4
- <stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
3
+ <mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
4
+ <stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
5
5
  <bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
6
6
  <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
7
7
  <safe-check :data="data"></safe-check>
@@ -0,0 +1,905 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+
11
+ <label for="startDate" class="font_normal_body" title="归属日期">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ >
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body" title="归属日期">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ >
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">客户名称</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
+ condition="f_user_name = '{}'" placeholder="客户名称">
39
+ </div>
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+
44
+ <export-excel :data="$parent.$parent.getCondition"
45
+ :field="$parent.$parent.getfield"
46
+ :footer="$parent.$parent.footer"
47
+ :header="$parent.$parent.other"
48
+ sqlurl="rs/logic/saleExport"
49
+ sql-name="salearrearsQuery"
50
+ template-name='用户欠费查询导出'
51
+ :choose-col="true"></export-excel>
52
+
53
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield"
55
+ titletable="用户欠费查询导出"
56
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+
60
+ </div>
61
+ </div>
62
+
63
+ <div class="row" v-show="$parent.$parent.criteriaShow">
64
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
65
+
66
+
67
+ <div class="col-sm-2 form-group">
68
+
69
+ <label for="inputstartDate" class="font_normal_body">抄表日期</label>
70
+ <datepicker id="inputstartDate" placeholder="开始日期" style="width:60%"
71
+ v-model="model.inputstartDate"
72
+ :value.sync="model.inputstartDate"
73
+ :format="'yyyy-MM-dd 00:00:00'"
74
+ :show-reset-button="true"
75
+ >
76
+ </datepicker>
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label for="inputendDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
80
+ <datepicker id="inputendDate" placeholder="结束日期" style="width:60%"
81
+ v-model="model.inputendDate"
82
+ :value.sync="model.inputendDate"
83
+ :format="'yyyy-MM-dd 23:59:59'"
84
+ :show-reset-button="true"
85
+ >
86
+ </datepicker>
87
+ </div>
88
+
89
+
90
+ <!--<div class="col-sm-2 form-group">-->
91
+ <!--<label class="font_normal_body">收费编号</label>-->
92
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
93
+ <!--condition="id = '{}'" placeholder="收费编号">-->
94
+ <!--</div>-->
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">客户电话</label>
97
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
98
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
99
+ </div>
100
+ <!--<div class="col-sm-2 form-group">-->
101
+ <!--<label class="font_normal_body">身份证号</label>-->
102
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
103
+ <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
104
+ <!--</div>-->
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">客户地址</label>
107
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
108
+ condition="f_address like '%{}%'" placeholder='客户地址'>
109
+ </div>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
112
+ <v-select :value.sync="model.f_residential_area"
113
+ class="select_list select"
114
+ enter-push
115
+ multiple
116
+ condition="f_residential_area in {}"
117
+ v-model="model.f_residential_area"
118
+ style="width: 60%"
119
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
120
+ close-on-select>
121
+
122
+ </v-select>
123
+ </div>
124
+ <div class="col-sm-2 form-group">
125
+ <label class="font_normal_body" >缴费类型</label>
126
+ <v-select :value.sync="model.f_payment" multiple
127
+ v-model="model.f_payment"
128
+ :options='$parent.$parent.dypayment' placeholder='请选择'
129
+ condition="f_cost_type in {}"
130
+ close-on-select></v-select>
131
+ </div>
132
+ <!--<div class="col-sm-2 form-group">-->
133
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
134
+ <!--<v-select :value.sync="model.f_payment" multiple-->
135
+ <!--v-model="model.f_payment"-->
136
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
137
+ <!--condition="f_payment in {}"-->
138
+ <!--close-on-select></v-select>-->
139
+ <!--</div>-->
140
+ <!--<div class="col-sm-2 form-group">-->
141
+ <!--<label class="font_normal_body">收费类型</label>-->
142
+ <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
143
+ <!--v-model="model.f_type"-->
144
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
145
+ <!--condition="f_type = '{}'"-->
146
+ <!--close-on-select></v-select>&ndash;&gt;-->
147
+ <!--<v-select :value.sync="model.f_type" multiple-->
148
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
149
+ <!--close-on-select clear-button-->
150
+ <!--condition="f_type in {}"-->
151
+ <!--v-model="model.f_type"></v-select>-->
152
+ <!--</div>-->
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body">客户类型</label>
155
+ <v-select :value.sync="model.f_user_type"
156
+ @change="$parent.$parent.userTypeChange()"
157
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
158
+ condition="f_user_type = '{}'"
159
+ close-on-select></v-select>
160
+ </div>
161
+ <div class="col-sm-2 form-group">
162
+ <label class="font_normal_body">用气性质</label>
163
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
164
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
165
+ condition="f_gasproperties = '{}'"
166
+ close-on-select></v-select>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body">气价类型</label>
170
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
171
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
172
+ close-on-select v-ref:type>
173
+ </v-select>
174
+ </div>
175
+ <div class="col-sm-2 form-group">
176
+ <label class="font_normal_body">气价名称</label>
177
+ <v-select :value.sync="model.f_price_name"
178
+ v-model="model.f_price_name"
179
+ :options="$parent.$parent.getPricenames"
180
+ condition="f_price_name = '{}'"
181
+ close-on-select></v-select>
182
+ </div>
183
+ <div class="col-sm-2 form-group">
184
+ <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
185
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
186
+ condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
187
+ </div>
188
+ <div class="col-sm-2 form-group">
189
+ <label class="font_normal_body" title="气费金额大于">气费金额</label>
190
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
191
+ condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
192
+ </div>
193
+ <div class="col-sm-2 form-group">
194
+ <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
195
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
196
+ condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
197
+ </div>
198
+ <div class="col-sm-2 form-group">
199
+ <label class="font_normal_body">欠费期数</label>
200
+ <input type="text" style="width:60%" class="input_search" v-model="model.c"
201
+ condition="c > '{}'" placeholder='欠费期数大于'>
202
+ </div>
203
+ <div class="col-sm-2 form-group">
204
+ <label class="font_normal_body">抄&ensp;表&ensp;员</label>
205
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
206
+ style="width:60%"
207
+ multiple="true"
208
+ :options='$parent.$parent.inputtores' placeholder='抄表员'
209
+ condition="f_inputtor = '{}'"
210
+ close-on-select
211
+ v-el:cc></v-select>
212
+ </div>
213
+ <div class="col-sm-2 form-group">
214
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
215
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
216
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
217
+ style="width:60%"
218
+ close-on-select
219
+ condition="f_meter_book_num = '{}'"></v-select>
220
+ </div>
221
+ <div class="col-sm-2 form-group">
222
+ <label class="font_normal_body" >档案抄表员</label>
223
+ <v-select :value.sync="model.f_dainputtores"
224
+ v-model="model.f_dainputtores"
225
+ :options='$parent.$parent.dainputtores' placeholder='请选择'
226
+ condition="f_dainputtores = '{}'"
227
+ close-on-select>
228
+ </v-select>
229
+ </div>
230
+ <!--<div class="col-sm-2 form-group">-->
231
+ <!--<label class="font_normal_body">气价类型</label>-->
232
+ <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
233
+ <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
234
+ <!--close-on-select v-ref:type>-->
235
+ <!--</v-select>-->
236
+ <!--</div>-->
237
+ <!--<div class="col-sm-2 form-group">-->
238
+ <!--<label class="font_normal_body">气价名称</label>-->
239
+ <!--<v-select :value.sync="model.f_price_name"-->
240
+ <!--v-model="model.f_price_name"-->
241
+ <!--:options="$parent.$parent.getPricenames"-->
242
+ <!--condition="f_price_name = '{}'"-->
243
+ <!--close-on-select></v-select>-->
244
+ <!--</div>-->
245
+ <!--<div class="col-sm-2 form-group">-->
246
+ <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
247
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
248
+ <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
249
+ <!--</div>-->
250
+ </div>
251
+ </div>
252
+ </criteria>
253
+
254
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
255
+ <template partial='head'>
256
+ <tr>
257
+ <th>
258
+ <nobr>序号</nobr>
259
+ </th>
260
+ <th>
261
+ <nobr>客户编号</nobr>
262
+ </th>
263
+ <th>
264
+ <nobr>客户姓名</nobr>
265
+ </th>
266
+ <th>
267
+ <nobr>小区名称</nobr>
268
+ </th>
269
+ <th>
270
+ <nobr>地址</nobr>
271
+ </th>
272
+ <th>
273
+ <nobr>客户电话</nobr>
274
+ </th>
275
+ <th>
276
+ <nobr>备用电话</nobr>
277
+ </th>
278
+ <th>
279
+ <nobr>气表类型</nobr>
280
+ </th>
281
+
282
+ <th>
283
+ <nobr>欠费期数</nobr>
284
+ </th>
285
+ <th>
286
+ <nobr>欠费区间</nobr>
287
+ </th>
288
+ <th>
289
+ <nobr>上期抄表底数</nobr>
290
+ </th>
291
+ <th>
292
+ <nobr>本期抄表底数</nobr>
293
+ </th>
294
+ <th>
295
+ <nobr>用气量</nobr>
296
+ </th>
297
+ <th>
298
+ <nobr>用气金额</nobr>
299
+ </th>
300
+ <th>
301
+ <nobr>缴费时间</nobr>
302
+ </th>
303
+ <th>
304
+ <nobr>已交金额</nobr>
305
+ </th>
306
+ <!--<th>-->
307
+ <!--<nobr>回收率</nobr>-->
308
+ <!--</th>-->
309
+ <th>
310
+ <nobr>应交气费</nobr>
311
+ </th>
312
+ <th>
313
+ <nobr>滞纳金</nobr>
314
+ </th>
315
+ <th>
316
+ <nobr>附加费</nobr>
317
+ </th>
318
+ <th>
319
+ <nobr>上期余额</nobr>
320
+ </th>
321
+ <th>
322
+ <nobr>合计欠费</nobr>
323
+ </th>
324
+ <th>
325
+ <nobr>实际欠费</nobr>
326
+ </th>
327
+ <th>
328
+ <nobr>抄表员</nobr>
329
+ </th>
330
+ <th>
331
+ <nobr>抄表册</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>档案抄表员</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>客户类型</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>缴费类型</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>用气性质</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>备&nbsp;&nbsp;&nbsp;&nbsp;注</nobr>
347
+ </th>
348
+ </tr>
349
+ </template>
350
+ <template partial='body'>
351
+ <td style="text-align:center">
352
+ <nobr>{{$index+1}}</nobr>
353
+ </td>
354
+ <td style="text-align: center;">
355
+ <nobr>{{row.f_userinfo_code}}</nobr>
356
+ </td>
357
+ <td style="text-align: center;">
358
+ <nobr>{{row.f_user_name}}</nobr>
359
+ </td>
360
+ <td style="text-align: center;">
361
+ <nobr>{{row.f_residential_area}}</nobr>
362
+ </td>
363
+ <td style="text-align: center;">
364
+ <nobr>{{row.f_address}}</nobr>
365
+ </td>
366
+ <td style="text-align: center;">
367
+ <nobr>{{row.f_user_phone}}</nobr>
368
+ </td>
369
+ <td style="text-align: center;">
370
+ <nobr>{{row.f_rent_phone}}</nobr>
371
+ </td>
372
+ <td style="text-align: center;">
373
+ <nobr>{{row.f_meter_classify}}</nobr>
374
+ </td>
375
+
376
+ <td style="text-align: center;">
377
+ <nobr>{{row.c}}</nobr>
378
+ </td>
379
+ <td style="text-align: center;">
380
+ <nobr>{{row.f_hand_date}}</nobr>
381
+ </td>
382
+ <td style="text-align: center;">
383
+ <nobr>{{row.f_last_tablebase}}</nobr>
384
+ </td>
385
+ <td style="text-align: center;">
386
+ <nobr>{{row.f_tablebase}}</nobr>
387
+ </td>
388
+ <td style="text-align: center;">
389
+ <nobr>{{row.f_oughtamount}}</nobr>
390
+ </td>
391
+ <td style="text-align: center;">
392
+ <nobr>{{row.f_oughtfee}}</nobr>
393
+ </td>
394
+ <td style="text-align: center;">
395
+ <nobr>{{row.f_operate_date}}</nobr>
396
+ </td>
397
+ <td style="text-align: center;">
398
+ <nobr>{{row.f_debt_money}}</nobr>
399
+ </td>
400
+ <!--<td style="text-align: center;">-->
401
+ <!--<nobr>{{row.f_hand_bv}}</nobr>-->
402
+ <!--</td>-->
403
+ <td style="text-align: center;">
404
+ <nobr>{{row.f_oughtfee_new}}</nobr>
405
+ </td>
406
+ <td style="text-align: center;">
407
+ <nobr>{{row.overdue}}</nobr>
408
+ </td>
409
+ <td style="text-align: center;">
410
+ <nobr>{{row.f_garbage_fee}}</nobr>
411
+ </td>
412
+ <td style="text-align: center;">
413
+ <nobr>{{row.f_balance}}</nobr>
414
+ </td>
415
+ <td style="text-align: center;">
416
+ <nobr>{{row.f_oughtfee_all}}</nobr>
417
+ </td>
418
+ <td style="text-align: center;">
419
+ <nobr>{{row.f_oughtfee_col}}</nobr>
420
+ </td>
421
+ <td style="text-align: center;">
422
+ <nobr>{{row.f_inputtor}}</nobr>
423
+ </td>
424
+ <td style="text-align: center;">
425
+ <nobr>{{row.f_book_name}}</nobr>
426
+ </td>
427
+ <td style="text-align: center;">
428
+ <nobr>{{row.f_dainputtores}}</nobr>
429
+ </td>
430
+ <td style="text-align: center;">
431
+ <nobr>{{row.f_user_type}}</nobr>
432
+ </td>
433
+ <td style="text-align: center;">
434
+ <nobr>{{row.f_gasproperties}}</nobr>
435
+ </td>
436
+ <td style="text-align: center;">
437
+ <nobr>{{row.f_cost_type}}</nobr>
438
+ </td>
439
+ <td style="text-align: center;">
440
+ <nobr>{{row.f_comments}}</nobr>
441
+ </td>
442
+ </template>
443
+ <template partial='foot'></template>
444
+ </data-grid>
445
+ </criteria-paged>
446
+ <table class="table-hover">
447
+ <tr style="position: relative" class="table-bordered">
448
+ <td
449
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
450
+ 汇总信息
451
+ </td>
452
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
453
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
454
+ </td>
455
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
456
+ 用气金额合计:&emsp;{{sumsmodel.f_oughtfee}}
457
+ </td>
458
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
459
+ 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
460
+ </td>
461
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
462
+ 气费金额合计:&emsp;{{sumsmodel.f_oughtfee_new}}
463
+ </td>
464
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
465
+ 滞纳金合计:&emsp;{{sumsmodel.overdue}}
466
+ </td>
467
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
468
+ 附加费合计:&emsp;{{sumsmodel.f_garbage_fee}}
469
+ </td>
470
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
471
+ 上期余额合计:&emsp;{{sumsmodel.f_balance}}
472
+ </td>
473
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
474
+ 合计欠费:&emsp;{{sumsmodel.f_oughtfee_all}}
475
+ </td>
476
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
477
+ 实际欠费:&emsp;{{sumsmodel.f_oughtfee_col}}
478
+ </td>
479
+ </tr>
480
+ </table>
481
+ </div>
482
+ <div v-if="show">
483
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
484
+ </div>
485
+ </div>
486
+ </div>
487
+ </template>
488
+
489
+ <script>
490
+ import {HttpResetClass, PagedList} from 'vue-client'
491
+
492
+ let readySomething = async function (self) {
493
+
494
+ self.getinputtores();
495
+ //加载抄表册
496
+ self.initmeterbook();
497
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
498
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
499
+ // self.$refs.paged.$refs.cri.search()
500
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
501
+ await self.$LoadParams.loadParam()
502
+ self.initParams()
503
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
504
+ }
505
+ export default {
506
+ title: '欠费查询',
507
+ data() {
508
+ return {
509
+ config: {
510
+ defaultPrint: ['f_userinfo_code', 'f_address']
511
+ },
512
+ other:[],
513
+ footer:[],
514
+ //f_price_name:[],
515
+ gasproperties:[],
516
+ showinfo: false,
517
+ data: {},
518
+ show:false,
519
+ rowdata:{},
520
+ initres: {
521
+ org:[this.$login.f.orgid],
522
+ dep:[],
523
+ user:[]
524
+ },
525
+ model: new PagedList('rs/sql/salearrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
526
+ f_oughtamount: 0,
527
+ f_oughtfee: 0,
528
+ f_debt_money: 0,
529
+ f_oughtfee_new: 0,
530
+ overdue: 0,
531
+ f_garbage_fee: 0,
532
+ f_balance:0,
533
+ f_oughtfee_all: 0,
534
+ f_oughtfee_col: 0
535
+ }),
536
+ criteriaShow: false,
537
+ orgCondtionStr: '',
538
+ // 下拉框
539
+ meterbrands: [],
540
+ pricenames: [],
541
+ prices: [],
542
+ area: [],
543
+ //合计数据
544
+ defaultfield: [],
545
+ //小区
546
+ residentialArea: [],
547
+ sumsmodel: {},
548
+ f_filialeid: this.$login.f.f_orgid,
549
+ meterbooks:[{label: '全部',value: ''}], //抄表册
550
+ // inputtores:[{label: '全部',value: ''}],
551
+ dainputtores:[{label: '全部',value: ''}],
552
+ allorgid:[],
553
+ tempfalg :false,
554
+ lastorgstr:'',
555
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
556
+ }
557
+ },
558
+ ready() {
559
+ this.hqdainputtores()
560
+ this.getaddress()
561
+ readySomething(this).then(() => {
562
+ this.$emit('ready')
563
+ }).catch((error) => {
564
+ this.$emit('error', error)
565
+ })
566
+ },
567
+ methods: {
568
+
569
+ async hqdainputtores() {
570
+ let param = {
571
+ items: 'DISTINCT f_inputtor',
572
+ tablename: 't_userfiles',
573
+ condition: ` f_inputtor is NOT null`,
574
+ }
575
+ let getDainputtores = await new HttpResetClass().load("POST",'rs/sql/singleTableParam', {data: param}, {
576
+ resolveMsg: null,
577
+ rejectMsg: null
578
+ });
579
+ if (getDainputtores.data.length > 0) {
580
+ let rs = [];
581
+ getDainputtores.data.forEach((item) => {
582
+ if (item.f_inputtor.length > 0) {
583
+ let temp = {
584
+ label: item.f_inputtor,
585
+ value: item.f_inputtor
586
+ };
587
+ rs.push(temp);
588
+ }
589
+ })
590
+ this.dainputtores = [{label: '全部', value: ''}, ...rs];
591
+ } else {
592
+ this.dainputtores = [{label: '全部', value: ''}];
593
+ }
594
+ },
595
+ async inputtorchange(){
596
+ let val = this.$refs.paged.$refs.cri.model.f_inputtor;
597
+ if(val!=null && val !=""){
598
+ let param={
599
+ items:'*',
600
+ tablename:'t_meter_book',
601
+ condition:` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
602
+ orderitem:'id'
603
+
604
+ }
605
+ let getMeterBooks = await this.$resetpost('rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
606
+ if (getMeterBooks.data) {
607
+ if(getMeterBooks.data.length >0){
608
+ let rs = [];
609
+ getMeterBooks.data.forEach((item)=>{
610
+ let temp = {
611
+ label:item.f_book_name,
612
+ value:item.id
613
+ };
614
+ rs.push(temp);
615
+
616
+ })
617
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
618
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[getMeterBooks.data[0].id]);
619
+ }else{
620
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book','');
621
+ this.meterbooks = [{label: '全部',value: ''}];
622
+ }
623
+ }
624
+ }else{
625
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book','');
626
+ this.meterbooks = [{label: '全部',value: ''}];
627
+ this.initmeterbook();
628
+ }
629
+ },
630
+ async initmeterbook(orgstr){
631
+ if(orgstr == null ){
632
+ orgstr = this.f_filialeid;
633
+ }
634
+ //获取新的抄表册,先去清理所有的抄表册
635
+ this.$GetSaleParam.meterbooks = [];
636
+ //开始加载新的抄表册
637
+ await this.$LoadParams.loadMeterBook(orgstr)
638
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
639
+ },
640
+ getinputtores () {
641
+ // 获取抄表员
642
+ let rs = []
643
+ if (this.$login.f.f_gasman.length > 0) {
644
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
645
+ let temp = {
646
+ label: this.$login.f.f_gasman[i].name,
647
+ value: this.$login.f.f_gasman[i].name
648
+ }
649
+ rs.push(temp)
650
+ }
651
+ }
652
+ return [{label: '全部', value: ''}, ...rs]
653
+ },
654
+ //加载抄表册
655
+ loadMeterBooks(){
656
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
657
+ },
658
+ getotherfooter(){
659
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
660
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
661
+ this.other=[];
662
+ this.footer=[];
663
+ let exportdata = this.getCondition;
664
+ let otherInData=[];
665
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
666
+ let footerData=[],exportfield=this.getfield;
667
+ footerData.push("合计");
668
+ let self =this;
669
+ for(var field in self.sumsmodel){
670
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
671
+ }
672
+ this.footer.push(footerData);
673
+ this.other.push(otherInData);
674
+ },
675
+ async getaddress(){
676
+ console.log('开始获取小区')
677
+ let HttpReset = new HttpResetClass()
678
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
679
+ data: {
680
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
681
+ }
682
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
683
+ console.log('小区',data)
684
+ let house = [{label: '全部', value: ''}]
685
+ for (let row of data.data){
686
+ console.log('开始保存小区')
687
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
688
+ }
689
+ this.residentialArea = house
690
+ },
691
+ //把数据库查询数据转换为下拉数据
692
+ calculate(rows){
693
+ let data = []
694
+ rows.forEach((row, n) => {
695
+ data[n] = {label: row.f_residential_area, value: row.id}
696
+ })
697
+ return data
698
+ },
699
+
700
+ search(){
701
+ this.$refs.paged.$refs.cri.search()
702
+ },
703
+ cancel() {
704
+ this.show = false
705
+ },
706
+ showmsg(obj){
707
+ this.rowdata=obj
708
+ this.show=true
709
+ },
710
+ userTypeChange () {
711
+ this.gasproperties=[]
712
+ if(this.$refs.paged.$refs.cri.model !==null) {
713
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
714
+
715
+ console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
716
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
717
+ // this.gasproperties.push({label: '全部', value: ''})
718
+ }
719
+ else{
720
+ this.gasproperties =[{label: '全部', value: ''}]
721
+ }
722
+ },
723
+ initParams() {
724
+ // 初始化气表品牌
725
+ let brandArr = []
726
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
727
+ let temp = {}
728
+ temp.label = item.label
729
+ temp.value = item.value.id
730
+ brandArr.push(temp)
731
+ // // 取出对应气表型号
732
+ // let styleArr = []
733
+ // for (let row of item.value.gasmodel) {
734
+ // styleArr.push({label: row.label, value: row.value.id})
735
+ // }
736
+ // this.meterstyle[temp.value] = styleArr
737
+ })
738
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
739
+ //初始化气表价格
740
+ this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
741
+ },
742
+ selfSearch(args) {
743
+ console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
744
+ // if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
745
+ // this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
746
+ // } else {
747
+ //小区查询条件
748
+ let f_orgstr = this.orgCondtionStr
749
+ let str='1=1 '
750
+ if(this.$refs.paged.$refs.cri.model.inputstartDate !== ''){
751
+ str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
752
+ }
753
+ if(this.$refs.paged.$refs.cri.model.inputendDate !== ''){
754
+ str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
755
+ }
756
+ args.condition = `${args.condition} and f_meter_type='机表'` + f_orgstr
757
+ this.model.search(args.condition, args.model,str)
758
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
759
+ //}
760
+ },
761
+ clear() {
762
+ //清空部门和人员
763
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
764
+ //部门和人员变为全选
765
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
766
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
767
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
768
+ this.$refs.paged.$refs.cri.model[key] = []
769
+ })
770
+
771
+ },
772
+ dealmsg(val) {
773
+ val.model = this.model.model
774
+ this.$dispatch('deal-msg', val)
775
+ },
776
+ show() {
777
+ this.criteriaShow = true
778
+ },
779
+ hidden() {
780
+ this.criteriaShow = !this.criteriaShow
781
+ },
782
+ async getRes(condition,obj) {
783
+ this.orgCondtionStr = condition
784
+ this.orgname = obj.orgnames[0]
785
+ this.depname = obj.depnames[0]
786
+
787
+ },
788
+ async updateParams() {
789
+ await this.$LoadParams.loadParam(this.f_filialeid)
790
+ this.inputtores = [];
791
+ this.inputtores.push({label: "全部", value: ""})
792
+ if(this.allorgid!=null){
793
+ this.allorgid.forEach((res)=>{
794
+ this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res));
795
+ })
796
+ }
797
+ this.initParams()
798
+ },
799
+ },
800
+ events:{
801
+ 'getidcard'(IdCard){
802
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
803
+ }
804
+ },
805
+ watch: {
806
+ 'model'(val) {
807
+ },
808
+ // async 'orgCondtionStr'(val) {
809
+ // this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
810
+ // this.$refs.paged.$refs.cri.model.f_meter_book = []
811
+ // this.meterbooks = [{label: '全部',value: ''}];
812
+ // if(this.lastorgstr != val){
813
+ // this.tempfalg = true;
814
+ // this.lastorgstr = val;
815
+ // }
816
+ // if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
817
+ // this.tempfalg = false;
818
+ // let a = val.substring(val.indexOf("(")+2)
819
+ // await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
820
+ // }
821
+ // let res = val.match(/'(.*?)'/)
822
+ // if (res) {
823
+ // this.f_filialeid = res[1]
824
+ // if(res.input !=null){
825
+ // let resorgid = res.input.substring(res.input.indexOf("'"));
826
+ // if(resorgid!= null && resorgid!=''){
827
+ // resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
828
+ // // resorgid = resorgid.replaceAll("'","");
829
+ // resorgid = resorgid.replace(/'/g,"");
830
+ // this.allorgid = resorgid.split(",")
831
+ // }
832
+ // }
833
+ // this.updateParams()
834
+ // }
835
+ // },
836
+ sumsmodel:{
837
+ handler: function(val) {
838
+ this.getotherfooter();
839
+ },
840
+ deep: true
841
+ }
842
+ },
843
+ computed: {
844
+ pricetypes() {
845
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
846
+ },
847
+ inputtores () {
848
+ // 获取抄表员
849
+ console.log('获取抄表员', this.$login.f)
850
+ let rs = []
851
+ if (this.$login.f.f_gasman.length > 0) {
852
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
853
+ let temp = {
854
+ label: this.$login.f.f_gasman[i].name,
855
+ value: this.$login.f.f_gasman[i].name
856
+ }
857
+ rs.push(temp)
858
+ }
859
+ }
860
+ return [...rs]
861
+ },
862
+ getPricenames () {
863
+ let f_filialeid = this.f_filialeid
864
+ let result = []
865
+ this.$GetSaleParam.prices.forEach((item) => {
866
+ if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
867
+ let value = {
868
+ label: item.f_price_name,
869
+ value: item
870
+ }
871
+ result.push(value)
872
+ }
873
+ })
874
+ return Array.from(new Set(result))
875
+ },
876
+ getCondition() {
877
+ return {
878
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
879
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
880
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
881
+ condValue: `${this.model.condValue}`
882
+ }
883
+ },
884
+ getfield() {
885
+ return {
886
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_residential_area': '小区名称', 'f_address': '客户地址',
887
+ 'f_user_phone': '客户电话','f_rent_phone': '备用电话','f_inputtor': '抄表员','f_book_name': '抄表册','f_user_type': '客户类型',
888
+ 'f_gasproperties': '用气性质', 'f_comments': '备注', 'c': '欠费期数', 'f_hand_date': '欠费区间', 'f_oughtamount': '用气量',
889
+ 'f_oughtfee': '用气金额','f_operate_date': '缴费时间', 'f_debt_money': '已交金额', 'f_oughtfee_new': '应交气费',
890
+ 'overdue': '滞纳金', 'f_garbage_fee': '附加费','f_last_tablebase': '上期抄表底数','f_tablebase': '本期抄表底数','f_balance': '上期余额',
891
+ 'f_oughtfee_all': '合计欠费金额','f_oughtfee_col': '实际欠费金额','f_cost_type':'缴费方式'
892
+ }
893
+ },
894
+ usertypes() {
895
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
896
+ },
897
+ metertypes() {
898
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
899
+ },
900
+ chargetype() {
901
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
902
+ }
903
+ }
904
+ }
905
+ </script>
@@ -3,4 +3,6 @@ import Vue from 'vue'
3
3
  export default function () {
4
4
  // 机表收费
5
5
  Vue.component('machine-meter-center', (resolve) => { require(['.//MachineMeterCenter'], resolve) })
6
+ // 欠费查询
7
+ Vue.component('sale-arrears-query', (resolve) => { require(['./ArrearsQuery'], resolve) })
6
8
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex" style="height: 90%;overflow-y: scroll">
3
- <mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
4
- <stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
3
+ <mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
4
+ <stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
5
5
  <safe-check :data="data"></safe-check>
6
6
  <bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
7
7
  <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex" style="height: 90%;overflow-y: scroll">
3
- <mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
4
- <stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
3
+ <mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
4
+ <stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
5
5
  <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
6
6
  <safe-check :data="data"></safe-check>
7
7
  <service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
@@ -3,7 +3,7 @@
3
3
  <div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
4
4
  <file-address-list @select-changed="selected" v-ref:addresslist :style="style" :select=select :company=company :f_filialeids.sync="f_filialeids"></file-address-list>
5
5
  </div>
6
- <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}" style="width:60%">
6
+ <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
7
7
  <div class="flex">
8
8
  <file-user-address :f_filialeids.sync="f_filialeids" :is_pecial="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></file-user-address>
9
9
 
@@ -5,14 +5,14 @@
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
 
7
7
  <div class="row">
8
- <div class="col-sm-6 form-group">
8
+ <div class="col-sm-4 form-group">
9
9
  <label class="font_normal_body">地址信息</label>
10
10
  <input type="text" class="input_search" style="width:60%" v-model="model.f_address"
11
11
  condition="f_address like '%{}%'" placeholder="地址信息"
12
12
  @keyup.enter.stop="search()"
13
13
  :size="model.f_address ? model.f_address.length*2 : 8"/>
14
14
  </div>
15
- <div class="col-sm-6 form-group button-range" >
15
+ <div class="col-sm-4 form-group button-range" >
16
16
  <button class="button_search button_spacing" @click="search()" >查询</button>
17
17
  <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')">添加民用地址</button>
18
18
  <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex" style="overflow-y: scroll">
3
- <mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
4
- <stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
3
+ <mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
4
+ <stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
5
5
  <bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
6
6
  <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
7
7
  <safe-check :data="data"></safe-check>
@@ -104,7 +104,7 @@ import ChangeRecord from './ic_detail/ChangeRecord'
104
104
  import DeveiceRecord from './ic_detail/DeveiceRecord'
105
105
  export default {
106
106
  title: '用户详细信息',
107
- props: ['f_userfiles_id', 'f_userinfo_id'],
107
+ props: ['f_userfiles_id', 'f_userinfo_id','f_userinfo_code'],
108
108
  components: {
109
109
  PriceAdjustmentQueryUser,
110
110
  PriceChangeQueryUser,