修复一些错误

This commit is contained in:
liu
2026-08-14 21:28:55 +08:00
parent 398bb98356
commit 228212f8e3
20 changed files with 489 additions and 100 deletions
+7 -12
View File
@@ -3,7 +3,6 @@ import {
Button,
Descriptions,
Drawer,
Dropdown,
Empty,
Form,
Image,
@@ -833,18 +832,14 @@ const PurchaseOrderPage: React.FC = () => {
<>
<Space style={{ marginBottom: 20 }}>
<AuthButton key="export" auth="purchase.order.export">
<Dropdown
menu={{
items: [
{ key: 'all', label: '导出全品类', onClick: () => detail && exportPurchase(detail.purchase.id!, 'all') },
{ key: 'category', label: '仅导出蔬果分类', onClick: () => detail && exportPurchase(detail.purchase.id!, 'category') },
],
}}
<Button
type="primary"
ghost
icon={<DownloadOutlined />}
onClick={() => detail && exportPurchase(detail.purchase.id!)}
>
<Button type="primary" ghost icon={<DownloadOutlined />}>
</Button>
</Dropdown>
</Button>
</AuthButton>
</Space>
<Table<IPurchaseDetailRow>