Commit 6b577263 authored by wzy's avatar wzy

fix: 查看上游弹窗序号

parent 2a684f5f
......@@ -130,8 +130,9 @@ export const ProductView = props => {
const columns = [
{
title: getIntl().formatMessage({ id: 'commodity.products.xuhao' }),
dataIndex: 'num',
key: 'num',
// dataIndex: 'num',
// key: 'num',
render:(_text,_record,index)=> `${index+1}`,
},
{
title: getIntl().formatMessage({
......@@ -260,7 +261,7 @@ export const ProductView = props => {
}}
fetchTableData={(params: any) => fetchData(params)}
/> */}
<Table dataSource={dataSource} columns={columns} />
<Table dataSource={dataSource} columns={columns} rowKey="id"/>
</Modal>
);
};
......
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