From 06b6121cbe23bb8b4909863d5770405d0cfe3b6e Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Wed, 28 Jul 2021 14:47:28 +0800
Subject: [PATCH] 取消宁夏移动订单推送

---
 src/views/user/register-home.vue |   58 +++++-----------------------------------------------------
 1 files changed, 5 insertions(+), 53 deletions(-)

diff --git a/src/views/user/register-home.vue b/src/views/user/register-home.vue
index 68c1f72..a4de621 100644
--- a/src/views/user/register-home.vue
+++ b/src/views/user/register-home.vue
@@ -26,23 +26,14 @@
           <van-field v-model.trim="form.licenseNo" clearable maxlength='20' placeholder="请输入营业执照号" />
           <van-field v-model.trim="form.legalName" clearable maxlength='12' placeholder="请输入法人姓名" />
           <van-field v-model.trim="form.legalIdNo" clearable maxlength='18' placeholder="请输入法人身份证号" />
-          <van-field v-model.trim="form.addrText" clearable :readonly="true" right-icon="arrow"
-            @click="isShowArea = !isShowArea" placeholder="请选择省市区" />
+          <van-field v-model.trim="form.addrText" clearable :readonly="true" right-icon="arrow" @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="邀请码">
           </van-cell> -->
         </div>
-
-
-
-
-
-
 
 
         <!-- 步骤二 -->
@@ -78,14 +69,6 @@
 
           <van-button :color="$store.state.backColor" class="btn" @click="nextStep">{{ saveText }}</van-button>
         </div>
-
-
-
-
-
-
-
-
       </div>
 
       <van-popup v-model="ShowAgreen">
@@ -103,7 +86,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 +154,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 +190,6 @@
             message: "请输入负责人姓名",
             type: "isEmpty"
           },
-          // {
-          //   key: "priName",
-          //   message: "请输入正确的负责人姓名",
-          //   rule: /^[\u4e00-\u9fa5]{1,6}$/
-          // },
           {
             key: "priMblNo",
             message: "请输入负责人手机号",
@@ -241,10 +210,7 @@
             message: "请输入正确的联系人邮箱",
             type: "isEmail"
           },
-        ],
-
-
-
+        ]
       }
     },
     computed: {
@@ -254,12 +220,12 @@
       }
     },
     created() {
-      console.log(localStorage.sib_mer_sysPlat == 'undefined')
       if(this.$route.query.orgId){
         this.form.orgId = this.$route.query.orgId || '';
         this.form.orgType = this.$route.query.orgType || '';
         this.ShowqrCode = false;
       }
+      this.form.inviteCode = 158875;
       this.initWXToken(location.origin + location.pathname);
     },
     methods: {
@@ -276,11 +242,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参数
@@ -295,8 +257,6 @@
         this.isShowArea = false;
         this.$refs.Area.reset()
       },
-
-
       //保存 地区选择
       setAreaValue(arr) {
         this.form.addrText = arr[0].name + '-' + arr[1].name + '-' + arr[2].name;
@@ -317,9 +277,6 @@
         this.isShowArea = false;
         this.$refs.Area.reset()
       },
-
-
-
       nextStep() {
 
         /**
@@ -334,8 +291,6 @@
           //   }
           // }
         }
-
-
         /**
          *  第二步
          * */
@@ -360,7 +315,6 @@
             sysPlat = 2
           }
           this.form.sysPlat = sysPlat
-          console.log(this.form);
           this.$api.merRegist(this.form).then(res => {
             this.$toast.success(`注册成功,请耐心等待审核!`);
             if(sessionStorage.isddxt == 1){
@@ -381,7 +335,6 @@
       //代理所属渠道
       getRegIDAndType() {
         let _this = this;
-        console.log('js 调用原生android 方法=====》');
         window.sessionStorage.removeItem('scene_regInfos');
         if (window.android && window.android.fetchQrCode) {
           _this.SET_APP_LOADING(true);
@@ -456,7 +409,6 @@
           },
           function (error) {
             if (error.response) {
-              console.log(error.response);
             }
           }
         );

--
Gitblit v1.8.0