Commit ca91efbf authored by huangyuanyuan's avatar huangyuanyuan

修改机票订单

parent 1d0aa586
......@@ -59,7 +59,7 @@ export default {
<style>
@import './assets/global/font.css';
@import '//at.alicdn.com/t/font_863923_jvgf79ozet9.css';
@import '//at.alicdn.com/t/font_863923_s1n6yedme5h.css';
@import './assets/global/global.css';
body,html{
padding: 0px;
......
......@@ -23,7 +23,7 @@
<p class="time">{{getlistSigel.goStartHouseTime}}</p>
<p>{{getlistSigel.goStartAirPlace}}</p>
</el-col>
<el-col :span="8" style="text-align:center">
<el-col :span="8" style="text-align:center;color:#a8a8a8">
<p>
{{getlistSigel.goTotalTime}}
</p>
......@@ -37,7 +37,7 @@
</div>
</div>
</el-col>
<el-col class="coupon_left" :span="9" style="position:relative">
<el-col class="coupon_left" :span="9" style="position:relative;border-left:1px dashed #aaaaaa;">
<div class="bz">返程</div>
<div class="padd">
<p style="font-size:16px;color:#333333;padding-top:10px">{{getlistSigel.backFlightTime}}
......@@ -54,7 +54,7 @@
<p class="time">{{getlistSigel.backStartHouseTime}}</p>
<p>{{getlistSigel.goStartAirPlace}}</p>
</el-col>
<el-col :span="8" style="text-align:center">
<el-col :span="8" style="text-align:center;color:#a8a8a8">
<p>
{{getlistSigel.backTotalTime}}
</p>
......@@ -68,8 +68,8 @@
</div>
</div>
</el-col>
<el-col class="w31 coupon_con" :span="6">
<div style="margin:15px 0;border-left:1px dashed #aaaaaa;padding:0 6px">
<el-col class="w31 coupon_con" :span="6" style="border-left:1px dashed #aaaaaa;">
<div style="margin:15px 0;padding:0 15px">
<p>订单金额
<span class="yu">{{getlistSigel.synum}}</span>
</p>
......@@ -165,7 +165,7 @@
<el-form-item label="出生日期" :prop="'guestList.'+index+'.birthday'" :rules="[{ type: 'string', required: true, message: '请选择日期', trigger: 'change' }]">
<el-date-picker size="small" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" v-model="item.birthday" style="width: 100%;"></el-date-picker>
</el-form-item>
<el-form-item label="手机号" :prop="'guestList.'+index+'.mobilePhone'" :rules="[{required: true, message: '电话号码不能为空', trigger: 'blur'}]">
<el-form-item label="手机号" :prop="'guestList.'+index+'.mobilePhone'" :rules="[{required: true, message: '电话号码不能为空', trigger: 'blur'},{ required: true, trigger: 'blur', pattern: /^1[3|4|5|7|8][0-9]\d{8}$/ ,message: '请填写正确的手机号'}]">
<el-input size="small" v-model="item.mobilePhone"></el-input>
</el-form-item>
<el-form-item label="国籍">
......@@ -192,7 +192,7 @@
<el-form-item label="联系人" prop="contactName" :rules="{ required: true, message: '请输入联系人姓名', trigger: 'blur' }">
<el-input size="small" v-model="personNum.contactName"></el-input>
</el-form-item>
<el-form-item label="手机号" prop="contactMobile" :rules="{ required: true, message: '请输入联系电话', trigger: 'blur' }">
<el-form-item label="手机号" prop="contactMobile" :rules="[{ required: true, message: '请输入联系电话', trigger: 'blur' },{ required: true, trigger: 'blur', pattern: /^1[3|4|5|7|8][0-9]\d{8}$/ ,message: '请填写正确的手机号'}]">
<el-input size="small" v-model="personNum.contactMobile"></el-input>
</el-form-item>
<el-form-item label="邮箱" prop="contactEmail" :rules="[{ required: true, message: '请输入邮箱地址', trigger: 'blur' },{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }]">
......@@ -380,7 +380,6 @@ export default {
submitForm(addMsg) {
this.$refs[addMsg].validate((valid) => {
console.log("valid",valid)
if(valid) {
this.personNum.customerId=this.userInfo.accountId;
......@@ -412,7 +411,15 @@ export default {
if (res.data.resultCode == 1) {
this.SellInfoList = res.data.data;
this.personNum.enterID=this.SellInfoList[0].EmployeeId;
}else{
}
else if (res.data.resultCode == 10000 || res.data.resultCode==10001){
this.Error(res.data.message);
this.$router.push({
path: "/login?type=1",
query: { path: this.$route.name }
});
}
else{
this.Error(res.data.message);
}
},
......@@ -442,7 +449,7 @@ export default {
justify-content: space-around;
flex-wrap: wrap;
}
.coupon_left::before{
/* .coupon_left::before{
content: '';
position: absolute;
top: 0;
......@@ -460,8 +467,8 @@ export default {
right:0;
height:50%;
background:radial-gradient(circle at right bottom, #f5f5f5 15px, transparent 15px, transparent 15px)
}
.coupon_con{
} */
/* .coupon_con{
position: relative;
}
.coupon_con::before{
......@@ -481,7 +488,7 @@ export default {
right:0;
height:50%;
background:radial-gradient(circle at left bottom, #f5f5f5 15px, #252525 15px, transparent 15px)
}
} */
.w31{
padding:0!important;
......@@ -506,11 +513,12 @@ export default {
background: rgb(255, 104, 11);
color: #fff;
display: inline-block;
width: 35px;
height: 35px;
/* width: 35px;
height: 35px; */
text-align: center;
line-height: 35px;
border-radius: 50%;
padding: 4px;
}
.tjorder p{
margin: 0;
......@@ -627,7 +635,7 @@ font-size: 14px;
.ticket_list{
background: #fff;
display: flex;
justify-content: space-around;
justify-content: space-between;
box-shadow:0px 4px 8px 0px rgba(107,107,107,0.18);
margin-top: 15px;
/* padding: 15px; */
......
This diff is collapsed.
This diff is collapsed.
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