From 1d8522499d6052e3d389667db1aae46a23208831 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期四, 14 十二月 2023 13:05:01 +0800
Subject: [PATCH] feat: 去掉按钮权限

---
 admin-web/src/views/stock/procure/purchaseOrder/index.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/admin-web/src/views/stock/procure/purchaseOrder/index.vue b/admin-web/src/views/stock/procure/purchaseOrder/index.vue
index 9cfba3c..41c550d 100644
--- a/admin-web/src/views/stock/procure/purchaseOrder/index.vue
+++ b/admin-web/src/views/stock/procure/purchaseOrder/index.vue
@@ -10,6 +10,7 @@
           <el-col>
             <!--鍒楄〃-->
             <div class="table-tool-bar" style="margin-bottom: 15px">
+<!--              <my-button name="鏂板"  check-permission="procure:order:add" @click="handleAdd" site="tools" size="medium" />-->
               <my-button name="鏂板" @click="handleAdd" site="tools" size="medium" />
               <my-button name="瀵煎叆" @click="importSetting.dialogShow = true" site="tools" size="medium" />
             </div>
@@ -50,7 +51,7 @@
                           </div>
                         </div>
                         <div class="one-hed">
-                          <div class="box"><span class="span-two">鏈烘瀯锛�</span>{{ item.agencyId }}</div>
+                          <div class="box"><span class="span-two">鏈烘瀯锛�</span>{{ item.agencyName }}</div>
                           <div class="box"><span class="span-two">鎿嶄綔浜猴細</span>{{ item.buyerName }}</div>
                           <div class="box">
                             <span class="span-two">閲囪喘鏃堕棿锛�</span>{{ item.procureTime | formatTime }}
@@ -151,6 +152,16 @@
         //   defaultValue: '',
         // },
         {
+          type: 'cascader',
+          dataIndex: 'agencyId',
+          label: '鏈烘瀯',
+          placeholder: '璇烽�夋嫨',
+          optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null },
+          cascader: [{key:'goodsTemplateId',queryKey: 'agencyId'}],
+          defaultValue: '',
+          options: [],
+        },
+        {
           type: 'select',
           dataIndex: 'goodsTemplateId',
           label: '鐗╁搧鍚嶇О',
@@ -162,15 +173,6 @@
             value: 'id',
             url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate',
           },
-        },
-        {
-          type: 'cascader',
-          dataIndex: 'agencyId',
-          label: '鏈烘瀯',
-          placeholder: '璇烽�夋嫨',
-          optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null },
-          defaultValue: '',
-          options: [],
         },
         {
           type: 'text',

--
Gitblit v1.9.1