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
d689c51f
Commit
d689c51f
authored
May 13, 2024
by
guang.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加字段
parent
cc2f041b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
index.jsx
src/components/ImportGoodsModal/index.jsx
+2
-1
UpdatePriceStock.jsx
...sManage/SupplyPriceUpdate/components/UpdatePriceStock.jsx
+6
-4
index.jsx
src/pages/GoodsManage/SupplyPriceUpdate/index.jsx
+1
-1
staticdata.js
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
+6
-0
No files found.
src/components/ImportGoodsModal/index.jsx
View file @
d689c51f
...
@@ -42,7 +42,8 @@ const ImportGoods = React.memo(props => {
...
@@ -42,7 +42,8 @@ const ImportGoods = React.memo(props => {
if
(
result
?.
success
)
{
if
(
result
?.
success
)
{
setImportFile
([]);
setImportFile
([]);
notification
.
success
({
notification
.
success
({
message
:
'
导入成功
'
,
message
:
'
已操作上传,稍后上传成功后,请在操作历史中,查看上传结果,如有未上传成功的数据,请根据返回原因,及时处理,修改后重新上传。
'
,
});
});
}
}
};
};
...
...
src/pages/GoodsManage/SupplyPriceUpdate/components/UpdatePriceStock.jsx
View file @
d689c51f
...
@@ -21,10 +21,12 @@ const UpdatePriceStock = options => {
...
@@ -21,10 +21,12 @@ const UpdatePriceStock = options => {
skus
:
value
.
data
,
skus
:
value
.
data
,
};
};
setLoading
(
true
);
setLoading
(
true
);
await
apiProductBiddingUpdate
(
params
);
const
res
=
await
apiProductBiddingUpdate
(
params
);
setLoading
(
false
);
setLoading
(
false
);
options
.
refresh
();
if
(
res
?.
success
)
{
options
.
onCancel
();
options
.
refresh
();
options
.
onCancel
();
}
};
};
const
EditableContext
=
createContext
(
null
);
const
EditableContext
=
createContext
(
null
);
...
@@ -69,7 +71,7 @@ const UpdatePriceStock = options => {
...
@@ -69,7 +71,7 @@ const UpdatePriceStock = options => {
onCancel=
{
options
.
onCancel
}
onCancel=
{
options
.
onCancel
}
onOk=
{
onSubmit
}
onOk=
{
onSubmit
}
confirmLoading=
{
loading
}
confirmLoading=
{
loading
}
width=
{
8
00
}
width=
{
9
00
}
className=
{
styles
.
priceStockTable
}
className=
{
styles
.
priceStockTable
}
destroyOnClose
destroyOnClose
>
>
...
...
src/pages/GoodsManage/SupplyPriceUpdate/index.jsx
View file @
d689c51f
...
@@ -225,7 +225,7 @@ class supplyPriceUpdate extends Component {
...
@@ -225,7 +225,7 @@ class supplyPriceUpdate extends Component {
)
}
)
}
<
Drawer
<
Drawer
visible
=
{
this
.
state
.
previewVisible
}
open
=
{
this
.
state
.
previewVisible
}
width=
"450"
width=
"450"
onClose=
{
()
=>
{
onClose=
{
()
=>
{
this
.
setState
({
previewVisible
:
false
});
this
.
setState
({
previewVisible
:
false
});
...
...
src/pages/GoodsManage/SupplyPriceUpdate/staticdata.js
View file @
d689c51f
...
@@ -5,6 +5,12 @@ import styles from './style.less';
...
@@ -5,6 +5,12 @@ import styles from './style.less';
export
function
column
(
specArr
=
[])
{
export
function
column
(
specArr
=
[])
{
return
[
return
[
{
title
:
'
SKU编码
'
,
dataIndex
:
'
id
'
,
width
:
200
,
align
:
'
center
'
,
},
...
specArr
,
...
specArr
,
{
{
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