Commit 9b2947cf9b8b594906f127cb205105c7b92a82f1
1 parent
14fcaf31
日报列表使用sslaveId
Showing
1 changed file
with
2 additions
and
1 deletions
src/mes/common/commonModelComponent/index.js
| @@ -2312,7 +2312,8 @@ const CommonTableComponent = props => { | @@ -2312,7 +2312,8 @@ const CommonTableComponent = props => { | ||
| 2312 | // }, | 2312 | // }, |
| 2313 | onTableBtnClick, | 2313 | onTableBtnClick, |
| 2314 | tableProps: { | 2314 | tableProps: { |
| 2315 | - onChange: () => { } | 2315 | + onChange: () => { }, |
| 2316 | + rowKey: baseProps?.config?.sId === "17091154460006421964039036672000" ? 'sSlaveId' : 'sId' | ||
| 2316 | // AutoTableHeight: 200 | 2317 | // AutoTableHeight: 200 |
| 2317 | }, | 2318 | }, |
| 2318 | onViewClick: (tableName, sFieldName, record, index, config) => { | 2319 | onViewClick: (tableName, sFieldName, record, index, config) => { |