修改bug
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user