Browse Source

驳回提示修改

lihong 2 years ago
parent
commit
349bb0ccb4

+ 3 - 3
src/components/si-sheet-upload/jie-suan-dan-xiu-gai/JieSuanDanXiangQing.vue

@@ -843,11 +843,11 @@ const shenHeBoHuiClick = () => {
     confirmButtonText: '确定',
     cancelButtonText: '取消',
     inputPattern: /\S/,
-    inputErrorMessage: '驳回信息不能为空且不得超过 100 字 (∩•̀ω•́)⊃-*⋆',
+    inputErrorMessage: '驳回信息不能为空',
   })
       .then(({value}) => {
-        if (value.length > 100) {
-          return ElMessage.error('驳回原因超过 100 字。')
+        if (typeof value === 'undefined' || value.length <=0) {
+          return ElMessage.error('驳回信息不能为空。')
         }
         const data = {
           id: props.data.shenHeXinXi.id,