zhaoxiaoqiang
2021-07-28 9391666516d021f068dbb53c8b5939b96a36a27c
src/views/mine/mer/mer-data.vue
@@ -116,9 +116,7 @@
</template>
<script>
import {mapState, mapMutations} from 'vuex';
import QRCode from "qrcode";
import FConfirmSimple from "@/components/old/FConfirmSimple.vue";
import axios from "axios";
import Vue from "vue";
import { NavBar } from "vant";
import { Grid, GridItem } from "vant";
@@ -127,7 +125,6 @@
import { Popup } from "vant";
import { Picker } from "vant";
import { Toast } from "vant";
import { async } from "q";
Vue.use(Toast);
Vue.use(Picker);
@@ -191,13 +188,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 +203,6 @@
        this.isShowArea = false;
        // this.$refs.Area.reset()
        this.$forceUpdate();
        console.log(this.areaLists)
    },
    //返回上一级按钮
    onClickLeft() {
@@ -240,7 +234,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 +250,6 @@
              }
          })
          this.merZfbInfos = list
          console.log(this.merZfbInfos)
          let arr = [];
          if(res.body.addr.area) {
            arr.push(res.body.addr.province)
@@ -331,9 +323,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;