Howie пре 1 година
родитељ
комит
939fa6ec47
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/commercialEngineering/mixin/index.js

+ 1 - 1
src/views/commercialEngineering/mixin/index.js

@@ -238,7 +238,7 @@ export default {
       console.log(this.formData.items)
       const bol =  this.formData.items.every(k=>!['', null, undefined,0, '0'].includes(k.qty))
       if (!bol) {
-          this.$errorMsg('机型信息数量不能为空')
+          this.$errorMsg('机型信息数量不能为空并且不能小于1')
       }
       return  bol
     }