2
3
lining 6 жил өмнө
parent
commit
2cf17358ab

+ 14 - 13
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/goodsdataopera.vue

@@ -801,19 +801,20 @@ import uploadajax from '@/assets/js//uploadajax.js'
         }
       },
       commitfenban () {
-        if (this.subfileList && this.subfileList.length > 0) {
-          for (var i = 0; i < this.subfileList.length; i++) {
-            if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
-              this.$message({
-                type: 'warning',
-                message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
-              })
-              return
-            }
-          }
-        } else {
-          this.ComAuditdialogShow = true
-        }
+        this.ComAuditdialogShow = true
+        // if (this.subfileList && this.subfileList.length > 0) {
+        //   for (var i = 0; i < this.subfileList.length; i++) {
+        //     if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
+        //       this.$message({
+        //         type: 'warning',
+        //         message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
+        //       })
+        //       return
+        //     }
+        //   }
+        // } else {
+        //   this.ComAuditdialogShow = true
+        // }
       },
 
       // 根据分类Id获取Code

+ 14 - 13
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/techdataopera.vue

@@ -841,19 +841,20 @@ import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
         }
       },
       commitfenban () {
-        if (this.subfileList && this.subfileList.length > 0) {
-          for (var i = 0; i < this.subfileList.length; i++) {
-            if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
-              this.$message({
-                type: 'warning',
-                message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
-              })
-              return
-            }
-          }
-        } else {
-          this.ComAuditdialogShow = true
-        }
+        this.ComAuditdialogShow = true
+        // if (this.subfileList && this.subfileList.length > 0) {
+        //   for (var i = 0; i < this.subfileList.length; i++) {
+        //     if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
+        //       this.$message({
+        //         type: 'warning',
+        //         message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
+        //       })
+        //       return
+        //     }
+        //   }
+        // } else {
+        //   this.ComAuditdialogShow = true
+        // }
       },
       makesure () {
         if (this.$refs.refuploadattach.uploadFiles && this.$refs.refuploadattach.uploadFiles.length > 0) {