Browse Source

开单固定弹窗宽度、供货商小程序端发货手机号取错改正

jf 5 years ago
parent
commit
4dd7974ba5
2 changed files with 8 additions and 7 deletions
  1. 1 1
      ghs/src/views/order/add.vue
  2. 7 6
      ghsApp/src/components/app-address-group.vue

+ 1 - 1
ghs/src/views/order/add.vue

@@ -177,7 +177,7 @@
       </div>
     </el-dialog>
 
-    <el-dialog title="结账" v-if="isAccounts" :visible.sync="isAccounts" width="30%" center>
+    <el-dialog title="结账" v-if="isAccounts" :visible.sync="isAccounts" width="573px" center>
       <div class="">
         <div class="accounts-list">
           客户

+ 7 - 6
ghsApp/src/components/app-address-group.vue

@@ -24,7 +24,8 @@
 		</tui-list-cell>
 		<tui-list-cell v-if="isFloor" class="line-cell" :hover="false">
 			<view class="tui-title ">门牌号</view>
-			<input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" @input="changeFloor" placeholder="楼号门牌号(选填)"/>
+<!--			<input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" @input="changeFloor" placeholder="楼号门牌号(选填)"/>-->
+			<input v-model="form.floor" placeholder-class="phcolor" class="tui-input" name="floor" placeholder="楼号门牌号(选填)"/>
 		</tui-list-cell>
 		<!-- 选择地区 -->
 		<app-area-sel :show.sync="showRegion" @change="changeAreaFn" :city="form.city"/>
@@ -103,8 +104,8 @@ export default {
           this.form.address = res.data.address;
           this.form.latitude = res.data.lat;
           this.form.longitude = res.data.long;
-          this.form.customMobile = res.data.name;
-          this.form.customName = res.data.mobile;
+          this.form.customMobile = res.data.mobile;
+          this.form.customName = res.data.name;
           this.$emit("selectAdress", this.form);
         })
       } else {
@@ -142,9 +143,9 @@ export default {
 			this.form.longitude = e.location.lng;
 			this.$emit("selectAdress", this.form);
 		},
-		// changeFloor(e) {
-		// 	this.$emit("selectAdress", this.form);
-		// }
+		changeFloor(e) {
+			this.$emit("selectAdress", this.form);
+		}
 	},
 	watch: {
 		getFormObj() {