This commit is contained in:
2022-09-02 11:33:34 +08:00
parent 744f288b70
commit 12556886b9
33 changed files with 280 additions and 254 deletions

View File

@@ -126,10 +126,10 @@ export default {
this.tableProps.push({
label: moment(obj.recordTime).format('YYYY-MM-DD HH:mm:ss'),
children: [
{ prop: obj.recordTime + '-inputNum', label: '进数据' },
{ prop: obj.recordTime + '-outputNum', label: '出数据' },
{ prop: obj.recordTime + '-scrapNum', label: '报废数据' },
{ prop: obj.recordTime + '-scrapRate', label: '报废比例' }
{ prop: obj.recordTime + '-inputNum', label: i18n.t('realtime.in') },
{ prop: obj.recordTime + '-outputNum', label: i18n.t('realtime.out') },
{ prop: obj.recordTime + '-scrapNum', label: i18n.t('realtime.data') },
{ prop: obj.recordTime + '-scrapRate', label: i18n.t('realtime.rate') }
]
})
}
@@ -176,7 +176,7 @@ export default {
const staticTableProps = [
{ prop: 'lineName', label: i18n.t('pl.title'), fixed: true },
{ prop: 'equName', label: i18n.t('equipment'), fixed: true },
{ prop: 'totalProduction', label: '总产量', fixed: true }
{ prop: 'totalProduction', label: i18n.t('realtime.total'), fixed: true }
]
this.tableProps = staticTableProps
},