Merge branch 'projects/mes-test' of git.picaiba.com:mt-fe-group/yudao-dev into projects/mes-test

This commit is contained in:
gtz 2023-11-17 10:38:35 +08:00
commit 9cffa01414
2 changed files with 15 additions and 12 deletions

View File

@ -424,6 +424,7 @@ export default {
// //
form: { form: {
id: null, id: null,
files: []
}, },
showUploadComponents: false, // showUploadComponents: false, //
}; };
@ -506,6 +507,7 @@ export default {
spec: undefined, spec: undefined,
description: undefined, description: undefined,
remark: undefined, remark: undefined,
files: []
}; };
this.resetForm('form'); this.resetForm('form');
}, },

View File

@ -127,8 +127,8 @@ export default {
lineData[it.recordTime + '_area'] = it.area lineData[it.recordTime + '_area'] = it.area
}) })
console.log('你好', this.monitorList) console.log('你好', this.monitorList)
if (this.monitorList.length > 0) {
this.monitorList.forEach(m => { this.monitorList.forEach(m => {
console.log('455', m)
if (m.lineName === lineData.proLineName) { if (m.lineName === lineData.proLineName) {
m.data.forEach(bad => { m.data.forEach(bad => {
// //
@ -139,6 +139,7 @@ export default {
}) })
} }
}) })
}
lineData['workOrderName'] = works.join(',') lineData['workOrderName'] = works.join(',')
lineData['spec'] = specs.join(',') lineData['spec'] = specs.join(',')
this.tableData.push(lineData) this.tableData.push(lineData)