Compare commits

...

2 Commits

Author SHA1 Message Date
xiepeng 6e324752fe Merge remote-tracking branch 'origin/dev' into dev 2024-04-18 17:50:38 +08:00
xiepeng a0780144ca BUG 优化 2024-04-18 17:49:12 +08:00
20 changed files with 176 additions and 93 deletions

View File

@ -1,9 +1,9 @@
import { ref } from "vue"; import { ref } from "vue";
import { getLevelsByParentId } from "@/request/data_dictionary.js"; import { getLevels } from "@/request/data_dictionary.js";
import { post, upload } from "@/request/axios.js"; import { post, upload } from "@/request/axios.js";
export const layoutFnGetScrapType = async () => { export const layoutFnGetScrapType = async () => {
const resData = await getLevelsByParentId({ const resData = await getLevels({
DICTIONARIES_ID: "78452f4ec77e4d98ae8cdd9c3386ae0c", DICTIONARIES_ID: "78452f4ec77e4d98ae8cdd9c3386ae0c",
}); });
return ref(resData); return ref(resData);

View File

@ -89,7 +89,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主/业" prop="VEHICLEOWNER"> <el-form-item label="车主/业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="form.VEHICLEOWNER" v-model="form.VEHICLEOWNER"
placeholder="请填写车主/业主" placeholder="请填写车主/业主"
@ -409,7 +409,7 @@ const rules = {
{ required: true, message: "车辆类型不能为空", trigger: "blur" }, { required: true, message: "车辆类型不能为空", trigger: "blur" },
], ],
VEHICLEOWNER: [ VEHICLEOWNER: [
{ required: true, message: "车主/业不能为空", trigger: "blur" }, { required: true, message: "车主/业不能为空", trigger: "blur" },
], ],
VEHICLEOWNER_NUMBER: [ VEHICLEOWNER_NUMBER: [
{ required: true, message: "请输入", trigger: "blur" }, { required: true, message: "请输入", trigger: "blur" },

View File

@ -82,7 +82,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主/业" prop="VEHICLEOWNER"> <el-form-item label="车主/业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="form.VEHICLEOWNER" v-model="form.VEHICLEOWNER"
placeholder="请填写车主/业主" placeholder="请填写车主/业主"
@ -395,7 +395,7 @@ const rules = {
{ required: true, message: "车辆类型不能为空", trigger: "blur" }, { required: true, message: "车辆类型不能为空", trigger: "blur" },
], ],
VEHICLEOWNER: [ VEHICLEOWNER: [
{ required: true, message: "车主/业不能为空", trigger: "blur" }, { required: true, message: "车主/业不能为空", trigger: "blur" },
], ],
VEHICLEOWNER_NUMBER: [ VEHICLEOWNER_NUMBER: [
{ required: true, message: "请输入", trigger: "blur" }, { required: true, message: "请输入", trigger: "blur" },

View File

@ -36,7 +36,7 @@
<el-descriptions-item label="到期日期"> <el-descriptions-item label="到期日期">
{{ info.EXPIRE_DATE }} {{ info.EXPIRE_DATE }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车主/业"> <el-descriptions-item label="车主/业">
{{ info.VEHICLEOWNER }} {{ info.VEHICLEOWNER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车主电话"> <el-descriptions-item label="车主电话">

View File

@ -8,6 +8,8 @@
<el-input <el-input
v-model="form.RECORD_NUMBER" v-model="form.RECORD_NUMBER"
placeholder="请输入登记编号" placeholder="请输入登记编号"
maxlength="50"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -56,7 +58,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="原车主/业" prop="RAW_OWNERS"> <el-form-item label="原车主/业" prop="RAW_OWNERS">
<el-input <el-input
v-model="form.VEHICLE.RAW_OWNERS" v-model="form.VEHICLE.RAW_OWNERS"
placeholder="--" placeholder="--"
@ -157,10 +159,12 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="现车主/业" prop="NOW_OWNERS"> <el-form-item label="现车主/业" prop="NOW_OWNERS">
<el-input <el-input
v-model="form.NOW_OWNERS" v-model="form.NOW_OWNERS"
placeholder="请填写现车主/业主" placeholder="请填写现车主/业户"
maxlength="50"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -169,12 +173,19 @@
<el-input <el-input
v-model="form.NOW_OWNERS_NUMBER" v-model="form.NOW_OWNERS_NUMBER"
placeholder="请填写现车主电话" placeholder="请填写现车主电话"
maxlength="11"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="登记人" prop="REGISTRANT"> <el-form-item label="登记人" prop="REGISTRANT">
<el-input v-model="form.REGISTRANT" placeholder="请填写登记人" /> <el-input
v-model="form.REGISTRANT"
placeholder="请填写登记人"
maxlength="50"
show-word-limit
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -337,7 +348,7 @@ const rules = {
}, },
], ],
NOW_OWNERS: [ NOW_OWNERS: [
{ required: true, message: "请输入现车主/业", trigger: "blur" }, { required: true, message: "请输入现车主/业", trigger: "blur" },
], ],
}; };
const formRef = ref(null); const formRef = ref(null);

View File

@ -9,7 +9,10 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="过户类型" prop="ASSIGNED_TYPE"> <el-form-item label="过户类型" prop="ASSIGNED_TYPE">
<el-select v-model="searchForm.ASSIGNED_TYPE"> <el-select
v-model="searchForm.ASSIGNED_TYPE"
placeholder="请选择过户类型"
>
<el-option <el-option
v-for="item in relatedClassificationList" v-for="item in relatedClassificationList"
:key="item.BIANMA" :key="item.BIANMA"
@ -21,7 +24,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="过户方式" prop="ASSIGNED_WAY"> <el-form-item label="过户方式" prop="ASSIGNED_WAY">
<el-select v-model="searchForm.ASSIGNED_WAY"> <el-select
v-model="searchForm.ASSIGNED_WAY"
placeholder="请选择过户方式"
>
<el-option <el-option
v-for="item in assignedWayList" v-for="item in assignedWayList"
:key="item.BIANMA" :key="item.BIANMA"
@ -33,7 +39,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="过户车型" prop="ASSIGNED_VEHICLE_MODEL"> <el-form-item label="过户车型" prop="ASSIGNED_VEHICLE_MODEL">
<el-select v-model="searchForm.ASSIGNED_VEHICLE_MODEL"> <el-select
v-model="searchForm.ASSIGNED_VEHICLE_MODEL"
placeholder="请选择过户车型"
>
<el-option <el-option
v-for="item in assignedVehicleModel" v-for="item in assignedVehicleModel"
:key="item.BIANMA" :key="item.BIANMA"
@ -63,7 +72,7 @@
<el-form-item label="现车主" prop="NOW_OWNERS"> <el-form-item label="现车主" prop="NOW_OWNERS">
<el-input <el-input
v-model="searchForm.NOW_OWNERS" v-model="searchForm.NOW_OWNERS"
placeholder="请填写现车主业" placeholder="请填写现车主业"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -117,15 +126,15 @@
<el-table-column prop="RECORD_NUMBER" label="档案号" /> <el-table-column prop="RECORD_NUMBER" label="档案号" />
<el-table-column prop="ASSIGNED_TYPE" label="过户类型" width="80" /> <el-table-column prop="ASSIGNED_TYPE" label="过户类型" width="80" />
<el-table-column prop="PLATE_NUMBER" label="原车牌号" width="80" /> <el-table-column prop="PLATE_NUMBER" label="原车牌号" width="80" />
<el-table-column prop="NOW_PLATE_NUMBER" label="现车牌号" width="80" /> <el-table-column prop="NOW_PLATE_NUMBER" label="现车牌号" />
<el-table-column <el-table-column
prop="RAW_OWNERS" prop="RAW_OWNERS"
label="原车主业" label="原车主业"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="NOW_OWNERS" prop="NOW_OWNERS"
label="现车主业" label="现车主业"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column

View File

@ -45,7 +45,7 @@
<el-descriptions-item label="原车牌号"> <el-descriptions-item label="原车牌号">
{{ info.PLATE_NUMBER }} {{ info.PLATE_NUMBER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="原车主业"> <el-descriptions-item label="原车主业">
{{ info.RAW_OWNERS }} {{ info.RAW_OWNERS }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="原联系电话"> <el-descriptions-item label="原联系电话">
@ -54,7 +54,7 @@
<el-descriptions-item label="现车牌号"> <el-descriptions-item label="现车牌号">
{{ info.NOW_PLATE_NUMBER }} {{ info.NOW_PLATE_NUMBER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="现车主业"> <el-descriptions-item label="现车主业">
{{ info.NOW_OWNERS }} {{ info.NOW_OWNERS }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="现联系电话"> <el-descriptions-item label="现联系电话">

View File

@ -9,17 +9,26 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车牌号" prop="PLATE_NUMBER"> <el-form-item label="车牌号" prop="PLATE_NUMBER">
<el-input v-model="searchForm.PLATE_NUMBER" /> <el-input
v-model="searchForm.PLATE_NUMBER"
placeholder="请输入车牌号"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业户" prop="CAR_OWNERS"> <el-form-item label="车主业户" prop="CAR_OWNERS">
<el-input v-model="searchForm.CAR_OWNERS" /> <el-input
v-model="searchForm.CAR_OWNERS"
placeholder="请输入车主业户"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="登记人" prop="REGISTRANT"> <el-form-item label="登记人" prop="REGISTRANT">
<el-input v-model="searchForm.REGISTRANT" /> <el-input
v-model="searchForm.REGISTRANT"
placeholder="请输入登记人"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -29,12 +38,16 @@
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
format="YYYY-MM-DD" format="YYYY-MM-DD"
type="date" type="date"
placeholder="请选择到期日期"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="到期状态" prop="DUE_DATE_TYPE"> <el-form-item label="到期状态" prop="DUE_DATE_TYPE">
<el-select v-model="searchForm.DUE_DATE_TYPE"> <el-select
v-model="searchForm.DUE_DATE_TYPE"
placeholder="请选择到期状态"
>
<el-option <el-option
v-for="item in DUE_STATUS_LIST" v-for="item in DUE_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -46,7 +59,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="提醒状态" prop="REMINDER_STATUS"> <el-form-item label="提醒状态" prop="REMINDER_STATUS">
<el-select v-model="searchForm.REMINDER_STATUS"> <el-select
v-model="searchForm.REMINDER_STATUS"
placeholder="请选择提醒状态"
>
<el-option <el-option
v-for="item in REMINDER_STATUS_LIST" v-for="item in REMINDER_STATUS_LIST"
:key="item.ID" :key="item.ID"

View File

@ -44,7 +44,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="运营车型" prop="VEHICLE_MODEL"> <el-form-item label="运营车型" prop="VEHICLE_MODEL">
<el-select v-model="searchForm.VEHICLE_MODEL"> <el-select
v-model="searchForm.VEHICLE_MODEL"
placeholder="请选择运营车辆"
>
<el-option <el-option
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
@ -56,7 +59,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="到期状态" prop="DUE_DATE_TYPE"> <el-form-item label="到期状态" prop="DUE_DATE_TYPE">
<el-select v-model="searchForm.DUE_DATE_TYPE"> <el-select
v-model="searchForm.DUE_DATE_TYPE"
placeholder="请选择到期状态"
>
<el-option <el-option
v-for="item in DUE_STATUS_LIST" v-for="item in DUE_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -66,9 +72,12 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="6">
<el-form-item label="提醒状态" prop="REMINDER_STATUS"> <el-form-item label="提醒状态" prop="REMINDER_STATUS">
<el-select v-model="searchForm.REMINDER_STATUS"> <el-select
v-model="searchForm.REMINDER_STATUS"
placeholder="请选择提醒状态"
>
<el-option <el-option
v-for="item in REMINDER_STATUS_LIST" v-for="item in REMINDER_STATUS_LIST"
:key="item.ID" :key="item.ID"

View File

@ -44,7 +44,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="运营车型" prop="VEHICLE_MODEL"> <el-form-item label="运营车型" prop="VEHICLE_MODEL">
<el-select v-model="searchForm.VEHICLE_MODEL"> <el-select
v-model="searchForm.VEHICLE_MODEL"
placeholder="请选择运营车辆"
>
<el-option <el-option
v-for="item in OPERATING_VEHICLE_TYPE_LIST" v-for="item in OPERATING_VEHICLE_TYPE_LIST"
:key="item.ID" :key="item.ID"
@ -56,7 +59,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="到期状态" prop="DUE_DATE_TYPE"> <el-form-item label="到期状态" prop="DUE_DATE_TYPE">
<el-select v-model="searchForm.DUE_DATE_TYPE"> <el-select
v-model="searchForm.DUE_DATE_TYPE"
placeholder="请选择到期状态"
>
<el-option <el-option
v-for="item in DUE_STATUS_LIST" v-for="item in DUE_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -68,7 +74,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="提醒状态" prop="REMINDER_STATUS"> <el-form-item label="提醒状态" prop="REMINDER_STATUS">
<el-select v-model="searchForm.REMINDER_STATUS"> <el-select
v-model="searchForm.REMINDER_STATUS"
placeholder="请选择提醒状态"
>
<el-option <el-option
v-for="item in REMINDER_STATUS_LIST" v-for="item in REMINDER_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -127,8 +136,8 @@
}} }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="PLATE_NUMBER" label="车牌号" width="100" /> <el-table-column prop="PLATE_NUMBER" label="车牌号" />
<el-table-column prop="CAR_OWNERS" label="车主业户" width="98" /> <el-table-column prop="CAR_OWNERS" label="车主业户" />
<el-table-column prop="TELEPHONE" label="联系电话" width="100" /> <el-table-column prop="TELEPHONE" label="联系电话" width="100" />
<el-table-column <el-table-column
prop="PROCESSING_DATE_YEAR" prop="PROCESSING_DATE_YEAR"
@ -140,13 +149,13 @@
label="保险项目" label="保险项目"
width="160" width="160"
/> />
<el-table-column prop="PROCESSING_DATE" label="办理日期" width="100" /> <el-table-column prop="PROCESSING_DATE" label="办理日期" width="90" />
<el-table-column prop="EFFECTIVE_DATE" label="生效日期" width="100" /> <el-table-column prop="EFFECTIVE_DATE" label="生效日期" width="90" />
<el-table-column prop="DUE_DATE" label="到期日期" width="100" /> <el-table-column prop="DUE_DATE" label="到期日期" width="90" />
<el-table-column prop="REGISTRANT" label="登记人" width="120" /> <el-table-column prop="REGISTRANT" label="登记人" />
<!--<el-table-column prop="NULLL" label="经营类型" width="150"/>--> <!--<el-table-column prop="NULLL" label="经营类型" width="150"/>-->
<!--<el-table-column prop="CONTACTS" label="经营企业" width="150"/>--> <!--<el-table-column prop="CONTACTS" label="经营企业" width="150"/>-->
<el-table-column prop="REMINDER_STATUS" label="提醒状态" width="80"> <el-table-column prop="REMINDER_STATUS" label="提醒状态" width="75">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.REMINDER_STATUS === '1'" type="success" <el-tag v-if="row.REMINDER_STATUS === '1'" type="success"
>开启</el-tag >开启</el-tag
@ -156,7 +165,7 @@
> >
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="DUE_DATE_TYPE" label="到期状态" width="80"> <el-table-column prop="DUE_DATE_TYPE" label="到期状态" width="75">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.DUE_DATE_TYPE === 1" type="success" <el-tag v-if="row.DUE_DATE_TYPE === 1" type="success"
>未到期</el-tag >未到期</el-tag
@ -171,7 +180,7 @@
</el-table-column> </el-table-column>
<!-- <el-table-column prop="CREATTIME" label="创建时间" width="150" /> <!-- <el-table-column prop="CREATTIME" label="创建时间" width="150" />
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />--> <el-table-column prop="OPERATTIME" label="修改时间" width="150" />-->
<el-table-column label="操作" width="200"> <el-table-column label="操作" width="190">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button
type="primary" type="primary"

View File

@ -9,17 +9,26 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车牌号" prop="PLATE_NUMBER"> <el-form-item label="车牌号" prop="PLATE_NUMBER">
<el-input v-model="searchForm.PLATE_NUMBER" /> <el-input
v-model="searchForm.PLATE_NUMBER"
placeholder="请输入车牌号"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业户" prop="CAR_OWNERS"> <el-form-item label="车主业户" prop="CAR_OWNERS">
<el-input v-model="searchForm.CAR_OWNERS" /> <el-input
v-model="searchForm.CAR_OWNERS"
placeholder="请输入车主业户"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="登记人" prop="REGISTRANT"> <el-form-item label="登记人" prop="REGISTRANT">
<el-input v-model="searchForm.REGISTRANT" /> <el-input
v-model="searchForm.REGISTRANT"
placeholder="请输入登记人"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -29,12 +38,16 @@
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
format="YYYY-MM-DD" format="YYYY-MM-DD"
type="date" type="date"
placeholder="请选择到期日期"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="到期状态" prop="DUE_DATE_TYPE"> <el-form-item label="到期状态" prop="DUE_DATE_TYPE">
<el-select v-model="searchForm.DUE_DATE_TYPE"> <el-select
v-model="searchForm.DUE_DATE_TYPE"
placeholder="请选择到期状态"
>
<el-option <el-option
v-for="item in DUE_STATUS_LIST" v-for="item in DUE_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -46,7 +59,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="提醒状态" prop="REMINDER_STATUS"> <el-form-item label="提醒状态" prop="REMINDER_STATUS">
<el-select v-model="searchForm.REMINDER_STATUS"> <el-select
v-model="searchForm.REMINDER_STATUS"
placeholder="请选择提醒状态"
>
<el-option <el-option
v-for="item in REMINDER_STATUS_LIST" v-for="item in REMINDER_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -86,10 +102,10 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="NUM" label="编号"/> <el-table-column prop="NUM" label="编号" />
<el-table-column prop="PLATE_NUMBER" label="车牌号"/> <el-table-column prop="PLATE_NUMBER" label="车牌号" />
<el-table-column prop="CAR_OWNERS" label="车主业户"/> <el-table-column prop="CAR_OWNERS" label="车主业户" />
<el-table-column prop="TELEPHONE" label="联系电话"/> <el-table-column prop="TELEPHONE" label="联系电话" />
<el-table-column prop="MAINTENANCE_LEVEL" label="维保等级" width="100"> <el-table-column prop="MAINTENANCE_LEVEL" label="维保等级" width="100">
<template #default="{ row }"> <template #default="{ row }">
{{ {{
@ -104,7 +120,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="DUE_DATE" label="到期日期" width="100" /> <el-table-column prop="DUE_DATE" label="到期日期" width="100" />
<el-table-column prop="REGISTRANT" label="登记人"/> <el-table-column prop="REGISTRANT" label="登记人" />
<!--<el-table-column prop="CONTACTS" label="经营企业" width="150"/>--> <!--<el-table-column prop="CONTACTS" label="经营企业" width="150"/>-->
<el-table-column prop="REMINDER_STATUS" label="提醒状态" width="80"> <el-table-column prop="REMINDER_STATUS" label="提醒状态" width="80">
<template #default="{ row }"> <template #default="{ row }">
@ -244,7 +260,6 @@ const data = reactive({
const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } = const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
useListData(getMaintenanceList); useListData(getMaintenanceList);
console.log(getMaintenanceList());
const fnGetDataTransfer = () => { const fnGetDataTransfer = () => {
fnGetData({ fnGetData({
PLATE_NUMBER: searchForm.value.PLATE_NUMBER, PLATE_NUMBER: searchForm.value.PLATE_NUMBER,

View File

@ -9,7 +9,10 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="事故人员" prop="USER_ID"> <el-form-item label="事故人员" prop="USER_ID">
<el-select v-model="searchForm.USER_ID"> <el-select
v-model="searchForm.USER_ID"
placeholder="请选择事故人员"
>
<el-option <el-option
v-for="item in data.unitsList" v-for="item in data.unitsList"
:key="item.USER_ID" :key="item.USER_ID"
@ -26,7 +29,7 @@
type="date" type="date"
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
placeholder="选择日期" placeholder="选择事故日期"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -70,8 +73,8 @@
<el-table-column prop="ACCIDENTRECORDPERSON" label="事故登记人" /> <el-table-column prop="ACCIDENTRECORDPERSON" label="事故登记人" />
<el-table-column prop="ACCIDENTDATE" label="事故日期" /> <el-table-column prop="ACCIDENTDATE" label="事故日期" />
<el-table-column prop="REGISTRATIONDATE" label="登记日期" /> <el-table-column prop="REGISTRATIONDATE" label="登记日期" />
<el-table-column prop="CREATETIME" label="创建时间" width="150"/> <el-table-column prop="CREATETIME" label="创建时间" width="150" />
<el-table-column prop="OPERATTIME" label="修改时间" width="150"/> <el-table-column prop="OPERATTIME" label="修改时间" width="150" />
<el-table-column label="操作" width="100"> <el-table-column label="操作" width="100">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

View File

@ -8,6 +8,8 @@
<el-input <el-input
v-model="form.RECORD_NUMBER" v-model="form.RECORD_NUMBER"
placeholder="请输入登记编号" placeholder="请输入登记编号"
maxlength="50"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -44,7 +46,7 @@
<el-divider content-position="left">移除前数据</el-divider> <el-divider content-position="left">移除前数据</el-divider>
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主/业" prop="VEHICLEOWNER"> <el-form-item label="车主/业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="form.VEHICLE.VEHICLEOWNER" v-model="form.VEHICLE.VEHICLEOWNER"
placeholder="--" placeholder="--"
@ -152,7 +154,12 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="登记人" prop="REGISTRANT"> <el-form-item label="登记人" prop="REGISTRANT">
<el-input v-model="form.REGISTRANT" placeholder="请填写登记人" /> <el-input
v-model="form.REGISTRANT"
placeholder="请填写登记人"
maxlength="50"
show-word-limit
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -212,14 +219,13 @@ const getAllOperationVehicleList = await getScrapOperationVehicleList();
const getAllFrailerList = await getScrapFreightTrailerList(); const getAllFrailerList = await getScrapFreightTrailerList();
const VEHICLE_MODEL = await layoutFnGetScrapType(); const VEHICLE_MODEL = await layoutFnGetScrapType();
const SCRAP_ID = route.query.SCRAP_ID; const SCRAP_ID = route.query.SCRAP_ID;
const rules = { const rules = {
SCRAP_VEHICLEMODEL: [ SCRAP_VEHICLEMODEL: [
{ required: true, message: "移除车型不能为空", trigger: "change" }, { required: true, message: "移除车型不能为空", trigger: "change" },
], ],
SCRAP_VEHICLE: [ SCRAP_VEHICLE: [
{ required: true, message: "移除车辆不能为空", trigger: "blur" }, { required: true, message: "移除车辆不能为空", trigger: "blur" },
], ],
SCRAP_DATE: [ SCRAP_DATE: [
{ required: true, message: "移除日期不能为空", trigger: "change" }, { required: true, message: "移除日期不能为空", trigger: "change" },

View File

@ -31,10 +31,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业" prop="VEHICLEOWNER"> <el-form-item label="车主业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="searchForm.VEHICLEOWNER" v-model="searchForm.VEHICLEOWNER"
placeholder="请填写车主业" placeholder="请填写车主业"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -75,8 +75,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="RECORD_NUMBER" label="档案号" /> <el-table-column prop="RECORD_NUMBER" label="档案号" />
<el-table-column prop="PLATE_NUMBER" label="车牌号" /> <el-table-column prop="PLATE_NUMBER" label="车牌号" />
<el-table-column prop="SCRAP_VEHICLEMODEL" label="移除车型" width="80" /> <el-table-column
<el-table-column prop="VEHICLEOWNER" label="车主业主" /> prop="SCRAP_VEHICLEMODEL"
label="移除车型"
width="80"
/>
<el-table-column prop="VEHICLEOWNER" label="车主业户" />
<el-table-column <el-table-column
prop="CONTACT_NUMBER" prop="CONTACT_NUMBER"
label="联系电话" label="联系电话"

View File

@ -9,15 +9,12 @@
<el-descriptions-item label="车架号"> <el-descriptions-item label="车架号">
{{ data.FRAMES_NUMBER }} {{ data.FRAMES_NUMBER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车主业"> <el-descriptions-item label="车主业">
{{ data.VEHICLEOWNER }} {{ data.VEHICLEOWNER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车主电话"> <el-descriptions-item label="车主电话">
{{ data.VEHICLEOWNER_NUMBER }} {{ data.VEHICLEOWNER_NUMBER }}
</el-descriptions-item> </el-descriptions-item>
<!-- <el-descriptions-item label="发动机号">
{{ data.ENGINE_NUMBER }}
</el-descriptions-item>-->
<el-descriptions-item label="初登日期"> <el-descriptions-item label="初登日期">
{{ data.FIRSTSHOW_DATE }} {{ data.FIRSTSHOW_DATE }}
</el-descriptions-item> </el-descriptions-item>
@ -27,12 +24,6 @@
<el-descriptions-item label="车辆型号"> <el-descriptions-item label="车辆型号">
{{ data.VEHICLE_MODEL }} {{ data.VEHICLE_MODEL }}
</el-descriptions-item> </el-descriptions-item>
<!-- <el-descriptions-item label="动力类型">
{{ data.POWER_TYPE }}
</el-descriptions-item>
<el-descriptions-item label="排放标准">
{{ data.EMISSION_STANDARD }}
</el-descriptions-item>-->
</el-descriptions> </el-descriptions>
<el-divider content-position="left">报废数据</el-divider> <el-divider content-position="left">报废数据</el-divider>
<el-descriptions border> <el-descriptions border>

View File

@ -23,6 +23,8 @@
<el-input <el-input
v-model="form.RECORD_NUMBER" v-model="form.RECORD_NUMBER"
placeholder="请输入登记编号" placeholder="请输入登记编号"
maxlength="50"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -98,10 +100,12 @@
<el-divider content-position="left">挂车税务信息</el-divider> <el-divider content-position="left">挂车税务信息</el-divider>
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业" prop="VEHICLEOWNER"> <el-form-item label="车主业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="form.VEHICLEOWNER" v-model="form.VEHICLEOWNER"
placeholder="请填写车主业主" placeholder="请填写车主业户"
maxlength="50"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -110,12 +114,19 @@
<el-input <el-input
v-model="form.CONTACT_NUMBER" v-model="form.CONTACT_NUMBER"
placeholder="请填写联系电话" placeholder="请填写联系电话"
maxlength="11"
show-word-limit
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="登记人" prop="REGISTRANT"> <el-form-item label="登记人" prop="REGISTRANT">
<el-input v-model="form.REGISTRANT" placeholder="请填写登记人" /> <el-input
v-model="form.REGISTRANT"
placeholder="请填写登记人"
maxlength="50"
show-word-limit
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -250,7 +261,7 @@ const rules = {
{ required: true, message: "挂车车辆不能为空", trigger: "blur" }, { required: true, message: "挂车车辆不能为空", trigger: "blur" },
], ],
VEHICLEOWNER: [ VEHICLEOWNER: [
{ required: true, message: "车主/业不能为空", trigger: "blur" }, { required: true, message: "车主/业不能为空", trigger: "blur" },
], ],
CONTACT_NUMBER: [ CONTACT_NUMBER: [
{ required: true, message: "请输入", trigger: "blur" }, { required: true, message: "请输入", trigger: "blur" },

View File

@ -41,7 +41,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业" prop="CAR_OWNERS"> <el-form-item label="车主业" prop="CAR_OWNERS">
<el-input v-model="form.CAR_OWNERS" placeholder="--" disabled /> <el-input v-model="form.CAR_OWNERS" placeholder="--" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -93,10 +93,10 @@
<el-divider content-position="left">挂车税务信息</el-divider> <el-divider content-position="left">挂车税务信息</el-divider>
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业" prop="VEHICLEOWNER"> <el-form-item label="车主业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="form.VEHICLEOWNER" v-model="form.VEHICLEOWNER"
placeholder="请填写车主业" placeholder="请填写车主业"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -248,7 +248,7 @@ const rules = {
{ required: true, message: "挂车车辆不能为空", trigger: "change" }, { required: true, message: "挂车车辆不能为空", trigger: "change" },
], ],
VEHICLEOWNER: [ VEHICLEOWNER: [
{ required: true, message: "车主/业不能为空", trigger: "blur" }, { required: true, message: "车主/业不能为空", trigger: "blur" },
], ],
CONTACT_NUMBER: [ CONTACT_NUMBER: [
{ required: true, message: "联系电话不能为空", trigger: "blur" }, { required: true, message: "联系电话不能为空", trigger: "blur" },

View File

@ -16,10 +16,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="车主业" prop="VEHICLEOWNER"> <el-form-item label="车主业" prop="VEHICLEOWNER">
<el-input <el-input
v-model="searchForm.VEHICLEOWNER" v-model="searchForm.VEHICLEOWNER"
placeholder="请填写车主业" placeholder="请填写车主业"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -44,7 +44,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="到期状态" prop="EXPIRE_STATUS"> <el-form-item label="到期状态" prop="EXPIRE_STATUS">
<el-select v-model="searchForm.EXPIRE_STATUS"> <el-select
v-model="searchForm.EXPIRE_STATUS"
placeholder="请选择到期状态"
>
<el-option <el-option
v-for="item in DUE_STATUS_LIST" v-for="item in DUE_STATUS_LIST"
:key="item.ID" :key="item.ID"
@ -99,7 +102,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="RECORD_NUMBER" label="档案号" /> <el-table-column prop="RECORD_NUMBER" label="档案号" />
<el-table-column prop="PLATE_NUMBER" label="车牌号" /> <el-table-column prop="PLATE_NUMBER" label="车牌号" />
<el-table-column prop="VEHICLEOWNER" label="车主业" /> <el-table-column prop="VEHICLEOWNER" label="车主业" />
<el-table-column prop="CONTACT_NUMBER" label="联系电话" /> <el-table-column prop="CONTACT_NUMBER" label="联系电话" />
<el-table-column prop="TRANSACTION_DATA" label="办理日期" width="100" /> <el-table-column prop="TRANSACTION_DATA" label="办理日期" width="100" />
<el-table-column prop="TAXESDUES_PERIOD" label="税费周期" width="80" /> <el-table-column prop="TAXESDUES_PERIOD" label="税费周期" width="80" />

View File

@ -15,7 +15,7 @@
<el-descriptions-item label="车辆类型"> <el-descriptions-item label="车辆类型">
{{ data.VEHICLE_TYPE }} {{ data.VEHICLE_TYPE }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车主业"> <el-descriptions-item label="车主业">
{{ data.VEHICLEOWNER }} {{ data.VEHICLEOWNER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="联系电话"> <el-descriptions-item label="联系电话">

View File

@ -52,11 +52,7 @@
{{ serialNumber(pagination, $index) }} {{ serialNumber(pagination, $index) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="MANAGEMENTAGREEMENTNAME" label="名称" />
prop="MANAGEMENTAGREEMENTNAME"
label="名称"
/>
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="80"> <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="80">
<template #default="{ row }"> <template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag> <el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>