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
1c90ec04
Commit
1c90ec04
authored
Oct 24, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改编辑服务商品 库存不可单独设置问题
parent
b8406b3f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
index.jsx
src/pages/GoodsManage/createModal/index.jsx
+4
-4
style.less
src/pages/GoodsManage/style.less
+0
-3
EditFormTable.jsx
src/pages/ServiceGoods/components/EditFormTable.jsx
+0
-1
config.js
src/pages/ServiceGoods/config.js
+1
-1
No files found.
src/pages/GoodsManage/createModal/index.jsx
View file @
1c90ec04
...
...
@@ -1020,7 +1020,7 @@ class goodsManage extends Component {
value=
{
k
}
disabled
placeholder=
"请输入规格名称"
style=
{
{
width
:
'
15%
'
,
margin
:
5
}
}
style=
{
{
width
:
'
15%
'
,
margin
:
'
5px 5px 28px 5px
'
}
}
/>
),
)
}
...
...
@@ -1051,7 +1051,7 @@ class goodsManage extends Component {
)
:
null
}
</
FormItem
>
))
}
<
FormItem
className=
{
styles
.
delMargin
}
>
<
FormItem
>
<
Button
type=
"dashed"
disabled=
{
isJDGoods
}
...
...
@@ -1096,7 +1096,7 @@ class goodsManage extends Component {
value=
{
k
}
disabled
placeholder=
"请输入规格名称"
style=
{
{
width
:
'
15%
'
,
margin
:
5
}
}
style=
{
{
width
:
'
15%
'
,
margin
:
'
5px 5px 28px 5px
'
}
}
/>
))
}
{
secondKeys
.
map
(
k
=>
(
...
...
@@ -1114,7 +1114,7 @@ class goodsManage extends Component {
)
:
null
}
</
FormItem
>
))
}
<
FormItem
className=
{
styles
.
delMargin
}
>
<
FormItem
>
<
Button
type=
"dashed"
onClick=
{
()
=>
this
.
add
(
'
secondKeys
'
)
}
...
...
src/pages/GoodsManage/style.less
View file @
1c90ec04
...
...
@@ -126,6 +126,3 @@
.attrboxMore {
max-height: max-content;
}
.delMargin {
margin-bottom: 0 !important;
}
src/pages/ServiceGoods/components/EditFormTable.jsx
View file @
1c90ec04
...
...
@@ -172,7 +172,6 @@ const EditFormTable = forwardRef((props, ref) => {
return
(
<>
<
Form
form=
{
form
}
scrollToFirstError
component=
{
false
}
>
{
/* <Button onClick={onCheck}>测试</Button> */
}
<
EditableContext
.
Provider
value=
{
form
}
>
<
Table
scroll=
{
{
y
:
300
,
x
:
1000
}
}
...
...
src/pages/ServiceGoods/config.js
View file @
1c90ec04
...
...
@@ -236,7 +236,7 @@ export const StaticColumns = customer => [
min
:
0
,
},
roleRules
:
{
required
:
true
},
disabeldRender
:
()
=>
customer
.
isService
,
disabeldRender
:
v
=>
v
.
id
&&
customer
.
isService
,
},
{
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