Commit 8da67fb3 authored by youjie's avatar youjie

签证

parent acafe8f1
......@@ -267,7 +267,7 @@
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
this.price +
"&isFrom=1",
"&isFrom=4",
});
}, 100);
},
......
......@@ -57,6 +57,16 @@
:borderBottom="true"
required>
</u-field>
<!-- #ifdef MP-DI -->
<u-field
v-model="Mailbox"
label="邮箱地址"
placeholder="请填写邮箱地址"
padding="20rpx 28rpx"
:borderBottom="true"
required>
</u-field>
<!-- #endif -->
</view>
<!-- #ifdef MP-AG -->
<view class="flight-card q-mt-md" v-if="sales.length>1">
......@@ -250,6 +260,7 @@
backVisible:false,
goVisible:false,
orderInfo: {},
Mailbox: '',
}
},
components: {
......@@ -337,8 +348,8 @@
SurName: this.contactName,
Name: '',
ContactNumber: this.contactPhone,
Mailbox: this.customer.Mailbox,
GoodsId: this.currentPriceInfo.tcid,
Mailbox: this.Mailbox,
GoodsId: this.id,
GoodsName: `${this.goList[0].DepartureName}${this.backList[0].DepartureName}`,
GoodsPic: this.goList[0].AirlineUrl? this.goList[0].AirlineUrl : '',
GoodsType: 16,
......@@ -389,7 +400,7 @@
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
that.price +
"&isFrom=1",
"&isFrom=4",
});
}, 100);
},
......@@ -462,6 +473,7 @@
})
},
validate(){
let email = /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/
let msg = ''
if(this.crCount+this.etCount+this.babyCount==0){
msg = '请选择乘机人'
......@@ -475,6 +487,10 @@
msg = '请输入联系人名称'
} else if(this.contactPhone=='' || this.contactPhone.length!=11){
msg = '请输入11位联系电话'
}else if(this.Mailbox==''){
msg = '请输入邮箱地址'
}else if (!email.test(this.Mailbox)) {
msg = '请输入正确的邮箱地址'
} else if(this.createBy.CreateBy==0){
// #ifdef MP-AG
msg = '请选择与你对接的服务人员'
......@@ -511,7 +527,12 @@
const p = {
OrderId:0,
TCID:this.id,
CustomerType:2,
// #ifdef MP-DI
CustomerType: 4,
// #endif
// #ifdef MP-AG
CustomerType: 2,
// #endif
GroupType:5,
ContactName:this.contactName,
ContactMobile:this.contactPhone,
......
......@@ -78,6 +78,11 @@ export default {
uni.redirectTo({
url: "/pages/visa/visa_MyOrder",
});
} else if (this.isLineOrder == 4) {
//机票订单
uni.redirectTo({
url: "/pages/airTicket/TicketOrderList",
});
}
},
goHome() {
......
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