Commit 6545876f authored by 杨梦雪's avatar 杨梦雪

资料-国籍

parent 098b7b29
......@@ -71,8 +71,17 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="国籍" prop="country">
<el-col :span="12" v-show="configJson.country == 1">
<el-form-item
label="国籍"
prop="country"
style="height: 73px"
:rules="
configJson.country == 1
? referInfoRules.country
: [{ required: false }]
"
>
<el-select
v-model="referForm.country"
placeholder="国籍"
......@@ -154,6 +163,7 @@
<el-col :span="12" v-show="configJson.phone == 1">
<el-form-item
label="手机号"
style="height: 73px"
:rules="
configJson.phone == 1
? referInfoRules.phone
......@@ -254,6 +264,7 @@
<el-form-item
label="出生日期"
prop="birthday"
style="height: 73px"
:rules="
configJson.birthday == 1
? referInfoRules.birthday
......@@ -316,6 +327,7 @@
<el-form-item
label="籍贯"
prop="jiguan_code"
style="height: 73px"
:rules="
configJson.jiguanCity == 1
? referInfoRules.jiguan_code
......@@ -769,6 +781,13 @@ export default {
nation: [
{ required: true, message: "民族不能为空!", trigger: "change" },
],
country: [
{
required: true,
message: "国籍不能为空!",
trigger: "change",
},
],
start_school_date: [
{
required: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment