|
@@ -74,7 +74,14 @@
|
|
|
|
|
|
<Loading :visible="loading"></Loading>
|
|
|
|
|
|
- <CtDialog :visible="showContactList" title="添加联系人" :footer="true" :widthType="isMobile ? 5 : 3" @close="showContactList = false" @submit="contactSubmit">
|
|
|
+ <CtDialog
|
|
|
+ :visible="showContactList"
|
|
|
+ title="添加联系人"
|
|
|
+ :footer="true"
|
|
|
+ :widthType="isMobile ? 5 : 3"
|
|
|
+ @close="showContactList = false"
|
|
|
+ @submit="contactSubmit"
|
|
|
+ >
|
|
|
<div style="min-height: 50vh;">
|
|
|
<div>
|
|
|
<div class="color-warning mb-3">
|
|
@@ -299,7 +306,8 @@ const handleCommit = async () => {
|
|
|
|
|
|
const businessLicenseUrl = licenseUrl.value;
|
|
|
if (!prepareValue.value && !businessLicenseUrl) return Snackbar.warning('请上传营业执照图片')
|
|
|
- if (!contactList || !contactList.length || !contactList[0].contactName) return Snackbar.warning('请添加联系人信息')
|
|
|
+ if (!contactList || !contactList.length || !contactList[0].contactName) return Snackbar.warning('请添加联系人')
|
|
|
+ if (contactList.length <= 1) return Snackbar.warning('请添加至少两个联系人')
|
|
|
const params = {
|
|
|
businessLicenseUrl,
|
|
|
prepare: prepareValue.value,
|
|
@@ -503,7 +511,6 @@ const passwordConfirmObj = {
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|