Commit e8970357 authored by Mac's avatar Mac

1

parent 17c9e546
......@@ -33,7 +33,7 @@
:key='item.ID'>
</el-option>
</el-select>
<el-select filterable v-model='addMsg.startdistrict' @change="$forceUpdate()" >
<el-select filterable v-model='addMsg.startdistrict' @change="$forceUpdate()" clearable>
<el-option v-for='item in district'
:label='item.Name'
:value='item.ID'
......@@ -71,7 +71,7 @@
:key='item.ID'>
</el-option>
</el-select>
<el-select filterable v-model='addMsg.arrivedistrict' @change="$forceUpdate()" >
<el-select filterable v-model='addMsg.arrivedistrict' @change="$forceUpdate()" clearable>
<el-option v-for='item in district2'
:label='item.Name'
:value='item.ID'
......@@ -429,6 +429,7 @@
this.addMsg.StartCityId = this.addMsg.SCityId
this.getProvinceList(this.addMsg.SCityId,3,1)
this.addMsg.startdistrict = this.addMsg.SDistrictId
this.addMsg.startdistrict = this.addMsg.startdistrict>0?this.addMsg.startdistrict:''
}
if(this.addMsg.ArriveCityType==1){
this.daProvinceId = this.addMsg.EProvinceId;
......@@ -436,6 +437,8 @@
this.addMsg.ArriveCityId = this.addMsg.ECityId
this.getProvinceList(this.addMsg.ECityId,3,2)
this.addMsg.arrivedistrict = this.addMsg.EDistrictId
this.addMsg.arrivedistrict = this.addMsg.arrivedistrict>0?this.addMsg.arrivedistrict:''
}
}
}, err => {})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment