修改轮胎信息界面

master
夜笙歌 2 years ago
parent 95d2272905
commit 88b419901f

@ -6,6 +6,7 @@
<el-input <el-input
v-model="queryParams.tyreFacCode" v-model="queryParams.tyreFacCode"
placeholder="请输入轮胎厂编码" placeholder="请输入轮胎厂编码"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -14,6 +15,7 @@
<el-input <el-input
v-model="queryParams.companyCode" v-model="queryParams.companyCode"
placeholder="请输入企业编码" placeholder="请输入企业编码"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -22,6 +24,7 @@
<el-input <el-input
v-model="queryParams.carLicense" v-model="queryParams.carLicense"
placeholder="请输入车牌号" placeholder="请输入车牌号"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -30,6 +33,7 @@
<el-input <el-input
v-model="queryParams.tureCode" v-model="queryParams.tureCode"
placeholder="请输入轮胎编号" placeholder="请输入轮胎编号"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -38,6 +42,7 @@
<el-input <el-input
v-model="queryParams.tyreRfid" v-model="queryParams.tyreRfid"
placeholder="请输入RFID" placeholder="请输入RFID"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -46,6 +51,7 @@
<el-input <el-input
v-model="queryParams.tyrePosition" v-model="queryParams.tyrePosition"
placeholder="请输入轮位" placeholder="请输入轮位"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -54,6 +60,7 @@
<el-input <el-input
v-model="queryParams.sensorId" v-model="queryParams.sensorId"
placeholder="请输入当前轮胎传感器ID" placeholder="请输入当前轮胎传感器ID"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -62,6 +69,7 @@
<el-input <el-input
v-model="queryParams.currentTextureDepth" v-model="queryParams.currentTextureDepth"
placeholder="请输入当前花纹深度" placeholder="请输入当前花纹深度"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -70,6 +78,7 @@
<el-input <el-input
v-model="queryParams.state" v-model="queryParams.state"
placeholder="请输入状态" placeholder="请输入状态"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -78,6 +87,7 @@
<el-input <el-input
v-model="queryParams.isDelete" v-model="queryParams.isDelete"
placeholder="请输入是否删除" placeholder="请输入是否删除"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -86,23 +96,26 @@
<el-input <el-input
v-model="queryParams.createName" v-model="queryParams.createName"
placeholder="请输入创建者姓名" placeholder="请输入创建者姓名"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="修改时间" prop="modifyTime"> <el-form-item label="修改时间" prop="modifyTime">
<el-date-picker clearable <el-date-picker
style="width: 200px" clearable
v-model="queryParams.modifyTime" style="width: 200px"
type="date" v-model="queryParams.modifyTime"
value-format="yyyy-MM-dd" type="date"
placeholder="请选择修改时间"> value-format="yyyy-MM-dd"
placeholder="请选择修改时间">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="修改者账号" prop="modifyBy"> <el-form-item label="修改者账号" prop="modifyBy">
<el-input <el-input
v-model="queryParams.modifyBy" v-model="queryParams.modifyBy"
placeholder="请输入修改者账号" placeholder="请输入修改者账号"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -111,6 +124,7 @@
<el-input <el-input
v-model="queryParams.modifyName" v-model="queryParams.modifyName"
placeholder="请输入编辑者姓名" placeholder="请输入编辑者姓名"
style="width: 200px"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -170,32 +184,32 @@
<!-- 表格主体--> <!-- 表格主体-->
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center" fixed/>
<el-table-column label="轮胎厂编码" align="center" prop="tyreFacCode"/> <el-table-column label="轮胎厂编码" align="center" prop="tyreFacCode" width="150"/>
<el-table-column label="企业编码" align="center" prop="companyCode"/> <el-table-column label="企业编码" align="center" prop="companyCode" width="150"/>
<el-table-column label="车辆ID" align="center" prop="carId"/> <el-table-column label="车辆ID" align="center" prop="carId" width="150"/>
<el-table-column label="车牌号" align="center" prop="carLicense"/> <el-table-column label="车牌号" align="center" prop="carLicense" width="150"/>
<el-table-column label="轮胎编号" align="center" prop="tureCode"/> <el-table-column label="轮胎编号" align="center" prop="tureCode" width="150"/>
<el-table-column label="轮胎型号" align="center" prop="tureModel"/> <el-table-column label="轮胎型号" align="center" prop="tureModel" width="150"/>
<el-table-column label="轮胎型号表ID" align="center" prop="tureModelId"/> <el-table-column label="轮胎型号表ID" align="center" prop="tureModelId" width="150"/>
<el-table-column label="品牌ID" align="center" prop="tureBrandId"/> <el-table-column label="品牌ID" align="center" prop="tureBrandId" width="150"/>
<el-table-column label="RFID" align="center" prop="tyreRfid"/> <el-table-column label="RFID" align="center" prop="tyreRfid" width="150"/>
<el-table-column label="轮位" align="center" prop="tyrePosition"/> <el-table-column label="轮位" align="center" prop="tyrePosition" width="150"/>
<el-table-column label="当前轮胎传感器ID" align="center" prop="sensorId"/> <el-table-column label="当前轮胎传感器ID" align="center" prop="sensorId" width="150"/>
<el-table-column label="当前花纹深度" align="center" prop="currentTextureDepth"/> <el-table-column label="当前花纹深度" align="center" prop="currentTextureDepth" width="150"/>
<el-table-column label="状态" align="center" prop="state"/> <el-table-column label="状态" align="center" prop="state" width="150"/>
<el-table-column label="是否删除" align="center" prop="isDelete"/> <el-table-column label="是否删除" align="center" prop="isDelete" width="150"/>
<el-table-column label="创建者ID" align="center" prop="createId"/> <el-table-column label="创建者ID" align="center" prop="createId" width="150"/>
<el-table-column label="创建者姓名" align="center" prop="createName"/> <el-table-column label="创建者姓名" align="center" prop="createName" width="150"/>
<el-table-column label="修改时间" align="center" prop="modifyTime" width="180"> <el-table-column label="修改时间" align="center" prop="modifyTime" width="150">
<template #default="scope"> <template #default="scope">
<span>{{ parseTime(scope.row.modifyTime, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.modifyTime, '{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="修改者ID" align="center" prop="modifyId"/> <el-table-column label="修改者ID" align="center" prop="modifyId" width="150"/>
<el-table-column label="修改者账号" align="center" prop="modifyBy"/> <el-table-column label="修改者账号" align="center" prop="modifyBy" width="150"/>
<el-table-column label="编辑者姓名" align="center" prop="modifyName"/> <el-table-column label="编辑者姓名" align="center" prop="modifyName" width="150"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@ -228,7 +242,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="80px"> <el-form ref="postRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="轮胎厂编码" prop="tyreFacCode"> <el-form-item label="轮胎厂编码" prop="tyreFacCode">
<el-input v-model="form.tyreFacCode" placeholder="请输入轮胎厂编码"/> <el-input v-model="form.tyreFacCode" placeholder="请输入轮胎厂编码"/>
</el-form-item> </el-form-item>
@ -236,7 +250,7 @@
<el-input v-model="form.companyCode" placeholder="请输入企业编码"/> <el-input v-model="form.companyCode" placeholder="请输入企业编码"/>
</el-form-item> </el-form-item>
<el-form-item label="车牌号" prop="carLicense"> <el-form-item label="车牌号" prop="carLicense">
<el-input v-model="form.carLicense" placeholder="请输入车牌号"/> <el-input v-model="form.carLicense" placeholder="请输入车牌号"/>
</el-form-item> </el-form-item>
<el-form-item label="轮胎编号" prop="tureCode"> <el-form-item label="轮胎编号" prop="tureCode">
<el-input v-model="form.tureCode" placeholder="请输入轮胎编号"/> <el-input v-model="form.tureCode" placeholder="请输入轮胎编号"/>

Loading…
Cancel
Save