修改bug
This commit is contained in:
parent
8395f37371
commit
196a615f61
@ -906,30 +906,6 @@ export default {
|
||||
prop: 'value' + i
|
||||
})
|
||||
})
|
||||
res.data.list.forEach((ele, index) => {
|
||||
let i = index + 1
|
||||
let m = 'value' + i
|
||||
ele.productionSituationDataVOList.forEach((item) => {
|
||||
this.dataArr[0]['' + m + ''] = item.ftoInput
|
||||
this.dataArr[0].factory = item.factory == 1 ? '邯郸' : '瑞昌'
|
||||
this.dataArr[1].factory = item.factory == 1 ? '邯郸' : '瑞昌'
|
||||
this.dataArr[2].factory = item.factory == 1 ? '邯郸' : '瑞昌'
|
||||
// this.dataArr[3].factory = item.factory == 1 ? '邯郸' : '瑞昌'
|
||||
this.dataArr[1]['' + m + ''] = item.chipYield
|
||||
this.dataArr[2]['' + m + ''] = item.componentYield
|
||||
// this.dataArr[3]['' + m + ''] = item.bipvProductOutput
|
||||
if (this.dataArr[3]) {
|
||||
this.dataArr[3].factory = item.factory == 1 ? '邯郸' : '瑞昌'
|
||||
this.dataArr[3]['' + m + ''] = item.bipvProductOutput
|
||||
}
|
||||
})
|
||||
// ele.titleValue
|
||||
// .push({
|
||||
// label: ele.titleValue,
|
||||
// props: 'value' + index + 1,
|
||||
// })
|
||||
})
|
||||
|
||||
// res.data.list.forEach((ele) => {
|
||||
res.data.list.slice(0, res.data.list.length - 1).forEach((ele, index) => {
|
||||
// let i = index + 1
|
||||
|
Loading…
Reference in New Issue
Block a user