|
|
@@ -84,16 +84,16 @@ export default {
|
|
|
},
|
|
|
formatRowData(item) {
|
|
|
const rowClass = 'colorGrass';
|
|
|
+ const rowClass1 = 'colorRed';
|
|
|
return [
|
|
|
this.createCell(item.v_wccode, rowClass),
|
|
|
this.createCell(item.v_planqty, rowClass),
|
|
|
this.createCell(item.v_madeqty, rowClass),
|
|
|
- this.createCell(item.v_rate, rowClass),
|
|
|
+ this.createCell(item.v_rate, item.getratestatus=='max'?rowClass1:rowClass),
|
|
|
this.createCell(item.v_ngqty, rowClass),
|
|
|
- this.createCell(item.v_okrate, rowClass)
|
|
|
+ this.createCell(item.v_okrate, item.okratestatus=='max'?rowClass1:rowClass)
|
|
|
]
|
|
|
},
|
|
|
-
|
|
|
createCell(content, className) {
|
|
|
return `<span class="${className} fs-xxl">${content}</span>`
|
|
|
}
|