diff --git a/src/jmapNew/theme/race_01/menus/menuStationStand.vue b/src/jmapNew/theme/race_01/menus/menuStationStand.vue index c74ac5328..a6127e742 100644 --- a/src/jmapNew/theme/race_01/menus/menuStationStand.vue +++ b/src/jmapNew/theme/race_01/menus/menuStationStand.vue @@ -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' }, {