|
|
|
@ -1011,7 +1011,7 @@ |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 50 |
|
|
|
columnWidth: 60 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -1798,7 +1798,8 @@ |
|
|
|
this.totalPage = data.page.totalCount |
|
|
|
if(this.dataList.length>0){ |
|
|
|
this.dataList.forEach(o => { |
|
|
|
o.modifyLabel = !!o.modifyFlag?'是':''; |
|
|
|
// 显示改单次数,如:改单(1)、改单(2) |
|
|
|
o.modifyLabel = !!o.modifyFlag ? (o.modifyCount>1 ? '改单(' + o.modifyCount + ')' : '改单(1)') : ''; |
|
|
|
}); |
|
|
|
|
|
|
|
// 使用 $nextTick 确保 DOM 渲染完成后再设置选中行 |
|
|
|
@ -2072,7 +2073,8 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
cellStyle({row, column }) { |
|
|
|
if (column.property === 'modifyLabel' && row.modifyLabel==='是') { // 根据列属性判断 |
|
|
|
// 改单列显示橙色:只要modifyFlag为true就显示橙色 |
|
|
|
if (column.property === 'modifyLabel' && row.modifyFlag===true) { |
|
|
|
return { color: '#ff5d03' }; |
|
|
|
} |
|
|
|
return {}; |
|
|
|
|