修改bug

This commit is contained in:
‘937886381’
2024-03-08 16:20:03 +08:00
parent a81f961aca
commit 2e214b52a6
11 changed files with 46 additions and 27 deletions

View File

@@ -56,7 +56,8 @@ export default {
},
created() {
this.getCurrentMonthFirst()
this.getDict()
this.getDict()
this.getDataList()
},
methods: {
async getDict() {
@@ -79,7 +80,10 @@ export default {
this.tableData = response.data.filter(item => {
this.proLineList.forEach(it => {
if (item.lineId === it.id) {
item.lineName = it.name
item.lineName = it.name
item.originalGlassStatisticsTrend = item.originalGlassStatisticsTrend ? this.multipliedByHundred(item.originalGlassStatisticsTrend) + '%' : null
item.actualProductTrend = item.actualProductTrend ? this.multipliedByHundred(item.actualProductTrend) + '%' : null
item.originalGlassPassTrend = item.originalGlassPassTrend ? this.multipliedByHundred(item.originalGlassPassTrend) * 100 + '%' : null
}
})
if (item.det === false) {