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
1a0e4657
Commit
1a0e4657
authored
Sep 05, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自由行使用优惠券
parent
9ad715f8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
346 additions
and
47 deletions
+346
-47
FreeList.vue
src/components/FreeTravel/FreeList.vue
+9
-2
FreeList2.vue
src/components/FreeTravel/FreeList2.vue
+11
-34
OrderConfirmation.vue
src/components/FreeTravel/OrderConfirmation.vue
+313
-3
payInfo.vue
src/components/FreeTravel/payInfo.vue
+9
-3
FreeTable.vue
...ewPersonalCenter/block/model/OrderInfoModel/FreeTable.vue
+4
-2
indexTwo.vue
src/components/trade/order/indexTwo.vue
+0
-3
No files found.
src/components/FreeTravel/FreeList.vue
View file @
1a0e4657
...
@@ -609,7 +609,7 @@
...
@@ -609,7 +609,7 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"empty-data"
v-if=
"dataList.length
<1
"
>
<div
class=
"empty-data"
v-if=
"dataList.length
<1
&&
!
laoding
"
>
<i
class=
"iconfont icon-kong"
></i>
<i
class=
"iconfont icon-kong"
></i>
很抱歉,你想要的信息我们真的找不到了
很抱歉,你想要的信息我们真的找不到了
</div>
</div>
...
@@ -897,15 +897,22 @@ export default {
...
@@ -897,15 +897,22 @@ export default {
if
(
item
.
id
==
"TAG_0"
)
{
if
(
item
.
id
==
"TAG_0"
)
{
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_main_keys
this
.
msg
.
cat_keys
=
[
item
.
list
[
0
].
id
]
this
.
msg
.
cat_keys
=
[
item
.
list
[
0
].
id
]
}
else
{
delete
this
.
msg
.
keywords
}
else
if
(
item
.
id
==
"TAG_4"
)
{
this
.
msg
.
cat_main_keys
=
[
item
.
id
]
this
.
msg
.
cat_main_keys
=
[
item
.
id
]
this
.
msg
.
keywords
=
'一日游'
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
cat_keys
}
else
{
this
.
msg
.
cat_main_keys
=
[
item
.
id
]
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
keywords
}
}
this
.
getList
()
this
.
getList
()
}
else
{
}
else
{
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
keywords
this
.
getList
()
this
.
getList
()
}
}
},
},
...
...
src/components/FreeTravel/FreeList2.vue
View file @
1a0e4657
...
@@ -488,7 +488,7 @@
...
@@ -488,7 +488,7 @@
<div
class=
"fl-ad-cont"
>
<div
class=
"fl-ad-cont"
>
<div
class=
"search"
>
<div
class=
"search"
>
<span
class=
"el-icon-close __cp"
@
click=
"addShow = !addShow"
></span>
<span
class=
"el-icon-close __cp"
@
click=
"addShow = !addShow"
></span>
<
el-input
size=
"mini"
></el-input
>
<
!--
<el-input
size=
"mini"
></el-input>
--
>
</div>
</div>
<el-row
v-if=
"CCList.length>0 "
>
<el-row
v-if=
"CCList.length>0 "
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
...
@@ -643,7 +643,7 @@
...
@@ -643,7 +643,7 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"empty-data"
v-if=
"dataList.length
<1
"
>
<div
class=
"empty-data"
v-if=
"dataList.length
<1
&&
!
laoding
"
>
<i
class=
"iconfont icon-kong"
></i>
<i
class=
"iconfont icon-kong"
></i>
很抱歉,你想要的信息我们真的找不到了
很抱歉,你想要的信息我们真的找不到了
</div>
</div>
...
@@ -704,6 +704,7 @@ export default {
...
@@ -704,6 +704,7 @@ export default {
],
],
"page_size"
:
16
,
"page_size"
:
16
,
"start"
:
0
,
"start"
:
0
,
"keywords"
:
'一日游'
},
},
priceSort
:
"PASC"
,
// PDESC 高到低
priceSort
:
"PASC"
,
// PDESC 高到低
KkdayDomain
:
''
,
KkdayDomain
:
''
,
...
@@ -952,13 +953,13 @@ export default {
...
@@ -952,13 +953,13 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
changeMainTag
(
e
){
changeMainTag
(
e
){
console
.
log
(
e
)
if
(
e
.
length
>
0
)
{
if
(
e
.
length
>
0
)
{
this
.
msg
.
cat_keys
=
e
this
.
msg
.
cat_keys
=
e
}
else
{
}
else
{
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
cat_keys
}
}
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
keywords
this
.
getList
()
this
.
getList
()
},
},
changeNav
(
id
,
num
){
changeNav
(
id
,
num
){
...
@@ -966,12 +967,18 @@ export default {
...
@@ -966,12 +967,18 @@ export default {
x
.
checkedCities
=
[];
x
.
checkedCities
=
[];
})
})
this
.
typeTagIndex
=
num
this
.
typeTagIndex
=
num
if
(
id
!==
'TAG_0'
)
{
if
(
id
!==
'TAG_0'
&&
id
!==
"TAG_4"
)
{
this
.
msg
.
cat_main_keys
=
[
id
]
this
.
msg
.
cat_main_keys
=
[
id
]
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
cat_keys
delete
this
.
msg
.
keywords
}
else
if
(
id
==
"TAG_4"
)
{
this
.
msg
.
cat_main_keys
=
[
id
]
this
.
msg
.
keywords
=
'一日游'
delete
this
.
msg
.
cat_keys
}
else
{
}
else
{
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_main_keys
this
.
msg
.
cat_keys
=
[
"TAG_2_5"
]
this
.
msg
.
cat_keys
=
[
"TAG_2_5"
]
delete
this
.
msg
.
keywords
}
}
this
.
getList
()
this
.
getList
()
},
},
...
@@ -980,36 +987,6 @@ export default {
...
@@ -980,36 +987,6 @@ export default {
name
:
"FreeHome"
,
name
:
"FreeHome"
,
});
});
},
},
// 选中小标签 加载数据
setChangeTag
(
item
){
delete
this
.
msg
.
cat_main_keys
;
this
.
msg
.
cat_keys
=
item
.
checkedCities
this
.
getList
()
},
// 游玩类型切换 取消其他选中
setChange
(
item
,
index
){
if
(
item
.
checkd
)
{
this
.
typeTag
.
map
((
x
,
i
)
=>
{
if
(
i
!==
index
)
{
x
.
checkd
=
false
;
x
.
checkedCities
=
[];
}
})
if
(
item
.
id
==
"TAG_0"
)
{
delete
this
.
msg
.
cat_main_keys
this
.
msg
.
cat_keys
=
[
item
.
list
[
0
].
id
]
}
else
{
this
.
msg
.
cat_main_keys
=
[
item
.
id
]
delete
this
.
msg
.
cat_keys
}
this
.
getList
()
}
else
{
this
.
msg
.
cat_main_keys
=
[
"TAG_4"
]
delete
this
.
msg
.
cat_keys
this
.
getList
()
}
},
goDetails
(
obj
){
goDetails
(
obj
){
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_no
}
`
;
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_no
}
`
;
...
...
src/components/FreeTravel/OrderConfirmation.vue
View file @
1a0e4657
This diff is collapsed.
Click to expand it.
src/components/FreeTravel/payInfo.vue
View file @
1a0e4657
...
@@ -53,7 +53,13 @@
...
@@ -53,7 +53,13 @@
<el-col
style=
"text-align:center"
:span=
"6"
>
{{
oldModel
.
OldContent
.
price2_b2c
}}
</el-col>
<el-col
style=
"text-align:center"
:span=
"6"
>
{{
oldModel
.
OldContent
.
price2_b2c
}}
</el-col>
</el-row>
</el-row>
</div>
</div>
<div
class=
"f14"
>
<el-row
style=
"margin-bottom:7px"
>
<el-col
:span=
"6"
>
优惠金额
</el-col>
<el-col
:span=
"12"
><div
class=
"dashDiv"
></div></el-col>
<el-col
style=
"text-align:center"
:span=
"6"
>
¥
{{
oldModel
.
DiscountMoney
}}
</el-col>
</el-row>
</div>
</ul>
</ul>
</div>
</div>
...
@@ -101,7 +107,7 @@
...
@@ -101,7 +107,7 @@
</li>
</li>
<div
class=
"btnDiv"
>
<div
class=
"btnDiv"
>
<span
@
click=
"Exit"
v-if=
"IsCanOrder==0"
style=
"border:1px solid #EE4454;color:#EE4454"
>
取消订单
</span>
<span
@
click=
"Exit"
v-if=
"IsCanOrder==0"
style=
"border:1px solid #EE4454;color:#EE4454"
>
取消订单
</span>
<span
@
click=
"Pay"
v-if=
"oldModel.Income!=oldModel.TotalPrice"
style=
"background:#EE4454;color:#fff"
>
立即付款
</span>
<span
@
click=
"Pay"
v-if=
"oldModel.Income!=oldModel.TotalPrice
&& oldModel.CustomerPayMoney > 0
"
style=
"background:#EE4454;color:#fff"
>
立即付款
</span>
</div>
</div>
</ul>
</ul>
...
@@ -239,7 +245,7 @@ export default {
...
@@ -239,7 +245,7 @@ export default {
let
payInfoGo
=
this
.
payInfoGo
;
let
payInfoGo
=
this
.
payInfoGo
;
msg
.
CancelTime
=
payInfoGo
.
CancelTime
;
msg
.
CancelTime
=
payInfoGo
.
CancelTime
;
msg
.
OrderSource
=
15
;
msg
.
OrderSource
=
15
;
msg
.
total_fee
=
data
.
TotalPrice
;
msg
.
total_fee
=
data
.
CustomerPayMoney
;
msg
.
body
=
payInfoGo
.
Describe
;
msg
.
body
=
payInfoGo
.
Describe
;
msg
.
orderId
=
data
.
OrderID
;
msg
.
orderId
=
data
.
OrderID
;
msg
.
costType
=
payInfoGo
.
costType
;
msg
.
costType
=
payInfoGo
.
costType
;
...
...
src/components/newPersonalCenter/block/model/OrderInfoModel/FreeTable.vue
View file @
1a0e4657
...
@@ -230,6 +230,8 @@
...
@@ -230,6 +230,8 @@
</td>
</td>
<td
class=
"money"
>
<td
class=
"money"
>
<p>
总额 ¥
{{
item
.
TotalPrice
|
priceFormat
}}
</p>
<p>
总额 ¥
{{
item
.
TotalPrice
|
priceFormat
}}
</p>
<p
v-if=
"item.DiscountMoney > 0"
>
优惠金额 ¥
{{
item
.
DiscountMoney
|
priceFormat
}}
</p>
<p>
应付金额 ¥
{{
item
.
CustomerPayMoney
|
priceFormat
}}
</p>
<p>
实付金额 ¥
{{
item
.
Income
|
priceFormat
}}
</p>
<p>
实付金额 ¥
{{
item
.
Income
|
priceFormat
}}
</p>
<!--
<p
class=
"__cp pay_no"
v-if=
"!item.payShow"
@
click=
"item.payShow = true"
>
已付总额 ¥
{{
item
.
customerPayMoney
|
priceFormat
}}
<i
class=
"iconfont icon-xia"
></i></p>
-->
<!--
<p
class=
"__cp pay_no"
v-if=
"!item.payShow"
@
click=
"item.payShow = true"
>
已付总额 ¥
{{
item
.
customerPayMoney
|
priceFormat
}}
<i
class=
"iconfont icon-xia"
></i></p>
-->
<!--
<p
class=
"__cp pay_no"
v-if=
"item.payShow"
@
click=
"item.payShow = false"
>
已付总额 ¥
{{
item
.
customerPayMoney
|
priceFormat
}}
<i
class=
"iconfont icon-xia shang"
></i></p>
-->
<!--
<p
class=
"__cp pay_no"
v-if=
"item.payShow"
@
click=
"item.payShow = false"
>
已付总额 ¥
{{
item
.
customerPayMoney
|
priceFormat
}}
<i
class=
"iconfont icon-xia shang"
></i></p>
-->
...
@@ -247,7 +249,7 @@
...
@@ -247,7 +249,7 @@
<span>
{{
item
.
OrderStateStr
}}
</span>
<span>
{{
item
.
OrderStateStr
}}
</span>
</td>
</td>
<td>
<td>
<p
style=
"margin-bottom:6px"
v-if=
"item.Income!=item.TotalPrice &&item.OrderStatus!=2"
>
<p
style=
"margin-bottom:6px"
v-if=
"item.Income!=item.TotalPrice &&item.OrderStatus!=2
&& item.CustomerPayMoney > 0
"
>
<el-button
@
click=
"Pay(item)"
size=
"mini"
type=
"danger"
>
立即支付
</el-button>
<el-button
@
click=
"Pay(item)"
size=
"mini"
type=
"danger"
>
立即支付
</el-button>
</p>
</p>
...
@@ -382,7 +384,7 @@ export default {
...
@@ -382,7 +384,7 @@ export default {
let
data
=
item
;
let
data
=
item
;
msg
.
CancelTime
=
data
.
EndTime
;
msg
.
CancelTime
=
data
.
EndTime
;
msg
.
OrderSource
=
15
;
msg
.
OrderSource
=
15
;
msg
.
total_fee
=
data
.
TotalPrice
;
msg
.
total_fee
=
data
.
CustomerPayMoney
;
msg
.
body
=
data
.
Describe
;
msg
.
body
=
data
.
Describe
;
msg
.
orderId
=
data
.
OrderID
;
msg
.
orderId
=
data
.
OrderID
;
msg
.
costType
=
data
.
costType
;
msg
.
costType
=
data
.
costType
;
...
...
src/components/trade/order/indexTwo.vue
View file @
1a0e4657
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
@import
url('../../../assets/trip/trade/index.css')
;
@import
url('../../../assets/trip/trade/index.css')
;
._coupon_box
{
._coupon_box
{
border-bottom
:
1px
dashed
#E5E5E5
;
border-bottom
:
1px
dashed
#E5E5E5
;
}
._no_coupon
{
}
}
._pay_info
{
._pay_info
{
margin
:
20px
0
0
0
;
margin
:
20px
0
0
0
;
...
...
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