Merge branch 'dev' into test
This commit is contained in:
commit
ac35d9dbfd
@ -57,6 +57,7 @@
|
|||||||
:id="domIdTrainNumber"
|
:id="domIdTrainNumber"
|
||||||
v-model="formModel.category"
|
v-model="formModel.category"
|
||||||
filterable
|
filterable
|
||||||
|
:disabled="true"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in categoryList"
|
v-for="item in categoryList"
|
||||||
@ -98,9 +99,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
trainList: [],
|
trainList: [],
|
||||||
categoryList: [
|
categoryList: [
|
||||||
{ name: 'MM', value: '01' },
|
{ name: 'MM', value: '01' }
|
||||||
{ name: 'BB', value: '02' },
|
|
||||||
{ name: 'AA', value: '03' }
|
|
||||||
],
|
],
|
||||||
formModel: {
|
formModel: {
|
||||||
tripNumber: '',
|
tripNumber: '',
|
||||||
@ -262,7 +261,8 @@ export default {
|
|||||||
tripNumber: val,
|
tripNumber: val,
|
||||||
trainType: this.formModel.trainType,
|
trainType: this.formModel.trainType,
|
||||||
serviceNumber: '',
|
serviceNumber: '',
|
||||||
targetCode: ''
|
targetCode: '',
|
||||||
|
category: 'MM'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -293,7 +293,8 @@ export default {
|
|||||||
tripNumber: `${model.directionCode}${model.tripNumber}`,
|
tripNumber: `${model.directionCode}${model.tripNumber}`,
|
||||||
trainType: model.type,
|
trainType: model.type,
|
||||||
serviceNumber: model.serviceNumber,
|
serviceNumber: model.serviceNumber,
|
||||||
targetCode: model.targetCode
|
targetCode: model.targetCode,
|
||||||
|
category: 'MM'
|
||||||
};
|
};
|
||||||
|
|
||||||
/** 加载列车数据*/
|
/** 加载列车数据*/
|
||||||
@ -369,7 +370,8 @@ export default {
|
|||||||
tripNumber: tripNumber,
|
tripNumber: tripNumber,
|
||||||
trainType: this.formModel.trainType,
|
trainType: this.formModel.trainType,
|
||||||
serviceNumber: response.data.serviceNumber,
|
serviceNumber: response.data.serviceNumber,
|
||||||
targetCode: response.data.targetCode
|
targetCode: response.data.targetCode,
|
||||||
|
category: 'MM'
|
||||||
};
|
};
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
} else {
|
} else {
|
||||||
@ -378,7 +380,8 @@ export default {
|
|||||||
tripNumber: tripNumber,
|
tripNumber: tripNumber,
|
||||||
trainType: this.formModel.trainType,
|
trainType: this.formModel.trainType,
|
||||||
serviceNumber: '',
|
serviceNumber: '',
|
||||||
targetCode: ''
|
targetCode: '',
|
||||||
|
category: 'MM'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user