|
@@ -262,7 +262,13 @@ export default {
|
|
|
dataIndex: 'index',
|
|
|
key: 'index',
|
|
|
fixed: 'left',
|
|
|
- customRender: (text, record, index) => `${index + 1}`,
|
|
|
+ customRender: (text, record, index) =>{
|
|
|
+ if(record.goodsName!=='合计'){
|
|
|
+ return index + 1
|
|
|
+ }else{
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{ title: '货物名称', width: 200, dataIndex: 'goodsName', fixed: 'left', className: 'replacecolor' },
|