Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
8d4ebb7b
Commit
8d4ebb7b
authored
Mar 17, 2021
by
琉璃丶c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改发票详情页面跳转逻辑
parent
4e98e6c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
8 deletions
+30
-8
src/views/myOrder/detail/orderDetail.vue
src/views/myOrder/detail/orderDetail.vue
+30
-8
No files found.
src/views/myOrder/detail/orderDetail.vue
View file @
8d4ebb7b
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
<!-- 订单物流信息 -->
<!-- 订单物流信息 -->
<div
class=
"order-common order-logistics"
>
<div
class=
"order-common order-logistics"
>
<div
class=
"logistics-content"
@
click=
"open
Pager('logisticsDetail'
)"
>
<div
class=
"logistics-content"
@
click=
"open
Logistics(
)"
>
<van-icon
:name=
"icons.inDelivery"
class=
"order-icon logistics-icon"
/>
<van-icon
:name=
"icons.inDelivery"
class=
"order-icon logistics-icon"
/>
<div
class=
"logistics-text"
>
<div
class=
"logistics-text"
>
<div
style=
"display:flex"
>
<div
style=
"display:flex"
>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
</div>
</div>
<!-- 订单商品 -->
<!-- 订单商品 -->
<div
class=
"goods-all"
@
click=
"open
Pager('goodsInfo'
)"
>
<div
class=
"goods-all"
@
click=
"open
GoodsList(
)"
>
<span
class=
"all-title"
>
商品明细
</span>
<span
class=
"all-title"
>
商品明细
</span>
<span
class=
"title-more"
>
更多
</span>
<span
class=
"title-more"
>
更多
</span>
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
...
@@ -62,14 +62,14 @@
...
@@ -62,14 +62,14 @@
</div>
</div>
<!-- 订单发票信息 -->
<!-- 订单发票信息 -->
<div>
<div>
<div
class=
"goods-all"
@
click=
"open
Pager('orderInvoice'
)"
>
<div
class=
"goods-all"
@
click=
"open
OrderInvoice(
)"
>
<span
class=
"all-title"
>
发票信息 (
{{
invoiceData
.
total
}}
)
</span>
<span
class=
"all-title"
>
发票信息 (
{{
invoiceData
.
total
}}
)
</span>
<span
class=
"title-more"
>
更多
</span>
<span
class=
"title-more"
>
更多
</span>
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
</div>
</div>
<div
class=
"order-common"
>
<div
class=
"order-common"
>
<invoice-simple-item
v-for=
"item in invoiceData.invoiceList"
:item=
"item"
:key=
"item.invoiceNo"
<invoice-simple-item
v-for=
"item in invoiceData.invoiceList"
:item=
"item"
:key=
"item.invoiceNo"
@
itemClick=
"open
Pager('orderInvoiecDetail'
)"
/>
@
itemClick=
"open
Invoice(item
)"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -123,15 +123,36 @@ export default {
...
@@ -123,15 +123,36 @@ export default {
onBrowserBack
()
{
onBrowserBack
()
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
},
},
openPager
(
path
)
{
/* 打开物流页面 */
openLogistics
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
'
logisticsDetail
'
,
query
:
this
.
$store
.
state
.
linkInfo
query
:
this
.
$store
.
state
.
linkInfo
})
})
},
},
openLogistics
()
{
/* 打开商品列表页面 */
this
.
openPager
(
'
logisticsDetail
'
)
openGoodsList
()
{
this
.
$router
.
push
({
path
:
'
goodsInfo
'
,
query
:
this
.
$store
.
state
.
linkInfo
})
},
/* 打开发票列表页面 */
openOrderInvoice
()
{
this
.
$router
.
push
({
path
:
'
orderInvoice
'
,
query
:
this
.
$store
.
state
.
linkInfo
})
},
/* 打开单个发票页面 */
openInvoice
(
item
)
{
this
.
$router
.
push
({
path
:
'
orderInvoiecDetail
'
,
query
:
item
})
console
.
log
(
item
)
},
},
/* 获取订单详情 */
getOrderDetail
()
{
getOrderDetail
()
{
let
params
=
{
let
params
=
{
'
businessType
'
:
''
,
'
businessType
'
:
''
,
...
@@ -180,6 +201,7 @@ export default {
...
@@ -180,6 +201,7 @@ export default {
// console.log(err)
// console.log(err)
// })
// })
},
},
/* 获取发票列表 */
getInvoiceDetail
()
{
getInvoiceDetail
()
{
let
params
=
{
let
params
=
{
'
clientID
'
:
[],
'
clientID
'
:
[],
...
...
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