工时查询备注

This commit is contained in:
Vergil
2020-05-22 11:19:31 +08:00
parent 9be39bbd60
commit 4102840f00
2 changed files with 16 additions and 6 deletions

View File

@@ -594,7 +594,8 @@ export default {
this.tableData5 = response.data
})
},
SearchMachine() { // 查询机床
// 查询机床
SearchMachine() {
searchmachine().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.Machines.push({
@@ -605,7 +606,8 @@ export default {
}
})
},
searchGroupList() { // 查询组号
// 查询组号
searchGroupList() {
this.Group = ''
this.Groups = []
searchgroup(this.Machine).then(response => {
@@ -627,7 +629,8 @@ export default {
this.searchTable2()
}
},
searchTable0() { // 查询标准件
// 查询标准件
searchTable0() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0
@@ -636,7 +639,8 @@ export default {
this.total00 = response.data.total
})
},
searchTable1() { // 查询外购件
// 查询外购件
searchTable1() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0
@@ -645,7 +649,8 @@ export default {
this.total01 = response.data.total
})
},
searchTable2() { // 查询基本件
// 查询基本件
searchTable2() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0