|
@@ -5,14 +5,14 @@
|
|
</view>
|
|
</view>
|
|
<view class="form-label-input">
|
|
<view class="form-label-input">
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>手机号</view>
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>手机号</view>
|
|
- <uni-easyinput type="number" v-model="formData.userName" placeholder="请输入手机号" maxlength="11" />
|
|
|
|
|
|
+ <uni-easyinput :disabled="!statusFlag" type="number" v-model="formData.userName" placeholder="请输入手机号"
|
|
|
|
+ maxlength="11" />
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="form-label-input">
|
|
<view class="form-label-input">
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>姓名</view>
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>姓名</view>
|
|
- <uni-easyinput v-model="formData.realName" placeholder="请输入姓名" />
|
|
|
|
|
|
+ <uni-easyinput :disabled="!statusFlag" v-model="formData.realName" placeholder="请输入姓名" />
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
<view class="form-label-input">
|
|
<view class="form-label-input">
|
|
<view class="phone-form-label">
|
|
<view class="phone-form-label">
|
|
<text class="form-label-require">*</text>
|
|
<text class="form-label-require">*</text>
|
|
@@ -20,7 +20,8 @@
|
|
<text v-if="formData.idtype ==2">护照号</text>
|
|
<text v-if="formData.idtype ==2">护照号</text>
|
|
<icon @click="idCardChange" class="change-icon">切换</icon>
|
|
<icon @click="idCardChange" class="change-icon">切换</icon>
|
|
</view>
|
|
</view>
|
|
- <uni-easyinput @blur="idCardBlur" v-model="formData.idcard" placeholder="请输入身份证号或护照号" maxlength="18" />
|
|
|
|
|
|
+ <uni-easyinput :disabled="!statusFlag" @blur="idCardBlur" v-model="formData.idcard"
|
|
|
|
+ placeholder="请输入身份证号或护照号" maxlength="18" />
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="form-label-select">
|
|
<view class="form-label-select">
|
|
@@ -141,6 +142,9 @@
|
|
import jiazhengUpload from "./common/jiazhengUpload.vue"
|
|
import jiazhengUpload from "./common/jiazhengUpload.vue"
|
|
import customMap from "@/components/customMap/customMap.vue"
|
|
import customMap from "@/components/customMap/customMap.vue"
|
|
import {
|
|
import {
|
|
|
|
+ toast
|
|
|
|
+ } from "@/utils/common";
|
|
|
|
+ import {
|
|
getJiazhengXueli,
|
|
getJiazhengXueli,
|
|
getJiazhengHunyin,
|
|
getJiazhengHunyin,
|
|
getJiazhengMinzu,
|
|
getJiazhengMinzu,
|
|
@@ -159,6 +163,9 @@
|
|
props: {
|
|
props: {
|
|
status: {
|
|
status: {
|
|
type: String,
|
|
type: String,
|
|
|
|
+ },
|
|
|
|
+ statusFlag: {
|
|
|
|
+ type: Boolean,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
@@ -635,6 +642,10 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
genderSelect(data) {
|
|
genderSelect(data) {
|
|
|
|
+ if (!this.statusFlag) {
|
|
|
|
+ toast("非未办证状态,禁止修改")
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
this.formData.gender = data
|
|
this.formData.gender = data
|
|
},
|
|
},
|
|
selectChangeHunyinList(data) {
|
|
selectChangeHunyinList(data) {
|