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
2b2a8638
Commit
2b2a8638
authored
Sep 14, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排号查询 新增 thirdId 取值为thirdOrderId
parent
60e35311
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
3 deletions
+108
-3
applyUnsubscription.vue
pages/my/applyUnsubscription/applyUnsubscription.vue
+106
-2
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+2
-1
No files found.
pages/my/applyUnsubscription/applyUnsubscription.vue
View file @
2b2a8638
...
...
@@ -25,6 +25,27 @@
>
{{
item
.
name
}}
</u-checkbox>
</u-checkbox-group>
</view>
<view
class=
"apply-moneyBox general-Box"
>
<view
class=
"moneyBox-list"
>
<view
class=
"list-name"
>
订单实付
</view>
<view
class=
"list-money"
>
¥60
</view>
</view>
<view
class=
"moneyBox-list"
>
<view
class=
"list-name"
>
退款金额
</view>
<view
class=
"list-money list-clolrOrange"
>
¥60
</view>
</view>
</view>
<view
class=
"apply-cause general-Box"
>
<view
class=
"cause-title"
>
退改原因(必填)
</view>
<view
class=
"cause-list"
>
<view
class=
"list-case"
v-for=
"(item,index) in causeList"
:key=
"index"
>
<view
class=
"case-name"
>
{{
item
.
name
}}
</view>
<view
class=
"case-click"
:class=
"causeNum==item.labelNum?'case-clickAct':''"
@
click=
"clickNewFun(item.labelNum)"
></view>
</view>
</view>
</view>
</view>
</
template
>
...
...
@@ -42,18 +63,43 @@ export default {
name
:
'李四'
,
checked
:
false
,
},
],
//用户信息
causeList
:[
{
name
:
'更改出行日期'
,
labelNum
:
0
},
{
name
:
'计划有变'
,
labelNum
:
1
},
{
name
:
'信息填错'
,
labelNum
:
2
},
{
name
:
'景区临时关闭'
,
labelNum
:
3
},
{
name
:
'其他原因'
,
labelNum
:
4
},
],
//退订原因
causeNum
:
null
,
}
},
onLoad
(
option
)
{
},
methods
:
{
//当前选择的原因
clickNewFun
(
labelNum
){
this
.
causeNum
=
labelNum
},
// 选中某个复选框时,由checkbox时触发 可以获取当前选择值的所有信息
checkboxChange
(
e
)
{
// console.log(e)
},
// 选中任一checkbox时,由checkbox-group触发 已经选择了多少选项
checkboxGroupChange
(
e
)
{
...
...
@@ -142,6 +188,64 @@ export default {
line-height
:
40rpx
;
margin-right
:
24rpx
;
}
}
/
deep
/
.u-checkbox__label
{
width
:
160rpx
;
}
}
.apply-moneyBox
{
padding
:
0
24rpx
0
24rpx
;
.moneyBox-list
{
display
:
flex
;
justify-content
:
space-between
;
border-bottom
:
2rpx
solid
#ECECEC
;
}
.moneyBox-list
:nth-last-child
(
1
)
{
border-bottom
:
none
;
}
.list-name
,
.list-money
{
font-size
:
32rpx
;
color
:
#191919
;
line-height
:
108rpx
;
}
.list-clolrOrange
{
color
:
#FC6703
;
}
}
.apply-cause
{
padding
:
0
;
.cause-title
{
padding
:
24rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
color
:
#191919
;
line-height
:
44rpx
;
box-shadow
:
0rpx
2rpx
0rpx
2rpx
rgba
(
0
,
0
,
0
,
0
.08
);
}
.cause-list
{
padding
:
40rpx
24rpx
40rpx
24rpx
;
.list-case
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
40rpx
;
.case-name
{
font-size
:
32rpx
;
color
:
#191919
;
line-height
:
48rpx
;
}
.case-click
{
width
:
48rpx
;
height
:
48rpx
;
box-sizing
:
border-box
;
border
:
2rpx
solid
#3688FF
;
border-radius
:
50%
;
}
}
.list-case
:nth-last-child
(
1
)
{
margin-bottom
:
0
;
}
}
}
</
style
>
pages/my/order/electronicTicket/electronicTicket.vue
View file @
2b2a8638
...
...
@@ -749,7 +749,8 @@ export default {
var
userId
=
this
.
openId
var
orderId
=
this
.
orderInfo
.
id
var
verifyCode
=
this
.
ticketCode
let
data
=
{
areaCode
,
orderNum
,
userId
,
orderId
,
verifyCode
,
'againNumber'
:
0
}
var
thirdId
=
this
.
orderInfo
.
thirdOrderId
let
data
=
{
areaCode
,
orderNum
,
userId
,
orderId
,
verifyCode
,
thirdId
,
'againNumber'
:
0
}
this
.
$request
(
'distribution/distribution/getNewFetchInfo'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
if
(
res
.
data
.
length
>
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