综合查询loading
This commit is contained in:
@@ -146,6 +146,7 @@
|
||||
<el-autocomplete
|
||||
v-model="searchCriteria"
|
||||
:fetch-suggestions="querySearch"
|
||||
:disabled="loading0"
|
||||
clearable
|
||||
style="width: 200px;margin-left: 10px"
|
||||
size="small"
|
||||
@@ -154,6 +155,7 @@
|
||||
@clear="clearMachine"
|
||||
@select="SearchMachine"/>
|
||||
<el-table
|
||||
v-loading="loading0"
|
||||
:data="tableDataDiv0"
|
||||
height="340"
|
||||
style="width: 100%;min-height: 300px;"
|
||||
@@ -1979,6 +1981,7 @@ export default {
|
||||
showDiv22: false,
|
||||
valueDiv1: null, // div1 客户评级
|
||||
maxDiv1: 6, // div1 客户评级最大值
|
||||
loading0: false,
|
||||
tableDataDiv0: [],
|
||||
tableDataDiv2: [],
|
||||
tableDataDiv3: [],
|
||||
@@ -2296,10 +2299,11 @@ export default {
|
||||
this.data2[0].冷作 = 0
|
||||
this.data2[0].油漆 = 0
|
||||
this.data2[0].装配质检 = 0
|
||||
this.machineValue ? this.check = 1 : this.check = 0
|
||||
searchMachine(this.check, this.machineValue).then(response => {
|
||||
this.tableDataDiv0 = response.data
|
||||
})
|
||||
this.SearchMachine1()
|
||||
// this.machineValue ? this.check = 1 : this.check = 0
|
||||
// searchMachine(this.check, this.machineValue).then(response => {
|
||||
// this.tableDataDiv0 = response.data
|
||||
// })
|
||||
},
|
||||
// 机床名称查询函数
|
||||
querySearch(queryString, cb) {
|
||||
@@ -2333,8 +2337,10 @@ export default {
|
||||
},
|
||||
SearchMachine1() {
|
||||
this.machineValue ? this.check = 1 : this.check = 0
|
||||
this.loading0 = true
|
||||
searchMachine(this.check, this.machineValue).then(response => {
|
||||
this.tableDataDiv0 = response.data
|
||||
this.loading0 = false
|
||||
})
|
||||
},
|
||||
SearchMachine(item) {
|
||||
|
||||
Reference in New Issue
Block a user