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', {