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
a3a98aa6
Commit
a3a98aa6
authored
Nov 09, 2023
by
guang.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改价格排序问题
parent
8b1ef6a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
SearchForm.jsx
...s/GoodsManage/SupplyPriceUpdate/components/SearchForm.jsx
+1
-7
staticdata.js
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
+1
-1
No files found.
src/pages/GoodsManage/SupplyPriceUpdate/components/SearchForm.jsx
View file @
a3a98aa6
import
{
Form
,
Button
,
Input
,
Select
,
notification
,
Cascader
,
InputNumber
,
Upload
}
from
'
antd
'
;
import
{
Form
,
Button
,
Input
,
Select
,
notification
,
Cascader
,
InputNumber
}
from
'
antd
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
{
SwapRightOutlined
}
from
'
@ant-design/icons
'
;
import
{
SwapRightOutlined
}
from
'
@ant-design/icons
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
...
@@ -134,7 +134,6 @@ class goodsManage extends Component {
...
@@ -134,7 +134,6 @@ class goodsManage extends Component {
const
selectW
=
{
width
:
250
};
const
selectW
=
{
width
:
250
};
const
iptNumWidth
=
{
width
:
118
};
const
iptNumWidth
=
{
width
:
118
};
const
filterOption
=
(
input
,
op
)
=>
op
.
props
.
children
.
includes
(
input
);
return
(
return
(
<
div
>
<
div
>
<
Form
<
Form
...
@@ -202,11 +201,6 @@ class goodsManage extends Component {
...
@@ -202,11 +201,6 @@ class goodsManage extends Component {
<
Button
onClick=
{
()
=>
this
.
onReset
()
}
className=
{
styles
.
button
}
>
<
Button
onClick=
{
()
=>
this
.
onReset
()
}
className=
{
styles
.
button
}
>
重置
重置
</
Button
>
</
Button
>
{
/* <Upload {...this.uploadConfig()}>
<Button type="primary" loading={this.state.loading} ghost className={styles.button}>
导入
</Button>
</Upload> */
}
<
Button
<
Button
type=
"primary"
type=
"primary"
...
...
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
View file @
a3a98aa6
...
@@ -102,7 +102,7 @@ export function columnManage() {
...
@@ -102,7 +102,7 @@ export function columnManage() {
dataIndex
:
'
marketPrice
'
,
dataIndex
:
'
marketPrice
'
,
width
:
160
,
width
:
160
,
align
:
'
center
'
,
align
:
'
center
'
,
sorter
:
(
a
,
b
)
=>
a
.
supplyPrice
-
b
.
supply
Price
,
sorter
:
(
a
,
b
)
=>
a
.
marketPrice
-
b
.
market
Price
,
render
:
(
_
,
row
)
=>
<
div
>
{(
row
.
marketPrice
||
0
).
toFixed
(
2
)}
<
/div>
,
render
:
(
_
,
row
)
=>
<
div
>
{(
row
.
marketPrice
||
0
).
toFixed
(
2
)}
<
/div>
,
},
},
{
{
...
...
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