소스 검색

生成委外维修单必填项

duanxiaoduan 1 년 전
부모
커밋
d2e3e7d64b
2개의 변경된 파일16개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 16 3
      src/views/maintenance/repair/index.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.