BUG 优化

dev
xiepeng 2024-04-26 18:03:07 +08:00
parent c9e9f71e54
commit 51756106a2
5 changed files with 11 additions and 3 deletions

View File

@ -101,6 +101,8 @@
<el-input <el-input
v-model="form.VEHICLEOWNER_NUMBER" v-model="form.VEHICLEOWNER_NUMBER"
placeholder="请填写车主电话" placeholder="请填写车主电话"
maxlength="11"
show-word-limit
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -125,6 +127,8 @@
<el-input <el-input
v-model="form.CONTACT_NUMBER" v-model="form.CONTACT_NUMBER"
placeholder="请填写联系电话" placeholder="请填写联系电话"
maxlength="11"
show-word-limit
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -94,6 +94,8 @@
<el-input <el-input
v-model="form.VEHICLEOWNER_NUMBER" v-model="form.VEHICLEOWNER_NUMBER"
placeholder="请填写车主电话" placeholder="请填写车主电话"
maxlength="11"
show-word-limit
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -118,6 +120,8 @@
<el-input <el-input
v-model="form.CONTACT_NUMBER" v-model="form.CONTACT_NUMBER"
placeholder="请填写联系电话" placeholder="请填写联系电话"
maxlength="11"
show-word-limit
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -431,6 +431,7 @@ const fnGetVehicleInfo = async () => {
const OPERATING_ID = form.value.OPERATIONVEHICLELIST[i].OPERATING_ID; const OPERATING_ID = form.value.OPERATIONVEHICLELIST[i].OPERATING_ID;
const resData = await findByIdOperatingVehicleInfo({ OPERATING_ID }); const resData = await findByIdOperatingVehicleInfo({ OPERATING_ID });
info.value = resData.pd; info.value = resData.pd;
console.log(resData);
form.value.VEHICLE.PLATE_NUMBER = info.value.PLATE_NUMBER; form.value.VEHICLE.PLATE_NUMBER = info.value.PLATE_NUMBER;
form.value.VEHICLE.RAW_OWNERS = info.value.VEHICLEOWNER; form.value.VEHICLE.RAW_OWNERS = info.value.VEHICLEOWNER;
form.value.VEHICLE.RAW_OWNERS_NUMBER = info.value.VEHICLEOWNER_NUMBER; form.value.VEHICLE.RAW_OWNERS_NUMBER = info.value.VEHICLEOWNER_NUMBER;

View File

@ -21,9 +21,6 @@
<el-descriptions-item label="车架号"> <el-descriptions-item label="车架号">
{{ info.FRAMES_NUMBER }} {{ info.FRAMES_NUMBER }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="车辆类型">
{{ info.VEHICLE_TYPE }}
</el-descriptions-item>
<el-descriptions-item label="车辆品牌"> <el-descriptions-item label="车辆品牌">
{{ info.VEHICLE_BRAND }} {{ info.VEHICLE_BRAND }}
</el-descriptions-item> </el-descriptions-item>
@ -130,6 +127,7 @@ const getData = async () => {
info.value.NOW_DRIVINGLICENSE_IMG = addingPrefixToFile( info.value.NOW_DRIVINGLICENSE_IMG = addingPrefixToFile(
resData.nowDrivinglicenseImg resData.nowDrivinglicenseImg
); );
}; };
getData(); getData();
</script> </script>

View File

@ -276,6 +276,7 @@ const form = ref({
OPERATIONVEHICLELIST: [], OPERATIONVEHICLELIST: [],
FREIGHTVEHICLELIST: [], FREIGHTVEHICLELIST: [],
DRIVING_LICENSE_IMG: [], DRIVING_LICENSE_IMG: [],
ID: ""
}); });
const fnEditVehicleModel = async () => { const fnEditVehicleModel = async () => {
form.value.SCRAP_VEHICLE = null; form.value.SCRAP_VEHICLE = null;