mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-21 09:56:54 +08:00
地址的更改
This commit is contained in:
@@ -89,6 +89,7 @@ export default {
|
||||
},
|
||||
pickValue(pickId,pickName){
|
||||
let areaObj={id:pickId,name:pickName};
|
||||
console.log(pickId,pickName);
|
||||
this.returnValueArr[this.curDisplayingColIndex]=areaObj;
|
||||
this.validatePickedValues();
|
||||
|
||||
@@ -113,6 +114,9 @@ export default {
|
||||
onChange(picker,values) { //values = [{id:this.columns[0].id, name:this.columns[0].name},{id:this.columns[1].id, name:this.columns[1].name},{id:this.columns[3].id, name:this.columns[3].name}];
|
||||
//Support single choice only , index = 0 province, index = 1 city, index = 2 area
|
||||
let curSelection={'province':'','city':'','area':''};
|
||||
// console.log(picker,values);
|
||||
this.$emit('getmenu',values)
|
||||
this.$emit("closeDialog");
|
||||
if(!values)
|
||||
return;
|
||||
let _self=this;
|
||||
@@ -201,7 +205,7 @@ export default {
|
||||
this.hideAddress();
|
||||
},
|
||||
onCancel() {
|
||||
|
||||
|
||||
},
|
||||
fitlerValuesInArray(stringStartWith,dataColArea){
|
||||
let result=[];
|
||||
|
||||
Reference in New Issue
Block a user