页面修改
This commit is contained in:
parent
0bed510c3f
commit
2a528466ff
@ -816,17 +816,15 @@ const getDetails = async () => {
|
||||
formData[key] = data[key];
|
||||
if (stringArr.includes(key)) formData[key] = formData[key].toString();
|
||||
});
|
||||
apiCityList({ city: formData.province }).then(() => {
|
||||
apiAreaList({ area: formData.city }).then(() => {
|
||||
apiStreetList({ street: formData.area });
|
||||
});
|
||||
});
|
||||
formData["party_a_name"] = data["contract"]["party_a_name"];
|
||||
formData["file_image"] = data["contract"]["file"];
|
||||
fileList.value[0].url = data["contract"]["file"];
|
||||
fileList.value[0].name = "合同文件";
|
||||
await getCityList();
|
||||
await getAreaList();
|
||||
await getStreetList();
|
||||
};
|
||||
getProvinceList();
|
||||
|
||||
getdictTypeLists();
|
||||
getcontract_type();
|
||||
|
||||
|
@ -504,7 +504,7 @@ const formData = reactive({
|
||||
sex: "",
|
||||
id_card: "",
|
||||
name: "",
|
||||
province: "",
|
||||
province: "120000",
|
||||
city: "",
|
||||
area: "",
|
||||
street: "",
|
||||
@ -547,7 +547,7 @@ const getcontract_type = async () => {
|
||||
};
|
||||
getcontract_type();
|
||||
|
||||
const isCompany = ref(false)
|
||||
const isCompany = ref(false);
|
||||
function customEvent(data: any) {
|
||||
isCompany.value = false;
|
||||
formData.party_a = data.id;
|
||||
@ -788,11 +788,9 @@ const setFormData = async (row: any) => {
|
||||
if (stringArr.includes(key)) formData[key] = formData[key].toString();
|
||||
}
|
||||
}
|
||||
apiCityList({ city: formData.province }).then(() => {
|
||||
apiAreaList({ area: formData.city }).then(() => {
|
||||
apiStreetList({ street: formData.area });
|
||||
});
|
||||
});
|
||||
await getCityList();
|
||||
await getAreaList();
|
||||
await getStreetList();
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user