Jelajahi Sumber

更改导入

lichao 3 tahun lalu
induk
melakukan
1920fd4bed

+ 3 - 3
src/views/basicData/customerManagement/companyMaterial/index.vue

@@ -83,7 +83,7 @@
           @onClose="onClose()"
         ></report-dialog>
         <el-dialog
-          title="导入客户"
+          title="导入所属公司"
           append-to-body
           :visible.sync="excelBox"
           width="555px"
@@ -194,7 +194,7 @@ export default {
               res: "data"
             },
             tip: "请上传 .xls,.xlsx 标准格式文件",
-            action: "/api/blade-client/corpsdesc/import-desc?corpType=GS"
+            action: "/api/blade-client/corpsdesc/import-company-desc"
           }
         ]
       }
@@ -227,7 +227,7 @@ export default {
   methods: {
     derivation() {
       window.open(
-        `/api/blade-client/corpsdesc/export-template?${
+        `/api/blade-client/corpsdesc/export-company-template?${
           this.website.tokenHeader
         }=${getToken()}`
       );

+ 3 - 3
src/views/basicData/customerManagement/supplierMaterial/index.vue

@@ -83,7 +83,7 @@
           @onClose="onClose()"
         ></report-dialog>
         <el-dialog
-          title="导入客户"
+          title="导入供应商"
           append-to-body
           :visible.sync="excelBox"
           width="555px"
@@ -194,7 +194,7 @@ export default {
               res: "data"
             },
             tip: "请上传 .xls,.xlsx 标准格式文件",
-            action: "/api/blade-client/corpsdesc/import-desc?corpType=GYS"
+            action: "/api/blade-client/corpsdesc/import-supplier-desc"
           }
         ]
       }
@@ -227,7 +227,7 @@ export default {
   methods: {
     derivation() {
       window.open(
-        `/api/blade-client/corpsdesc/export-template?${
+        `/api/blade-client/corpsdesc/export-supplier-template?${
           this.website.tokenHeader
         }=${getToken()}`
       );