sale-client 3.5.277 → 3.5.279
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 +1 -1
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +1 -1
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +13 -11
- package/src/filiale/qianneng/OtherChargeNew.vue +5 -3
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +30 -29
- package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +21 -21
- package/src/filiale/shanxian/components/FilesManage/UserEssentialInfoTest.vue +7 -7
- package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +1 -8
- package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +23 -23
- package/src/filiale/shanxian/components/FilesManageNew/UserEssentialInfoTest.vue +327 -0
- package/src/filiale/shanxian/sale.js +2 -0
- package/src/filiale/wenxi/DisableManage.vue +1 -1
- package/src/filiale/yuansheng/CardMeterCenter.vue +1 -0
- package/src/filiale/yuansheng/IOTMeterCenter.vue +2 -2
- package/src/filiale/yuansheng/NoCardMeterCenter.vue +2 -2
- package/src/main.js +27 -27
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<div class="row">
|
|
63
63
|
<div class="col-sm-4">
|
|
64
64
|
<label class="font_normal_body">换表人 </label>
|
|
65
|
-
<input type="text" v-model="model.f_change_operator"
|
|
65
|
+
<input type="text" v-model="model.f_change_operator" style="width: 60%" class="input_search">
|
|
66
66
|
</div>
|
|
67
67
|
<div class="col-sm-4 form-group">
|
|
68
68
|
<label class="font_normal_body" title="参数:操作人员查询">操作人员</label>
|
|
@@ -173,9 +173,7 @@
|
|
|
173
173
|
<input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1' :checked="$parent.$parent.$parent.checked1"
|
|
174
174
|
@click="$parent.$parent.$parent.checkedALL()">
|
|
175
175
|
</th>
|
|
176
|
-
|
|
177
|
-
<nobr>组织机构</nobr>
|
|
178
|
-
</th>
|
|
176
|
+
|
|
179
177
|
<th style="text-align:center">
|
|
180
178
|
<nobr>客户号</nobr>
|
|
181
179
|
</th>
|
|
@@ -221,7 +219,9 @@
|
|
|
221
219
|
<!--<th style="text-align:center">
|
|
222
220
|
<nobr>指令状态</nobr>
|
|
223
221
|
</th>-->
|
|
224
|
-
|
|
222
|
+
<th style="text-align:center">
|
|
223
|
+
<nobr>组织机构</nobr>
|
|
224
|
+
</th>
|
|
225
225
|
</tr>
|
|
226
226
|
</template>
|
|
227
227
|
<template partial='body' partial='list' v-ref:grid >
|
|
@@ -229,9 +229,6 @@
|
|
|
229
229
|
<td style="text-align:center">
|
|
230
230
|
<input @keyup.enter="search" style="width:60%" type="checkbox" checked="checked" name="opertioninput"
|
|
231
231
|
@click="$parent.$parent.$parent.checked(row)"></td>
|
|
232
|
-
<td style="text-align:center">
|
|
233
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
234
|
-
</td>
|
|
235
232
|
<td style="text-align:center">
|
|
236
233
|
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
237
234
|
</td>
|
|
@@ -275,6 +272,9 @@
|
|
|
275
272
|
<!--<td style="text-align:center">
|
|
276
273
|
<nobr>{{row.f_instruct_state}}</nobr>
|
|
277
274
|
</td>-->
|
|
275
|
+
<td style="text-align:center">
|
|
276
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
277
|
+
</td>
|
|
278
278
|
</tr>
|
|
279
279
|
</template>
|
|
280
280
|
<template partial='foot'></template>
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
</v-select>
|
|
311
311
|
</div>
|
|
312
312
|
<div class="form-group " style="padding-left: 8px">
|
|
313
|
-
<label class="font_normal_body"
|
|
313
|
+
<label class="font_normal_body">{{val1}}原因:</label>
|
|
314
314
|
<textarea class="search_area" v-model="f_beizhu" rows="10" cols="75" placeholder="备注信息"></textarea>
|
|
315
315
|
</div>
|
|
316
316
|
</article>
|
|
@@ -522,9 +522,11 @@ import axios from 'axios'
|
|
|
522
522
|
let arr = []
|
|
523
523
|
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
524
524
|
let temp = {}
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
if(item.value.f_meter_type==='物联网表'){
|
|
526
|
+
temp.label = item.label
|
|
527
|
+
temp.value = item.value.f_meter_brand
|
|
528
|
+
arr.push(temp )
|
|
529
|
+
}
|
|
528
530
|
})
|
|
529
531
|
|
|
530
532
|
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
placeholder='型号'
|
|
44
44
|
:value.sync="row.f_typenumber"
|
|
45
45
|
:options='row.typenumberList'
|
|
46
|
-
@change="setTypeprice"
|
|
46
|
+
@change="setTypeprice(row.f_typenumber, row)"
|
|
47
47
|
close-on-select clear-button>
|
|
48
48
|
</v-select>
|
|
49
49
|
</div>
|
|
@@ -346,13 +346,13 @@
|
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
348
|
methods: {
|
|
349
|
-
setTypeprice (val) {
|
|
349
|
+
setTypeprice (val, row) {
|
|
350
350
|
console.log('f_typenumber', this.f_typenumber)
|
|
351
351
|
if (this.f_typenumber !== ' ') {
|
|
352
352
|
let unitprice = this.$appdata.getSingleValue(val)
|
|
353
353
|
console.log('unitprice', unitprice)
|
|
354
354
|
if (unitprice !== undefined) {
|
|
355
|
-
|
|
355
|
+
row.f_unitprice = unitprice
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
},
|
|
@@ -441,6 +441,8 @@
|
|
|
441
441
|
},
|
|
442
442
|
setTypenumber (val, row) {
|
|
443
443
|
row.typenumberList = this.$appdata.getParam(val)
|
|
444
|
+
let unitprice = this.$appdata.getSingleValue(val)
|
|
445
|
+
if (unitprice !== undefined) row.f_unitprice = unitprice
|
|
444
446
|
},
|
|
445
447
|
async confirm (parameter) {
|
|
446
448
|
let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行其他收费吗?`, ['confirm', 'cancel'])
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
13
13
|
class="form-group"
|
|
14
14
|
v-if="$parent.$parent.clientWidth>1600">
|
|
15
|
-
<label class="font_normal_body"
|
|
15
|
+
<label class="font_normal_body">用户编号</label>
|
|
16
16
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
17
|
-
placeholder='
|
|
17
|
+
placeholder='用户编号'
|
|
18
18
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
19
19
|
</div>
|
|
20
20
|
<res-select-group v-if="$parent.$parent.clientWidth<1600&&!$parent.$parent.createFile" :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
24
24
|
class="form-group"
|
|
25
25
|
v-if="$parent.$parent.clientWidth<1600&&!$parent.$parent.createFile">
|
|
26
|
-
<label class="font_normal_body"
|
|
26
|
+
<label class="font_normal_body">用户编号</label>
|
|
27
27
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
28
|
-
placeholder='
|
|
28
|
+
placeholder='用户编号'
|
|
29
29
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
32
|
<div
|
|
33
33
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
34
34
|
class="form-group" v-if="!$parent.$parent.createFile">
|
|
35
|
-
<label class="font_normal_body"
|
|
35
|
+
<label class="font_normal_body">用户名称</label>
|
|
36
36
|
<input class="input_search" condition="f_user_name like '%{}%'"
|
|
37
|
-
placeholder='
|
|
37
|
+
placeholder='用户姓名'
|
|
38
38
|
style="width:60%" type="text" v-model="model.f_user_name">
|
|
39
39
|
</div>
|
|
40
40
|
<div
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
92
92
|
class="form-group"
|
|
93
93
|
v-if="$parent.$parent.clientWidth<1600&&$parent.$parent.createFile">
|
|
94
|
-
<label class="font_normal_body"
|
|
94
|
+
<label class="font_normal_body">用户编号</label>
|
|
95
95
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
96
|
-
placeholder='
|
|
96
|
+
placeholder='用户编号'
|
|
97
97
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
98
98
|
</div>
|
|
99
99
|
<res-select-group v-if="$parent.$parent.clientWidth<1600&&$parent.$parent.createFile" :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
@@ -102,16 +102,16 @@
|
|
|
102
102
|
<div
|
|
103
103
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
104
104
|
class="form-group" v-if="$parent.$parent.createFile">
|
|
105
|
-
<label class="font_normal_body"
|
|
105
|
+
<label class="font_normal_body">用户名称</label>
|
|
106
106
|
<input class="input_search" condition="f_user_name like '%{}%'"
|
|
107
|
-
placeholder='
|
|
107
|
+
placeholder='用户姓名'
|
|
108
108
|
style="width:60%" type="text" v-model="model.f_user_name">
|
|
109
109
|
</div>
|
|
110
110
|
<div
|
|
111
111
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
112
112
|
class="form-group">
|
|
113
|
-
<label class="font_normal_body"
|
|
114
|
-
<input class="input_search" condition="f_olduserinfo_code = '{}'" placeholder='
|
|
113
|
+
<label class="font_normal_body">旧用户号</label>
|
|
114
|
+
<input class="input_search" condition="f_olduserinfo_code = '{}'" placeholder='用户编号'
|
|
115
115
|
style="width:60%"
|
|
116
116
|
type="text"
|
|
117
117
|
v-model="model.f_olduserinfo_code">
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
<div
|
|
160
160
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
161
161
|
class="form-group">
|
|
162
|
-
<label class="font_normal_body"
|
|
163
|
-
<input class="input_search" condition="f_user_phone = '{}'" placeholder='
|
|
162
|
+
<label class="font_normal_body">用户电话</label>
|
|
163
|
+
<input class="input_search" condition="f_user_phone = '{}'" placeholder='用户电话' style="width:60%"
|
|
164
164
|
type="text"
|
|
165
165
|
v-model="model.f_user_phone">
|
|
166
166
|
</div>
|
|
@@ -174,17 +174,17 @@
|
|
|
174
174
|
<div
|
|
175
175
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
176
176
|
class="form-group">
|
|
177
|
-
<label class="font_normal_body"
|
|
178
|
-
<input class="input_search" condition="f_address like '%{}%'" placeholder='
|
|
177
|
+
<label class="font_normal_body">用户地址</label>
|
|
178
|
+
<input class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
|
|
179
179
|
type="text" v-model="model.f_address">
|
|
180
180
|
</div>
|
|
181
181
|
<div
|
|
182
182
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
183
183
|
class="form-group">
|
|
184
|
-
<label class="font_normal_body"
|
|
184
|
+
<label class="font_normal_body">用户状态</label>
|
|
185
185
|
<v-select :options='$parent.$parent.userstates' :value.sync="model.f_user_state"
|
|
186
186
|
close-on-select condition="f_user_state='{}'"
|
|
187
|
-
placeholder='
|
|
187
|
+
placeholder='用户状态' v-model="model.f_user_state"></v-select>
|
|
188
188
|
</div>
|
|
189
189
|
<div
|
|
190
190
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
@@ -293,10 +293,13 @@
|
|
|
293
293
|
<nobr>序号</nobr>
|
|
294
294
|
</th>
|
|
295
295
|
<th>
|
|
296
|
-
<nobr
|
|
296
|
+
<nobr>用户编号</nobr>
|
|
297
297
|
</th>
|
|
298
298
|
<th>
|
|
299
|
-
<nobr
|
|
299
|
+
<nobr>用户名称</nobr>
|
|
300
|
+
</th>
|
|
301
|
+
<th v-if="!$parent.$parent.$parent.isOper">
|
|
302
|
+
<nobr>用户地址</nobr>
|
|
300
303
|
</th>
|
|
301
304
|
<th>
|
|
302
305
|
<nobr>表号</nobr>
|
|
@@ -305,11 +308,9 @@
|
|
|
305
308
|
<nobr>卡号</nobr>
|
|
306
309
|
</th>
|
|
307
310
|
<th>
|
|
308
|
-
<nobr
|
|
309
|
-
</th>
|
|
310
|
-
<th v-if="!$parent.$parent.$parent.isOper">
|
|
311
|
-
<nobr>客户地址</nobr>
|
|
311
|
+
<nobr>用户电话</nobr>
|
|
312
312
|
</th>
|
|
313
|
+
|
|
313
314
|
<th>
|
|
314
315
|
<nobr>用户类型</nobr>
|
|
315
316
|
</th>
|
|
@@ -349,12 +350,12 @@
|
|
|
349
350
|
<td style="text-align: center;">
|
|
350
351
|
<span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_user_name}}</b></a></span>
|
|
351
352
|
</td>
|
|
352
|
-
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
353
|
-
<td style="text-align: center;">{{row.f_card_id}}</td>
|
|
354
|
-
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
355
353
|
<td style="text-align: center;" v-if="!$parent.$parent.$parent.isOper">{{row.f_address_detail ? row.f_address + row.f_address_detail :
|
|
356
354
|
row.f_address}}
|
|
357
355
|
</td>
|
|
356
|
+
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
357
|
+
<td style="text-align: center;">{{row.f_card_id}}</td>
|
|
358
|
+
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
358
359
|
<td style="text-align: center;">{{row.f_user_type}}</td>
|
|
359
360
|
<td style="text-align: center;">{{row.f_gasproperties}}</td>
|
|
360
361
|
<td style="text-align: center;">{{row.f_meter_classify}}</td>
|
|
@@ -432,9 +433,9 @@
|
|
|
432
433
|
<modal :show.sync="resshow" width="500px" title="建档成功" v-ref:modal large backdrop="false">
|
|
433
434
|
<article slot="modal-body" class="modal-body" style="height: 70px">
|
|
434
435
|
<div>
|
|
435
|
-
<label class="font_normal_body" style="line-height: 20px"
|
|
436
|
+
<label class="font_normal_body" style="line-height: 20px">用户编号</label>
|
|
436
437
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
437
|
-
placeholder='
|
|
438
|
+
placeholder='用户编号' disabled
|
|
438
439
|
type="text" v-model="resdata">
|
|
439
440
|
</div>
|
|
440
441
|
</article>
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
<div class="col-sm-4 form-group" >
|
|
226
226
|
<label for="f_position" class="font_normal_body" title="参数:安装位置"> 安装位置</label>
|
|
227
227
|
<v-select :value.sync="row.f_position" v-model="row.f_position"
|
|
228
|
-
:options='positions' placeholder='安装位置'
|
|
228
|
+
:options='positions' placeholder='安装位置' :value-single="true"
|
|
229
229
|
close-on-select></v-select>
|
|
230
230
|
</div>
|
|
231
231
|
<div class="col-sm-4 form-group" v-show="true">
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
></datepicker>
|
|
244
244
|
</div>
|
|
245
245
|
<div class="col-sm-4 form-group" v-show="opteratormetrbook" >
|
|
246
|
-
<label for="
|
|
246
|
+
<label for="f_meter_book_num" class="font_normal_body" > 抄 表 册</label>
|
|
247
247
|
<v-select :value.sync="row.f_meter_book_num" v-model="row.f_meter_book_num"
|
|
248
248
|
:options='meterbookoptions' placeholder='抄表册'
|
|
249
249
|
close-on-select></v-select>
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
close-on-select></v-select>
|
|
339
339
|
</div>
|
|
340
340
|
<div class="col-sm-4 form-group" >
|
|
341
|
-
<label for="
|
|
341
|
+
<label for="f_usestate" class="font_normal_body" title="参数:使用状态"> 使用状态</label>
|
|
342
342
|
<v-select :value.sync="row.f_usestate" v-model="row.f_usestate"
|
|
343
343
|
:options='usestate' placeholder='使用状态'
|
|
344
344
|
close-on-select></v-select>
|
|
@@ -550,7 +550,6 @@
|
|
|
550
550
|
} else {
|
|
551
551
|
self.row.f_whether_hairpin = self.row.gasbrand[0].f_meter_type === '机表' ? '无卡' : '未发'
|
|
552
552
|
}
|
|
553
|
-
console.log('111', self.row)
|
|
554
553
|
}
|
|
555
554
|
export default {
|
|
556
555
|
title: '表具信息',
|
|
@@ -607,16 +606,14 @@
|
|
|
607
606
|
},
|
|
608
607
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
609
608
|
async ready () {
|
|
609
|
+
console.log('单县----------------------------------------',this.row)
|
|
610
|
+
|
|
610
611
|
// 安装日期默认是建档日期
|
|
611
612
|
if (this.row.f_install_date == null || this.row.f_install_date == '') {
|
|
612
|
-
console.log('安装日期赋值了')
|
|
613
613
|
this.row.f_install_date = Util.toStandardTimeString()
|
|
614
614
|
this.f_install_date = Util.toStandardTimeString()
|
|
615
|
-
console.log('安装日期赋值了',this.row.f_install_date)
|
|
616
|
-
console.log('安装日期赋值了001',this.row.f_install_date)
|
|
617
615
|
} else {
|
|
618
616
|
this.f_install_date = this.row.f_install_date
|
|
619
|
-
console.log('安装日期row值')
|
|
620
617
|
}
|
|
621
618
|
// 出厂日期
|
|
622
619
|
if (this.row.f_factory_date == null || this.row.f_factory_date == '') {
|
|
@@ -625,11 +622,24 @@
|
|
|
625
622
|
} else {
|
|
626
623
|
this.f_factory_date = this.row.f_factory_date
|
|
627
624
|
}
|
|
628
|
-
|
|
625
|
+
|
|
629
626
|
this.updatayear(this.f_factory_date)
|
|
630
|
-
|
|
631
|
-
|
|
627
|
+
|
|
628
|
+
console.log('看看meter里面的数据', this.meter)
|
|
629
|
+
this.row = Object.assign(this.row, this.meter, {})
|
|
630
|
+
|
|
631
|
+
if (this.meter.f_user_type == '民用'){
|
|
632
|
+
this.row.f_position = '厨房'
|
|
633
|
+
console.log('厨房是不是true--------->',this.row.f_position)
|
|
634
|
+
}
|
|
635
|
+
if (!this.row.f_use_limit){
|
|
636
|
+
this.row.f_use_limit = 10
|
|
637
|
+
console.log('使用年限---------->',this.row.f_use_limit)
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
console.log('合并后得数据----------->', this.row)
|
|
632
641
|
this.orginCardId = this.row.f_card_id
|
|
642
|
+
|
|
633
643
|
if(this.row.f_meter_classify){
|
|
634
644
|
if(this.row.f_meter_classify==='物联网表'){
|
|
635
645
|
this.isiot=true
|
|
@@ -653,7 +663,6 @@
|
|
|
653
663
|
}
|
|
654
664
|
let filter = this.$login.f.orgid
|
|
655
665
|
let ret = this.$GetSaleParam.getAdjustable(filter)
|
|
656
|
-
console.log("f_adjustable_type",this.row.f_adjustable_type)
|
|
657
666
|
let newadjustables = ret.filter(adjustable=>{
|
|
658
667
|
return adjustable.value.f_adjustable_type === this.row.f_adjustable_type
|
|
659
668
|
})
|
|
@@ -664,7 +673,6 @@
|
|
|
664
673
|
temp.value = item.value
|
|
665
674
|
arr.push(temp)
|
|
666
675
|
})
|
|
667
|
-
console.log("过滤后的数组", arr)
|
|
668
676
|
return arr
|
|
669
677
|
},
|
|
670
678
|
initAdjustables () {
|
|
@@ -679,10 +687,8 @@
|
|
|
679
687
|
const day = today.getDate()
|
|
680
688
|
const date = new Date((year-0) +(this.bfrq-0), month, day)
|
|
681
689
|
this.finalDate = date.toLocaleDateString()
|
|
682
|
-
console.log('898989898', this.finalDate)
|
|
683
690
|
this.row.f_scrap_date = this.finalDate
|
|
684
691
|
this.f_scrap_date = this.finalDate
|
|
685
|
-
console.log('898989898', this.row.f_scrap_date)
|
|
686
692
|
},
|
|
687
693
|
checkCardId() {
|
|
688
694
|
this.$resetpost('rs/logic/checkCardId', {
|
|
@@ -766,7 +772,6 @@
|
|
|
766
772
|
},
|
|
767
773
|
brandChange (val) {
|
|
768
774
|
this.isdecimal = val.length > 0 ? val[0].f_isdecimal : '否'
|
|
769
|
-
console.log('sadasfasf', val)
|
|
770
775
|
if (val.length > 0 && val[0].f_meter_type === '物联网表') {
|
|
771
776
|
this.isiot = true
|
|
772
777
|
} else {
|
|
@@ -907,7 +912,6 @@
|
|
|
907
912
|
},
|
|
908
913
|
watch: {
|
|
909
914
|
'row'(){
|
|
910
|
-
debugger
|
|
911
915
|
console.log("row",this.row)
|
|
912
916
|
},
|
|
913
917
|
'meter' () {
|
|
@@ -918,17 +922,13 @@
|
|
|
918
922
|
this.f_factory_date = this.row.f_factory_date
|
|
919
923
|
},
|
|
920
924
|
'f_factory_date' (val) {
|
|
921
|
-
console.log('222222222222', val)
|
|
922
925
|
this.row.f_factory_date = val
|
|
923
926
|
this.updatayear(val)
|
|
924
927
|
},
|
|
925
928
|
'row.f_scrap_date' (val) {
|
|
926
|
-
console.log('45454545')
|
|
927
929
|
this.row.f_scrap_date = val
|
|
928
|
-
console.log('45454545', this.row.f_scrap_date, val)
|
|
929
930
|
},
|
|
930
931
|
'finalDate' () {
|
|
931
|
-
console.log('45454545666')
|
|
932
932
|
this.row.f_scrap_date = this.finalDate
|
|
933
933
|
},
|
|
934
934
|
'row.pricetype' (val) {
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
<form class="form-horizontal select-overspread ">
|
|
5
5
|
<div class="row">
|
|
6
6
|
<div class="col-sm-4 form-group ">
|
|
7
|
-
<label for="f_user_name" class="font_normal_body"
|
|
7
|
+
<label for="f_user_name" class="font_normal_body">*用户姓名</label>
|
|
8
8
|
<input type="text" v-model="baseinfo.base.f_user_name" v-validate:f_user_name='{required: true }'
|
|
9
|
-
class="input_search" style="width:60%" placeholder="
|
|
9
|
+
class="input_search" style="width:60%" placeholder="用户名称" v-next-el="phone">
|
|
10
10
|
</div>
|
|
11
11
|
<div style="" class="col-sm-4 form-group" :class="[$v.f_user_phone.minlength || $v.f_user_phone.maxlength ? 'has-error' : '']">
|
|
12
|
-
<label for="f_user_phone" class="font_normal_body"
|
|
12
|
+
<label for="f_user_phone" class="font_normal_body">*用户电话</label>
|
|
13
13
|
<input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone"
|
|
14
14
|
class="input_search" style="width:60%"
|
|
15
15
|
v-validate:f_user_phone="{minlength: 11, maxlength: 11 }"
|
|
16
|
-
placeholder="
|
|
16
|
+
placeholder="用户电话" v-el:phone v-next-el="area">
|
|
17
17
|
<button type="button" class="glyphicon glyphicon-plus" @click.stop="phoneManage()"></button>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="col-sm-4 form-group">
|
|
20
|
-
<label for="f_user_state" class="font_normal_body">&ensp
|
|
20
|
+
<label for="f_user_state" class="font_normal_body"> 用户状态</label>
|
|
21
21
|
<v-select :value.sync="baseinfo.base.f_user_state"
|
|
22
22
|
:disabled="true"
|
|
23
23
|
:value-single="true"
|
|
24
|
-
:options='userstates' placeholder='
|
|
24
|
+
:options='userstates' placeholder='用户状态'
|
|
25
25
|
close-on-select></v-select>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
:class="[$v.f_bank_accopen.required ? 'has-error' : '']">
|
|
178
178
|
<label for="f_username" class="font_normal_body">银行户名</label>
|
|
179
179
|
<input type="text" v-model="baseinfo.bank.f_bank_accopen"
|
|
180
|
-
class="input_search" style="width:60%" id="f_username" placeholder="
|
|
180
|
+
class="input_search" style="width:60%" id="f_username" placeholder="用户名称"
|
|
181
181
|
v-validate:f_bank_accopen='{required: true}'
|
|
182
182
|
v-next-el="bankaccount">
|
|
183
183
|
</div>
|
|
@@ -109,7 +109,6 @@ let getFileGen = async function (self, data) {
|
|
|
109
109
|
rejectMsg: '用户详细信息加载失败,请重新选择,如果多次失败,请检查系统是否正常!',
|
|
110
110
|
newly: true
|
|
111
111
|
})
|
|
112
|
-
console.log(result.data)
|
|
113
112
|
self.data = result.data
|
|
114
113
|
self.data.meterinfo.forEach((item) => {
|
|
115
114
|
item.devicesinfo.forEach((item2) => {
|
|
@@ -216,7 +215,6 @@ export default {
|
|
|
216
215
|
},
|
|
217
216
|
async ready () {
|
|
218
217
|
this.blodid = '临时id' + Date.now()
|
|
219
|
-
console.log('ready,,,', this.row)
|
|
220
218
|
await this.getOvedueset()
|
|
221
219
|
if (this.row) { // 修改用户
|
|
222
220
|
await this.areaGen(this.row)
|
|
@@ -385,7 +383,6 @@ export default {
|
|
|
385
383
|
xhr.open('POST', 'rs/file/uploadFile')
|
|
386
384
|
|
|
387
385
|
if (this.headers) {
|
|
388
|
-
console.log('this.blodid----->',this.blodid)
|
|
389
386
|
this.headers.blodid = this.blodid
|
|
390
387
|
for (var header in this.headers) {
|
|
391
388
|
xhr.setRequestHeader(header, encodeURIComponent(this.headers[header]))
|
|
@@ -404,7 +401,7 @@ export default {
|
|
|
404
401
|
this.$dispatch('clean', '取消档案修正', 'user-general-info', this.row)
|
|
405
402
|
},
|
|
406
403
|
checkout (val) {
|
|
407
|
-
|
|
404
|
+
|
|
408
405
|
// 对收到的综合信息进行校验(主要目的是为了防止下拉框没有默认值)
|
|
409
406
|
// 对综合用户基本信息进行校验
|
|
410
407
|
|
|
@@ -433,7 +430,6 @@ export default {
|
|
|
433
430
|
|
|
434
431
|
// 对表具信息进行校验
|
|
435
432
|
this.data.meterinfo.forEach((row) => {
|
|
436
|
-
console.log(row)
|
|
437
433
|
if (row.f_adjustable) {
|
|
438
434
|
this.adjustables.forEach((item) => {
|
|
439
435
|
if (item.label === row.f_adjustable) {
|
|
@@ -489,8 +485,6 @@ export default {
|
|
|
489
485
|
let names = this.getPricenames(row.f_user_type,
|
|
490
486
|
row.f_gasproperties,
|
|
491
487
|
row.pricetype)
|
|
492
|
-
|
|
493
|
-
console.log('=====2.===校验气价名称', names, row.f_user_type, row.f_gasproperties, row.pricetype)
|
|
494
488
|
if (names.length > 0) {
|
|
495
489
|
names.forEach((item) => {
|
|
496
490
|
if (item.label === row.pricename) {
|
|
@@ -677,7 +671,6 @@ export default {
|
|
|
677
671
|
}
|
|
678
672
|
Object.assign(this.data.meterinfo[0], this.data.meterinfo[0], temp)
|
|
679
673
|
this.data.baseinfo.base.f_house_type = row.f_house_type ? [row.f_house_type] : ''
|
|
680
|
-
console.log('====1.=====', temp, row)
|
|
681
674
|
this.checkout('area')
|
|
682
675
|
}
|
|
683
676
|
}
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
24
24
|
class="form-group"
|
|
25
25
|
v-if="$parent.$parent.clientWidth>1600">
|
|
26
|
-
<label class="font_normal_body"
|
|
26
|
+
<label class="font_normal_body">用户编号</label>
|
|
27
27
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
28
|
-
placeholder='
|
|
28
|
+
placeholder='用户编号'
|
|
29
29
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
30
30
|
</div>
|
|
31
31
|
<div
|
|
32
32
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
33
33
|
class="form-group" v-if="!$parent.$parent.createFile">
|
|
34
|
-
<label class="font_normal_body"
|
|
34
|
+
<label class="font_normal_body">用户名称</label>
|
|
35
35
|
<input class="input_search" condition="f_user_name like '%{}%'"
|
|
36
|
-
placeholder='
|
|
36
|
+
placeholder='用户姓名'
|
|
37
37
|
style="width:60%" type="text" v-model="model.f_user_name">
|
|
38
38
|
</div>
|
|
39
39
|
<div
|
|
@@ -94,24 +94,24 @@
|
|
|
94
94
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
95
95
|
class="form-group"
|
|
96
96
|
v-if="$parent.$parent.clientWidth<1600&&$parent.$parent.createFile">
|
|
97
|
-
<label class="font_normal_body"
|
|
97
|
+
<label class="font_normal_body">用户编号</label>
|
|
98
98
|
<input class="input_search" condition="f_userinfo_code = '{}'"
|
|
99
|
-
placeholder='
|
|
99
|
+
placeholder='用户编号'
|
|
100
100
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
101
101
|
</div>
|
|
102
102
|
<div
|
|
103
103
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
104
104
|
class="form-group" v-if="$parent.$parent.createFile">
|
|
105
|
-
<label class="font_normal_body"
|
|
105
|
+
<label class="font_normal_body">用户名称</label>
|
|
106
106
|
<input class="input_search" condition="f_user_name like '%{}%'"
|
|
107
|
-
placeholder='
|
|
107
|
+
placeholder='用户姓名'
|
|
108
108
|
style="width:60%" type="text" v-model="model.f_user_name">
|
|
109
109
|
</div>
|
|
110
110
|
<div
|
|
111
111
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
112
112
|
class="form-group">
|
|
113
|
-
<label class="font_normal_body"
|
|
114
|
-
<input class="input_search" condition="f_olduserinfo_code = '{}'" placeholder='
|
|
113
|
+
<label class="font_normal_body">旧用户号</label>
|
|
114
|
+
<input class="input_search" condition="f_olduserinfo_code = '{}'" placeholder='用户编号'
|
|
115
115
|
style="width:60%"
|
|
116
116
|
type="text"
|
|
117
117
|
v-model="model.f_olduserinfo_code">
|
|
@@ -127,26 +127,26 @@
|
|
|
127
127
|
<div
|
|
128
128
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
129
129
|
class="form-group">
|
|
130
|
-
<label class="font_normal_body"
|
|
131
|
-
<input class="input_search" condition="f_user_phone = '{}'" placeholder='
|
|
130
|
+
<label class="font_normal_body">用户电话</label>
|
|
131
|
+
<input class="input_search" condition="f_user_phone = '{}'" placeholder='用户电话' style="width:60%"
|
|
132
132
|
type="text"
|
|
133
133
|
v-model="model.f_user_phone">
|
|
134
134
|
</div>
|
|
135
135
|
<div
|
|
136
136
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
137
137
|
class="form-group">
|
|
138
|
-
<label class="font_normal_body"
|
|
139
|
-
<input class="input_search" condition="f_address like '%{}%'" placeholder='
|
|
138
|
+
<label class="font_normal_body">用户地址</label>
|
|
139
|
+
<input class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
|
|
140
140
|
type="text" v-model="model.f_address">
|
|
141
141
|
</div>
|
|
142
142
|
<div
|
|
143
143
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
144
144
|
class="form-group">
|
|
145
|
-
<label class="font_normal_body"
|
|
145
|
+
<label class="font_normal_body">用户状态</label>
|
|
146
146
|
<v-select :options='$parent.$parent.userstates' :value.sync="model.f_user_state"
|
|
147
147
|
close-on-select condition="f_user_state='{}'"
|
|
148
148
|
:value-single="true"
|
|
149
|
-
placeholder='
|
|
149
|
+
placeholder='用户状态' v-model="model.f_user_state"></v-select>
|
|
150
150
|
</div>
|
|
151
151
|
<div
|
|
152
152
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
@@ -216,16 +216,16 @@
|
|
|
216
216
|
<nobr>序号</nobr>
|
|
217
217
|
</th>
|
|
218
218
|
<th>
|
|
219
|
-
<nobr
|
|
219
|
+
<nobr>用户编号</nobr>
|
|
220
220
|
</th>
|
|
221
221
|
<th>
|
|
222
|
-
<nobr
|
|
223
|
-
</th>
|
|
224
|
-
<th>
|
|
225
|
-
<nobr>客户电话</nobr>
|
|
222
|
+
<nobr>用户名称</nobr>
|
|
226
223
|
</th>
|
|
227
224
|
<th v-if="!$parent.$parent.$parent.isOper">
|
|
228
|
-
<nobr
|
|
225
|
+
<nobr>用户地址</nobr>
|
|
226
|
+
</th>
|
|
227
|
+
<th>
|
|
228
|
+
<nobr>用户电话</nobr>
|
|
229
229
|
</th>
|
|
230
230
|
<th>
|
|
231
231
|
<nobr>状态</nobr>
|
|
@@ -248,10 +248,10 @@
|
|
|
248
248
|
<td style="text-align: center;">{{$index + 1}}</td>
|
|
249
249
|
<td style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
250
250
|
<td style="text-align: center;">{{row.f_user_name}}</td>
|
|
251
|
-
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
252
251
|
<td style="text-align: center;" v-if="!$parent.$parent.$parent.isOper">{{row.f_address_detail ? row.f_address + row.f_address_detail :
|
|
253
252
|
row.f_address}}
|
|
254
253
|
</td>
|
|
254
|
+
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
255
255
|
<td style="text-align: center;">{{row.f_user_state}}</td>
|
|
256
256
|
<td style="text-align: center;">{{row.f_createfile_date}}</td>
|
|
257
257
|
<td style="text-align: center;">{{row.f_printdate}}</td>
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">
|
|
4
|
+
<form class="form-horizontal select-overspread ">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-4 form-group " :class="[$v.f_user_name.required ? 'has-error' : '']">
|
|
7
|
+
<label for="f_user_name" class="font_normal_body">*用户姓名</label>
|
|
8
|
+
<input type="text" v-model="baseinfo.base.f_user_name" v-validate:f_user_name='{required: true }'
|
|
9
|
+
class="input_search" style="width:60%" placeholder="用户名称" v-next-el="phone">
|
|
10
|
+
</div>
|
|
11
|
+
<div style="" class="col-sm-4 form-group"
|
|
12
|
+
:class="[$v.f_user_phone.minlength || $v.f_user_phone.maxlength ? 'has-error' : '']">
|
|
13
|
+
<label for="f_user_phone" class="font_normal_body">*用户电话</label>
|
|
14
|
+
<input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone"
|
|
15
|
+
v-validate:f_user_phone="{minlength: 11, maxlength: 11 }" class="input_search" style="width:60%"
|
|
16
|
+
placeholder="用户电话" v-el:phone v-next-el="area">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-4 form-group">
|
|
19
|
+
<label for="f_user_state" class="font_normal_body"> 用户状态</label>
|
|
20
|
+
<v-select :value.sync="baseinfo.base.f_user_state"
|
|
21
|
+
:disabled="false"
|
|
22
|
+
:value-single="true"
|
|
23
|
+
:options='userstates' placeholder='用户状态'
|
|
24
|
+
close-on-select></v-select>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="row">
|
|
28
|
+
<div style="" class="col-sm-4 form-group">
|
|
29
|
+
<label for="f_credentials" class="font_normal_body"> 证件类型</label>
|
|
30
|
+
<v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
|
|
31
|
+
v-model="baseinfo.base.f_credentials"
|
|
32
|
+
:value-single="true"
|
|
33
|
+
:options='credentials' placeholder='证件类型'
|
|
34
|
+
style="width: 65%"
|
|
35
|
+
close-on-select></v-select>
|
|
36
|
+
</div>
|
|
37
|
+
<div style="" class="col-sm-8 form-group"
|
|
38
|
+
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '']"
|
|
39
|
+
v-if="baseinfo.base.f_credentials === '身份证'||baseinfo.base.f_credentials[0] === '身份证'">
|
|
40
|
+
<label for="f_idnumber" class="font_normal_body color-red">*证件号码</label>
|
|
41
|
+
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
42
|
+
v-validate:f_idnumber2='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
43
|
+
placeholder="证件号码">
|
|
44
|
+
</div>
|
|
45
|
+
<div style="" class="col-sm-8 form-group"
|
|
46
|
+
v-if="baseinfo.base.f_credentials !== '身份证'&&baseinfo.base.f_credentials[0] !== '身份证'">
|
|
47
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
48
|
+
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
49
|
+
placeholder="证件号码">
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<div class="col-sm-12 form-group" :class="[$v.f_address.required ? 'has-error' : '']">
|
|
54
|
+
<label for="f_address" class="font_normal_body">*地址信息</label>
|
|
55
|
+
<input type="text" v-model="addressinfo.f_address" :value.sync="addressinfo.f_address" v-validate:f_address='{required: true }'
|
|
56
|
+
class="input_search" disabled="disabled" style="width:75%;" placeholder="用户地址" >
|
|
57
|
+
<span>
|
|
58
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectaddress()">选择地址</button>
|
|
59
|
+
<!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
|
|
60
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="selectaddress()">修改地址</button>
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="row">
|
|
65
|
+
<div style="" class="col-sm-4 form-group">
|
|
66
|
+
<label for="f_used_name" class="font_normal_body"> 曾 用 名</label>
|
|
67
|
+
<input type="text" v-model="baseinfo.base.f_used_name" class="input_search" style="width:60%"
|
|
68
|
+
placeholder="曾用名">
|
|
69
|
+
</div>
|
|
70
|
+
<div style="" class="col-sm-4 form-group">
|
|
71
|
+
<label for="f_rent_phone" class="font_normal_body"> 备用电话</label>
|
|
72
|
+
<input type="text" v-model="baseinfo.base.f_rent_phone" class="input_search" style="width:60%"
|
|
73
|
+
placeholder="备用电话">
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-4 form-group" :class="[$v.f_people_num.dctest ? 'has-error' : '']">
|
|
76
|
+
<label for="f_people_num" class="font_normal_body"> 人 口 数</label>
|
|
77
|
+
<input type="number" v-model="baseinfo.base.f_people_num" v-validate:f_people_num='{dctest: [0, ">=" ]}'
|
|
78
|
+
:disabled="!jurisdiction.includes('修改人口数')" class="input_search" style="width:60%"
|
|
79
|
+
placeholder="家庭人口数">
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="row">
|
|
83
|
+
<div style="" class="col-sm-4 form-group">
|
|
84
|
+
<label for="f_balance" class="font_normal_body"> 用户余额</label>
|
|
85
|
+
<input type="text" v-model="baseinfo.base.f_balance" class="input_search" style="width:60%"
|
|
86
|
+
placeholder="用户余额" :disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
87
|
+
</div>
|
|
88
|
+
<div style="" class="col-sm-4 form-group">
|
|
89
|
+
<label for="f_is_mgq" class="font_normal_body ">煤 改 气 </label>
|
|
90
|
+
<v-select id="f_is_mgq" :value.sync="baseinfo.base.f_is_mgq" v-model="baseinfo.base.f_is_mgq"
|
|
91
|
+
:options='mgq' placeholder='是否煤改气' style="width: 65%" close-on-select></v-select>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="col-sm-4 form-group">
|
|
94
|
+
<label for="f_contract" class="font_normal_body"> 燃气本号</label>
|
|
95
|
+
<input type="text" v-model="baseinfo.base.f_book_no" class="input_search" style="width:60%" placeholder="用户证号">
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="row">
|
|
99
|
+
<div style="" class="col-sm-4 form-group">
|
|
100
|
+
<label for="f_rent_name" class="font_normal_body"> 租户姓名</label>
|
|
101
|
+
<input type="text" v-model="baseinfo.base.f_rent_name" class="input_search" style="width:60%"
|
|
102
|
+
placeholder="租户姓名">
|
|
103
|
+
</div>
|
|
104
|
+
<div style="" class="col-sm-4 form-group">
|
|
105
|
+
<label for="f_zuhu_phone" class="font_normal_body"> 租户电话</label>
|
|
106
|
+
<input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
|
|
107
|
+
placeholder="租户电话">
|
|
108
|
+
</div>
|
|
109
|
+
<div style="" class="col-sm-4 form-group">
|
|
110
|
+
<label for="f_cost_type" class="font_normal_body "> 付款类型</label>
|
|
111
|
+
<v-select id="f_cost_type" :value.sync="baseinfo.base.f_cost_type" v-model="baseinfo.base.f_cost_type"
|
|
112
|
+
:options='costtype' placeholder='付款类型' style="width: 65%" close-on-select></v-select>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="row">
|
|
116
|
+
<div class="col-sm-8 form-group">
|
|
117
|
+
<label for="f_contract" class="font_normal_body"> 合同编号</label>
|
|
118
|
+
<input type="text" v-model="baseinfo.base.f_contract_id" class="input_search" style="width:80%"
|
|
119
|
+
placeholder="合同编号">
|
|
120
|
+
</div>
|
|
121
|
+
<!--<div style="" class="col-sm-4 form-group">-->
|
|
122
|
+
<!--<label for="f_print_lc" class="font_normal_body "> 打印状态</label>-->
|
|
123
|
+
<!--<v-select id="f_print_lc" :value.sync="baseinfo.base.f_print_lc" v-model="baseinfo.base.f_print_lc"-->
|
|
124
|
+
<!--:value-single="true" :disabled="!jurisdiction.includes('档案信息查询修改')"-->
|
|
125
|
+
<!--:options='mgq' placeholder='是否打印' style="width: 65%" close-on-select></v-select>-->
|
|
126
|
+
<!--</div>-->
|
|
127
|
+
<div class="col-sm-4 form-group" :class="[$v.f_print_dh.required ? 'has-error' : '']">
|
|
128
|
+
<label for="f_print_dh" class="font_normal_body ">*打印类别</label>
|
|
129
|
+
<input type="text" v-show="false" v-model="baseinfo.base.f_print_dh" v-validate:f_print_dh='{required: true }'>
|
|
130
|
+
<v-select id="f_print_dh" :value.sync="baseinfo.base.f_print_dh" v-model="baseinfo.base.f_print_dh"
|
|
131
|
+
:value-single="true" :disabled="baseinfo.base.f_print_dh_stats" :search="false"
|
|
132
|
+
:options='printstate' placeholder='流程单 | 点火单' style="width: 65%" close-on-select></v-select>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
<div class="row">
|
|
138
|
+
<div style="" class="col-sm-8 form-group">
|
|
139
|
+
<label for="f_paper_account" class="font_normal_body "> 备  注</label>
|
|
140
|
+
<input class="input_search" style="width:80%" v-model="baseinfo.base.f_comments"/>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="col-sm-4 form-group" :class="[$v.f_house_type.required ? 'has-error' : '']">
|
|
143
|
+
<label for="f_user_state" class="font_normal_body"> 房屋类型</label>
|
|
144
|
+
<input type="text" v-show="false" v-model="baseinfo.base.f_house_type" v-validate:f_house_type='{required: true }'>
|
|
145
|
+
<v-select :value.sync="baseinfo.base.f_house_type" :search="false" :value-single="true"
|
|
146
|
+
:options='housetype' placeholder='房屋类型' close-on-select>
|
|
147
|
+
</v-select>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="row">
|
|
151
|
+
<a style="text-decoration: none;font-weight: 300;float: left;color: #333;margin-top: 15px;font-weight: 500"
|
|
152
|
+
v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
|
|
153
|
+
</div>
|
|
154
|
+
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">
|
|
155
|
+
<div class="row">
|
|
156
|
+
<div class="col-sm-4 form-group"
|
|
157
|
+
:class="[$v.f_bank_accopen.required ? 'has-error' : '']">
|
|
158
|
+
<label for="f_username" class="font_normal_body">银行户名</label>
|
|
159
|
+
<input type="text" v-model="baseinfo.bank.f_bank_accopen"
|
|
160
|
+
class="input_search" style="width:60%" id="f_username" placeholder="用户名称"
|
|
161
|
+
v-validate:f_bank_accopen='{required: true}'
|
|
162
|
+
v-next-el="bankaccount">
|
|
163
|
+
</div>
|
|
164
|
+
<div class="col-sm-4 form-group" id=userfiles-useEssInf-银行名称>
|
|
165
|
+
<label for="f_username" class="font_normal_body ">银行名称</label>
|
|
166
|
+
<v-select :value.sync="baseinfo.bank.f_bank_name"
|
|
167
|
+
:options='banknames' placeholder='银行名称'
|
|
168
|
+
close-on-select></v-select>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="col-sm-4 form-group">
|
|
171
|
+
<label for="f_bank_idnumber" class="font_normal_body">缴费编号</label>
|
|
172
|
+
<input type="text" v-model="baseinfo.bank.f_bank_pay_number"
|
|
173
|
+
class="input_search" style="width:60%"
|
|
174
|
+
aria-describedby="helpBlock" placeholder="缴费编号" v-el:bankpaynumber>
|
|
175
|
+
</div>
|
|
176
|
+
<div class="col-sm-12 form-group">
|
|
177
|
+
<label for="f_bank_idnumber" class="font_normal_body">身份证号</label>
|
|
178
|
+
<input type="text" v-model="baseinfo.bank.f_bank_idnumber"
|
|
179
|
+
class="input_search" style="width:54%"
|
|
180
|
+
aria-describedby="helpBlock" placeholder="身份证号" v-el:bankidnumber>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="col-sm-12 form-group"
|
|
183
|
+
:class="[$v.f_bank_account.required ? 'has-error' : '']">
|
|
184
|
+
<label for="f_userid" class="font_normal_body">银行账号</label>
|
|
185
|
+
<input type="text" v-model="baseinfo.bank.f_bank_account" class="input_search" style="width:54%"
|
|
186
|
+
v-validate:f_bank_account='{required: true}' placeholder="银行账号" v-el:bankaccount
|
|
187
|
+
v-next-el="bankidnumber">
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</form>
|
|
192
|
+
</validator>
|
|
193
|
+
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
194
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
195
|
+
<file-address-manage-new :is-select="isSelect" :fileinfo="addressinfo"
|
|
196
|
+
@address-valid="doNothing" :showselectaddress.sync="showselectaddress"
|
|
197
|
+
:f_filialeid="f_filialeid"
|
|
198
|
+
v-ref:fileaddress ></file-address-manage-new>
|
|
199
|
+
</article>
|
|
200
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
201
|
+
</footer>
|
|
202
|
+
</modal>
|
|
203
|
+
</div>
|
|
204
|
+
</template>
|
|
205
|
+
|
|
206
|
+
<script>
|
|
207
|
+
import {HttpResetClass} from 'vue-client'
|
|
208
|
+
// import HighMeter from '../../plugins/HighMeterPlugin'
|
|
209
|
+
|
|
210
|
+
let getEditUserState = async function (self) {
|
|
211
|
+
try {
|
|
212
|
+
let http = new HttpResetClass()
|
|
213
|
+
let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
214
|
+
console.log('看看结果', result.data.EditUserState)
|
|
215
|
+
self.config.f_print_dh = result.data.f_print_dh
|
|
216
|
+
self.baseinfo.base.f_print_dh = (self.baseinfo.base.f_print_dh && self.baseinfo.base.f_print_dh != '' && self.baseinfo.base.f_print_dh != '否') ? self.baseinfo.base.f_print_dh : result.data.f_print_dh
|
|
217
|
+
self.edituserstate = result.data.EditUserState
|
|
218
|
+
} catch (e) {
|
|
219
|
+
console.log(e)
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export default {
|
|
224
|
+
title: '基本信息',
|
|
225
|
+
props: ['baseinfo', 'addressinfo', 'isedit', 'f_filialeid'],
|
|
226
|
+
data () {
|
|
227
|
+
return {
|
|
228
|
+
showselectaddress: false,
|
|
229
|
+
site: '',
|
|
230
|
+
areas: [],
|
|
231
|
+
streets: [],
|
|
232
|
+
residentials: [],
|
|
233
|
+
config: {},
|
|
234
|
+
inputtores: this.$appdata.getParam('抄表员'),
|
|
235
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
236
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
237
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
238
|
+
userstates: [{label: '预备', value: '预备'}],
|
|
239
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
240
|
+
mgq: this.$appdata.getParam('是否煤改气'),
|
|
241
|
+
costtype: this.$appdata.getParam('付款类型'),
|
|
242
|
+
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')]:[{label: '暂不选择', value: '暂不选择'}],
|
|
243
|
+
jurisdiction: this.$login.r,
|
|
244
|
+
edituserstate: false,
|
|
245
|
+
// highMeterPlugin: {},
|
|
246
|
+
readCardFlag: true,
|
|
247
|
+
|
|
248
|
+
isSelect: false
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
ready () {
|
|
252
|
+
console.log('f_filialeid222,,,', this.f_filialeid)
|
|
253
|
+
getEditUserState(this)
|
|
254
|
+
this.$resetValidation()
|
|
255
|
+
// this.highMeterPlugin = new HighMeter(this,this.readIDCardCallback)
|
|
256
|
+
},
|
|
257
|
+
beforeDestroy () {
|
|
258
|
+
console.log('销毁')
|
|
259
|
+
// this.highMeterPlugin.Stop()
|
|
260
|
+
},
|
|
261
|
+
methods: {
|
|
262
|
+
selectaddress () {
|
|
263
|
+
this.showselectaddress = true
|
|
264
|
+
this.isSelect = true
|
|
265
|
+
},
|
|
266
|
+
modifyaddress () {
|
|
267
|
+
this.showselectaddress = true
|
|
268
|
+
this.isSelect = false
|
|
269
|
+
},
|
|
270
|
+
onValid (res) {
|
|
271
|
+
this.$dispatch('valid')
|
|
272
|
+
},
|
|
273
|
+
onInvalid (res) {
|
|
274
|
+
this.$dispatch('invalid')
|
|
275
|
+
},
|
|
276
|
+
doNothing () {
|
|
277
|
+
// console.log('啥也不做')
|
|
278
|
+
},
|
|
279
|
+
readIDCardCallback (compoent, msg) {
|
|
280
|
+
// console.log('进入高拍仪',msg)
|
|
281
|
+
if (msg.err !== 0) {
|
|
282
|
+
return
|
|
283
|
+
}
|
|
284
|
+
// document.getElementById("idCardType").getElementsByClassName("btn-content")[0].innerHTML="身份证"
|
|
285
|
+
compoent.baseinfo.base.f_idnumber = msg.strID
|
|
286
|
+
compoent.baseinfo.base.f_user_name = msg.strName.trim()
|
|
287
|
+
compoent.baseinfo.base.f_credentials = ['身份证']
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
watch: {
|
|
291
|
+
// 重置验证结果,当证件类型切换时,验证结果不能立即刷新,需要重置
|
|
292
|
+
'baseinfo.base.f_credentials[0]' () {
|
|
293
|
+
// console.log('验证器重置')
|
|
294
|
+
this.$resetValidation()
|
|
295
|
+
this.baseinfo.base.f_print_dh = (this.baseinfo.base.f_print_dh && this.baseinfo.base.f_print_dh != '' && this.baseinfo.base.f_print_dh != '否') ? this.baseinfo.base.f_print_dh : this.config.f_print_dh
|
|
296
|
+
},
|
|
297
|
+
'baseinfo.base.f_cost_type[0]' () {
|
|
298
|
+
// console.log('验证器重置')
|
|
299
|
+
this.$resetValidation()
|
|
300
|
+
this.baseinfo.base.f_print_dh = (this.baseinfo.base.f_print_dh && this.baseinfo.base.f_print_dh != '' && this.baseinfo.base.f_print_dh != '否') ? this.baseinfo.base.f_print_dh : this.config.f_print_dh
|
|
301
|
+
},
|
|
302
|
+
// 当选择销户,需要给其提醒是否进行销户
|
|
303
|
+
'baseinfo.base.f_user_state' (val) {
|
|
304
|
+
if (val[0] === '销户') {
|
|
305
|
+
this.$showMessage('是否要对该客户进行销户操作?', ['confirm', 'cancel']).then((res) => {
|
|
306
|
+
if (res !== 'confirm') {
|
|
307
|
+
this.baseinfo.base.f_user_state = ['正常']
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
computed: {},
|
|
314
|
+
events: {
|
|
315
|
+
'confirmaddress' (res) {
|
|
316
|
+
// console.log('选定地址', res)
|
|
317
|
+
this.showselectaddress = false
|
|
318
|
+
this.addressinfo.f_address = res.f_address
|
|
319
|
+
this.addressinfo.id = res.id
|
|
320
|
+
if (res.f_house_type != null) {
|
|
321
|
+
this.baseinfo.base.f_house_type = res.f_house_type
|
|
322
|
+
}
|
|
323
|
+
this.$dispatch('defaultOtheret', res)
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
</script>
|
|
@@ -45,4 +45,6 @@ export default function () {
|
|
|
45
45
|
Vue.component('reset-meter', (resolve) => { require(['./ResetMeter'], resolve) })
|
|
46
46
|
// 表计管理
|
|
47
47
|
Vue.component('web-meter-info', (resolve) => { require(['./WebMeterInfo'], resolve) })
|
|
48
|
+
// 用户基本信息test
|
|
49
|
+
Vue.component('file-user-essential-info-new', (resolve) => { require(['./components/FilesManageNew/UserEssentialInfoTest'], resolve) })
|
|
48
50
|
}
|
|
@@ -459,6 +459,7 @@
|
|
|
459
459
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
460
460
|
self.$dispatch('refresh')
|
|
461
461
|
} else {
|
|
462
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
462
463
|
if (getLimit.data.f_limit_value) {
|
|
463
464
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
464
465
|
self.limitgas = true
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
:class="[$v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
19
19
|
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
20
20
|
<input class="input_search" style="width:60%" type="number" id="pregasFocue"
|
|
21
|
-
@blur="pregas()" v-model="model.f_pregas"
|
|
22
|
-
v-validate:f_pregas='{dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
21
|
+
@blur="pregas()" v-model="model.f_pregas" placeholder="预购气量"
|
|
23
22
|
v-next-el='sk' >
|
|
24
23
|
</div>
|
|
25
24
|
<!-- <div class="col-sm-4 form-group" v-if="row.f_collection_type == '按金额'">
|
|
@@ -408,6 +407,7 @@
|
|
|
408
407
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
409
408
|
self.$dispatch('refresh')
|
|
410
409
|
} else {
|
|
410
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
411
411
|
if (getLimit.data.f_limit_value) {
|
|
412
412
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
413
413
|
self.limitgas = true
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
18
18
|
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
19
19
|
<input class="input_search" style="width:60%" type="number"
|
|
20
|
-
@blur="pregas()" v-model="model.f_pregas" id="fpregas"
|
|
21
|
-
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
20
|
+
@blur="pregas()" v-model="model.f_pregas" id="fpregas" placeholder="预购气量"
|
|
22
21
|
v-next-el='sk' >
|
|
23
22
|
</div>
|
|
24
23
|
<!-- <div class="col-sm-4" v-if="row.f_collection_type == '按金额'">
|
|
@@ -292,6 +291,7 @@
|
|
|
292
291
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
293
292
|
self.$dispatch('refresh')
|
|
294
293
|
} else {
|
|
294
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
295
295
|
if (getLimit.data.f_limit_value) {
|
|
296
296
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
297
297
|
self.limitgas = true
|
package/src/main.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import all from 'vue-client/src/all'
|
|
3
|
-
import App from './App'
|
|
4
|
-
import system from 'system-clients/src/system'
|
|
5
|
-
import sale from './sale'
|
|
6
|
-
import wenxi from './filiale/
|
|
7
|
-
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
|
-
import address from 'address-client/src/address'
|
|
9
|
-
import ldap from 'ldap-clients/src/ldap'
|
|
10
|
-
import VueClipboard from 'vue-clipboard2'
|
|
11
|
-
|
|
12
|
-
Vue.use(VueClipboard)
|
|
13
|
-
Vue.config.silent = true
|
|
14
|
-
|
|
15
|
-
all()
|
|
16
|
-
system(false)
|
|
17
|
-
sale()
|
|
18
|
-
wenxi()
|
|
19
|
-
// FilialeSale()
|
|
20
|
-
address()
|
|
21
|
-
ldap()
|
|
22
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
23
|
-
|
|
24
|
-
new Vue({
|
|
25
|
-
el: 'body',
|
|
26
|
-
components: { App }
|
|
27
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import all from 'vue-client/src/all'
|
|
3
|
+
import App from './App'
|
|
4
|
+
import system from 'system-clients/src/system'
|
|
5
|
+
import sale from './sale'
|
|
6
|
+
import wenxi from './filiale/yuansheng/sale'
|
|
7
|
+
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
|
+
import address from 'address-client/src/address'
|
|
9
|
+
import ldap from 'ldap-clients/src/ldap'
|
|
10
|
+
import VueClipboard from 'vue-clipboard2'
|
|
11
|
+
|
|
12
|
+
Vue.use(VueClipboard)
|
|
13
|
+
Vue.config.silent = true
|
|
14
|
+
|
|
15
|
+
all()
|
|
16
|
+
system(false)
|
|
17
|
+
sale()
|
|
18
|
+
wenxi()
|
|
19
|
+
// FilialeSale()
|
|
20
|
+
address()
|
|
21
|
+
ldap()
|
|
22
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
23
|
+
|
|
24
|
+
new Vue({
|
|
25
|
+
el: 'body',
|
|
26
|
+
components: { App }
|
|
27
|
+
})
|