clear machine

This commit is contained in:
chenjianan
2019-05-04 12:09:51 +08:00
parent 89819186aa
commit de0ad780ca

View File

@@ -401,10 +401,8 @@ export default {
}) })
}, },
typeChange() { typeChange() {
if (this.projectValue === '' || this.projectValue === null) {
this.toolNumValue = '' this.toolNumValue = ''
this.toolNum = [] this.toolNum = []
} else {
getToolNum(1, this.projectValue).then(response => { getToolNum(1, this.projectValue).then(response => {
for (let i = 0; i < response.data.length; i++) { for (let i = 0; i < response.data.length; i++) {
this.toolNum.push({ this.toolNum.push({
@@ -413,10 +411,8 @@ export default {
}) })
} }
}) })
}
}, },
groupChange(row, index) { groupChange(row, index) {
console.log(row.组件流水号)
if (row.组件流水号 !== '') { if (row.组件流水号 !== '') {
searchgroupName(row.组件流水号).then(response => { searchgroupName(row.组件流水号).then(response => {
console.log(response.data) console.log(response.data)