Browse Source

去掉门店必填联系人限制

liyuan 4 days ago
parent
commit
24df9d9719
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/store/detailsPage.vue

+ 2 - 2
src/views/store/detailsPage.vue

@@ -1128,9 +1128,9 @@ export default {
           if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(this.form.tel)) {
             return this.$message.error("请输入正确电话");
           }
-          if (this.contactsData.length == 0) return this.$message.error("请添加客户联系人");
+          // if (this.contactsData.length == 0) return this.$message.error("请添加客户联系人");
           if (this.data.length == 0) return this.$message.error("请添加地址信息");
-         
+
           if(this.data.filter((item) => item.defaultAddres == 1).length == 0){
              this.data[this.data.length - 1].defaultAddres = '1'
           }