修改车辆类型界面

master
夜笙歌 2 years ago
parent 0048f21a9f
commit 487e28fdf1

@ -92,7 +92,9 @@ export default {
state: 'State', state: 'State',
axleTotal: 'Axle Number', axleTotal: 'Axle Number',
tyreTotal: 'Number Of Tires', tyreTotal: 'Number Of Tires',
trailerNum: 'Trailer Num' trailerNum: 'Trailer Num',
addTitle: 'Add Vehicle Type',
editTitle: 'Modify Vehicle Type',
} }
} }
} }

@ -92,7 +92,9 @@ export default {
state:'状态', state:'状态',
axleTotal:'车轴数', axleTotal:'车轴数',
tyreTotal:'轮胎数', tyreTotal:'轮胎数',
trailerNum:'布局挂数' trailerNum:'布局挂数',
addTitle: '添加车辆类型',
editTitle: '修改车辆类型',
} }
} }
} }

@ -694,7 +694,7 @@ const resetQuery = () => {
/** 多选框选中数据 */ /** 多选框选中数据 */
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map(item => item.postId); ids.value = selection.map(item => item.id);
single.value = selection.length !== 1; single.value = selection.length !== 1;
multiple.value = !selection.length; multiple.value = !selection.length;
} }

@ -2,7 +2,7 @@
<div class="app-container"> <div class="app-container">
<!-- 搜索栏--> <!-- 搜索栏-->
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch"
:label-width=" locale ? '110px':'170px'"> :label-width=" locale ? '100px':'140px'">
<el-form-item :label="t('baseCar.carType.tyreFacCode')" prop="tyreFacCode"> <el-form-item :label="t('baseCar.carType.tyreFacCode')" prop="tyreFacCode">
<el-input <el-input
v-model="queryParams.tyreFacCode" v-model="queryParams.tyreFacCode"
@ -267,7 +267,7 @@
<!-- 添加或修改岗位对话框 --> <!-- 添加或修改岗位对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body> <el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="postRef" :model="form" :rules="rules" :label-width=" locale ? '120px':'140px'"> <el-form ref="postRef" :model="form" :rules="rules" :label-width=" locale ? '100px':'140px'">
<el-form-item :label="t('baseCar.carType.tyreFacCode')" prop="tyreFacCode"> <el-form-item :label="t('baseCar.carType.tyreFacCode')" prop="tyreFacCode">
<el-input <el-input
v-model="form.tyreFacCode" v-model="form.tyreFacCode"
@ -514,7 +514,7 @@ const resetQuery = () => {
/** 多选框选中数据 */ /** 多选框选中数据 */
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map(item => item.postId); ids.value = selection.map(item => item.id);
single.value = selection.length !== 1; single.value = selection.length !== 1;
multiple.value = !selection.length; multiple.value = !selection.length;
} }

@ -437,7 +437,7 @@ const resetQuery = () => {
/** 多选框选中数据 */ /** 多选框选中数据 */
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map(item => item.postId); ids.value = selection.map(item => item.id);
single.value = selection.length !== 1; single.value = selection.length !== 1;
multiple.value = !selection.length; multiple.value = !selection.length;
} }

Loading…
Cancel
Save