From 643253af793bf9a0c7d665d68cfdbc9295b576e5 Mon Sep 17 00:00:00 2001 From: liujun Date: Fri, 15 Mar 2024 17:20:19 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=EF=BC=8C=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E7=A4=BE=E4=BC=9A=E7=BC=96=E7=A0=81=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E4=BC=9A=E6=9C=89=E5=BC=82=E5=B8=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/insert/components/corpInfoEdit.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/xgf/insert/components/corpInfoEdit.vue b/src/views/xgf/insert/components/corpInfoEdit.vue index a6996b6..48c2038 100644 --- a/src/views/xgf/insert/components/corpInfoEdit.vue +++ b/src/views/xgf/insert/components/corpInfoEdit.vue @@ -252,6 +252,10 @@ export default { }) } var hasSocialCode = (rule, value, callback) => { + if (value === null || value === '') { + callback(new Error('统一社会信用代码为空')) + return + } requestFN( '/relevantunits/hasSocialCode', {