Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
28815b8e
Commit
28815b8e
authored
Sep 21, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单列表_退货寄回
parent
a9856668
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
order.js
src/pages/order/order.js
+8
-6
order.json
src/pages/order/order.json
+3
-1
order.wxml
src/pages/order/order.wxml
+2
-2
No files found.
src/pages/order/order.js
View file @
28815b8e
...
@@ -9,6 +9,7 @@ wxService.page({
...
@@ -9,6 +9,7 @@ wxService.page({
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
showApplyRefundModal
:
false
,
// 订单状态(C:取消;N:新建,P:已支付;D:已发货;R:已收货)
// 订单状态(C:取消;N:新建,P:已支付;D:已发货;R:已收货)
swiperItem
:
[
swiperItem
:
[
{
{
...
@@ -195,12 +196,6 @@ wxService.page({
...
@@ -195,12 +196,6 @@ wxService.page({
const
{
id
}
=
e
.
currentTarget
.
dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
wxService
.
router
(
`/pages/refundDetail/refundDetail?id=
${
id
}
`
)
wxService
.
router
(
`/pages/refundDetail/refundDetail?id=
${
id
}
`
)
},
},
// 退货寄回
handelCheckRfSend
(
e
)
{
const
{
id
}
=
e
.
currentTarget
.
dataset
console
.
log
(
'handelCheckRfSend物流弹框'
,
id
)
// 物流弹框
},
// 取消退款
// 取消退款
handelCancelRefund
(
e
)
{
handelCancelRefund
(
e
)
{
const
{
id
}
=
e
.
currentTarget
.
dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
...
@@ -350,6 +345,13 @@ wxService.page({
...
@@ -350,6 +345,13 @@ wxService.page({
// },
// },
//填写物流信息
tapWriteLogis
()
{
console
.
log
(
'222'
)
this
.
setData
({
showApplyRefundModal
:
true
})
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
...
...
src/pages/order/order.json
View file @
28815b8e
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"navigationBarTitleText"
:
"我的订单"
,
"navigationBarTitleText"
:
"我的订单"
,
"usingComponents"
:
{
"usingComponents"
:
{
"no-more"
:
"/component/noMore/noMore"
,
"no-more"
:
"/component/noMore/noMore"
,
"go-home"
:
"/component/goHome/goHome"
"go-home"
:
"/component/goHome/goHome"
,
"apply-refund"
:
"/component/applyRefund/applyRefund"
}
}
}
}
\ No newline at end of file
src/pages/order/order.wxml
View file @
28815b8e
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
</view>
</view>
<view class="order-status-rf" wx-if="{{item.status == 'A'}}">
<view class="order-status-rf" wx-if="{{item.status == 'A'}}">
<button class="btn btn-sm btn-default" data-id="{{item.id}}" bindtap="handelDetailRf">查看详情</button>
<button class="btn btn-sm btn-default" data-id="{{item.id}}" bindtap="handelDetailRf">查看详情</button>
<button class="btn btn-sm btn-default" data-id="{{item.id}}" bindtap="
handelCheckRfSend
">退货寄回</button>
<button class="btn btn-sm btn-default" data-id="{{item.id}}" bindtap="
tapWriteLogis
">退货寄回</button>
<button class="btn btn-sm btn-primary btn-outline" data-id="{{item.id}}" bindtap="handelCancelRefund">取消退款</button>
<button class="btn btn-sm btn-primary btn-outline" data-id="{{item.id}}" bindtap="handelCancelRefund">取消退款</button>
</view>
</view>
<view class="order-status-rf" wx-if="{{item.status == 'R'}}">
<view class="order-status-rf" wx-if="{{item.status == 'R'}}">
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
当前无数据
当前无数据
</view>
</view>
</view>
</view>
<apply-refund show="{{showApplyRefundModal}}" />
<!--goHome-->
<!--goHome-->
<go-home/>
<go-home/>
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