fix bug
This commit is contained in:
@@ -210,6 +210,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.fetchData()
|
||||
this.searchTable()
|
||||
},
|
||||
methods: {
|
||||
fetchData() {
|
||||
@@ -267,7 +268,6 @@ export default {
|
||||
this.searchTable2()
|
||||
},
|
||||
searchTable1() { // 查询标准件和外购件
|
||||
this.total1 = 0
|
||||
let check1, check2
|
||||
this.machineNumberValue ? check1 = 1 : check1 = 0
|
||||
this.groupNumberValue ? check2 = 1 : check2 = 0
|
||||
@@ -277,7 +277,6 @@ export default {
|
||||
})
|
||||
},
|
||||
searchTable2() { // 查询基本件
|
||||
this.total2 = 0
|
||||
let check1, check2
|
||||
this.machineNumberValue ? check1 = 1 : check1 = 0
|
||||
this.groupNumberValue ? check2 = 1 : check2 = 0
|
||||
|
||||
Reference in New Issue
Block a user