提交 267240fc 作者: 龚洪江

功能:产品配置价格,商品,租赁新增编辑产品调整

上级 7ae3673b
......@@ -37,12 +37,6 @@ const StockSku: React.FC<selfProps> = ({
render: (_text: string, _record: specEntity, index: number) => index + 1,
},
{
title: `产品类型`,
align: 'center',
dataIndex: 'categoryId',
render: (text: string) => <div>{getGoodsTypeName(text)}</div>,
},
{
title: '规格名称',
align: 'center',
dataIndex: 'goodsSpecName',
......@@ -126,11 +120,6 @@ const StockSku: React.FC<selfProps> = ({
const getSelfSpecName = (obj: customizeEntity) => {
return `${obj.specName}(${obj.partNo || ''})`;
};
// 行业或产品名称
const getGoodsTypeName = (id: number | string) => {
const obj = categoryList.find((i) => i.id === id);
return obj?.classifyName;
};
// 单位名称
const getSkuUnitName = (id: number) => {
const unitObj = skuUnitList.find((i) => i.id === id);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论