liangjin
2021-03-23 eb9443b959ad490ac735f2c04e4dee743d7365c7
src/views/user/register-home.vue
@@ -171,20 +171,11 @@
        //第一步验证
        ruleOne: [
          // {key:"merName",message:"请输入商户名称",type:"isEmpty"},
          // {key:"merName",message:"请输入正确的商户名称",rule:/^[\u4e00-\u9fa50-9a-zA-Z]{1,40}$/},
          // {key:"licenseNo",message:"请输入营业执照号",type:"isEmpty"},
          // {key:"licenseNo",message:"请输入正确的营业执照号",rule:/^[0-9a-zA-Z]{1,20}$/},
          {
            key: "legalName",
            message: "请输入法人代表姓名",
            type: "isEmpty"
          },
          // {
          //   key: "legalName",
          //   message: "请输入正确的法人代表姓名",
          //   rule: /^[\u4e00-\u9fa5]{1,12}$/
          // },
          {
            key: "legalIdNo",
            message: "请输入法人代表身份证号",
@@ -216,11 +207,6 @@
            message: "请输入负责人姓名",
            type: "isEmpty"
          },
          // {
          //   key: "priName",
          //   message: "请输入正确的负责人姓名",
          //   rule: /^[\u4e00-\u9fa5]{1,6}$/
          // },
          {
            key: "priMblNo",
            message: "请输入负责人手机号",
@@ -276,11 +262,7 @@
        this.ShowAgreen = true;
        let protocol = createUserProtocol(this.form); //协议二
        this.form.protocol = protocol;
        if(window.sessionStorage.getItem("wxScore") && window.sessionStorage.getItem("wxScore") == '1'){
              which === 1 ? this.Agreend = agreement5 : this.Agreend = protocol;
          }else{
              which === 1 ? this.Agreend = agreement1 : this.Agreend = protocol;
          }
      },
      // 验证form参数