From ebe79be9cbd2c4e02152577828393edfb70031bb Mon Sep 17 00:00:00 2001 From: yueli Date: Thu, 16 Jul 2026 14:00:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ImportDialog=E7=BB=84=E4=BB=B6=20?= =?UTF-8?q?=E2=80=94=20=E4=B8=89=E6=AD=A5=E9=AA=A4=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=BC=B9=E7=AA=97(=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0+=E9=A2=84=E8=A7=88+=E6=89=A7=E8=A1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## ImportDialog.vue (新增) - Step1: 模板下载 + el-upload drag 拖拽上传 - Step2: el-table 预览验证结果(绿色通过/红色失败+错误详情) - Step3: 确认导入(事务保护), errorCount>0时按钮disabled - Props: importType ('material'|'bom'), modelValue - Emits: success (刷新列表) --- inventory-web/src/components/ImportDialog.vue | 315 ++++++++++++++++++ 1 file changed, 315 insertions(+) create mode 100644 inventory-web/src/components/ImportDialog.vue diff --git a/inventory-web/src/components/ImportDialog.vue b/inventory-web/src/components/ImportDialog.vue new file mode 100644 index 0000000..6078c19 --- /dev/null +++ b/inventory-web/src/components/ImportDialog.vue @@ -0,0 +1,315 @@ + + + + +