|
@@ -82,14 +82,9 @@ export default {
|
|
|
console.error('数据处理失败:', error)
|
|
console.error('数据处理失败:', error)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
formatRowData(item) {
|
|
formatRowData(item) {
|
|
|
- const hasRemark1 = item.v_remark1 && item.v_remark1.trim() !== ""
|
|
|
|
|
- const isProcessing = item.v_blstatus === '加工中'
|
|
|
|
|
-
|
|
|
|
|
- const rowClass = hasRemark1 ? 'colorRed' :
|
|
|
|
|
- isProcessing ? 'colorRemind' : 'colorGrass'
|
|
|
|
|
-
|
|
|
|
|
|
|
+ const rowClass = item.v_remark1 && item.v_remark1 !== "" ? 'colorRed' :
|
|
|
|
|
+ item.v_blstatus == '加工中' ? 'colorRemind' : item.v_blstatus == '已完成'?'colorGrass':'colorY';
|
|
|
return [
|
|
return [
|
|
|
this.createCell(item.v_licode, rowClass),
|
|
this.createCell(item.v_licode, rowClass),
|
|
|
this.createCell(item.v_sacode, rowClass),
|
|
this.createCell(item.v_sacode, rowClass),
|
|
@@ -100,9 +95,9 @@ export default {
|
|
|
this.createCell(item.v_planoutqty, rowClass),
|
|
this.createCell(item.v_planoutqty, rowClass),
|
|
|
this.createCell(item.v_madeqty, rowClass),
|
|
this.createCell(item.v_madeqty, rowClass),
|
|
|
this.createCell(item.v_madejd, rowClass),
|
|
this.createCell(item.v_madejd, rowClass),
|
|
|
- this.createCell(item.v_remark, hasRemark1 ? 'colorRed' : 'colorRemind'),
|
|
|
|
|
|
|
+ this.createCell(item.v_remark, rowClass),
|
|
|
this.createCell(item.v_remark1, rowClass),
|
|
this.createCell(item.v_remark1, rowClass),
|
|
|
- this.createCell(item.v_yc, hasRemark1 ? 'colorRed' : 'colorRemind')
|
|
|
|
|
|
|
+ this.createCell(item.v_yc, rowClass)
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
|
|
|