xzc 5 dagar sedan
förälder
incheckning
3d9ecee082

+ 6 - 6
yudao-ui-admin-vue3/src/views/pressure2/boilerchecker/taskDetail.vue

@@ -581,12 +581,12 @@ const handleVoidItem = async (item: ReportItemVO) => {
           if (!value || !value.trim()) {
             return '作废原因不能为空'
           }
-          if (value.trim().length < 5) {
-            return '作废原因至少需要5个字符'
-          }
-          if (value.trim().length > 200) {
-            return '作废原因不能超过200个字符'
-          }
+          // if (value.trim().length < 5) {
+          //   return '作废原因至少需要5个字符'
+          // }
+          // if (value.trim().length > 200) {
+          //   return '作废原因不能超过200个字符'
+          // }
           return true
         },
         inputErrorMessage: '请输入有效的作废原因'

+ 6 - 6
yudao-ui-admin-vue3/src/views/pressure2/pipechecker/taskDetail.vue

@@ -598,12 +598,12 @@ const handleVoidItem = async (item: ReportItemVO) => {
           if (!value || !value.trim()) {
             return '作废原因不能为空'
           }
-          if (value.trim().length < 5) {
-            return '作废原因至少需要5个字符'
-          }
-          if (value.trim().length > 200) {
-            return '作废原因不能超过200个字符'
-          }
+          // if (value.trim().length < 5) {
+          //   return '作废原因至少需要5个字符'
+          // }
+          // if (value.trim().length > 200) {
+          //   return '作废原因不能超过200个字符'
+          // }
           return true
         },
         inputErrorMessage: '请输入有效的作废原因'