projects/mesxc-dy #191

병합
gtz217 projects/mesxc-dy 에서 projects/mesxc-test 로 2 commits 를 머지했습니다 2024-01-26 09:33:12 +08:00
2개의 변경된 파일861개의 추가작업 그리고 804개의 파일을 삭제
Showing only changes of commit 59c62fcb9c - Show all commits

파일 보기

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

1653
yarn.lock

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff