shish 5 жил өмнө
parent
commit
5cfa688124

+ 3 - 2
ghsApp/src/pagesClient/official/apply.vue

@@ -219,7 +219,7 @@ export default {
         // floor: "",
         longitude: "",
         latitude: "",
-
+        showAddress:""
       },
       showRegion: false,
       // 省市联动
@@ -286,7 +286,8 @@ export default {
     },
     changeAreaFn (e) {
       console.log("changeAreaFn", e);
-      this.form.address = e.address;
+      this.form.address = e.title;
+      this.form.showAddress = e.address;
       this.form.latitude = e.location.lat;
       this.form.longitude = e.location.lng;
       this.form.dist = e.district

+ 0 - 3
ghsApp/src/pagesPurchase/details.vue

@@ -311,12 +311,9 @@ export default {
 				if (!this.getMerchantInfo) {
 					await this.initMerchantInfo();
 				}
-				// formData.ghsId = this.getMerchantInfo.id;
 				await createPurchaseOrderApi(formData);
-				this.$msg("确认成功!");
 
 				this.resetSelectInfoByType(this.pageType);
-				// this.$util.pageTo({ url: "/pagesPurchase/result", type: 2 });
 				uni.navigateTo({url:'/common/pageSuccess?title=新增成功'})
 			} catch (error) {}
 		},

+ 3 - 1
hdApp/src/pagesClient/official/apply.vue

@@ -185,6 +185,7 @@ export default {
         longitude: "",
         latitude: "",
         logo: "",
+        showAddress:""
       },
       showRegion: false,
       // 省市联动
@@ -248,7 +249,8 @@ export default {
       this.showRegion = true;
     },
     changeAreaFn(e) {
-      this.form.address = e.address;
+      this.form.address = e.title;
+      this.form.showAddress = e.address;
       this.form.latitude = e.location.lat;
       this.form.longitude = e.location.lng;
       this.form.dist = e.district;