Browse Source

前端: 增项申请-审批页面 审批意见长度降低限制

baichengfei 5 năm trước cách đây
mục cha
commit
2d77d67157

+ 18 - 18
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/basisdataopera.vue

@@ -692,7 +692,7 @@
           </el-col>
           <el-col :span="24" v-if="shenheForm.SuccessStatus == 0">
             <el-form-item label="退回原因">
-              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于5个字!">
+              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于2个字!">
               </el-input>
             </el-form-item>
           </el-col>
@@ -814,7 +814,7 @@
         supplierId: '',
         backRemark: '',
         inStyle: '',
-        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)',
+        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容)',
         chooseAuditorVisible: false,
         audithistoryshow: false,
         InOptions: [],
@@ -1200,13 +1200,13 @@
           if (this.formData.Status === '5') {
             this.textplaceholder = '请填写审批意见'
           } else {
-            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
+            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容)'
           }
         } else {
           if (this.formData.Status === '5') {
             this.textplaceholder = ''
           } else {
-            this.textplaceholder = '退回意见不能少于5个字'
+            this.textplaceholder = '退回意见不能少于2个字'
           }
           this.shenheForm.AuditorRemark = ''
         }
@@ -1429,11 +1429,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1448,11 +1448,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }
@@ -1550,10 +1550,10 @@
             })
             return
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1566,10 +1566,10 @@
             })
             return false
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字符!'
             })
             return
           }
@@ -1600,10 +1600,10 @@
           })
           return false
         }
-        if (this.shenheForm.AuditorRemark.trim().length < 5) {
+        if (this.shenheForm.AuditorRemark.trim().length < 2) {
           this.$message({
             type: 'warning',
-            message: '审批意见不能低于5个字符!'
+            message: '审批意见不能少于2个字!'
           })
           return
         }
@@ -2167,11 +2167,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return
           }
@@ -2186,11 +2186,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }

+ 18 - 18
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/goodsdataopera.vue

@@ -775,7 +775,7 @@
           </el-col>
           <el-col :span="24" v-if="shenheForm.SuccessStatus == 0">
             <el-form-item label="退回原因">
-              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于5个字!">
+              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于2个字!">
               </el-input>
             </el-form-item>
           </el-col>
@@ -897,7 +897,7 @@
         backRemark: '',
         inStyle: '',
         MgrUnit: true,
-        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)',
+        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容)',
         chooseAuditorVisible: false,
         audithistoryshow: false,
         InOptions: [],
@@ -1300,13 +1300,13 @@
           if (this.formData.Status === '5') {
             this.textplaceholder = '请填写审批意见'
           } else {
-            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
+            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容)'
           }
         } else {
           if (this.formData.Status == '5') {
             this.textplaceholder = ''
           } else {
-            this.textplaceholder = '退回意见不能少于5个字'
+            this.textplaceholder = '退回意见不能少于2个字'
           }
           this.shenheForm.AuditorRemark = ''
         }
@@ -1475,10 +1475,10 @@
             })
             return
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1491,10 +1491,10 @@
             })
             return false
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }
@@ -1657,11 +1657,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1676,11 +1676,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }
@@ -1718,10 +1718,10 @@
           })
           return false
         }
-        if (this.shenheForm.AuditorRemark.trim().length < 5) {
+        if (this.shenheForm.AuditorRemark.trim().length < 2) {
           this.$message({
             type: 'warning',
-            message: '审批意见不能低于5个字符!'
+            message: '审批意见不能少于2个字!'
           })
           return
         }
@@ -2320,11 +2320,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return
           }
@@ -2339,11 +2339,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }

+ 18 - 18
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/techdataopera.vue

@@ -676,7 +676,7 @@
           </el-col>
           <el-col :span="24" v-if="shenheForm.SuccessStatus == 0">
             <el-form-item label="退回原因">
-              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于5个字!">
+              <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于2个字!">
               </el-input>
             </el-form-item>
           </el-col>
@@ -795,7 +795,7 @@
         supplierId: '',
         backRemark: '',
         inStyle: '',
-        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)',
+        textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容)',
         chooseAuditorVisible: false,
         subfileList1: [],
         audithistoryshow: false,
@@ -1218,13 +1218,13 @@
           if (this.formData.Status === '5') {
             this.textplaceholder = '请填写审批意见'
           } else {
-            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
+            this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容)'
           }
         } else {
           if (this.formData.Status == '5') {
             this.textplaceholder = ''
           } else {
-            this.textplaceholder = '退回意见不能少于5个字'
+            this.textplaceholder = '退回意见不能少于2个字'
           }
           this.shenheForm.AuditorRemark = ''
         }
@@ -1460,11 +1460,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1479,11 +1479,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }
@@ -1578,10 +1578,10 @@
             })
             return
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return false
           }
@@ -1594,10 +1594,10 @@
             })
             return false
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5) {
+          if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }
@@ -1628,10 +1628,10 @@
           })
           return false
         }
-        if (this.shenheForm.AuditorRemark.trim().length < 5) {
+        if (this.shenheForm.AuditorRemark.trim().length < 2) {
           this.$message({
             type: 'warning',
-            message: '审批意见不能低于5个字符!'
+            message: '审批意见不能少于2个字!'
           })
           return
         }
@@ -2164,11 +2164,11 @@
               }
             }
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5' && this.formData.Status !== '10') {
             this.$message({
               type: 'warning',
-              message: '审批意见不能低于20个字符!'
+              message: '审批意见不能少于2个字!'
             })
             return
           }
@@ -2183,11 +2183,11 @@
           if (this.formData.Status === '10') {
             this.shenheForm.AuditorRemark = this.backRemark
           }
-          if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
+          if (this.shenheForm.AuditorRemark.trim().length < 2 && this.formData.Status !== '3' && this.formData
             .Status !== '5') {
             this.$message({
               type: 'warning',
-              message: '退回意见不能低于5个字符!'
+              message: '退回意见不能少于2个字!'
             })
             return
           }