liangjin
2021-04-26 df0660fa3e31d33bf197a2293e9038925de75caa
src/views/user/register-home.vue
@@ -30,8 +30,6 @@
            @click="isShowArea = !isShowArea" placeholder="请选择省市区" />
          <van-field v-model.trim="form.dtlAddr" clearable maxlength='64' placeholder="请输入您的详细地址" />
          <!-- 扫码进入页面的没有邀请码 -->
          <van-field v-if="ShowqrCode"  v-model.trim="form.inviteCode"
            :placeholder="getQr ? '已扫描':'邀请码'" />
          <van-button :color="$store.state.backColor" class="btn" @click="nextStep">下一步</van-button>
          <!-- <van-cell v-if="ShowqrCode" :readonly="true" :value="form.licenseNo"
            placeholder="邀请码">
@@ -103,7 +101,7 @@
      </van-popup>
    </div>
    <div style="font-size: 12px; color: #666;text-align: center;width: 100%;margin-top: 20px;">
      客服电话:028-60102895
      客服电话:028-86043722
    </div>
  </div>
</template>
@@ -171,20 +169,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 +205,6 @@
            message: "请输入负责人姓名",
            type: "isEmpty"
          },
          // {
          //   key: "priName",
          //   message: "请输入正确的负责人姓名",
          //   rule: /^[\u4e00-\u9fa5]{1,6}$/
          // },
          {
            key: "priMblNo",
            message: "请输入负责人手机号",
@@ -260,6 +244,7 @@
        this.form.orgType = this.$route.query.orgType || '';
        this.ShowqrCode = false;
      }
      this.form.inviteCode = 158875;
      this.initWXToken(location.origin + location.pathname);
    },
    methods: {
@@ -276,11 +261,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;
          }
        which === 1 ? this.Agreend = agreement5 : this.Agreend = protocol;
      },
      // 验证form参数