Browse Source

尔弘卖方地址没回填

lxf 2 years ago
parent
commit
de5e11d66f

+ 3 - 3
src/components/process/EHSD/Contract.vue

@@ -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;

+ 3 - 3
src/components/process/EHSD/PriceSheet.vue

@@ -535,7 +535,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;
@@ -544,7 +544,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;
@@ -556,7 +556,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;

+ 3 - 3
src/components/process/EHSD/Sample.vue

@@ -695,7 +695,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;
@@ -704,7 +704,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;
@@ -716,7 +716,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;