bugfix - 站台扣车操作菜单
This commit is contained in:
parent
e29028ec0e
commit
c6c3a3a377
@ -70,7 +70,7 @@ export default {
|
||||
label: '取消扣车',
|
||||
handler: this.cancelDetainTrain,
|
||||
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN,
|
||||
isDisabled: (stand, work) => stand.stationHoldTrain === 1,
|
||||
isDisabled: (stand, work) => stand.stationHoldTrain !== 1,
|
||||
isShow: (stand, work) => work === 'localWork'
|
||||
},
|
||||
{
|
||||
@ -84,7 +84,7 @@ export default {
|
||||
label: '取消扣车',
|
||||
handler: this.cancelDetainTrain,
|
||||
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN,
|
||||
isDisabled: (stand, work) => stand.centerHoldTrain === 1,
|
||||
isDisabled: (stand, work) => stand.centerHoldTrain !== 1,
|
||||
isShow: (stand, work) => work === 'dispatchWork'
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user