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