|
@@ -1961,6 +1961,17 @@ watch(
|
|
|
res.countryId = res.buyCountryId;
|
|
|
res.provinceId = res.buyProvinceId;
|
|
|
res.cityId = res.buyCityId;
|
|
|
+ if (res && res.buyCorporationName) {
|
|
|
+ proxy
|
|
|
+ .post("/customer/selPage", { keyword: res.buyCorporationName })
|
|
|
+ .then((res) => {
|
|
|
+ customerList.value = res.rows.map((x) => ({
|
|
|
+ ...x,
|
|
|
+ label: x.name,
|
|
|
+ value: x.id,
|
|
|
+ }));
|
|
|
+ });
|
|
|
+ }
|
|
|
for (const key in res) {
|
|
|
formData.data[key] = res[key];
|
|
|
}
|