From 2617234d9e082f5bd8f04aa01cc61ddc8a553490 Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Thu, 26 Feb 2026 13:50:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=B9=E9=87=8F=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=94=B9=E4=B8=BA=E6=8A=BD=E5=B1=89=E5=BC=8F?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/BatchImportExportPanel.vue | 13 +- .../components/BatchMoveCategoryPanel.vue | 13 +- .../components/BatchPriceAdjustPanel.vue | 13 +- .../batch/components/BatchSaleSwitchPanel.vue | 13 +- .../batch/components/BatchStoreSyncPanel.vue | 13 +- .../src/views/product/batch/index.vue | 221 ++++++++++-------- .../src/views/product/batch/styles/panel.less | 27 ++- .../product/batch/styles/responsive.less | 6 + 8 files changed, 210 insertions(+), 109 deletions(-) diff --git a/apps/web-antd/src/views/product/batch/components/BatchImportExportPanel.vue b/apps/web-antd/src/views/product/batch/components/BatchImportExportPanel.vue index f667a61..a21b0e3 100644 --- a/apps/web-antd/src/views/product/batch/components/BatchImportExportPanel.vue +++ b/apps/web-antd/src/views/product/batch/components/BatchImportExportPanel.vue @@ -4,6 +4,7 @@ import { Button, Select, Space, Upload } from 'ant-design-vue'; interface Props { categoryOptions: Array<{ label: string; value: string }>; + embedded?: boolean; exportCategoryIds: string[]; exportScopeType: 'all' | 'category'; open: boolean; @@ -21,7 +22,9 @@ interface Emits { (event: 'update:exportScopeType', value: 'all' | 'category'): void; } -const props = defineProps(); +const props = withDefaults(defineProps(), { + embedded: false, +}); const emit = defineEmits(); const beforeUpload: UploadProps['beforeUpload'] = (file) => { @@ -40,8 +43,12 @@ function setExportCategoryIds(value: unknown) {