This commit is contained in:
liuye
2022-03-29 11:40:36 +08:00
parent 66d487f33d
commit 840650d55e

View File

@@ -19,7 +19,7 @@
<span>姓名</span>
</div>
<div class="right">
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8"
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8" :disabled="isEdit"
placeholder-style="color: #999; font-size: 30rpx;"/>
</div>
</div>
@@ -31,7 +31,7 @@
<span>身份证号</span>
</div>
<div class="right">
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="18"
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="18" :disabled="isEdit"
placeholder-style="color: #999; font-size: 30rpx;" @input="changeIdNumber" />
</div>
</div>
@@ -313,6 +313,7 @@ export default {
if(query.id) {
this.id = query.id
this.getInfo(query.id)
this.isEdit = true
}
})
if (query.index > -1) {