From e487f1bfa92d9e90dd8f876479bbfced09b4d58c Mon Sep 17 00:00:00 2001
From: futian.liu <liufutianyoo@163.com>
Date: 星期五, 29 十二月 2023 14:04:18 +0800
Subject: [PATCH] 添加角色查询接口

---
 admin-web/src/views/stock/ledger/inventoryAlert/index.vue |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/admin-web/src/views/stock/ledger/inventoryAlert/index.vue b/admin-web/src/views/stock/ledger/inventoryAlert/index.vue
index 034560a..59dd041 100644
--- a/admin-web/src/views/stock/ledger/inventoryAlert/index.vue
+++ b/admin-web/src/views/stock/ledger/inventoryAlert/index.vue
@@ -52,7 +52,7 @@
           options: [],
           cascader: [
             {key: 'warehouseId', queryKey: 'agencyId'},
-            {key: 'goodsTemplateId', queryKey: 'agencyId'},
+            {key: 'baseGoodsTemplateId', queryKey: 'agencyId'},
           ],
           optionsConfig: {url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null},
         },
@@ -70,20 +70,6 @@
           },
         },
         {
-          type: 'select',
-          dataIndex: 'baseGoodsTemplateId',
-          label: '鐗╁搧鍚嶇О',
-          placeholder: '璇疯緭鍏�',
-          defaultValue: '',
-          options: [],
-          cascader: [{key: 'categoryId', queryKey: 'goodsTemplatesId'}],
-          optionsConfig: {
-            label: 'goodsName',
-            value: 'id',
-            url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate',
-          },
-        },
-        {
           type: 'cascader',
           dataIndex: 'categoryId',
           label: '鍒嗙被',
@@ -95,6 +81,20 @@
             value: 'id',
             url: SettingIplatform.apiBaseURL + '/pc/base/category/select/tree',
             props: {checkStrictly: false, emitPath: false, value: 'id'}
+          },
+          cascader: [{key:'baseGoodsTemplateId',queryKey: 'categoryId'}],
+        },
+        {
+          type: 'select',
+          dataIndex: 'baseGoodsTemplateId',
+          label: '鐗╁搧鍚嶇О',
+          placeholder: '璇疯緭鍏�',
+          defaultValue: '',
+          options: [],
+          optionsConfig: {
+            label: 'goodsName',
+            value: 'id',
+            url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate',
           },
         },
         {
@@ -121,7 +121,7 @@
         dialogShow: false,
         fileSettings: {
           data: {},
-          uploadUrl: getBaseUrl() + "/pc/fin/sys/tenant/import", // 涓婁紶鍦板潃
+          uploadUrl: getBaseUrl() + "/pc/warehouse/warningConfig/import", // 涓婁紶鍦板潃
           accept: '.xls', // 鏍煎紡
           type: 'text', // 鍥炴樉褰㈠紡
           loading: false // 瀵煎叆鏁堟灉
@@ -129,7 +129,7 @@
         /* 妯℃澘涓嬭浇 */
         templateSettings: {
           templateName: '瀵煎叆妯℃澘.xls', // 鍚嶇О
-          templateUrl: SettingIplatform.apiBaseURL + '/pc/fin/sys/tenant/getImportTemplate' // 涓嬭浇鍦板潃
+          templateUrl: SettingIplatform.apiBaseURL + '/pc/warehouse/warningConfig/getWarnConfImportTemplate' // 涓嬭浇鍦板潃
         },
         onSuccess: null
       },

--
Gitblit v1.9.1