|
@@ -915,7 +915,7 @@ export default {
|
|
|
this.isokDisable = true
|
|
|
setTimeout(() => {
|
|
|
this.isokDisable = false
|
|
|
- }, 1000)
|
|
|
+ }, 10000)
|
|
|
this.$refs['temp'].validate(valid => {
|
|
|
if (valid) {
|
|
|
if(this.temp.oilType){
|
|
@@ -965,6 +965,7 @@ export default {
|
|
|
duration: 2000
|
|
|
})
|
|
|
}
|
|
|
+ this.isokDisable = false
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -974,7 +975,7 @@ export default {
|
|
|
this.isokDisable = true
|
|
|
setTimeout(() => {
|
|
|
this.isokDisable = false
|
|
|
- }, 1000)
|
|
|
+ }, 10000)
|
|
|
|
|
|
this.$refs['temp'].validate(valid => {
|
|
|
if (valid) {
|
|
@@ -1026,6 +1027,7 @@ export default {
|
|
|
duration: 2000
|
|
|
})
|
|
|
}
|
|
|
+ this.isokDisable = false
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -1042,6 +1044,10 @@ export default {
|
|
|
|
|
|
// 修改加油信息
|
|
|
edit_dialog_save() {
|
|
|
+ this.isokDisable = true
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isokDisable = false
|
|
|
+ }, 10000)
|
|
|
this.$refs['temp'].validate(valid => {
|
|
|
if (valid) {
|
|
|
if(this.temp.oilType){
|
|
@@ -1084,6 +1090,7 @@ export default {
|
|
|
duration: 2000
|
|
|
})
|
|
|
}
|
|
|
+ this.isokDisable = false
|
|
|
})
|
|
|
}
|
|
|
})
|