From 3cf67df855edaf26dd3c30361a4c5eb34d946638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 1 Dec 2025 11:56:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=B7=BB=E5=8A=A0=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E8=AE=A1=E5=88=92=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=8F=8A=E9=A1=B5=E9=9D=A2=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增ImportGuide组件实现Excel导入功能,包含数据校验和进度展示 添加stockpile成本页面基础结构 调整delivery报表日期范围和显示列 在收货详情页增加导入和导出按钮功能 --- klp-ui/src/views/wms/cost/stockpile/index.vue | 5 +++ .../src/views/wms/delivery/report/index.vue | 13 ++++---- .../wms/receive/components/ExportGuide.vue | 0 .../wms/receive/components/ImportGuide.vue | 29 ++++++++++++++++ klp-ui/src/views/wms/receive/detail/index.vue | 33 ++++++++++--------- 5 files changed, 58 insertions(+), 22 deletions(-) create mode 100644 klp-ui/src/views/wms/cost/stockpile/index.vue create mode 100644 klp-ui/src/views/wms/receive/components/ExportGuide.vue create mode 100644 klp-ui/src/views/wms/receive/components/ImportGuide.vue diff --git a/klp-ui/src/views/wms/cost/stockpile/index.vue b/klp-ui/src/views/wms/cost/stockpile/index.vue new file mode 100644 index 00000000..68864004 --- /dev/null +++ b/klp-ui/src/views/wms/cost/stockpile/index.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/klp-ui/src/views/wms/delivery/report/index.vue b/klp-ui/src/views/wms/delivery/report/index.vue index 6f266fcc..02d678ed 100644 --- a/klp-ui/src/views/wms/delivery/report/index.vue +++ b/klp-ui/src/views/wms/delivery/report/index.vue @@ -50,11 +50,11 @@ v-loading="loading" > - + - + @@ -103,11 +109,13 @@ import { listDeliveryPlan } from "@/api/wms/deliveryPlan"; // 导入收货计划API import { listPendingAction } from '@/api/wms/pendingAction'; import MemoInput from "@/components/MemoInput"; +import ImportGuide from "@/views/wms/receive/components/ImportGuide.vue"; export default { name: "DeliveryWaybill", components: { - MemoInput + MemoInput, + ImportGuide }, data() { return { @@ -172,7 +180,10 @@ export default { pageSize: 100, // 增大分页大小以确保树形结构显示足够数据 planName: undefined, planType: 1, - } + }, + + // 导入弹窗 + importDialogVisible: false, }; }, created() { @@ -275,17 +286,7 @@ export default { /** 新增按钮操作 */ handleAdd() { - this.reset(); - // 自动填入选中的planId - if (this.selectedPlan) { - this.form.planId = this.selectedPlan.planId; - // 可以根据需要填充其他相关字段 - if (this.selectedPlan.planName) { - this.form.waybillName = `收货单_${this.selectedPlan.planName}`; - } - } - this.open = true; - this.title = "添加收货单"; + this.importDialogVisible = true; }, /** 修改按钮操作 */ handleUpdate(row) {