-
-
-
{{ title }}
-
- 收货人:
-
-
-
- 手机号码:
-
-
-
-
- 详细地址:
-
-
-
-
+
+
+ 取消
+ 确认
-
- 取消
- 确认
-
-
@@ -80,36 +60,11 @@ export default {
provinceId: "",
cityId: "",
districtId: "",
- list: [
- {
- id: 1,
- name: "张三",
- tel: "13000000000",
- address: "浙江省杭州市西湖区文三路 138 号",
- isDefault: true,
- },
- {
- id: 2,
- name: "李四",
- tel: "1310000000",
- address: "浙江省杭州市拱墅区莫干山路 50 号",
- },
- {
- id: 3,
- name: "李四",
- tel: "1310000000",
- address: "浙江省杭州市拱墅区莫干山路 50 号",
- },
- ],
};
},
props: ["editAddressData"],
methods: {
onGetMenu(values) {
- // console.log(values, +"111111");
- // let user = values[2].id;
- // user = user.split("-");
-
if (this.id == "") {
this.provinceId = values[0].id;
this.cityId = values[1].id;
@@ -127,7 +82,6 @@ export default {
},
register() {
- console.log(this.tel);
if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === "") {
this.$message({
type: "warning",
@@ -200,33 +154,6 @@ export default {
});
}
},
-
- editInfo() {
- if (this.editAddressData.saveType == "edit") {
- this.title = "修改收货地址";
- this.tel = this.editAddressData.tel;
- this.alladdress = this.editAddressData.detailAddress;
- this.userid = this.editAddressData.memberId;
- this.userpeople = this.editAddressData.name;
- this.provinceId = this.editAddressData.provinceId;
- this.cityId = this.editAddressData.cityId;
- this.districtId = this.editAddressData.districtId;
- this.defaultValues = [
- {
- id: this.provinceId,
- name: this.editAddressData.provinceName,
- },
- {
- id: this.cityId,
- name: this.editAddressData.cityName,
- },
- {
- id: this.districtId,
- name: this.editAddressData.districtName,
- },
- ];
- }
- },
},
components: {
addressInput,
@@ -276,6 +203,81 @@ export default {
diff --git a/rc-busness/pages/myorder/userrecord.vue b/rc-busness/pages/myorder/userrecord.vue
index bd9a35bf..7ff2c4c2 100644
--- a/rc-busness/pages/myorder/userrecord.vue
+++ b/rc-busness/pages/myorder/userrecord.vue
@@ -106,11 +106,13 @@
-->
+