Commit 2c83c5ac authored by 杨梦雪's avatar 杨梦雪

111

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"
:rules="
configJson.country == 1
? referInfoRules.country
: [{ required: false }]
"
style="height: 73px"
>
<el-select
v-model="referForm.country"
placeholder="国籍"
......@@ -159,6 +168,7 @@
? referInfoRules.phone
: [{ required: false }]
"
style="height: 73px"
>
<el-input
v-model="referForm.phone"
......@@ -769,6 +779,9 @@ 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