clear machine
This commit is contained in:
@@ -401,22 +401,18 @@ export default {
|
||||
})
|
||||
},
|
||||
typeChange() {
|
||||
if (this.projectValue === '' || this.projectValue === null) {
|
||||
this.toolNumValue = ''
|
||||
this.toolNum = []
|
||||
} else {
|
||||
getToolNum(1, this.projectValue).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.toolNum.push({
|
||||
label: response.data[i].机床图号,
|
||||
value: response.data[i].机床流水号
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
this.toolNumValue = ''
|
||||
this.toolNum = []
|
||||
getToolNum(1, this.projectValue).then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.toolNum.push({
|
||||
label: response.data[i].机床图号,
|
||||
value: response.data[i].机床流水号
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
groupChange(row, index) {
|
||||
console.log(row.组件流水号)
|
||||
if (row.组件流水号 !== '') {
|
||||
searchgroupName(row.组件流水号).then(response => {
|
||||
console.log(response.data)
|
||||
|
||||
Reference in New Issue
Block a user