Commit 05451848 authored by 黄奎's avatar 黄奎

页面修改

parent a0bc1022
......@@ -241,11 +241,11 @@
</el-form-item>
</li>
<li>
<el-form-item label="护照过期日" v-if="LineId==90">
<el-form-item label="护照过期日" v-if="LineId==90">
<el-date-picker v-model='addMsg.PassportExpiry' class="w230" :class=" guoqi ? 'colorRed' : ''"
@change="timeOver" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
<el-form-item label="护照过期日" prop="PassportExpiry" v-else>
<el-form-item label="护照过期日" prop="PassportExpiry" v-else>
<el-date-picker v-model='addMsg.PassportExpiry' class="w230" :class=" guoqi ? 'colorRed' : ''"
@change="timeOver" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
......@@ -1649,6 +1649,58 @@
this.savePassenger(type);
} else {
this.btnState = true
if (this.addMsg.SurName == '') {
this.Error("请填写【中文姓】");
return false;
}
if (this.addMsg.Name == '') {
this.Error("请填写【中文名】");
return false;
}
if (this.addMsg.Sex == '') {
this.Error("请选择【性别】");
return false;
}
if (this.addMsg.MobilePhone == '') {
this.Error("请填写【手机号码】");
return false;
}
if (this.addMsg.Birthday == '') {
this.Error("请填写【出生日期】");
return false;
}
if (this.addMsg.BirthdayAddress == '') {
this.Error("请填写【出生地】");
return false;
}
if (this.addMsg.PassportNo == '') {
this.Error("请填写【护照号】");
return false;
}
if (this.addMsg.PassportAddress == '') {
this.Error("请填写【护照签发地】");
return false;
}
if (this.addMsg.PassportIssued == '') {
this.Error("请填写【护照签发日期】");
return false;
}
if (this.addMsg.PassportExpiry == '') {
this.Error("请填写【护照过期日期】");
return false;
}
if (this.addMsg.TravelType == '') {
this.Error("请选择【出游类型】");
return false;
}
if (this.addMsg.UnitType == '') {
this.Error("请选择【单位类型】");
return false;
}
if (this.addMsg.DutyType == '') {
this.Error("请选择【职务类型】");
return false;
}
return false;
}
});
......
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