Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
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
ui
merchant-manage-ui
Commits
8b1ef6a8
Commit
8b1ef6a8
authored
Nov 09, 2023
by
guang.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改市场价显示
parent
102cd9fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
SearchForm.jsx
...s/GoodsManage/SupplyPriceUpdate/components/SearchForm.jsx
+0
-15
staticdata.js
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
+2
-6
No files found.
src/pages/GoodsManage/SupplyPriceUpdate/components/SearchForm.jsx
View file @
8b1ef6a8
...
@@ -4,7 +4,6 @@ import { SwapRightOutlined } from '@ant-design/icons';
...
@@ -4,7 +4,6 @@ import { SwapRightOutlined } from '@ant-design/icons';
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
import
ImportGoodsModal
from
'
@/components/ImportGoodsModal
'
;
import
ImportGoodsModal
from
'
@/components/ImportGoodsModal
'
;
import
styles
from
'
../../style.less
'
;
import
styles
from
'
../../style.less
'
;
import
{
stateList
}
from
'
../../staticdata
'
;
import
{
apiDownBiddingTemplate
,
apiUploadGoodsFile
}
from
'
../../service
'
;
import
{
apiDownBiddingTemplate
,
apiUploadGoodsFile
}
from
'
../../service
'
;
const
FormItem
=
Form
.
Item
;
const
FormItem
=
Form
.
Item
;
...
@@ -174,20 +173,6 @@ class goodsManage extends Component {
...
@@ -174,20 +173,6 @@ class goodsManage extends Component {
</
FormItem
>
</
FormItem
>
{
this
.
state
.
productType
!==
5
&&
(
{
this
.
state
.
productType
!==
5
&&
(
<>
<>
<
FormItem
label=
"审核状态"
name=
"state"
>
<
Select
style=
{
selectW
}
placeholder=
"请选择审核状态"
allowClear
filterOption=
{
filterOption
}
>
{
stateList
?.
map
(
item
=>
(
<
Option
key=
{
item
.
value
}
value=
{
item
.
value
}
>
{
item
.
label
}
</
Option
>
))
}
</
Select
>
</
FormItem
>
<
FormItem
label=
"供货价区间"
>
<
FormItem
label=
"供货价区间"
>
<
FormItem
name=
"supplyPriceMin"
className=
{
styles
.
iptNumRight
}
noStyle
>
<
FormItem
name=
"supplyPriceMin"
className=
{
styles
.
iptNumRight
}
noStyle
>
<
InputNumber
placeholder=
"请输入"
min=
{
0
}
max=
{
999999999
}
style=
{
iptNumWidth
}
/>
<
InputNumber
placeholder=
"请输入"
min=
{
0
}
max=
{
999999999
}
style=
{
iptNumWidth
}
/>
...
...
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
View file @
8b1ef6a8
...
@@ -98,16 +98,12 @@ export function columnManage() {
...
@@ -98,16 +98,12 @@ export function columnManage() {
dataIndex
:
'
skuName
'
,
dataIndex
:
'
skuName
'
,
},
},
{
{
title
:
'
供应商价格
'
,
title
:
'
市场价
'
,
dataIndex
:
'
marketPrice
'
,
dataIndex
:
'
marketPrice
'
,
width
:
160
,
width
:
160
,
align
:
'
center
'
,
align
:
'
center
'
,
sorter
:
(
a
,
b
)
=>
a
.
supplyPrice
-
b
.
supplyPrice
,
sorter
:
(
a
,
b
)
=>
a
.
supplyPrice
-
b
.
supplyPrice
,
render
:
(
_
,
row
)
=>
(
render
:
(
_
,
row
)
=>
<
div
>
{(
row
.
marketPrice
||
0
).
toFixed
(
2
)}
<
/div>
,
<
div
className
=
{
styles
.
price
}
>
<
p
>
市场价:
{(
row
.
marketPrice
||
0
).
toFixed
(
2
)}
<
/p
>
<
/div
>
),
},
},
{
{
title
:
'
操作
'
,
title
:
'
操作
'
,
...
...
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