Bläddra i källkod

前:下一步不判断员工数量问题

dubch 5 år sedan
förälder
incheckning
ba5713f2e9

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/auditoperation.vue

@@ -1638,6 +1638,20 @@ export default {
             })
             return
           }
+          if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术、管理人员数量不能大于员工总数!'
+            })
+            return
+          }
+          if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术工人总数不能大于员工总数!'
+            })
+            return
+          }
           if (!this.CheckCompanyBase()) {
             return
           }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/bassicoperation.vue

@@ -1883,6 +1883,20 @@ import apiCert from '@/api/oilsupplier/suppliercert'
             })
             return
           }
+          if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术、管理人员数量不能大于员工总数!'
+            })
+            return
+          }
+          if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术工人总数不能大于员工总数!'
+            })
+            return
+          }
           if (!this.CheckCompanyBase()) {
             return
           }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -1977,6 +1977,20 @@
             })
             return
           }
+          if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术、管理人员数量不能大于员工总数!'
+            })
+            return
+          }
+          if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术工人总数不能大于员工总数!'
+            })
+            return
+          }
           if (!this.CheckCompanyBase()) {
             return
           }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -1804,6 +1804,20 @@ import Viewer from 'v-viewer'
             })
             return
           }
+          if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术、管理人员数量不能大于员工总数!'
+            })
+            return
+          }
+          if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+            this.$message({
+              type: 'warning',
+              message: '技术工人总数不能大于员工总数!'
+            })
+            return
+          }
           if (!this.CheckCompanyBase()) {
             return
           }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -1262,6 +1262,20 @@ export default {
           })
           return
         }
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
         if (!this.CheckCompanyBase()) {
           return
         }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -1386,6 +1386,20 @@ export default {
           })
           return
         }
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
         if (!this.CheckCompanyBase()) {
           return
         }

+ 14 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -1319,6 +1319,20 @@ export default {
           })
           return
         }
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
         if (!this.CheckCompanyBase()) {
           return
         }