|
|
@ -73,7 +73,7 @@
|
|
|
|
type="textarea"
|
|
|
|
type="textarea"
|
|
|
|
:rows="3"
|
|
|
|
:rows="3"
|
|
|
|
class="max-ipt"
|
|
|
|
class="max-ipt"
|
|
|
|
maxlength="60"
|
|
|
|
maxlength="30"
|
|
|
|
></el-input>
|
|
|
|
></el-input>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="address__msg-line flex flex-middle">
|
|
|
|
<div class="address__msg-line flex flex-middle">
|
|
|
@ -270,15 +270,12 @@ export default {
|
|
|
|
this.dialogVisible = false;
|
|
|
|
this.dialogVisible = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onSelected(data) {
|
|
|
|
onSelected(data) {
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
this.selectData = data;
|
|
|
|
this.selectData = data;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async onAddAddress() {
|
|
|
|
async onAddAddress() {
|
|
|
|
let vm = this;
|
|
|
|
let vm = this;
|
|
|
|
let curItem = vm.addressList.find(
|
|
|
|
let curItem = vm.addressList[vm.editIndex]
|
|
|
|
(item) => item.id == vm.curAddressListItem.id
|
|
|
|
console.log(`vm.addressPhone != curItem.phone`,vm.addressPhone , curItem);
|
|
|
|
);
|
|
|
|
|
|
|
|
console.log(vm.selectData);
|
|
|
|
|
|
|
|
if (!vm.selectData?.area?.code) {
|
|
|
|
if (!vm.selectData?.area?.code) {
|
|
|
|
vm.$message.error("请选择所在区域~");
|
|
|
|
vm.$message.error("请选择所在区域~");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|