fzq #31

Closed
fanzhiqin wants to merge 215 commits from fzq into test
Showing only changes of commit 31f496cc13 - Show all commits

View File

@ -185,7 +185,7 @@ export default {
calcMaxHeight, calcMaxHeight,
timeType: 'range', timeType: 'range',
currentLine: null, currentLine: null,
rawTime: null, rawTime: new Date(),
dataForm: { dataForm: {
wsId: null, wsId: null,
productlines: [], productlines: [],
@ -263,10 +263,11 @@ export default {
/** set default */ /** set default */
if (this.wsList.length) { if (this.wsList.length) {
this.dataForm.wsId = this.wsList[0].id this.dataForm.wsId = this.wsList[0].id
} else {
this.dataForm.wsId = null
} }
} else { } else {
this.wsList.splice(0) this.wsList.splice(0)
this.dataForm.wsId = '' // <== ...
} }
}) })
}, },
@ -352,7 +353,6 @@ export default {
}) })
}, },
handleProductLineChange(val) { handleProductLineChange(val) {
console.log('handleProductLineChange', this.dataForm.productlines)
this.getWorksetionList() this.getWorksetionList()
}, },
// //