Commit 1c90ec04 authored by 武广's avatar 武广

fix: 修改编辑服务商品 库存不可单独设置问题

parent b8406b3f
......@@ -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')}
......
......@@ -126,6 +126,3 @@
.attrboxMore {
max-height: max-content;
}
.delMargin {
margin-bottom: 0 !important;
}
......@@ -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 }}
......
......@@ -236,7 +236,7 @@ export const StaticColumns = customer => [
min: 0,
},
roleRules: { required: true },
disabeldRender: () => customer.isService,
disabeldRender: v => v.id && customer.isService,
},
{
title: '库存预警',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment