lb #3
@@ -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()
 | 
			
		||||
		},
 | 
			
		||||
		// 每页数
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user