Commit 181b8633 authored by dragondean@qq.com's avatar dragondean@qq.com

新建订单后清空路线异常

parent 131c1b44
......@@ -1104,6 +1104,8 @@ export default {
if(this.form.transportId){
params.transportType = this.form.transportId
}
// 始发,目的和运输方式都没有的时候不获取
if(!params.startCityId && !params.destCityId && !params.transportType) return false
getOpenedRouterList(params).then(res => this.routerList = res.data.filter(item => {
return this.exportCityIds.indexOf(item.startCityId) > -1 && this.importCityIds.indexOf(item.destCityId) > -1
}))
......
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