zhaoxiaoqiang
2021-07-27 d1425aa67c0c6c0e087ce32b1779ee02bbcdc4c6
src/views/mine/mer/mer-data.vue
@@ -191,13 +191,11 @@
  methods: {
    ShowArea(){
      this.isShowArea=true
      console.log(this.form.areaLists)
    },
    handleHide() {
      this.showConfirm = false;
    },
    setAreaValue(arr){
        console.log(arr);
        this.areaLists = arr[0].name  +arr[1].name + arr[2].name + '';
        // this.form.provCode= arr[0].code;
        // this.form.cityCode= arr[1].code;
@@ -208,7 +206,6 @@
        this.isShowArea = false;
        // this.$refs.Area.reset()
        this.$forceUpdate();
        console.log(this.areaLists)
    },
    //返回上一级按钮
    onClickLeft() {
@@ -240,7 +237,6 @@
    merInit() {
      this.$api.merchantDetail({merId: this.merId}).then(
        res => {
          console.log(res.body);
          this.contractGoodsName = res.body.merName;
          this.businesslicenseNo = res.body.licenseNo;
          this.contractUserName = res.body.legalName;
@@ -257,7 +253,6 @@
              }
          })
          this.merZfbInfos = list
          console.log(this.merZfbInfos)
          let arr = [];
          if(res.body.addr.area) {
            arr.push(res.body.addr.province)
@@ -331,9 +326,7 @@
      date.licenseNo = this.businesslicenseNo;
      date.merId = this.merId;
      date.merZfbInfos = this.merZfbInfos;
      console.log(date)
       this.$api.merchantEdit(date).then(() => {
        //  console.log('保存商戶資料')
        this.$router.push('/mine/setting')
       })
      this.showConfirm = false;