From 7e2595467bdbc7510518e4f2ee6a4f38db2575d7 Mon Sep 17 00:00:00 2001 From: WUSIJIAN <13825895+wsj0228@user.noreply.gitee.com> Date: Sat, 28 Feb 2026 16:03:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BA=93=E4=BD=8D=E5=92=8C?= =?UTF-8?q?=E5=BA=93=E5=8C=BA=E7=AE=A1=E7=90=86=E7=9A=84=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=BA=A4=E4=BA=92,=E5=B0=86=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E9=80=89=E6=8B=A9=E6=94=B9=E4=B8=BA=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=A8=A1=E5=BC=8F,=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BA=93=E4=BD=8D=E5=BF=85=E5=A1=AB=E5=AD=97=E6=AE=B5=E9=AA=8C?= =?UTF-8?q?=E8=AF=81,=E8=B0=83=E6=95=B4=E7=9B=98=E7=82=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD=E4=BB=8E=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=93=8D=E4=BD=9C=E7=A7=BB=E8=87=B3=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=93=8D=E4=BD=9C,=E4=BC=98=E5=8C=96=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=BB=8EID=E6=94=B9=E4=B8=BA=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/assets/operation/count/index.ts | 3 +- .../component/selectWarehouseDialog.vue | 141 ++++++++++++ .../assets/component/selectZoneDialog.vue | 147 ++++++++++++ .../location/component/editLocation.vue | 83 +++++-- src/views/assets/location/index.vue | 31 +-- .../count/component/importDialog.vue | 209 ++++++++++++++++++ src/views/assets/operation/count/index.vue | 71 +----- src/views/assets/zone/component/editZone.vue | 29 ++- src/views/assets/zone/index.vue | 8 +- 9 files changed, 607 insertions(+), 115 deletions(-) create mode 100644 src/views/assets/component/selectWarehouseDialog.vue create mode 100644 src/views/assets/component/selectZoneDialog.vue create mode 100644 src/views/assets/operation/count/component/importDialog.vue diff --git a/src/api/assets/operation/count/index.ts b/src/api/assets/operation/count/index.ts index b7d98a8..e4be48e 100644 --- a/src/api/assets/operation/count/index.ts +++ b/src/api/assets/operation/count/index.ts @@ -101,8 +101,9 @@ export function exportInventoryCountTemplate() { } // 上传盘点Excel -export function importInventoryCount(file: File) { +export function importInventoryCount(id: string, file: File) { const formData = new FormData(); + formData.append('id', id); formData.append('file', file); return newService({ url: 'assets/inventory/count/importInventoryCount', diff --git a/src/views/assets/component/selectWarehouseDialog.vue b/src/views/assets/component/selectWarehouseDialog.vue new file mode 100644 index 0000000..8218f2b --- /dev/null +++ b/src/views/assets/component/selectWarehouseDialog.vue @@ -0,0 +1,141 @@ + + + + + + + diff --git a/src/views/assets/component/selectZoneDialog.vue b/src/views/assets/component/selectZoneDialog.vue new file mode 100644 index 0000000..e1fbf02 --- /dev/null +++ b/src/views/assets/component/selectZoneDialog.vue @@ -0,0 +1,147 @@ + + + + + + + diff --git a/src/views/assets/location/component/editLocation.vue b/src/views/assets/location/component/editLocation.vue index f6610a8..6ca54d9 100644 --- a/src/views/assets/location/component/editLocation.vue +++ b/src/views/assets/location/component/editLocation.vue @@ -22,16 +22,20 @@ - - - + + + - - - + + + @@ -93,6 +97,8 @@ + + + + + + diff --git a/src/views/assets/operation/count/index.vue b/src/views/assets/operation/count/index.vue index 67b5c83..f34fe29 100644 --- a/src/views/assets/operation/count/index.vue +++ b/src/views/assets/operation/count/index.vue @@ -36,24 +36,6 @@ 新增 - - - 导出模板 - - - - - 导入 - - @@ -88,9 +70,9 @@ - + @@ -110,6 +92,7 @@ + @@ -122,13 +105,12 @@ export default {