修改作业计划查询

增加工序完成变绿,保持全部完成后整行变绿
取消红色显示,根据后续功能再进行调整
master
董哲奇 1 week ago
parent 2a30820b1a
commit f8656f7784

@ -898,22 +898,34 @@ export default {
} }
}else { }else {
if (column.field === 'slCount') { if (column.field === 'slCount') {
if (row.slCount > '0' && row.slCount<row.slxhthCount && row.sljhrq<this.dateTime) { if (row.slCount > '0' && row.slCount===row.slxhthCount) {
return { return {
backgroundColor: '#FF0000FF', backgroundColor: 'rgba(165,255,40,0.71)',
color: '#fff',
cursor: 'pointer' cursor: 'pointer'
} }
} }
// if (row.slCount > '0' && row.slCount<row.slxhthCount && row.sljhrq<this.dateTime) {
// return {
// backgroundColor: '#FF0000FF',
// color: '#fff',
// cursor: 'pointer'
// }
// }
} }
if (column.field === 'pwCount') { if (column.field === 'pwCount') {
if (row.pwCount > '0' && row.pwCount<row.slxhthCount && this.dateTime>row.pwjhrq) { if (row.pwCount > '0' && row.pwCount===row.slxhthCount) {
return { return {
backgroundColor: '#FF0000FF', backgroundColor: 'rgba(165,255,40,0.71)',
color: '#fff',
cursor: 'pointer' cursor: 'pointer'
} }
} }
// if (row.pwCount > '0' && row.pwCount<row.slxhthCount && this.dateTime>row.pwjhrq) {
// return {
// backgroundColor: '#FF0000FF',
// color: '#fff',
// cursor: 'pointer'
// }
// }
} }
// if (column.field === 'llCount') { // if (column.field === 'llCount') {
// if (row.llCount > '0' && row.llCount<row.slxhthCount && this.dateTime>row.hxjhrq) { // if (row.llCount > '0' && row.llCount<row.slxhthCount && this.dateTime>row.hxjhrq) {
@ -925,22 +937,34 @@ export default {
// } // }
// } // }
if (column.field === 'hxCount') { if (column.field === 'hxCount') {
if (row.hxCount > '0' && row.hxCount<row.slxhthCount && this.dateTime>row.hxjhrq) { if (row.hxCount > '0' && row.hxCount===row.slxhthCount) {
return { return {
backgroundColor: '#FF0000FF', backgroundColor: 'rgba(165,255,40,0.71)',
color: '#fff',
cursor: 'pointer' cursor: 'pointer'
} }
} }
// if (row.hxCount > '0' && row.hxCount<row.slxhthCount && this.dateTime>row.hxjhrq) {
// return {
// backgroundColor: '#FF0000FF',
// color: '#fff',
// cursor: 'pointer'
// }
// }
} }
if (column.field === 'qgCount') { if (column.field === 'qgCount') {
if (row.qgCount > '0' && row.qgCount<row.slxhthCount && this.dateTime>row.qgjhrq) { if (row.qgCount > '0' && row.qgCount===row.slxhthCount) {
return { return {
backgroundColor: '#FF0000FF', backgroundColor: 'rgba(165,255,40,0.71)',
color: '#fff',
cursor: 'pointer' cursor: 'pointer'
} }
} }
// if (row.qgCount > '0' && row.qgCount<row.slxhthCount && this.dateTime>row.qgjhrq) {
// return {
// backgroundColor: '#FF0000FF',
// color: '#fff',
// cursor: 'pointer'
// }
// }
} }
return null return null
} }

Loading…
Cancel
Save