商品表优化

This commit is contained in:
liu
2026-08-05 14:10:20 +08:00
parent 38338a8833
commit dfa471bf22
9 changed files with 54 additions and 14 deletions
+8 -7
View File
@@ -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 (