|
@@ -685,7 +685,7 @@ const changeTemplate = (val) => {
|
|
|
if (val) {
|
|
|
proxy.post("/contractTemplate/detail", { id: val }).then(
|
|
|
(res) => {
|
|
|
- proxy.post("/areaInfo/list", { parentId: "0" }).then((resCountry) => {
|
|
|
+ proxy.post("/customizeArea/list", { parentId: "0" }).then((resCountry) => {
|
|
|
let sellCountryData = resCountry.filter((item) => item.id === res.countryId);
|
|
|
if (sellCountryData && sellCountryData.length > 0) {
|
|
|
formData.data.sellCountryId = sellCountryData[0].chineseName;
|
|
@@ -694,7 +694,7 @@ const changeTemplate = (val) => {
|
|
|
}
|
|
|
});
|
|
|
if (res.countryId) {
|
|
|
- proxy.post("/areaInfo/list", { parentId: res.countryId }).then((resProvince) => {
|
|
|
+ proxy.post("/customizeArea/list", { parentId: res.countryId }).then((resProvince) => {
|
|
|
let sellProvinceData = resProvince.filter((item) => item.id === res.provinceId);
|
|
|
if (sellProvinceData && sellProvinceData.length > 0) {
|
|
|
formData.data.sellProvinceId = sellProvinceData[0].name;
|
|
@@ -706,7 +706,7 @@ const changeTemplate = (val) => {
|
|
|
formData.data.sellProvinceId = "";
|
|
|
}
|
|
|
if (res.provinceId) {
|
|
|
- proxy.post("/areaInfo/list", { parentId: res.provinceId }).then((resCity) => {
|
|
|
+ proxy.post("/customizeArea/list", { parentId: res.provinceId }).then((resCity) => {
|
|
|
let sellCityData = resCity.filter((item) => item.id === res.cityId);
|
|
|
if (sellCityData && sellCityData.length > 0) {
|
|
|
formData.data.sellCityId = sellCityData[0].name;
|