|
@@ -604,7 +604,7 @@ import upload from '@/components/upload.vue';
|
|
|
this.$api.msg('质检员姓名输入错误')
|
|
|
return
|
|
|
}
|
|
|
- if(this.list.protein&&this.list.protein<1||this.list.protein&&this.list.protein>80){
|
|
|
+ if(this.list.protein&&this.list.protein<0||this.list.protein&&this.list.protein>80){
|
|
|
this.$api.msg('蛋白占比输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -614,7 +614,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.waterContent&&this.list.waterContent<1||this.list.waterContent&&this.list.waterContent>40){
|
|
|
+ if(this.list.waterContent&&this.list.waterContent<0||this.list.waterContent&&this.list.waterContent>40){
|
|
|
this.$api.msg('水分输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -624,7 +624,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.bulkDensity&&this.list.bulkDensity<500||this.list.bulkDensity&&this.list.bulkDensity>1000){
|
|
|
+ if(this.list.bulkDensity&&this.list.bulkDensity<0||this.list.bulkDensity&&this.list.bulkDensity>1000){
|
|
|
this.$api.msg('容重输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -634,7 +634,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.jiaorenli&&this.list.jiaorenli<1||this.list.jiaorenli&&this.list.jiaorenli>40){
|
|
|
+ if(this.list.jiaorenli&&this.list.jiaorenli<0||this.list.jiaorenli&&this.list.jiaorenli>40){
|
|
|
this.$api.msg('热损伤输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -644,7 +644,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.impurity&&this.list.impurity<1||this.list.impurity&&this.list.impurity>40){
|
|
|
+ if(this.list.impurity&&this.list.impurity<0||this.list.impurity&&this.list.impurity>40){
|
|
|
this.$api.msg('杂质输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -654,7 +654,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.mildewGrain&&this.list.mildewGrain<1||this.list.mildewGrain&&this.list.mildewGrain>40){
|
|
|
+ if(this.list.mildewGrain&&this.list.mildewGrain<0||this.list.mildewGrain&&this.list.mildewGrain>40){
|
|
|
this.$api.msg('霉变粒输入错误')
|
|
|
return
|
|
|
}
|
|
@@ -664,7 +664,7 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.list.imperfectGrain&&this.list.imperfectGrain<1||this.list.imperfectGrain&&this.list.imperfectGrain>40){
|
|
|
+ if(this.list.imperfectGrain&&this.list.imperfectGrain<0||this.list.imperfectGrain&&this.list.imperfectGrain>40){
|
|
|
this.$api.msg('不完整粒输入错误')
|
|
|
return
|
|
|
}
|