Parcourir la source

Merge branch 'master' into feature/split_special_subscription

duanxiaoduan il y a 1 an
Parent
commit
999dcbeb02
2 fichiers modifiés avec 16 ajouts et 3 suppressions
  1. 0 0
      dist/index.html
  2. 16 3
      src/views/maintenance/repair/index.vue

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/index.html


+ 16 - 3
src/views/maintenance/repair/index.vue

@@ -2475,9 +2475,22 @@ export default {
               return false
             }
           }
-
-
-
+          if (this.listAddCont[j].providerName == null || this.listAddCont[j].providerName === '') {
+            this.$message({ type: 'warning', message: '请检查供应商是否未填写', duration: 2000 })
+            return false
+          }
+          if (this.listAddCont[j].eqCode == null || this.listAddCont[j].eqCode === '') {
+            this.$message({ type: 'warning', message: '请检查设备名称是否未填写', duration: 2000 })
+            return false
+          }
+          if (this.listAddCont[j].eqName == null || this.listAddCont[j].eqName === '') {
+            this.$message({ type: 'warning', message: '请检查设备内部编号是否未填写', duration: 2000 })
+            return false
+          }
+          if (this.listAddCont[j].typea == null || this.listAddCont[j].typea === '') {
+            this.$message({ type: 'warning', message: '请检查费用类型是否未填写', duration: 2000 })
+            return false
+          }
 
         }
         var amount = 0

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff