Commit 61025961 authored by liudong1993's avatar liudong1993

旅客名单格式修改

parent 8221cd4a
......@@ -155,21 +155,32 @@
<el-input v-model='addMsg.EName' type="text" size=mini class="w230" maxlength="20" placeholder="请输入英文"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="手机号码" prop="MobilePhone">
<el-input v-model="addMsg.MobilePhone" type="text" size=mini class="w230" maxlength="20" placeholder="请填写"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="出生日期" prop="Birthday">
<el-date-picker v-model='addMsg.Birthday' class="w230" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
</li>
<li>
<el-form-item label="出生地" prop="BirthdayAddress">
<el-input v-model="addMsg.BirthdayAddress" type="text" size=mini class="w230" maxlength="20" placeholder="请填写"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="护照号" prop="PassportNo">
<el-input v-model='addMsg.PassportNo' type="text" size=mini class="w230" maxlength="20" placeholder="请填写护照号"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="出生地" prop="BirthdayAddress">
<el-input v-model="addMsg.BirthdayAddress" type="text" size=mini class="w230" maxlength="20" placeholder="请填写"></el-input>
<li>
<el-form-item label="护照签发地" prop="PassportAddress">
<el-input v-model='addMsg.PassportAddress' type="text" size=mini class="w230" maxlength="100" placeholder="请填写"></el-input>
</el-form-item>
</li>
</li>
<li>
<el-form-item label="护照签发日期" prop="PassportIssued">
<el-date-picker v-model='addMsg.PassportIssued' class="w230" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
......@@ -192,17 +203,6 @@
</el-select>
</el-form-item>
</li>
<li>
<el-form-item label="护照签发地" prop="PassportAddress">
<el-input v-model='addMsg.PassportAddress' type="text" size=mini class="w230" maxlength="100" placeholder="请填写"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="手机号码" prop="MobilePhone">
<el-input v-model="addMsg.MobilePhone" type="text" size=mini class="w230" maxlength="20" placeholder="请填写"></el-input>
</el-form-item>
</li>
<li>
<el-form-item label="婚姻" prop="Marriage">
<el-select v-model="addMsg.Marriage" filterable size=mini class="w230">
......@@ -745,7 +745,7 @@ export default {
PassportAddress: "",
PassportExpiry: "",
PassportNo: "",
Nationality: "",
Nationality: 2,
Marriage: "",
Address: "",
AddressDetail: "",
......@@ -768,14 +768,14 @@ export default {
UnitName: "",
UnitPhone: "",
UnitPost: "",
Purpose: "",
Purpose: "观光",
IsDepartureRecord: "2",
LastTime: "",
DeadlineTime: "",
NCNationality: "",
HotelTel: "",
HotelAddress: "",
HotelName: "",
HotelName: "参照\"赴日予定表\"",
EmergencyContact: "",
EmergencyAddress: "",
EmergencyTel: "",
......@@ -1964,7 +1964,7 @@ export default {
this.addMsg.PassportAddress= "";
this.addMsg.PassportExpiry= "";
this.addMsg.PassportNo= "";
this.addMsg.Nationality= "";
this.addMsg.Nationality= 2;
this.addMsg.Marriage= "";
this.addMsg.Address= "";
this.addMsg.AddressDetail= "";
......@@ -1987,14 +1987,14 @@ export default {
this.addMsg.UnitName= "";
this.addMsg.UnitPhone= "";
this.addMsg.UnitPost= "";
this.addMsg.Purpose= "";
this.addMsg.Purpose= "观光";
this.addMsg.IsDepartureRecord= "2";
this.addMsg.LastTime= "";
this.addMsg.DeadlineTime= "";
this.addMsg.NCNationality= "";
this.addMsg.HotelTel= "";
this.addMsg.HotelAddress= "";
this.addMsg.HotelName= "";
this.addMsg.HotelName= "参照\"赴日予定表\"";
this.addMsg.EmergencyContact= "";
this.addMsg.EmergencyAddress= "";
this.addMsg.EmergencyTel= "";
......@@ -2012,6 +2012,19 @@ export default {
this.addMsg.SafeReplaceId= "0";
this.GetGuestMustVisaAir();
let userInfo = this.getLocalStorage();
var BranchName=userInfo.BranchName;
if(BranchName.search("武汉")!=-1){
this.addMsg.BirthdayAddress="湖北";
this.addMsg.PassportAddress="湖北";
}else if(BranchName.search("西安")!=-1){
this.addMsg.BirthdayAddress="陕西";
this.addMsg.PassportAddress="陕西";
}else if(BranchName.search("长沙")!=-1){
this.addMsg.BirthdayAddress="湖南";
this.addMsg.PassportAddress="湖南";
}
this.addMsg.IssuingAuthority="公安部出入境管理局";
}
},
mounted() {
......@@ -2029,6 +2042,19 @@ export default {
this.getAccessToken();
this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId;
let userInfo = this.getLocalStorage();
var BranchName=userInfo.BranchName;
if(BranchName.search("武汉")!=-1){
this.addMsg.BirthdayAddress="湖北";
this.addMsg.PassportAddress="湖北";
}else if(BranchName.search("西安")!=-1){
this.addMsg.BirthdayAddress="陕西";
this.addMsg.PassportAddress="陕西";
}else if(BranchName.search("长沙")!=-1){
this.addMsg.BirthdayAddress="湖南";
this.addMsg.PassportAddress="湖南";
}
this.addMsg.IssuingAuthority="公安部出入境管理局";
}
};
</script>
\ No newline at end of file
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