|
@@ -348,7 +348,12 @@ export default {
|
348
|
348
|
})
|
349
|
349
|
},
|
350
|
350
|
saveInspection(formName){
|
351
|
|
-
|
|
351
|
+ if(this.form.min_range == ""){
|
|
352
|
+ this.form.min_range = "0"
|
|
353
|
+ }
|
|
354
|
+ if(this.form.large_range == ""){
|
|
355
|
+ this.form.large_range = "0"
|
|
356
|
+ }
|
352
|
357
|
this.$refs[formName].validate(valid=>{
|
353
|
358
|
if(valid){
|
354
|
359
|
saveConfiguration(this.form).then(response=>{
|
|
@@ -401,7 +406,7 @@ export default {
|
401
|
406
|
if(response.data.state == 1){
|
402
|
407
|
var minor = response.data.data.minor
|
403
|
408
|
this.InspectionMinorTwo = minor
|
404
|
|
- //console.log("minor",minor)
|
|
409
|
+ console.log("minor",minor)
|
405
|
410
|
}
|
406
|
411
|
})
|
407
|
412
|
},
|