Commit 6b577263 authored by wzy's avatar wzy

fix: 查看上游弹窗序号

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