未起售车次也纳入考虑范围
This commit is contained in:
parent
d3be7ba71d
commit
b8f92967eb
@ -197,8 +197,8 @@
|
|||||||
//没有选择,则不考虑
|
//没有选择,则不考虑
|
||||||
if (!selectedTrain.test(t.code))
|
if (!selectedTrain.test(t.code))
|
||||||
return false;
|
return false;
|
||||||
//始发终到或未起售,不考虑
|
//始发终到,不考虑
|
||||||
if ((t.from.endpoint && t.to.endpoint) || t.available < 0)
|
if (t.from.endpoint && t.to.endpoint)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
//如果设置了席别,并且设置的席别都没有,则不考虑
|
//如果设置了席别,并且设置的席别都没有,则不考虑
|
||||||
|
Loading…
Reference in New Issue
Block a user