shaogen1995 3 місяців тому
батько
коміт
5df6be4648
1 змінених файлів з 11 додано та 2 видалено
  1. 11 2
      src/pages/Y_goodsDetails/Y2look/index.tsx

+ 11 - 2
src/pages/Y_goodsDetails/Y2look/index.tsx

@@ -251,6 +251,15 @@ function Y2look() {
 
               {goodsInfoPower.includes('goodsBtn2') ? (
                 <>
+                  <Button type='primary' onClick={handleExport2}>
+                    导出藏品卡片
+                  </Button>
+                  &emsp;
+                </>
+              ) : null}
+
+              {goodsInfoPower.includes('goodsBtn3') ? (
+                <>
                   <Dropdown menu={{ items: items1 }} placement='bottom' arrow>
                     <Button type='primary'>档案管理</Button>
                   </Dropdown>
@@ -258,7 +267,7 @@ function Y2look() {
                 </>
               ) : null}
 
-              {goodsInfoPower.includes('goodsBtn3') ? (
+              {goodsInfoPower.includes('goodsBtn4') ? (
                 <>
                   <Dropdown menu={{ items: items2 }} placement='bottom' arrow>
                     <Button type='primary'>分库管理</Button>
@@ -267,7 +276,7 @@ function Y2look() {
                 </>
               ) : null}
 
-              {goodsInfoPower.includes('goodsBtn4') ? (
+              {goodsInfoPower.includes('goodsBtn5') ? (
                 <>
                   <Dropdown menu={{ items: items3 }} placement='bottom' arrow>
                     <Button type='primary'>保管管理</Button>