diff --git a/src/jmapNew/theme/haerbin_01/menus/dialog/trainControl.vue b/src/jmapNew/theme/haerbin_01/menus/dialog/trainControl.vue index e524d6151..a7c2c3146 100644 --- a/src/jmapNew/theme/haerbin_01/menus/dialog/trainControl.vue +++ b/src/jmapNew/theme/haerbin_01/menus/dialog/trainControl.vue @@ -29,7 +29,7 @@ @@ -52,7 +52,7 @@ @@ -157,7 +157,7 @@ export default { if (device && device.code && device.deviceType === 'TRAIN') { this.tempTableData = [device]; this.sectionCode = device.sectionModel.name; - this.tripNum = device.destinationCode + device.serviceNumber + device.tripNumber; + this.tripNum = device.destinationCode + device.serviceNumber + (device.tripNumber.substring(1)); this.groupNum = device.groupNumber; } } @@ -186,10 +186,10 @@ export default { }, commit() { this.newTripNumError = false; - if (this.newTripNum && this.newTripNum.length === 9) { + if (this.newTripNum && this.newTripNum.length === 8) { const params = { groupNumber: this.groupNum, - tripNumber: this.newTripNum.slice(6, 9), + tripNumber: '0' + this.newTripNum.slice(6, 8), serviceNumber: this.newTripNum.slice(3, 6) }; const step = { diff --git a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue index 76129d247..556527037 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue @@ -794,7 +794,7 @@ export default { this.standParamList = this.$store.state.training.prdType === '01' ? [] : [ { name: '扣车', cmdType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN, operate: OperationEvent.StationStand.setDetainTrain.menuButton, show: false }, { name: '取消扣车', cmdType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN, operate: OperationEvent.StationStand.cancelDetainTrain.menuButton, show: false }, - { name: '越站', cmdType: CMD.Stand.CMD_STAND_SET_JUMP_STOP, operate: OperationEvent.StationStand.setJumpStop.menuButton, show: false, securityCommand: true }, + { name: '越站', cmdType: CMD.Stand.CMD_STAND_SET_JUMP_STOP, operate: OperationEvent.StationStand.setJumpStop.menuButton, show: false }, { name: '取消越站', cmdType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP, operate: OperationEvent.StationStand.cancelJumpStop.menuButton, show: false, securityCommand: true } ]; this.directionRodParamList = [