Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
f2073cc0
Commit
f2073cc0
authored
Sep 18, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into electronicTicket
parents
4d8ef1ba
dfd168b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
23 deletions
+14
-23
buyKnow.vue
components/buyKnow.vue
+2
-2
jointElectronicTicket.vue
.../my/order/jointElectronicTicket/jointElectronicTicket.vue
+12
-21
No files found.
components/buyKnow.vue
View file @
f2073cc0
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<!-- 未配置文字内容 -->
<!-- 未配置文字内容 -->
<template
v-else
>
<template
v-else
>
<!-- 使用日期前 -->
<!-- 使用日期前 -->
<text
v-if=
"buyKnowData.productRefundRuleVo.refundTime
Rul
e==1"
>
<text
v-if=
"buyKnowData.productRefundRuleVo.refundTime
Typ
e==1"
>
<text
v-if=
"item.refundDay==0"
>
<text
v-if=
"item.refundDay==0"
>
使用日期当天
{{
item
.
refundTime
}}
之前可退
使用日期当天
{{
item
.
refundTime
}}
之前可退
</text>
</text>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</text>
</text>
</text>
</text>
<!-- 过期 -->
<!-- 过期 -->
<text
v-if=
"buyKnowData.productRefundRuleVo.refundTime
Rul
e==2"
>
<text
v-if=
"buyKnowData.productRefundRuleVo.refundTime
Typ
e==2"
>
<text
v-if=
"item.refundDay==0"
>
<text
v-if=
"item.refundDay==0"
>
过期当天
{{
item
.
refundTime
}}
之前可退
过期当天
{{
item
.
refundTime
}}
之前可退
</text>
</text>
...
...
pages/my/order/jointElectronicTicket/jointElectronicTicket.vue
View file @
f2073cc0
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
<!-- 未配置文字内容 -->
<!-- 未配置文字内容 -->
<
template
v-else
>
<
template
v-else
>
<!-- 使用日期前 -->
<!-- 使用日期前 -->
<text
v-if=
"item2.refundTime
Rul
e==1"
>
<text
v-if=
"item2.refundTime
Typ
e==1"
>
<text
v-if=
"item2.refundDay==0"
>
<text
v-if=
"item2.refundDay==0"
>
使用日期当天
{{
item2
.
refundTime
}}
之前可退
使用日期当天
{{
item2
.
refundTime
}}
之前可退
</text>
</text>
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
</text>
</text>
</text>
</text>
<!-- 过期 -->
<!-- 过期 -->
<text
v-if=
"item2.refundTime
Rul
e==2"
>
<text
v-if=
"item2.refundTime
Typ
e==2"
>
<text
v-if=
"item2.refundDay==0"
>
<text
v-if=
"item2.refundDay==0"
>
过期当天
{{
item2
.
refundTime
}}
之前可退
过期当天
{{
item2
.
refundTime
}}
之前可退
</text>
</text>
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
<!-- 未配置文字内容 -->
<!-- 未配置文字内容 -->
<
template
v-else
>
<
template
v-else
>
<!-- 使用日期前 -->
<!-- 使用日期前 -->
<text
v-if=
"item.refundTime
Rul
e==1"
>
<text
v-if=
"item.refundTime
Typ
e==1"
>
<text
v-if=
"item.refundDay==0"
>
<text
v-if=
"item.refundDay==0"
>
使用日期当天
{{
item
.
refundTime
}}
之前可退
使用日期当天
{{
item
.
refundTime
}}
之前可退
</text>
</text>
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
</text>
</text>
</text>
</text>
<!-- 过期 -->
<!-- 过期 -->
<text
v-if=
"item.refundTime
Rul
e==2"
>
<text
v-if=
"item.refundTime
Typ
e==2"
>
<text
v-if=
"item.refundDay==0"
>
<text
v-if=
"item.refundDay==0"
>
过期当天
{{
item
.
refundTime
}}
之前可退
过期当天
{{
item
.
refundTime
}}
之前可退
</text>
</text>
...
@@ -592,12 +592,15 @@ export default {
...
@@ -592,12 +592,15 @@ export default {
if
(
item
.
subOrderType
!=
4
&&
item
.
subOrderType
!=
5
){
if
(
item
.
subOrderType
!=
4
&&
item
.
subOrderType
!=
5
){
if
(
item
.
exchangeMode
==
4
||
item
.
exchangeMode
==
5
){
if
(
item
.
exchangeMode
==
4
||
item
.
exchangeMode
==
5
){
//多个二维码
//多个二维码
//为了提高性能,游玩时间等于今天
才获取排号信息
//为了提高性能,游玩时间等于今天
获取动态二维码
if
(
item
.
playDate
.
substr
(
0
,
10
)
==
this
.
$commonjs
.
today
()){
if
(
item
.
playDate
.
substr
(
0
,
10
)
==
this
.
$commonjs
.
today
()){
if
(
item
.
orderStatus
==
2
||
item
.
orderStatus
==
4
||
item
.
orderStatus
==
5
||
item
.
orderStatus
==
7
){
if
(
item
.
orderStatus
==
2
||
item
.
orderStatus
==
4
||
item
.
orderStatus
==
5
||
item
.
orderStatus
==
7
){
//订单状态为2、4、5、7时才获取动态二维码
//订单状态为2、4、5、7时才获取动态二维码
this
.
getCodeList
(
item
)
this
.
getCodeList
(
item
)
}
}
}
else
{
//如果不是今天,为了保持页面完整性,临时放一个静态二维码
this
.
getCode
(
item
)
}
}
}
}
if
(
item
.
exchangeMode
==
1
){
if
(
item
.
exchangeMode
==
1
){
...
@@ -648,12 +651,12 @@ export default {
...
@@ -648,12 +651,12 @@ export default {
let
refundTime
=
''
let
refundTime
=
''
if
(
item2
.
refundDay
){
if
(
item2
.
refundDay
){
//1使用日期前
//1使用日期前
if
(
item2
.
refundTime
Rul
e
==
1
){
if
(
item2
.
refundTime
Typ
e
==
1
){
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
-
item2
.
refundDay
)
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
-
item2
.
refundDay
)
refundTime
=
playDate
+
' '
+
item2
.
refundTime
refundTime
=
playDate
+
' '
+
item2
.
refundTime
}
}
//2过期后
//2过期后
if
(
item2
.
refundTime
Rul
e
==
2
){
if
(
item2
.
refundTime
Typ
e
==
2
){
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
item2
.
refundDay
)
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
item2
.
refundDay
)
refundTime
=
playDate
+
' '
+
item2
.
refundTime
refundTime
=
playDate
+
' '
+
item2
.
refundTime
}
}
...
@@ -667,8 +670,6 @@ export default {
...
@@ -667,8 +670,6 @@ export default {
this
.
subRefundBtn
=
true
this
.
subRefundBtn
=
true
//增加字段用于弹窗展示该产品是否可退
//增加字段用于弹窗展示该产品是否可退
item
.
ifRefund
=
true
item
.
ifRefund
=
true
}
else
{
this
.
subRefundBtn
=
false
}
}
}
}
if
(
item2
.
refundDateType
==
1
){
if
(
item2
.
refundDateType
==
1
){
...
@@ -683,8 +684,6 @@ export default {
...
@@ -683,8 +684,6 @@ export default {
this
.
subRefundBtn
=
true
this
.
subRefundBtn
=
true
//增加字段用于弹窗展示该产品是否可退
//增加字段用于弹窗展示该产品是否可退
item
.
ifRefund
=
true
item
.
ifRefund
=
true
}
else
{
this
.
subRefundBtn
=
false
}
}
}
}
if
(
item2
.
refundDateType
==
2
){
if
(
item2
.
refundDateType
==
2
){
...
@@ -692,8 +691,6 @@ export default {
...
@@ -692,8 +691,6 @@ export default {
this
.
subRefundBtn
=
true
this
.
subRefundBtn
=
true
//增加字段用于弹窗展示该产品是否可退
//增加字段用于弹窗展示该产品是否可退
item
.
ifRefund
=
true
item
.
ifRefund
=
true
}
else
{
this
.
subRefundBtn
=
false
}
}
}
}
}
}
...
@@ -720,12 +717,12 @@ export default {
...
@@ -720,12 +717,12 @@ export default {
let
refundTime
=
''
let
refundTime
=
''
if
(
item
.
refundDay
){
if
(
item
.
refundDay
){
//1使用日期前
//1使用日期前
if
(
item
.
refundTime
Rul
e
==
1
){
if
(
item
.
refundTime
Typ
e
==
1
){
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
-
item
.
refundDay
)
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
-
item
.
refundDay
)
refundTime
=
playDate
+
' '
+
item
.
refundTime
refundTime
=
playDate
+
' '
+
item
.
refundTime
}
}
//2过期后
//2过期后
if
(
item
.
refundTime
Rul
e
==
2
){
if
(
item
.
refundTime
Typ
e
==
2
){
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
item
.
refundDay
)
let
playDate
=
this
.
getNewDate
(
orderInfo
.
playDate
,
item
.
refundDay
)
refundTime
=
playDate
+
' '
+
item
.
refundTime
refundTime
=
playDate
+
' '
+
item
.
refundTime
}
}
...
@@ -737,8 +734,6 @@ export default {
...
@@ -737,8 +734,6 @@ export default {
if
(
item
.
refundDateType
==
0
){
if
(
item
.
refundDateType
==
0
){
if
(
nowTimeNumber
<
refundTimeNumber
){
if
(
nowTimeNumber
<
refundTimeNumber
){
this
.
mainRefundBtn
=
true
this
.
mainRefundBtn
=
true
}
else
{
this
.
mainRefundBtn
=
false
}
}
}
}
if
(
item
.
refundDateType
==
1
){
if
(
item
.
refundDateType
==
1
){
...
@@ -751,15 +746,11 @@ export default {
...
@@ -751,15 +746,11 @@ export default {
}
}
if
(
refundTime
<
nowTime
<
refundEndTime
){
if
(
refundTime
<
nowTime
<
refundEndTime
){
this
.
mainRefundBtn
=
true
this
.
mainRefundBtn
=
true
}
else
{
this
.
mainRefundBtn
=
false
}
}
}
}
if
(
item
.
refundDateType
==
2
){
if
(
item
.
refundDateType
==
2
){
if
(
nowTimeNumber
>
refundTimeNumber
){
if
(
nowTimeNumber
>
refundTimeNumber
){
this
.
mainRefundBtn
=
true
this
.
mainRefundBtn
=
true
}
else
{
this
.
mainRefundBtn
=
false
}
}
}
}
...
...
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