| | |
| | | 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; |
| | |
| | | this.isShowArea = false; |
| | | // this.$refs.Area.reset() |
| | | this.$forceUpdate(); |
| | | console.log(this.areaLists) |
| | | }, |
| | | //返回上一级按钮 |
| | | onClickLeft() { |
| | |
| | | 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; |
| | |
| | | } |
| | | }) |
| | | this.merZfbInfos = list |
| | | console.log(this.merZfbInfos) |
| | | let arr = []; |
| | | if(res.body.addr.area) { |
| | | arr.push(res.body.addr.province) |
| | |
| | | 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; |