Commit 61025961 authored by liudong1993's avatar liudong1993

旅客名单格式修改

parent 8221cd4a
...@@ -155,21 +155,32 @@ ...@@ -155,21 +155,32 @@
<el-input v-model='addMsg.EName' type="text" size=mini class="w230" maxlength="20" placeholder="请输入英文"></el-input> <el-input v-model='addMsg.EName' type="text" size=mini class="w230" maxlength="20" placeholder="请输入英文"></el-input>
</el-form-item> </el-form-item>
</li> </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> <li>
<el-form-item label="出生日期" prop="Birthday"> <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-date-picker v-model='addMsg.Birthday' class="w230" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item> </el-form-item>
</li> </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> <li>
<el-form-item label="护照号" prop="PassportNo"> <el-form-item label="护照号" prop="PassportNo">
<el-input v-model='addMsg.PassportNo' type="text" size=mini class="w230" maxlength="20" placeholder="请填写护照号"></el-input> <el-input v-model='addMsg.PassportNo' type="text" size=mini class="w230" maxlength="20" placeholder="请填写护照号"></el-input>
</el-form-item> </el-form-item>
</li> </li>
<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 label="护照签发地" prop="PassportAddress">
<el-input v-model='addMsg.PassportAddress' type="text" size=mini class="w230" maxlength="100" placeholder="请填写"></el-input>
</el-form-item> </el-form-item>
</li> </li>
<li> <li>
<el-form-item label="护照签发日期" prop="PassportIssued"> <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> <el-date-picker v-model='addMsg.PassportIssued' class="w230" value-format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
...@@ -192,17 +203,6 @@ ...@@ -192,17 +203,6 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</li> </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> <li>
<el-form-item label="婚姻" prop="Marriage"> <el-form-item label="婚姻" prop="Marriage">
<el-select v-model="addMsg.Marriage" filterable size=mini class="w230"> <el-select v-model="addMsg.Marriage" filterable size=mini class="w230">
...@@ -745,7 +745,7 @@ export default { ...@@ -745,7 +745,7 @@ export default {
PassportAddress: "", PassportAddress: "",
PassportExpiry: "", PassportExpiry: "",
PassportNo: "", PassportNo: "",
Nationality: "", Nationality: 2,
Marriage: "", Marriage: "",
Address: "", Address: "",
AddressDetail: "", AddressDetail: "",
...@@ -768,14 +768,14 @@ export default { ...@@ -768,14 +768,14 @@ export default {
UnitName: "", UnitName: "",
UnitPhone: "", UnitPhone: "",
UnitPost: "", UnitPost: "",
Purpose: "", Purpose: "观光",
IsDepartureRecord: "2", IsDepartureRecord: "2",
LastTime: "", LastTime: "",
DeadlineTime: "", DeadlineTime: "",
NCNationality: "", NCNationality: "",
HotelTel: "", HotelTel: "",
HotelAddress: "", HotelAddress: "",
HotelName: "", HotelName: "参照\"赴日予定表\"",
EmergencyContact: "", EmergencyContact: "",
EmergencyAddress: "", EmergencyAddress: "",
EmergencyTel: "", EmergencyTel: "",
...@@ -1964,7 +1964,7 @@ export default { ...@@ -1964,7 +1964,7 @@ export default {
this.addMsg.PassportAddress= ""; this.addMsg.PassportAddress= "";
this.addMsg.PassportExpiry= ""; this.addMsg.PassportExpiry= "";
this.addMsg.PassportNo= ""; this.addMsg.PassportNo= "";
this.addMsg.Nationality= ""; this.addMsg.Nationality= 2;
this.addMsg.Marriage= ""; this.addMsg.Marriage= "";
this.addMsg.Address= ""; this.addMsg.Address= "";
this.addMsg.AddressDetail= ""; this.addMsg.AddressDetail= "";
...@@ -1987,14 +1987,14 @@ export default { ...@@ -1987,14 +1987,14 @@ export default {
this.addMsg.UnitName= ""; this.addMsg.UnitName= "";
this.addMsg.UnitPhone= ""; this.addMsg.UnitPhone= "";
this.addMsg.UnitPost= ""; this.addMsg.UnitPost= "";
this.addMsg.Purpose= ""; this.addMsg.Purpose= "观光";
this.addMsg.IsDepartureRecord= "2"; this.addMsg.IsDepartureRecord= "2";
this.addMsg.LastTime= ""; this.addMsg.LastTime= "";
this.addMsg.DeadlineTime= ""; this.addMsg.DeadlineTime= "";
this.addMsg.NCNationality= ""; this.addMsg.NCNationality= "";
this.addMsg.HotelTel= ""; this.addMsg.HotelTel= "";
this.addMsg.HotelAddress= ""; this.addMsg.HotelAddress= "";
this.addMsg.HotelName= ""; this.addMsg.HotelName= "参照\"赴日予定表\"";
this.addMsg.EmergencyContact= ""; this.addMsg.EmergencyContact= "";
this.addMsg.EmergencyAddress= ""; this.addMsg.EmergencyAddress= "";
this.addMsg.EmergencyTel= ""; this.addMsg.EmergencyTel= "";
...@@ -2012,6 +2012,19 @@ export default { ...@@ -2012,6 +2012,19 @@ export default {
this.addMsg.SafeReplaceId= "0"; this.addMsg.SafeReplaceId= "0";
this.GetGuestMustVisaAir(); 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() { mounted() {
...@@ -2029,6 +2042,19 @@ export default { ...@@ -2029,6 +2042,19 @@ export default {
this.getAccessToken(); this.getAccessToken();
this.addMsg.TCID = this.$route.query.TCID; this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId; 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> </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