forked from integrated_whb/integrated_whb_vue
BUG 优化
parent
3e709eb383
commit
328b76dcde
|
@ -260,6 +260,7 @@ const form = ref({
|
|||
ENGINE_NUMBER: "",
|
||||
VEHICLE_MODEL: "",
|
||||
TRANSACTION_DATE: "",
|
||||
FREIGHTTRAILER_ID: "",
|
||||
VEHICLE: {
|
||||
VEHICLEOWNER: "",
|
||||
VEHICLEOWNER_NUMBER: "",
|
||||
|
@ -287,6 +288,7 @@ const fnEditVehicleModel = async () => {
|
|||
} else if (form.value.SCRAP_VEHICLEMODEL === "货运挂车") {
|
||||
form.value.ALLVEHICLE = getAllFrailerList.varList;
|
||||
form.value.FREIGHTVEHICLELIST = form.value.ALLVEHICLE;
|
||||
console.log();
|
||||
}
|
||||
};
|
||||
const info = ref({});
|
||||
|
@ -334,6 +336,8 @@ const fnGetVehicleInfo = async () => {
|
|||
form.value.FREIGHTVEHICLELIST[i].PLATE_NUMBER ===
|
||||
form.value.SCRAP_VEHICLE
|
||||
) {
|
||||
form.value.FREIGHTTRAILER_ID =
|
||||
form.value.FREIGHTVEHICLELIST[i].FREIGHTTRAILER_ID
|
||||
form.value.VEHICLE.VEHICLEOWNER =
|
||||
form.value.FREIGHTVEHICLELIST[i].CAR_OWNERS;
|
||||
form.value.VEHICLE.VEHICLEOWNER_NUMBER =
|
||||
|
@ -389,6 +393,7 @@ const fnSubmit = debounce(
|
|||
1000,
|
||||
async () => {
|
||||
await useFormValidate(formRef);
|
||||
console.log("form.value",form.value);
|
||||
await setScrapManageAdd({ ...form.value });
|
||||
ElMessage.success("提交成功");
|
||||
router.back();
|
||||
|
|
Loading…
Reference in New Issue