This commit is contained in:
“hhk” 2024-08-12 11:28:13 +08:00
commit 9c52e4bc7d

View File

@ -1,36 +1,35 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<!-- 对话框(添加 / 修改) --> <!-- 对话框(添加 / 修改) -->
<el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="45%" v-dialogDrag append-to-body> <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="60%" v-dialogDrag append-to-body>
<el-form ref="formRef" :model="formData" :rules="formRules" v-loading="formLoading" label-width="100px"> <el-form ref="formRef" :model="formData" :rules="formRules" v-loading="formLoading" label-width="100px">
<el-row :gutter="1"> <el-row :gutter="2">
<el-col :span="22"> <el-col :span="11">
<el-form-item label="发动机号码" prop="engineNumber"> <el-form-item label="发动机号码" prop="engineNumber">
<el-input v-model="formData.engineNumber" placeholder="请输入发动机号码" /> <el-input v-model="formData.engineNumber" placeholder="请输入发动机号码" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="11">
<el-row :gutter="1">
<el-col :span="22">
<el-form-item label="车架号" prop="vin"> <el-form-item label="车架号" prop="vin">
<el-input v-model="formData.vin" placeholder="请输入车架号" /> <el-input v-model="formData.vin" placeholder="请输入车架号" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="1">
<el-col :span="22">
<el-row :gutter="2">
<el-col :span="11">
<el-form-item label="车牌号" prop="licenseNumber"> <el-form-item label="车牌号" prop="licenseNumber">
<el-input v-model="formData.licenseNumber" placeholder="请输入车牌号" /> <el-input v-model="formData.licenseNumber" placeholder="请输入车牌号" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="11">
<el-row :gutter="1">
<el-col :span="22">
<el-form-item label="品牌型号" prop="brandAndModel"> <el-form-item label="品牌型号" prop="brandAndModel">
<CarBrandSelector v-model="formData.brandAndModel" ref="brandForm" /> <CarBrandSelector v-model="formData.brandAndModel" ref="brandForm" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="2"> <el-row :gutter="2">
<el-col :span="11"> <el-col :span="11">
<el-form-item label="保养日期" prop="maintenanceDate"> <el-form-item label="保养日期" prop="maintenanceDate">