Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
陈智峰
jinfa-platform
Commits
34b51b0b
Commit
34b51b0b
authored
Feb 19, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 1: 进货单多选问题;2.浏览记录样式问题
parent
9cdcfbc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
index.less
src/pages/lxMall/components/SideNav/index.less
+1
-2
index.tsx
src/pages/lxMall/purchaseOrder/index.tsx
+5
-2
No files found.
src/pages/lxMall/components/SideNav/index.less
View file @
34b51b0b
...
...
@@ -55,13 +55,12 @@
}
.commodityList {
display: flex;
flex-wrap: wrap;
padding: 0 5px 50px 0;
overflow-y: auto;
height: 100vh;
.commodityItem {
display: inline-block;
width: 50%;
.commodityItemBody {
...
...
src/pages/lxMall/purchaseOrder/index.tsx
View file @
34b51b0b
...
...
@@ -149,7 +149,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
if
(
isMemberPrice
)
{
parameter
=
await
getMemberCredit
(
item
.
commodityUnitPrice
.
commodity
.
memberId
,
item
.
commodityUnitPrice
.
commodity
.
memberRoleId
)
}
Object
.
keys
(
unitPrice
).
forEach
(
key
=>
{
unitPrice
&&
Object
.
keys
(
unitPrice
).
forEach
(
key
=>
{
const
keyArr
=
key
.
split
(
'-'
)
const
min
=
keyArr
[
0
]
const
max
=
keyArr
[
1
]
...
...
@@ -225,6 +225,9 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
const
index
=
checkedList
.
indexOf
(
id
)
checkedList
.
splice
(
index
,
1
)
setCheckedList
(
checkedList
)
if
(
checkedList
.
length
===
0
)
{
setIndeterminate
(
false
)
}
}
}
...
...
@@ -319,7 +322,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
if
(
isEmpty
(
priceItem
))
{
priceItem
=
getMaxCountRange
(
priceRange
,
count
)
}
return
parseFloat
(
priceItem
.
price
)
*
count
return
(
priceItem
&&
priceItem
.
price
)
?
parseFloat
(
priceItem
.
price
)
*
count
:
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