Compare commits

...

3 Commits

Author SHA1 Message Date
7a98ee1d0c Merge pull request 'projects/mesxc-dy' (#191) from projects/mesxc-dy into projects/mesxc-test
Reviewed-on: #191
2024-01-26 09:33:12 +08:00
helloDy
62f1901c72 Merge branch 'projects/mesxc-test' into projects/mesxc-dy 2024-01-26 09:25:32 +08:00
helloDy
59c62fcb9c 24h 2024-01-26 09:24:54 +08:00
2 changed files with 861 additions and 804 deletions

View File

@ -120,8 +120,12 @@ export default {
lineData['proLineName'] = item[0].lineName
let works = [], specs = []
item.forEach(it => {
if (it.workOrderName) {
works.push(it.workOrderName)
}
if (it.specifications) {
specs.push(it.specifications)
}
lineData[it.recordTime + '_up'] = it.inputNum
lineData[it.recordTime + '_down'] = it.outputNum
lineData[it.recordTime + '_area'] = it.area
@ -140,8 +144,8 @@ export default {
}
})
}
lineData['workOrderName'] = works.join(',')
lineData['spec'] = specs.join(',')
lineData['workOrderName'] = Array.from(new Set(works)).join(',')
lineData['spec'] = Array.from(new Set(specs)).join(',')
this.tableData.push(lineData)
})
console.log('打印', this.tableData)

1653
yarn.lock

File diff suppressed because it is too large Load Diff