sale-client 3.5.236 → 3.5.237
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/FilesManage/UserEssentialInfoTest.vue +1 -1
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +1 -1
- package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +2 -0
- package/src/filiale/rongcheng/MeterinfoTest.vue +4 -4
- package/src/filiale/wenxi/ChargeRecordQuery.vue +100 -0
- package/src/filiale/wenxi/FilesManageNew/UserEssentialInfoTest.vue +327 -0
- package/src/filiale/wenxi/MeterinfoTest.vue +216 -27
- package/src/filiale/wenxi/OffGasAddGas.vue +4 -4
- package/src/filiale/wenxi/UserEssentialInfoTest.vue +101 -5
- package/src/filiale/wenxi/UserGeneralInfoTest.vue +2 -2
- package/src/filiale/wenxi/UserMeterInfoTest.vue +3 -2
- package/src/filiale/wenxi/sale.js +4 -0
package/package.json
CHANGED
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
costtype: this.$appdata.getParam('付款类型'),
|
|
253
253
|
usernature: this.$appdata.getParam('用户性质'),
|
|
254
254
|
userlevel: this.$appdata.getParam('用户等级'),
|
|
255
|
-
housetype:
|
|
255
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
256
256
|
jurisdiction: this.$login.r,
|
|
257
257
|
edituserstate: false,
|
|
258
258
|
// highMeterPlugin: {},
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
costtypes: this.$appdata.getParam('缴费类型'),
|
|
237
237
|
banknames: this.$appdata.getParam('银行名称'),
|
|
238
238
|
userstates: [{label: '预备', value: '预备'}],
|
|
239
|
-
housetype:
|
|
239
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
240
240
|
mgq: this.$appdata.getParam('是否煤改气'),
|
|
241
241
|
costtype: this.$appdata.getParam('付款类型'),
|
|
242
242
|
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')]:[{label: '暂不选择', value: '暂不选择'}],
|
|
@@ -327,6 +327,8 @@ export default {
|
|
|
327
327
|
this.$LogicService.modifyGasBrand(this.model, this.addGasModelArray)
|
|
328
328
|
.then(
|
|
329
329
|
(res) => {
|
|
330
|
+
let http = new HttpResetClass()
|
|
331
|
+
http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
|
|
330
332
|
this.$dispatch('success', '气表品牌修改', this.data, res)
|
|
331
333
|
}
|
|
332
334
|
).catch(
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_llj_meternumber"
|
|
30
30
|
placeholder='表号'>
|
|
31
31
|
</div>
|
|
32
|
-
<div style="" class="col-sm-8 form-group"
|
|
33
|
-
<label for="f_llj_address" class="font_normal_body ">流量计位置</label
|
|
34
|
-
<input class="input_search" style="width:80%" placeholder='流量计安装位置' v-model="row.f_llj_address"
|
|
35
|
-
</div
|
|
32
|
+
<!-- <div style="" class="col-sm-8 form-group">-->
|
|
33
|
+
<!-- <label for="f_llj_address" class="font_normal_body ">流量计位置</label>-->
|
|
34
|
+
<!-- <input class="input_search" style="width:80%" placeholder='流量计安装位置' v-model="row.f_llj_address"/>-->
|
|
35
|
+
<!-- </div>-->
|
|
36
36
|
<div class="col-sm-4 form-group">
|
|
37
37
|
<label for="f_llj_date" class="font_normal_body">流量计出厂</label>
|
|
38
38
|
<datepicker style="width:60%" placeholder="流量计出厂日期"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height:100%">
|
|
3
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
|
4
|
+
<template partial='head' >
|
|
5
|
+
<tr>
|
|
6
|
+
<th><nobr>序号</nobr></th>
|
|
7
|
+
|
|
8
|
+
<th><nobr>气量</nobr></th>
|
|
9
|
+
<th><nobr>应交</nobr></th>
|
|
10
|
+
<th><nobr>付款方式</nobr></th>
|
|
11
|
+
<th><nobr>上期结余</nobr></th>
|
|
12
|
+
<th><nobr>收款</nobr></th>
|
|
13
|
+
<th><nobr>本期结余</nobr></th>
|
|
14
|
+
<th><nobr>操作类型</nobr></th>
|
|
15
|
+
<th><nobr>操作时间 </nobr></th>
|
|
16
|
+
<th><nobr>操作员 </nobr></th>
|
|
17
|
+
<th><nobr>备注</nobr></th>
|
|
18
|
+
</tr>
|
|
19
|
+
</template>
|
|
20
|
+
<template partial='body' >
|
|
21
|
+
<tr >
|
|
22
|
+
<td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
|
|
23
|
+
|
|
24
|
+
<td style="text-align:center;white-space:nowrap;">{{row.gas}}</td>
|
|
25
|
+
<td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
|
|
26
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
|
|
27
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
|
|
28
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
|
|
29
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
|
|
30
|
+
<td style="text-align:center;white-space:nowrap;">{{row.type}}</td>
|
|
31
|
+
<td style="text-align:center;white-space:nowrap;">{{row.operate_date}}</td>
|
|
32
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>
|
|
33
|
+
<td style="text-align:left;white-space:nowrap;">{{row.note}}{{row.f_write_card}}</td>
|
|
34
|
+
</tr>
|
|
35
|
+
</template>
|
|
36
|
+
</data-grid>
|
|
37
|
+
<modal :show.sync="cardCental" v-ref:modal backdrop="false">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<h4 class="modal-title">温馨提示</h4>
|
|
40
|
+
</header>
|
|
41
|
+
<article slot="modal-body" class="modal-body">
|
|
42
|
+
<div class="form-group">
|
|
43
|
+
<p> 当日此用户已经进行过一次购气,若卡上无气,请先进行补卡(未过表),之后掉气补气即可</p>
|
|
44
|
+
</div>
|
|
45
|
+
</article>
|
|
46
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
47
|
+
<button type="button" class="btn btn-success" @click='cancel()'>确认
|
|
48
|
+
</button>
|
|
49
|
+
</footer>
|
|
50
|
+
</modal>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
|
|
57
|
+
export default {
|
|
58
|
+
title: '操作查询',
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
model: {rows: []},
|
|
62
|
+
cardCental:false,
|
|
63
|
+
hasCardCental: false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
props: ['searchdata'],
|
|
67
|
+
ready () {
|
|
68
|
+
this.getsalerecord()
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
cancel(){
|
|
72
|
+
this.cardCental = false;
|
|
73
|
+
},
|
|
74
|
+
async getsalerecord () {
|
|
75
|
+
let http = new HttpResetClass()
|
|
76
|
+
// this.condition = `1=1 and f_user_id = '${this.searchdata.f_user_id}'`
|
|
77
|
+
this.condition = `1=1 and f_userfiles_id = '${this.searchdata.f_userfiles_id}'`
|
|
78
|
+
let record = await http.load('POST', 'rs/sql/sale_RecordQuery', {data: {condition: this.condition}}, {
|
|
79
|
+
rejectMsg: '流水查询出错!!',
|
|
80
|
+
resolveMsg: null
|
|
81
|
+
})
|
|
82
|
+
this.model.rows = record.data
|
|
83
|
+
this.hasCardCental = this.$appdata.getSingleValue('多收提示') ? this.$appdata.getSingleValue('多收提示') : true
|
|
84
|
+
if(this.hasCardCental && this.model.rows.length>0 && ( this.model.rows[0].type== '发卡售气' || this.model.rows[0].type== '卡表收费' ) ){
|
|
85
|
+
let checkdata = this.model.rows[0].operate_date.substr(0,10)
|
|
86
|
+
let nowdate = new Date();
|
|
87
|
+
let pdate = nowdate.getFullYear()+'-'+(nowdate.getMonth()<10? '0'+nowdate.getMonth()+1 : nowdate.getMonth()+1) +'-'+(nowdate.getDate()<10? '0'+nowdate.getDate() : nowdate.getDate());
|
|
88
|
+
if(new Date(checkdata).getTime() == new Date(pdate).getTime()){
|
|
89
|
+
this.cardCental = true;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
watch: {
|
|
95
|
+
'searchdata' () {
|
|
96
|
+
this.getsalerecord()
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|
|
@@ -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>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="auto" id="meterInfoTest">
|
|
3
|
-
<validator name='m' @valid="mValid(true)" @invalid="mValid(
|
|
3
|
+
<validator name='m' @valid="mValid(true)" @invalid="mValid(true)">
|
|
4
4
|
<form class="form-horizontal select-overspread ">
|
|
5
5
|
<div style="margin-top: 2%;">
|
|
6
6
|
<a style="font-size: 16px;font-weight: 500;">表具信息</a> <a style="color: #999999;text-decoration: none"></a>
|
|
7
7
|
</div>
|
|
8
|
-
<div class="row" >
|
|
8
|
+
<div class="row" v-if="this.flag===2">
|
|
9
9
|
<div class="col-sm-4 form-group" :class="[$m.brand.required ? 'has-error' : '']">
|
|
10
10
|
<label for="gasbrand" class="font_normal_body">气表品牌</label>
|
|
11
11
|
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
search @change='brandChange' v-model='row.gasbrand' :disabled="curuser.f_user_state != '预备'" v-ref:brand></v-select>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
|
|
17
|
-
<label for="gasmodel" class="font_normal_body"
|
|
17
|
+
<label for="gasmodel" class="font_normal_body">*气表型号</label>
|
|
18
18
|
<input type="text" v-show="false" v-model="$refs.model.selectedItems"
|
|
19
19
|
v-validate:model='{required: true }'>
|
|
20
20
|
<v-select :value.sync="row.gasmodel" :options='gasmodelOptions' placeholder='气表型号'
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
v-next-el="{id: 'metertitles'}">
|
|
30
30
|
</div>
|
|
31
31
|
<div class="col-sm-4 form-group" :class="[$m.f_meternumber.required ? 'has-error' : '']" v-else>
|
|
32
|
-
<label for="f_meternumber" class="font_normal_body"
|
|
32
|
+
<label for="f_meternumber" class="font_normal_body"> *表  号</label>
|
|
33
33
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
|
|
34
34
|
v-validate:f_meternumber='{required: true }'
|
|
35
35
|
@blur="meternumberValidate()" placeholder='表号'
|
|
36
36
|
v-next-el="{id: 'metertitles'}">
|
|
37
37
|
</div>
|
|
38
38
|
<div class="col-sm-4 form-group" :class="[$m.f_metertitles.required ? 'has-error' : '']">
|
|
39
|
-
<label for="f_metertitles" class="font_normal_body"
|
|
39
|
+
<label for="f_metertitles" class="font_normal_body"> *表 封 号</label>
|
|
40
40
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_metertitles" placeholder='表封号'
|
|
41
41
|
v-validate:f_metertitles='{required: true }'
|
|
42
42
|
v-next-el="{id: 'meterbase'}">
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
<div title="涉及权限:【档案信息查询修改】" :class="[$m.f_initial_base.required ? 'col-sm-4 form-group has-error' : 'col-sm-4 form-group']">
|
|
56
|
-
<label for="f_initial_base" class="font_normal_body"
|
|
56
|
+
<label for="f_initial_base" class="font_normal_body"> *气表底数</label>
|
|
57
57
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
|
|
58
58
|
v-validate:f_initial_base='{required: true }'
|
|
59
59
|
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
@@ -124,12 +124,126 @@
|
|
|
124
124
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_card_id" placeholder='卡号' @blur="checkCardId" :disabled="!jurisdiction.includes('卡号修改')">
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
|
+
<div class="row" v-if="this.flag===1">
|
|
128
|
+
<div class="col-sm-4 form-group">
|
|
129
|
+
<label for="gasbrand" class="font_normal_body">气表品牌</label>
|
|
130
|
+
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems">
|
|
131
|
+
<v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
132
|
+
search @change='brandChange' v-model='row.gasbrand' :disabled="curuser.f_user_state != '预备'" v-ref:brand></v-select>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="col-sm-4 form-group" >
|
|
135
|
+
<label for="gasmodel" class="font_normal_body">气表型号</label>
|
|
136
|
+
<input type="text" v-show="false" v-model="$refs.model.selectedItems">
|
|
137
|
+
<v-select :value.sync="row.gasmodel" :options='gasmodelOptions' placeholder='气表型号'
|
|
138
|
+
close-on-select
|
|
139
|
+
v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div class="col-sm-4 form-group" v-if="isiot" >
|
|
143
|
+
<label for="f_meternumber" class="font_normal_body"> 表  号</label>
|
|
144
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
|
|
145
|
+
@blur="meternumberValidate()" placeholder='表号'
|
|
146
|
+
v-next-el="{id: 'metertitles'}">
|
|
147
|
+
</div>
|
|
148
|
+
<div class="col-sm-4 form-group" v-else>
|
|
149
|
+
<label for="f_meternumber" class="font_normal_body"> 表  号</label>
|
|
150
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
|
|
151
|
+
@blur="meternumberValidate()" placeholder='表号'
|
|
152
|
+
v-next-el="{id: 'metertitles'}">
|
|
153
|
+
</div>
|
|
154
|
+
<div class="col-sm-4 form-group" >
|
|
155
|
+
<label for="f_metertitles" class="font_normal_body"> 表 封 号</label>
|
|
156
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_metertitles" placeholder='表封号'
|
|
157
|
+
v-next-el="{id: 'meterbase'}">
|
|
158
|
+
</div>
|
|
159
|
+
<div class="col-sm-4 form-group">
|
|
160
|
+
<label for="f_metertitles" class="font_normal_body">表具状态</label>
|
|
161
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_table_state" placeholder='表具状态' disabled>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="col-sm-4 form-group">
|
|
164
|
+
<label for="f_meter_base" class="font_normal_body"> 表 读 数</label>
|
|
165
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
|
|
166
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')" :readonly="!row.f_userfiles_id">
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
<div title="涉及权限:【档案信息查询修改】">
|
|
171
|
+
<label for="f_initial_base" class="font_normal_body"> 气表底数</label>
|
|
172
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
|
|
173
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
177
|
+
<label for="f_meter_base" class="font_normal_body"> 累购气量</label>
|
|
178
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_total_gas" placeholder='累购气量'
|
|
179
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
180
|
+
</div>
|
|
181
|
+
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
182
|
+
<label for="f_meter_base" class="font_normal_body">表写卡累购气量</label>
|
|
183
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalgas" placeholder='表写卡累购气量'
|
|
184
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
185
|
+
</div>
|
|
186
|
+
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
187
|
+
<label for="f_meter_base" class="font_normal_body"> 累购金额</label>
|
|
188
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_total_fee" placeholder='累购金额'
|
|
189
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
190
|
+
</div>
|
|
191
|
+
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
192
|
+
<label for="f_meter_base" class="font_normal_body">表写卡累购金额</label>
|
|
193
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalfee" placeholder='表写卡累购金额'
|
|
194
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
195
|
+
</div>
|
|
196
|
+
<div class="col-sm-4 form-group" v-show="row.f_meter_classify != '机表'" title="涉及权限:【档案信息查询修改】">
|
|
197
|
+
<label for="f_times" class="font_normal_body"> 写卡次数</label>
|
|
198
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_times" placeholder='写卡次数'
|
|
199
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
200
|
+
</div>
|
|
201
|
+
<div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'" title="涉及权限:【档案信息查询修改】">
|
|
202
|
+
<label for="f_times" class="font_normal_body">物联网写卡次数</label>
|
|
203
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_iot_times" placeholder='物联网次数'
|
|
204
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
205
|
+
</div>
|
|
206
|
+
<div class="col-sm-4 form-group" v-show="false">
|
|
207
|
+
<label for="f_remanent_gas" class="font_normal_body">剩余气量</label>
|
|
208
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_remanent_gas"
|
|
209
|
+
placeholder='剩余气量'
|
|
210
|
+
:disabled="f_userinfo_id"></input>
|
|
211
|
+
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy('f_remanent_gas')" v-if="f_userinfo_id">修改</button>-->
|
|
212
|
+
</div>
|
|
213
|
+
<div class="col-sm-4 form-group">
|
|
214
|
+
<label for="f_times" class="font_normal_body"> 最大量程</label>
|
|
215
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_capacity" placeholder='最大量程'>
|
|
216
|
+
</div>
|
|
217
|
+
<div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'">
|
|
218
|
+
<label for="gasmodel" class="font_normal_body"> 阀门状态</label>
|
|
219
|
+
<v-select :value.sync="row.f_valve_state" :options='valvestate' placeholder='阀门状态' close-on-select
|
|
220
|
+
v-model='row.f_valve_state'></v-select>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
223
|
+
<label class="font_normal_body" title="开户方式">开户方式</label>
|
|
224
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
|
|
225
|
+
search v-model='row.f_open_way' :disabled="true"></v-select>
|
|
226
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
|
|
227
|
+
search v-model='row.f_open_way' :disabled="false"></v-select>
|
|
228
|
+
</div>
|
|
229
|
+
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_brand.indexOf('集中器') !== -1">
|
|
230
|
+
<label class="font_normal_body" title="集中器">集 中 器</label>
|
|
231
|
+
<v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-if="row.f_userfiles_id"
|
|
232
|
+
search v-model='row.f_concentrator_id' :disabled="true"></v-select>
|
|
233
|
+
<v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-else
|
|
234
|
+
search v-model='row.f_concentrator_id' :disabled="false"></v-select>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="col-sm-4 form-group" v-if="(row.gasbrand.length > 0 && ((row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是') || (row.f_meter_classify.includes('卡表'))) && row.f_user_id )">
|
|
237
|
+
<label class="font_normal_body"> 卡  号</label>
|
|
238
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_card_id" placeholder='卡号' @blur="checkCardId" :disabled="!jurisdiction.includes('卡号修改')">
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
127
241
|
<div>
|
|
128
242
|
<a style="font-size: 16px;font-weight: 500;">气价信息</a> <a style="color: #999999;text-decoration: none"></a>
|
|
129
243
|
</div>
|
|
130
|
-
<div class="row">
|
|
244
|
+
<div class="row" v-if="this.flag===2">
|
|
131
245
|
<div class="col-sm-4 form-group" :class="[$m.name.required ? 'has-error' : '']">
|
|
132
|
-
<label for="pricename" class="font_normal_body"
|
|
246
|
+
<label for="pricename" class="font_normal_body">*气价名称</label>
|
|
133
247
|
<v-select :value.sync="row.pricename" v-model="row.pricename" search
|
|
134
248
|
placeholder='气价名称' :options="getPricenames" @change="priceChange"
|
|
135
249
|
close-on-select :disabled="permissionPrice" v-ref:name></v-select>
|
|
@@ -172,6 +286,50 @@
|
|
|
172
286
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_price_comments" placeholder='气价备注' disabled>
|
|
173
287
|
</div>
|
|
174
288
|
</div>
|
|
289
|
+
<div class="row" v-if="this.flag===1">
|
|
290
|
+
<div class="col-sm-4 form-group">
|
|
291
|
+
<label for="pricename" class="font_normal_body">气价名称</label>
|
|
292
|
+
<v-select :value.sync="row.pricename" v-model="row.pricename" search
|
|
293
|
+
placeholder='气价名称' :options="getPricenames" @change="priceChange"
|
|
294
|
+
close-on-select :disabled="permissionPrice" v-ref:name></v-select>
|
|
295
|
+
<input type="text" v-show="false" v-model="$refs.name.selectedItems">
|
|
296
|
+
</div>
|
|
297
|
+
<div class="col-sm-4 form-group">
|
|
298
|
+
<label for="f_username" class="font_normal_body"> 客户类型</label>
|
|
299
|
+
<v-select :value.sync="row.f_user_type"
|
|
300
|
+
:options='usertypes' placeholder='客户类型'
|
|
301
|
+
@change="userTypeChange()"
|
|
302
|
+
:disabled="true"
|
|
303
|
+
close-on-select></v-select>
|
|
304
|
+
</div>
|
|
305
|
+
<div class="col-sm-4 form-group">
|
|
306
|
+
<label for="f_username" class="font_normal_body"> 用气性质</label>
|
|
307
|
+
<input type="text" v-show="false" v-model="$refs.gas.selectedItems">
|
|
308
|
+
<v-select :value.sync="row.f_gasproperties" v-model="row.f_gasproperties"
|
|
309
|
+
:options='gasproperties' placeholder='用气性质'
|
|
310
|
+
:disabled="true"
|
|
311
|
+
close-on-select v-ref:gas></v-select>
|
|
312
|
+
</div>
|
|
313
|
+
<div class="col-sm-4 form-group">
|
|
314
|
+
<label for="f_detailprice" class="font_normal_body"> 价  格</label>
|
|
315
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_detailprice" placeholder='价格'
|
|
316
|
+
disabled>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="col-sm-4 form-group">
|
|
319
|
+
<label for="pricetype" class="font_normal_body"> 气价类型</label>
|
|
320
|
+
<v-select :value.sync="row.pricetype" v-model="row.pricetype"
|
|
321
|
+
placeholder='气价类型' :options="pricetypes"
|
|
322
|
+
:value-single="true"
|
|
323
|
+
:disabled="true"
|
|
324
|
+
close-on-select v-ref:type>
|
|
325
|
+
</v-select>
|
|
326
|
+
<input type="text" v-show="false" v-model="$refs.type.selectedItems">
|
|
327
|
+
</div>
|
|
328
|
+
<div class="col-sm-4 form-group">
|
|
329
|
+
<label class="font_normal_body"> 气价备注</label>
|
|
330
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_price_comments" placeholder='气价备注' disabled>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
175
333
|
<div>
|
|
176
334
|
<a style="font-size: 16px;font-weight: 500;">表具其他信息</a> <a style="color: #999999;text-decoration: none"></a>
|
|
177
335
|
</div>
|
|
@@ -183,8 +341,8 @@
|
|
|
183
341
|
close-on-select
|
|
184
342
|
v-el:cc></v-select>
|
|
185
343
|
</div>
|
|
186
|
-
<div class="col-sm-4 form-group" :class="[$m.aroundmeter.required ? 'has-error' : '']"
|
|
187
|
-
<label for="f_aroundmeter" class="font_normal_body"
|
|
344
|
+
<div class="col-sm-4 form-group" :class="[$m.aroundmeter.required ? 'has-error' : '']" v-if="this.flag===2" >
|
|
345
|
+
<label for="f_aroundmeter" class="font_normal_body"> *左 右 表</label>
|
|
188
346
|
<input type="text" v-model="row.f_aroundmeter" v-show="false" v-validate:aroundmeter='{required: true }'>
|
|
189
347
|
<v-select :value.sync="row.f_aroundmeter" v-model="row.f_aroundmeter"
|
|
190
348
|
:options='aroundmeters' placeholder='请选择'
|
|
@@ -192,13 +350,14 @@
|
|
|
192
350
|
v-ref:aroundmeter
|
|
193
351
|
></v-select>
|
|
194
352
|
</div>
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<
|
|
198
|
-
<
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
353
|
+
<div class="col-sm-4 form-group" v-if="this.flag===1" >
|
|
354
|
+
<label for="f_aroundmeter" class="font_normal_body"> 左 右 表</label>
|
|
355
|
+
<input type="text" v-model="row.f_aroundmeter" v-show="false">
|
|
356
|
+
<v-select :value.sync="row.f_aroundmeter" v-model="row.f_aroundmeter"
|
|
357
|
+
:options='aroundmeters' placeholder='请选择'
|
|
358
|
+
close-on-select
|
|
359
|
+
v-ref:aroundmeter
|
|
360
|
+
></v-select>
|
|
202
361
|
</div>
|
|
203
362
|
|
|
204
363
|
<div class="col-sm-4 form-group" >
|
|
@@ -212,8 +371,8 @@
|
|
|
212
371
|
:value.sync="row.f_use_limit"
|
|
213
372
|
placeholder='表具使用年限' >
|
|
214
373
|
</div>
|
|
215
|
-
<div class="col-sm-4 form-group" :class="[$m.f_gas_person.required ? 'has-error' : '']">
|
|
216
|
-
<label for="f_gas_person" class="font_normal_body"
|
|
374
|
+
<div class="col-sm-4 form-group" :class="[$m.f_gas_person.required ? 'has-error' : '']" v-if="this.flag===2">
|
|
375
|
+
<label for="f_gas_person" class="font_normal_body"> *通 气 人</label>
|
|
217
376
|
<input type="text" class="input_search" style="width:60%" style="width:60%" v-model="row.f_gas_person"
|
|
218
377
|
v-validate:f_gas_person='{required: true }'
|
|
219
378
|
placeholder='通气人'></input>
|
|
@@ -221,8 +380,13 @@
|
|
|
221
380
|
:options='gasperson' placeholder='通气人'
|
|
222
381
|
close-on-select></v-select> -->
|
|
223
382
|
</div>
|
|
224
|
-
<div class="col-sm-4 form-group"
|
|
225
|
-
<label for="
|
|
383
|
+
<div class="col-sm-4 form-group" v-if="this.flag===1">
|
|
384
|
+
<label for="f_gas_person" class="font_normal_body"> 通 气 人</label>
|
|
385
|
+
<input type="text" class="input_search" style="width:60%" style="width:60%" v-model="row.f_gas_person"
|
|
386
|
+
placeholder='通气人'></input>
|
|
387
|
+
</div>
|
|
388
|
+
<div class="col-sm-4 form-group" :class="[$m.f_gas_date.required ? 'has-error' : '']" v-if="this.flag===2">
|
|
389
|
+
<label for="f_gas_date" class="font_normal_body"> *通气日期</label>
|
|
226
390
|
<input type="text" v-model="$refs.f_gas_date.value" v-show="false" v-validate:f_gas_date='{required: true }'>
|
|
227
391
|
<datepicker style="width:60%" placeholder="通气日期"
|
|
228
392
|
v-model="row.f_gas_date"
|
|
@@ -232,14 +396,33 @@
|
|
|
232
396
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
233
397
|
></datepicker>
|
|
234
398
|
</div>
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<
|
|
399
|
+
<div class="col-sm-4 form-group" v-if="this.flag===1">
|
|
400
|
+
<label for="f_gas_date" class="font_normal_body"> 通气日期</label>
|
|
401
|
+
<input type="text" v-model="$refs.f_gas_date.value" v-show="false" >
|
|
402
|
+
<datepicker style="width:60%" placeholder="通气日期"
|
|
403
|
+
v-model="row.f_gas_date"
|
|
404
|
+
v-ref:f_gas_date
|
|
405
|
+
@change="gasDateChange"
|
|
406
|
+
:value.sync="row.f_gas_date"
|
|
407
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
408
|
+
></datepicker>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="col-sm-4 form-group" :class="[$m.f_position.required ? 'has-error' : '']" v-if="this.flag===2">
|
|
411
|
+
<label for="f_position" class="font_normal_body" title="参数:安装位置"> *安装位置</label>
|
|
238
412
|
<input type="text" v-model="row.f_position" v-show="false" v-validate:f_position='{required: true }'>
|
|
239
413
|
<v-select :value.sync="row.f_position" v-model="row.f_position"
|
|
240
414
|
:options='positions' placeholder='安装位置'
|
|
241
415
|
close-on-select></v-select>
|
|
242
416
|
</div>
|
|
417
|
+
|
|
418
|
+
<div class="col-sm-4 form-group" v-if="this.flag===1">
|
|
419
|
+
<label for="f_position"
|
|
420
|
+
class="font_normal_body"
|
|
421
|
+
title="参数:安装位置"> 安装位置</label>
|
|
422
|
+
<input type="text" v-model="row.f_position" v-show="false">
|
|
423
|
+
<v-select :value.sync="row.f_position" v-model="row.f_position" :options='positions' placeholder='安装位置'
|
|
424
|
+
close-on-select></v-select>
|
|
425
|
+
</div>
|
|
243
426
|
<div class="col-sm-4 form-group" v-show="true">
|
|
244
427
|
<label for="f_install_person" class="font_normal_body"> 安 装 人</label>
|
|
245
428
|
<v-select :value.sync="row.f_install_person" v-model="row.f_install_person"
|
|
@@ -287,13 +470,19 @@
|
|
|
287
470
|
:show-reset-button="true">
|
|
288
471
|
</datepicker>
|
|
289
472
|
</div>
|
|
290
|
-
<div v-if="ratioshow" class="col-sm-4 form-group"
|
|
291
|
-
:class="[$m.meternumber.required ? 'has-error' : '']">
|
|
473
|
+
<div v-if="ratioshow&&this.flag===2" class="col-sm-4 form-group"
|
|
474
|
+
:class="[$m.meternumber.required ? 'has-error' : '']" >
|
|
292
475
|
<label for="f_ratio" class="font_normal_body">比  率</label>
|
|
293
476
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_price_ratio"
|
|
294
477
|
:value.sync="row.f_price_ratio"
|
|
295
478
|
v-validate:meternumber='{required: true }' placeholder='比率'>
|
|
296
479
|
</div>
|
|
480
|
+
<div v-if="ratioshow&&this.flag===1" class="col-sm-4 form-group">
|
|
481
|
+
<label for="f_ratio" class="font_normal_body">比  率</label>
|
|
482
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_price_ratio"
|
|
483
|
+
:value.sync="row.f_price_ratio"
|
|
484
|
+
placeholder='比率'>
|
|
485
|
+
</div>
|
|
297
486
|
<div class="col-sm-4 form-group" >
|
|
298
487
|
<label for="f_factory_date" class="font_normal_body"> 出厂日期</label>
|
|
299
488
|
<datepicker style="width:60%" id="f_factory_date" placeholder="出厂日期" width='100%'
|
|
@@ -595,7 +784,7 @@
|
|
|
595
784
|
templat: '' // 临时纬度
|
|
596
785
|
}
|
|
597
786
|
},
|
|
598
|
-
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
787
|
+
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser', 'flag'],
|
|
599
788
|
async ready () {
|
|
600
789
|
console.log('看看meter里面的数据', this.meter, this.row)
|
|
601
790
|
this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
37
|
-
<div class="row" style="margin-top:10px;"
|
|
38
|
-
<div class="col-sm-offset-0 col-sm-8"
|
|
39
|
-
<label for="f_reason" class=" font_normal_body"
|
|
40
|
-
<textarea class="input_textarea" style="width: 90%; height: auto"
|
|
37
|
+
<div class="row" style="margin-top:10px;">
|
|
38
|
+
<div class="col-sm-offset-0 col-sm-8">
|
|
39
|
+
<label for="f_reason" class=" font_normal_body" >备注</label>
|
|
40
|
+
<textarea class="input_textarea" style="width: 90%; height: auto" rows="5" v-model="model.f_othereason" placeholder="备注补气原因" >
|
|
41
41
|
</textarea>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">
|
|
4
4
|
<form class="form-horizontal select-overspread ">
|
|
5
|
-
<div class="row">
|
|
5
|
+
<div class="row" v-if="this.flag===2">
|
|
6
6
|
<div class="col-sm-4 form-group " :class="[$v.f_user_name.required ? 'has-error' : '']">
|
|
7
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 }'
|
|
@@ -31,7 +31,34 @@
|
|
|
31
31
|
close-on-select></v-select>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
|
-
<div class="row">
|
|
34
|
+
<div class="row" v-if="this.flag===1">
|
|
35
|
+
<div class="col-sm-4 form-group ">
|
|
36
|
+
<label for="f_user_name" class="font_normal_body">客户姓名</label>
|
|
37
|
+
<input type="text" v-model="baseinfo.base.f_user_name"
|
|
38
|
+
class="input_search" style="width:60%" placeholder="客户名称" v-next-el="phone">
|
|
39
|
+
</div>
|
|
40
|
+
<div style="" class="col-sm-4 form-group">
|
|
41
|
+
<label for="f_user_phone" class="font_normal_body">客户电话</label>
|
|
42
|
+
<input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone" class="input_search" style="width:60%"
|
|
43
|
+
placeholder="客户电话" v-el:phone v-next-el="area">
|
|
44
|
+
<button type="button" class="glyphicon glyphicon-plus" @click.stop="phoneManage()"></button>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div style="" class="col-sm-4 form-group">
|
|
48
|
+
<label for="f_rent_phone" class="font_normal_body"> 曾用电话</label>
|
|
49
|
+
<input type="text" v-model="baseinfo.base.f_rent_phone" class="input_search" style="width:60%"
|
|
50
|
+
placeholder="曾用电话">
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<div class="col-sm-4 form-group" style="" v-if="true">
|
|
54
|
+
<label for="f_user_state" class="font_normal_body"> 客户状态</label>
|
|
55
|
+
<v-select :value.sync="baseinfo.base.f_user_state"
|
|
56
|
+
:value-single="true"
|
|
57
|
+
:options='userstates' placeholder='客户状态'
|
|
58
|
+
close-on-select></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row" v-if="this.flag===2">
|
|
35
62
|
<div style="" class="col-sm-4 form-group">
|
|
36
63
|
<label for="f_credentials" class="font_normal_body"> 证件类型</label>
|
|
37
64
|
<v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
|
|
@@ -55,7 +82,30 @@
|
|
|
55
82
|
placeholder="证件号码">
|
|
56
83
|
</div>
|
|
57
84
|
</div>
|
|
58
|
-
<div class="row">
|
|
85
|
+
<div class="row" v-if="this.flag===1">
|
|
86
|
+
<div style="" class="col-sm-4 form-group">
|
|
87
|
+
<label for="f_credentials" class="font_normal_body"> 证件类型</label>
|
|
88
|
+
<v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
|
|
89
|
+
v-model="baseinfo.base.f_credentials"
|
|
90
|
+
:value-single="true"
|
|
91
|
+
:options='credentials' placeholder='证件类型'
|
|
92
|
+
style="width: 65%"
|
|
93
|
+
close-on-select></v-select>
|
|
94
|
+
</div>
|
|
95
|
+
<div style="" class="col-sm-8 form-group"
|
|
96
|
+
v-if="baseinfo.base.f_credentials === '身份证'">
|
|
97
|
+
<label for="f_idnumber" class="font_normal_body">证件号码</label>
|
|
98
|
+
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
99
|
+
class="input_search" style="width:80%"
|
|
100
|
+
placeholder="证件号码">
|
|
101
|
+
</div>
|
|
102
|
+
<div style="" class="col-sm-8 form-group" v-if="baseinfo.base.f_credentials !== '身份证'">
|
|
103
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
104
|
+
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
105
|
+
placeholder="证件号码">
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="row" v-if="this.flag===2">
|
|
59
109
|
<div class="col-sm-12 form-group" :class="[$v.f_address.required ? 'has-error' : '']">
|
|
60
110
|
<label for="f_address" class="font_normal_body">*地址信息</label>
|
|
61
111
|
<input type="text" v-model="addressinfo.f_address" :value.sync="addressinfo.f_address" v-validate:f_address='{required: true }'
|
|
@@ -67,6 +117,18 @@
|
|
|
67
117
|
</span>
|
|
68
118
|
</div>
|
|
69
119
|
</div>
|
|
120
|
+
<div class="row" v-if="this.flag===1">
|
|
121
|
+
<div class="col-sm-12 form-group" >
|
|
122
|
+
<label for="f_address" class="font_normal_body">地址信息</label>
|
|
123
|
+
<input type="text" v-model="addressinfo.f_address"
|
|
124
|
+
class="input_search" disabled="disabled" style="width:75%;" placeholder="用户地址" >
|
|
125
|
+
<span>
|
|
126
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectaddress()">选择地址</button>
|
|
127
|
+
<!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
|
|
128
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="selectaddress()">修改地址</button>
|
|
129
|
+
</span>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
70
132
|
<div class="row">
|
|
71
133
|
<div style="" class="col-sm-4 form-group">
|
|
72
134
|
<label for="f_used_name" class="font_normal_body"> 曾 用 名</label>
|
|
@@ -176,7 +238,7 @@
|
|
|
176
238
|
<a style="font-size: 16px;font-weight: 500;"
|
|
177
239
|
v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
|
|
178
240
|
</div>
|
|
179
|
-
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">
|
|
241
|
+
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'" v-if="this.flag===2">
|
|
180
242
|
<div class="row">
|
|
181
243
|
<div class="col-sm-4 form-group"
|
|
182
244
|
:class="[$v.f_bank_accopen.required ? 'has-error' : '']">
|
|
@@ -213,6 +275,40 @@
|
|
|
213
275
|
</div>
|
|
214
276
|
</div>
|
|
215
277
|
</div>
|
|
278
|
+
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'" v-if="this.flag===1">
|
|
279
|
+
<div class="row">
|
|
280
|
+
<div class="col-sm-4 form-group">
|
|
281
|
+
<label for="f_username" class="font_normal_body">银行户名</label>
|
|
282
|
+
<input type="text" v-model="baseinfo.bank.f_bank_accopen"
|
|
283
|
+
class="input_search" style="width:60%" id="f_username" placeholder="客户名称"
|
|
284
|
+
v-next-el="bankaccount">
|
|
285
|
+
</div>
|
|
286
|
+
<div class="col-sm-4 form-group" id=userfiles-useEssInf-银行名称>
|
|
287
|
+
<label for="f_username" class="font_normal_body ">银行名称</label>
|
|
288
|
+
<v-select :value.sync="baseinfo.bank.f_bank_name"
|
|
289
|
+
:options='banknames' placeholder='银行名称'
|
|
290
|
+
close-on-select></v-select>
|
|
291
|
+
</div>
|
|
292
|
+
<div class="col-sm-4 form-group">
|
|
293
|
+
<label for="f_bank_idnumber" class="font_normal_body">缴费编号</label>
|
|
294
|
+
<input type="text" v-model="baseinfo.bank.f_bank_pay_number"
|
|
295
|
+
class="input_search" style="width:60%"
|
|
296
|
+
aria-describedby="helpBlock" placeholder="缴费编号" v-el:bankpaynumber>
|
|
297
|
+
</div>
|
|
298
|
+
<div class="col-sm-12 form-group">
|
|
299
|
+
<label for="f_bank_idnumber" class="font_normal_body">身份证号</label>
|
|
300
|
+
<input type="text" v-model="baseinfo.bank.f_bank_idnumber"
|
|
301
|
+
class="input_search" style="width:54%"
|
|
302
|
+
aria-describedby="helpBlock" placeholder="身份证号" v-el:bankidnumber>
|
|
303
|
+
</div>
|
|
304
|
+
<div class="col-sm-12 form-group">
|
|
305
|
+
<label for="f_userid" class="font_normal_body">银行账号</label>
|
|
306
|
+
<input type="text" v-model="baseinfo.bank.f_bank_account" class="input_search" style="width:54%"
|
|
307
|
+
placeholder="银行账号" v-el:bankaccount
|
|
308
|
+
v-next-el="bankidnumber">
|
|
309
|
+
</div>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
216
312
|
</form>
|
|
217
313
|
</validator>
|
|
218
314
|
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="50%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
@@ -262,7 +358,7 @@
|
|
|
262
358
|
costtype: this.$appdata.getParam('付款类型'),
|
|
263
359
|
usernature: this.$appdata.getParam('用户性质'),
|
|
264
360
|
userlevel: this.$appdata.getParam('用户等级'),
|
|
265
|
-
housetype:
|
|
361
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
266
362
|
jurisdiction: this.$login.r,
|
|
267
363
|
edituserstate: false,
|
|
268
364
|
// highMeterPlugin: {},
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div style="height: auto;width: 100%">
|
|
20
|
-
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset" :curuser="row"
|
|
20
|
+
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset" :curuser="row" :flag="flag"
|
|
21
21
|
:f_userinfo_id="data.baseinfo.base.f_userinfo_id" :addressinfo="data.addressinfo" :baseinfo.sync="data.baseinfo.base" v-ref:meter></file-user-meter-info>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<div class="form-group">
|
|
43
43
|
<div style="text-align:right;">
|
|
44
44
|
|
|
45
|
-
<button class="button_search" @click="confirm()" :disabled="
|
|
45
|
+
<button class="button_search" @click="confirm()" :disabled="flag===2?!(essentialInfo && meterInfo ):false">确认
|
|
46
46
|
</button>
|
|
47
47
|
<button class="button_search" style="width: max-content" v-if="haslimit" @click="limitClick">限购配置</button>
|
|
48
48
|
<button class="button_clear" @click="cancel()">取消</button>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<button class="button_search" style="width: max-content" @click="showFire($index, row)">点火信息</button>
|
|
11
11
|
</div>
|
|
12
12
|
<file-meter-info :curuser="curuser" :meter="row" :f_filialeid="f_filialeid" :usertype="usertype" :gasproperties="gasproperties" :overdueset="overdueset" @self-valid='valida'
|
|
13
|
-
@delete-meter="deleteMeter($index)" :f_userinfo_id="f_userinfo_id"></file-meter-info>
|
|
13
|
+
:flag="flag" @delete-meter="deleteMeter($index)" :f_userinfo_id="f_userinfo_id"></file-meter-info>
|
|
14
14
|
<file-user-fire-info @clearfire="clearfire(row)" :addressinfo="addressinfo" :fireinfo.sync="fireinfo" :show_fire.sync="show_fire" :meter.sync="row" :baseinfo.sync="baseinfo"
|
|
15
15
|
:userinfoid='data.baseinfo.base.f_userinfo_id'></file-user-fire-info>
|
|
16
16
|
|
|
@@ -56,7 +56,8 @@ export default {
|
|
|
56
56
|
f_filialeid: {},
|
|
57
57
|
f_userinfo_id: {},
|
|
58
58
|
overdueset:{},
|
|
59
|
-
curuser: {}
|
|
59
|
+
curuser: {},
|
|
60
|
+
flag: {}
|
|
60
61
|
},
|
|
61
62
|
ready () {
|
|
62
63
|
console.log('表具信息,,,,', this.meterinfo)
|
|
@@ -13,4 +13,8 @@ export default function () {
|
|
|
13
13
|
Vue.component('show-card-sell-gas', (resolve) => { require(['./ShowCardSellGas'], resolve) })
|
|
14
14
|
Vue.component('off-gas-add-gas', (resolve) => { require(['./OffGasAddGas'], resolve) })
|
|
15
15
|
Vue.component('file-user-files', (resolve) => { require(['./FileUserFiles'], resolve) })
|
|
16
|
+
// 收费页面的流水查询
|
|
17
|
+
Vue.component('meter-charge-record-query', (resolve) => { require(['./ChargeRecordQuery'], resolve) })
|
|
18
|
+
// 用户基本信息test
|
|
19
|
+
Vue.component('file-user-essential-info-new', (resolve) => { require(['./FilesManageNew/UserEssentialInfoTest'], resolve) })
|
|
16
20
|
}
|