Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
c33a9b56
Commit
c33a9b56
authored
Aug 28, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
59113574
6bba670e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
12 deletions
+20
-12
OrderConfirmation.vue
src/components/FreeTravel/OrderConfirmation.vue
+20
-12
No files found.
src/components/FreeTravel/OrderConfirmation.vue
View file @
c33a9b56
<
template
>
<div
class=
"OrderCon commonF"
style=
"padding-bottom:20px"
>
<div
class=
"w1200"
>
<div
v-loading=
"Orderloading"
class=
"w1200"
>
<div
class=
"Content basefix"
style=
"margin-top:20px"
>
<div
class=
"left"
style=
"width:795px;margin-right:17px"
>
...
...
@@ -46,7 +46,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
v-show
=
"guide_langList.length>0"
label=
"导览语系"
>
<el-form-item
v-if
=
"guide_langList.length>0"
label=
"导览语系"
>
<el-select
@
change=
"GenderSelect"
size=
"mini"
style=
"margin-right:8px"
v-model=
"freeMsg.guide_lang"
filterable
placeholder=
"请选择"
>
<el-option
v-for=
"item in guide_langList"
...
...
@@ -170,15 +170,13 @@
</div>
<div
style=
"padding:15px"
>
<el-row
class=
"cee f22"
>
<el-col
:span=
"10"
><span
v-if=
"freeMsg.prod_name"
>
{{
rePlace
(
freeMsg
.
prod_name
)
}}
</span></el-col>
<el-col
:span=
"14"
style=
"text-align:right"
>
<p
class=
"cee f22 pfR"
v-if=
"dataDetail.prod"
>
<span
v-if=
"dataDetail.prod.policy_no=='1'"
>
不扣手续费,退全额
</span>
<span
v-if=
"dataDetail.prod.policy_no=='2'"
>
无法退费
</span>
<span
v-if=
"dataDetail.prod.policy_no=='3'"
>
指定手续费
</span>
</p>
</el-col>
<span
v-if=
"freeMsg.prod_name"
>
{{
rePlace
(
freeMsg
.
prod_name
)
}}
</span>
</el-row>
<div
style=
"margin-top:10px"
class=
"cee f22 pfR"
v-if=
"dataDetail.prod"
>
<span
v-if=
"dataDetail.prod.policy_no=='1'"
>
不扣手续费,退全额
</span>
<span
v-if=
"dataDetail.prod.policy_no=='2'"
>
无法退费
</span>
<span
v-if=
"dataDetail.prod.policy_no=='3'"
>
指定手续费
</span>
</div>
<p
style=
"margin:15px 0"
class=
"f14"
><span
class=
"c99"
style=
"margin-right:20px"
>
日期
</span><span
class=
"c66"
>
{{
freeMsg
.
dateStr
}}
</span></p>
<!--
<p
class=
"f14"
><span
class=
"c99"
style=
"margin-right:20px"
>
人数
</span>
...
...
@@ -231,6 +229,7 @@ import moment from 'moment'
export
default
{
data
()
{
return
{
Orderloading
:
false
,
defaultImg
:
'this.src="'
+
require
(
'assets/img/juan/error.png'
)
+
'"'
,
BtnLoading
:
false
,
dataDetail
:{},
...
...
@@ -277,7 +276,7 @@ export default {
this
.
freeMsg
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"freeMsg"
));
let
id
=
this
.
$route
.
query
.
id
;
this
.
freeMsg
.
buyer_country
=
"CN"
;
this
.
freeMsg
.
guide_lang
=
"zh-
tw
"
;
this
.
freeMsg
.
guide_lang
=
"zh-
cn
"
;
this
.
freeMsg
.
custom
=
[];
this
.
freeMsg
.
pay
=
{};
this
.
freeMsg
.
buyer_tel_country_code
=
"86"
;
...
...
@@ -324,6 +323,12 @@ export default {
if
(
!
freeformval
&&!
listformval
){
return
;
}
// if(this.guide_langList.length>0){
// if(this.freeMsg.guide_lang==""){
// this.Error("导览语系不能为空!");
// return;
// }
// }
if
(
this
.
freeMsg
.
buyer_last_name
==
""
||!
this
.
freeMsg
.
buyer_last_name
){
this
.
Error
(
"请输入预订人的名"
);
return
;
...
...
@@ -410,6 +415,7 @@ export default {
this
.
$forceUpdate
()
},
getDetails
(
id
){
this
.
Orderloading
=
true
;
// http://efficient.oytour.com/api/kkday/QueryProduct
this
.
apiJavaPost
(
"/api/kkday/QueryProduct"
,
...
...
@@ -418,7 +424,9 @@ export default {
"locale"
:
"zh-cn"
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Orderloading
=
false
;
if
(
res
.
data
.
data
.
result
===
"00"
)
{
this
.
DomainUrl
=
res
.
data
.
data
.
KkdayDomain
;
let
data
=
res
.
data
.
data
;
this
.
dataDetail
=
data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment