forked from mt-fe-group/mt-yd-ui
update 设备状态时序图产线工段关联
This commit is contained in:
parent
399589bb3b
commit
31f496cc13
@ -185,7 +185,7 @@ export default {
|
||||
calcMaxHeight,
|
||||
timeType: 'range',
|
||||
currentLine: null,
|
||||
rawTime: null,
|
||||
rawTime: new Date(),
|
||||
dataForm: {
|
||||
wsId: null,
|
||||
productlines: [],
|
||||
@ -263,10 +263,11 @@ export default {
|
||||
/** set default */
|
||||
if (this.wsList.length) {
|
||||
this.dataForm.wsId = this.wsList[0].id
|
||||
} else {
|
||||
this.dataForm.wsId = null
|
||||
}
|
||||
} else {
|
||||
this.wsList.splice(0)
|
||||
this.dataForm.wsId = '' // <== 不起作用...
|
||||
}
|
||||
})
|
||||
},
|
||||
@ -352,7 +353,6 @@ export default {
|
||||
})
|
||||
},
|
||||
handleProductLineChange(val) {
|
||||
console.log('handleProductLineChange', this.dataForm.productlines)
|
||||
this.getWorksetionList()
|
||||
},
|
||||
// 每页数
|
||||
|
Loading…
Reference in New Issue
Block a user