商品表优化
This commit is contained in:
@@ -165,6 +165,10 @@ const ProductGoodsPage: React.FC = () => {
|
||||
title: '商品名称',
|
||||
dataIndex: 'name',
|
||||
valueType: 'text',
|
||||
colProps: { span: 24 },
|
||||
fieldProps: {
|
||||
styles: { input: { height: 52, fontSize: 22 } }
|
||||
},
|
||||
required: true,
|
||||
rules: [{ required: true, message: '请输入商品名称' }],
|
||||
},
|
||||
@@ -174,12 +178,6 @@ const ProductGoodsPage: React.FC = () => {
|
||||
valueType: 'text',
|
||||
hideInSearch: true,
|
||||
},
|
||||
{
|
||||
title: '等级',
|
||||
dataIndex: 'grade',
|
||||
valueType: 'text',
|
||||
hideInSearch: true,
|
||||
},
|
||||
{
|
||||
title: '单位',
|
||||
dataIndex: 'unit',
|
||||
@@ -347,7 +345,10 @@ const ProductGoodsPage: React.FC = () => {
|
||||
rowProps: { gutter: 20 },
|
||||
layout: 'vertical',
|
||||
},
|
||||
modalProps: { width: 800 },
|
||||
modalProps: {
|
||||
width: 800,
|
||||
styles: {container: {height: '80vh', overflowY: "auto" }}
|
||||
},
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user