|
|
|
@ -67,118 +67,6 @@
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.tireFactoryCode')" prop="tyreFacCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyreFacCode"-->
|
|
|
|
|
<!-- :placeholder=" t('common.pleaseEnter') + t('tireManagement.tireFactoryCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.enterpriseCode')" prop="companyCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.companyCode"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.enterpriseCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.plateNumber')" prop="carLicense">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.carLicense"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.plateNumber')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="RFID" prop="tyreRfid">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyreRfid"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') +'RFID'"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.wheelPosition')" prop="tyrePosition">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyrePosition"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.wheelPosition')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.treadDepth')" prop="currentTextureDepth">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.currentTextureDepth"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.treadDepth')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.state')" prop="state">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.state"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.state')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.isRemove')" prop="isDelete">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.isDelete"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.isRemove')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.creatorName')" prop="createName">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.createName"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.creatorName')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editTime')" prop="modifyTime">-->
|
|
|
|
|
<!-- <el-date-picker-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- v-model="queryParams.modifyTime"-->
|
|
|
|
|
<!-- type="date"-->
|
|
|
|
|
<!-- format="YYYY/MM/DD"-->
|
|
|
|
|
<!-- value-format="yyyy-MM-dd"-->
|
|
|
|
|
<!-- :placeholder="t('common.PleaseSelect') + t('common.editTime')"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editAccount')" prop="modifyBy">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyBy"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editAccount')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editName')" prop="modifyName">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyName"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editName')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label=" ">
|
|
|
|
|
<el-button type="primary" icon="Search" @click="handleQuery">{{ t('option.search') }}</el-button>
|
|
|
|
|
<el-button icon="Refresh" @click="resetQuery">{{ t('option.reset') }}</el-button>
|
|
|
|
@ -237,7 +125,8 @@
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" fixed/>
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.tireFactoryCode')" align="center" prop="tyreFacCode" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.enterpriseCode')" align="center" prop="companyCode" width="150"/>-->
|
|
|
|
|
<el-table-column :label="t('tireManagement.tireNo')" align="center" prop="tureCode" width="150"/>
|
|
|
|
|
<el-table-column label="外胎号" align="center" prop="tureCode" width="150"/>
|
|
|
|
|
<el-table-column label="条码号" align="center" prop="tureCode" width="150"/>
|
|
|
|
|
<el-table-column label="品牌" align="center" prop="tureBrandId" width="150"/>
|
|
|
|
|
<el-table-column label="规格型号" align="center" prop="tureModel" width="150"/>
|
|
|
|
|
<el-table-column label="花纹" align="center" prop="tureModel" width="150"/>
|
|
|
|
@ -250,9 +139,9 @@
|
|
|
|
|
<!-- <el-table-column label="RFID" align="center" prop="tyreRfid" width="150"/>-->
|
|
|
|
|
<el-table-column label="安装轮位" align="center" prop="tyrePosition" width="150"/>
|
|
|
|
|
<el-table-column label="传感器编号" align="center" prop="sensorId" width="150"/>
|
|
|
|
|
<el-table-column label="最新花纹深度" align="center" prop="currentTextureDepth" width="150"/>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createName" width="150"/>
|
|
|
|
|
<el-table-column label="创建者" align="center" prop="createName" width="150"/>
|
|
|
|
|
<el-table-column label="最新花纹深度(mm)" align="center" prop="currentTextureDepth" width="170"/>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" width="170"/>
|
|
|
|
|
<el-table-column label="创建者" align="center" prop="createName" width="170"/>
|
|
|
|
|
<!-- <el-table-column :label="t('common.state')" align="center" prop="state" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.isRemove')" align="center" prop="isDelete" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.creatorId')" align="center" prop="createId" width="150"/>-->
|
|
|
|
@ -301,59 +190,33 @@
|
|
|
|
|
<el-form-item prop="id" v-if="false">
|
|
|
|
|
<el-input v-model="form.id"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireFactoryCode')" prop="tyreFacCode">
|
|
|
|
|
<el-input v-model="form.tyreFacCode"
|
|
|
|
|
:placeholder=" t('common.pleaseEnter') + t('tireManagement.tireFactoryCode')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.enterpriseCode')" prop="companyCode">
|
|
|
|
|
<el-input v-model="form.companyCode"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.enterpriseCode')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.plateNumber')" prop="carLicense">
|
|
|
|
|
<el-input v-model="form.carLicense" :placeholder="t('common.pleaseEnter') + t('tireManagement.plateNumber')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireNo')" prop="tureCode">
|
|
|
|
|
<el-input v-model="form.tureCode" :placeholder="t('common.pleaseEnter') + t('tireManagement.tireNo')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="RFID" prop="tyreRfid">
|
|
|
|
|
<el-input v-model="form.tyreRfid" :placeholder="t('common.pleaseEnter') +'RFID'"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.wheelPosition')" prop="tyrePosition">
|
|
|
|
|
<el-input v-model="form.tyrePosition"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.wheelPosition')"/>
|
|
|
|
|
<el-input v-model="form.tureCode" :placeholder="t('common.pleaseEnter') + t('tireManagement.tireNo')" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="品牌" prop="tureCode">
|
|
|
|
|
<el-input v-model="form.tureCode" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="花纹" prop="tureCode">
|
|
|
|
|
<el-input v-model="form.tureCode" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="规格型号" prop="tureCode">
|
|
|
|
|
<el-input v-model="form.tureCode" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireSensorID')" prop="sensorId">
|
|
|
|
|
<el-input v-model="form.sensorId" :placeholder="t('common.pleaseEnter') + t('tireManagement.tireSensorID')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.treadDepth')" prop="currentTextureDepth">
|
|
|
|
|
<el-input v-model="form.currentTextureDepth"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.treadDepth')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.state')" prop="state">
|
|
|
|
|
<el-input v-model="form.state" :placeholder="t('common.pleaseEnter') + t('common.state')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.isRemove')" prop="isDelete">
|
|
|
|
|
<el-input v-model="form.isDelete" :placeholder="t('common.pleaseEnter') + t('common.isRemove')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.creatorName')" prop="createName">
|
|
|
|
|
<el-input v-model="form.createName" :placeholder="t('common.pleaseEnter') + t('common.creatorName')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.editTime')" prop="modifyTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
clearable
|
|
|
|
|
v-model="form.modifyTime"
|
|
|
|
|
type="date"
|
|
|
|
|
format="YYYY/MM/DD"
|
|
|
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
:placeholder="t('common.PleaseSelect') + t('common.editTime')">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.editAccount')" prop="modifyBy">
|
|
|
|
|
<el-input v-model="form.modifyBy" :placeholder="t('common.pleaseEnter') + t('common.editAccount')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.editName')" prop="modifyName">
|
|
|
|
|
<el-input v-model="form.modifyName" :placeholder="t('common.pleaseEnter') + t('common.editName')"/>
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.currentTextureDepth"
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
:min="0"
|
|
|
|
|
:max="99"
|
|
|
|
|
:step="0.1"
|
|
|
|
|
:precision="2"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<div class="dialog-footer">
|
|
|
|
@ -426,10 +289,9 @@ const queryParams = ref({
|
|
|
|
|
|
|
|
|
|
// 表单验证规则
|
|
|
|
|
const rules = {
|
|
|
|
|
brand: [{required: true, message: "轮胎品牌不能为空", trigger: "blur"}],
|
|
|
|
|
type: [{required: true, message: "轮胎型号不能为空", trigger: "blur"}],
|
|
|
|
|
serialNumber: [{required: true, message: "轮胎编号不能为空", trigger: "blur"}],
|
|
|
|
|
depth: [{required: true, message: "花纹深度不能为空", trigger: "blur"}],
|
|
|
|
|
tureCode: [{required: true, message: "外胎号不能为空", trigger: "blur"}],
|
|
|
|
|
type: [{required: true, message: "轮胎型号不能为空", trigger: "blur"}],
|
|
|
|
|
serialNumber: [{required: true, message: "轮胎编号不能为空", trigger: "blur"}],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 表单数据
|
|
|
|
@ -561,7 +423,6 @@ function handleExport() {
|
|
|
|
|
...queryParams.value
|
|
|
|
|
}, `post_${new Date().getTime()}.xlsx`);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getList();
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|