|
|
@@ -129,8 +129,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
submit() {
|
|
|
- this.$http.post('/merchant/localMerchantInfo/edit', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
|
|
|
- // this.$http.post('/merchant/localMerchantInfo/edit/new', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
|
|
|
+ // this.$http.post('/merchant/localMerchantInfo/edit', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
|
|
|
+ this.$http.post('/merchant/localMerchantInfo/editMerchantInfo ', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
|
|
|
if (res.data.success) {
|
|
|
this.$tip.success(res.data.result || '成功')
|
|
|
uni.navigateBack({
|
|
|
@@ -193,10 +193,12 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
onConfirm(e) {
|
|
|
+ console.log(e)
|
|
|
|
|
|
this.mapIsHidden = false
|
|
|
this.form.locality = e.result
|
|
|
this.form.country = e.value[e.value.length - 1]
|
|
|
+ this.form.thirdPartyAreaList=e.value
|
|
|
},
|
|
|
DelImg(e) {
|
|
|
uni.showModal({
|