Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
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
刘文虎
account-book
Commits
69d4801b
Commit
69d4801b
authored
Nov 10, 2022
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lwh-dev'
parents
1ac133d0
99844a9a
Pipeline
#4008
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
cart-popup.vue
pages/bill/quoted-price/price/components/cart-popup.vue
+5
-1
shopping-cart.vue
pages/bill/quoted-price/price/components/shopping-cart.vue
+8
-4
No files found.
pages/bill/quoted-price/price/components/cart-popup.vue
View file @
69d4801b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</view>
<shopping-cart
:show
.
sync=
"cartShow"
:open=
"show"
:autoHide=
"false"
:list=
"list"
@
handleClick=
"handleClickShoppingCart"
></shopping-cart>
<shopping-cart
:
type=
"type"
:
show
.
sync=
"cartShow"
:open=
"show"
:autoHide=
"false"
:list=
"list"
@
handleClick=
"handleClickShoppingCart"
></shopping-cart>
</view>
</view>
</u-popup>
</u-popup>
</
template
>
</
template
>
...
@@ -52,6 +52,10 @@ export default {
...
@@ -52,6 +52,10 @@ export default {
list
:
{
list
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
},
type
:{
type
:
String
,
default
:
'normal'
}
}
},
},
data
()
{
data
()
{
...
...
pages/bill/quoted-price/price/components/shopping-cart.vue
View file @
69d4801b
...
@@ -104,10 +104,7 @@ export default {
...
@@ -104,10 +104,7 @@ export default {
openCart
()
{
openCart
()
{
this
.
$emit
(
'handleClick'
);
this
.
$emit
(
'handleClick'
);
},
},
handleClickChange
()
{
resetList
(){
if
(
!
this
.
list
.
length
){
return
;
}
let
list
=
this
.
list
.
map
(
item
=>
{
let
list
=
this
.
list
.
map
(
item
=>
{
let
goods
=
{
let
goods
=
{
name
:
this
.
type
===
'custom'
?
item
.
offerName
:
item
.
classBProject
+
'-'
+
item
.
classCProject
,
name
:
this
.
type
===
'custom'
?
item
.
offerName
:
item
.
classBProject
+
'-'
+
item
.
classCProject
,
...
@@ -119,6 +116,13 @@ export default {
...
@@ -119,6 +116,13 @@ export default {
}
}
return
goods
return
goods
})
})
return
list
},
handleClickChange
()
{
if
(
!
this
.
list
.
length
){
return
;
}
let
list
=
resetList
()
this
.
$u
.
route
({
this
.
$u
.
route
({
url
:
'pages/maintain-bill/bill-style'
,
url
:
'pages/maintain-bill/bill-style'
,
type
:
'navigateTo'
,
type
:
'navigateTo'
,
...
...
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