添加市场

This commit is contained in:
liu
2026-08-20 15:39:39 +08:00
parent cd7007bc49
commit 22237a47e7
20 changed files with 134 additions and 239 deletions
+13 -1
View File
@@ -401,6 +401,18 @@ const ProductGoodsPage: React.FC = () => {
},
render: (_, record) => record.supplier?.name ?? '-',
},
{
title: '市场',
dataIndex: 'market',
valueType: 'text',
align: 'center',
fieldProps: {
placeholder: '市场名称,如:新发地',
maxLength: 50,
allowClear: true,
},
render: (_, record) => record.market || '-',
},
{
title: '状态',
dataIndex: 'status',
@@ -552,7 +564,7 @@ const ProductGoodsPage: React.FC = () => {
>
<div className="mb-3">
<Text type="secondary">
列格式:品名*、分类*(末级分类,支持「父分类/子分类」路径)、供应商(不存在自动创建)、
列格式:品名*、分类*(末级分类,支持「父分类/子分类」路径)、供应商(不存在自动创建)、市场、
规格/包规、单位(默认斤)、成本价、排序、库存、保质期、状态(上架/下架)、备注。
导入一律新增商品;整表校验,任何一行有错则全部不导入。
</Text>