From d95fac0e4096c14834ed3c9fe607b78cb95b6b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Fri, 28 Nov 2025 18:04:03 +0800 Subject: [PATCH 01/11] =?UTF-8?q?fix(ui):=20=E6=B7=BB=E5=8A=A0=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E6=97=A5=E5=BF=97=E5=B9=B6=E4=BC=98=E5=8C=96=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=88=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在receipt/index.vue中添加console.log调试$slots 在wms/coil/panels/base.vue中为备注列添加溢出提示工具 --- klp-ui/src/views/erp/receipt/index.vue | 1 + klp-ui/src/views/wms/coil/panels/base.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/views/erp/receipt/index.vue b/klp-ui/src/views/erp/receipt/index.vue index cbea18af..35fa4a08 100644 --- a/klp-ui/src/views/erp/receipt/index.vue +++ b/klp-ui/src/views/erp/receipt/index.vue @@ -127,6 +127,7 @@ export default { }, created() { this.loadData() + console.log('this.slots', this.$slots) }, methods: { loadData() { diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index 5c23b15a..7e39aaf5 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -128,7 +128,7 @@ - + From 5501987fe51866a5a1f769ba0ffafeadac866696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 29 Nov 2025 14:10:04 +0800 Subject: [PATCH 03/11] =?UTF-8?q?feat(KLPTable):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=B5=AE=E5=B1=82=E5=8A=9F=E8=83=BD=E4=BB=A5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=AF=A6=E7=BB=86=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实现表格行悬浮显示详细信息的浮层功能,支持自定义浮层列配置 重构KLPTable组件结构,将浮层逻辑独立为子组件 在用户管理和钢卷管理页面应用新浮层功能 --- .../KLPUI/KLPTable/FloatLayer/index.vue | 89 +++++++++ .../src/components/KLPUI/KLPTable/index.vue | 171 ++++++++++-------- klp-ui/src/views/system/user/index.vue | 2 +- klp-ui/src/views/wms/coil/panels/base.vue | 43 +++-- 4 files changed, 216 insertions(+), 89 deletions(-) diff --git a/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue b/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue index e69de29b..6d48ec18 100644 --- a/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue +++ b/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/klp-ui/src/components/KLPUI/KLPTable/index.vue b/klp-ui/src/components/KLPUI/KLPTable/index.vue index 07c2cba2..4bc14c76 100644 --- a/klp-ui/src/components/KLPUI/KLPTable/index.vue +++ b/klp-ui/src/components/KLPUI/KLPTable/index.vue @@ -6,88 +6,45 @@

{{ loadingText || "加载中..." }}

- - - - - - - - - - - - - - - - - - - diff --git a/klp-ui/src/views/system/user/index.vue b/klp-ui/src/views/system/user/index.vue index 32516303..34bc7575 100644 --- a/klp-ui/src/views/system/user/index.vue +++ b/klp-ui/src/views/system/user/index.vue @@ -137,7 +137,7 @@ - + diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index 7e39aaf5..ce6c9445 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -69,15 +69,15 @@ - + - + - - + + @@ -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) { From 0fc8978436af485e0644c5f55ccfe92172471848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 1 Dec 2025 17:23:37 +0800 Subject: [PATCH 09/11] =?UTF-8?q?fix(wms):=20=E4=BC=98=E5=8C=96=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A2=84=E8=A7=88=E9=80=BB=E8=BE=91=E5=92=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改特殊操作类型的判断逻辑,使用范围判断代替具体值 - 重构标签预览数据处理逻辑,简化itemName获取方式 - 更新标签预览模板,调整字段显示名称和内容 - 使用updateTime替代productionDate字段 --- klp-ui/src/views/wms/coil/do/search.vue | 4 ++-- .../panels/LabelRender/OuterTagPreview.vue | 24 +++++++++---------- .../LabelRender/ProductionTagPreview.vue | 18 +++++++++++++- klp-ui/src/views/wms/coil/panels/base.vue | 12 ++++------ 4 files changed, 35 insertions(+), 23 deletions(-) diff --git a/klp-ui/src/views/wms/coil/do/search.vue b/klp-ui/src/views/wms/coil/do/search.vue index 8ac4442f..1c0924f8 100644 --- a/klp-ui/src/views/wms/coil/do/search.vue +++ b/klp-ui/src/views/wms/coil/do/search.vue @@ -534,8 +534,8 @@ export default { const actionType = parseInt(row.actionType) // 特殊处理:发货和移库操作不需要跳转 - if (actionType === 4 || actionType === 5) { - this.$message.info(actionType === 4 ? '发货操作已在移动端完成' : '移库操作已在移动端完成') + if (actionType >= 400) { + this.$message.info('特殊操作序在对应页面完成') return } diff --git a/klp-ui/src/views/wms/coil/panels/LabelRender/OuterTagPreview.vue b/klp-ui/src/views/wms/coil/panels/LabelRender/OuterTagPreview.vue index d26d91d7..e2bc91c9 100644 --- a/klp-ui/src/views/wms/coil/panels/LabelRender/OuterTagPreview.vue +++ b/klp-ui/src/views/wms/coil/panels/LabelRender/OuterTagPreview.vue @@ -50,25 +50,25 @@
-
表面质量
+
质量要求
- +
表面处理
- +
-
剪切要求
+
切边要求
- +
-
包装种类
+
包装要求
- +
毛重
@@ -88,7 +88,7 @@
生产日期
- +
@@ -130,10 +130,10 @@ export default { rawBlankNumber: '', specification: '2.28*1250', material: '', - surfaceQuality: '', - surfaceTreatment: '环保钝化/不涂油', - cuttingRequirements: '', - packagingType: 'A03', + qualityStatus: '', + surfaceTreatmentDesc: '环保钝化/不涂油', + trimmingRequirement: '', + packagingRequirement: 'A03', grossWeight: '', netWeight: '7080', referenceLength: '320', diff --git a/klp-ui/src/views/wms/coil/panels/LabelRender/ProductionTagPreview.vue b/klp-ui/src/views/wms/coil/panels/LabelRender/ProductionTagPreview.vue index 25b54d4d..edf387ce 100644 --- a/klp-ui/src/views/wms/coil/panels/LabelRender/ProductionTagPreview.vue +++ b/klp-ui/src/views/wms/coil/panels/LabelRender/ProductionTagPreview.vue @@ -10,6 +10,22 @@ + + + 逻辑库区 + + + + + + + 实际库区 + + + 规格(mm) @@ -38,7 +54,7 @@ 时间 - + diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index ce6c9445..e5301853 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -462,17 +462,13 @@ export default { /** 预览标签 */ handlePreviewLabel(row) { this.labelRender.visible = true; - const item = findItemWithBom(row.itemType, row.itemId) - // 寻找boms中bom键名为'材质'的 - const material = item?.boms?.find(bom => bom.attrKey === '材质') + const item = row.itemType === 'product' ? row.product : row.rawMaterial; + const itemName = row.itemType === 'product' ? item?.productName || '' : item?.rawMaterialName || ''; - console.log('规格', item) this.labelRender.data = { ...row, - itemName: item?.itemName || '', - material: material?.attrValue || '', - specification: item?.specification || '', - + itemName: itemName, + updateTime: row.updateTime?.split(' ')[0] || '', }; }, /** 下载二维码 */ From 306e153239b69f64bdc72bb85664fcfa8fc05d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 1 Dec 2025 17:33:20 +0800 Subject: [PATCH 10/11] =?UTF-8?q?feat(=E6=94=B6=E8=B4=A7=E7=AE=A1=E7=90=86?= =?UTF-8?q?):=20=E5=AE=9E=E7=8E=B0=E9=92=A2=E5=8D=B7Excel=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96UI?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加完整的钢卷Excel导入向导功能,包括文件选择、数据校验、预览和批量导入 增加导入进度展示和错误提示功能 调整导入弹窗宽度为80%以提供更好的操作空间 为浮动层添加过渡动画效果提升用户体验 --- .../KLPUI/KLPTable/FloatLayer/index.vue | 1 + .../wms/receive/components/ImportGuide.vue | 618 +++++++++++++++++- klp-ui/src/views/wms/receive/detail/index.vue | 4 +- 3 files changed, 602 insertions(+), 21 deletions(-) diff --git a/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue b/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue index 75e2318a..7f58ca9a 100644 --- a/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue +++ b/klp-ui/src/components/KLPUI/KLPTable/FloatLayer/index.vue @@ -101,5 +101,6 @@ export default { z-index: 5; /* max-height: 70%; */ overflow: auto; + transition: all 0.3s ease-in-out; } \ No newline at end of file diff --git a/klp-ui/src/views/wms/receive/components/ImportGuide.vue b/klp-ui/src/views/wms/receive/components/ImportGuide.vue index 19d55499..0cbb112b 100644 --- a/klp-ui/src/views/wms/receive/components/ImportGuide.vue +++ b/klp-ui/src/views/wms/receive/components/ImportGuide.vue @@ -1,29 +1,609 @@ \ No newline at end of file +}; + + + \ No newline at end of file diff --git a/klp-ui/src/views/wms/receive/detail/index.vue b/klp-ui/src/views/wms/receive/detail/index.vue index a4153a12..2ca1a28c 100644 --- a/klp-ui/src/views/wms/receive/detail/index.vue +++ b/klp-ui/src/views/wms/receive/detail/index.vue @@ -98,8 +98,8 @@ - - + + From 40383a73b972e6b0fe7d775743ce5b124b2b5c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 1 Dec 2025 17:53:19 +0800 Subject: [PATCH 11/11] =?UTF-8?q?feat(=E8=BF=90=E5=8D=95):=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8F=96=E8=B4=A7=E5=9C=B0=E7=82=B9=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增取货地点输入框及相关样式,用于记录运输单据中的取货位置信息 --- .../views/wms/delivery/components/wayBill.vue | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/klp-ui/src/views/wms/delivery/components/wayBill.vue b/klp-ui/src/views/wms/delivery/components/wayBill.vue index 6143c0d2..10d40326 100644 --- a/klp-ui/src/views/wms/delivery/components/wayBill.vue +++ b/klp-ui/src/views/wms/delivery/components/wayBill.vue @@ -101,6 +101,13 @@

1、品名:冷硬钢卷(酸连轧)、冷轧钢卷(脱脂退火火拉矫)、镀锌卷板,镀锌管料(镀锌分剪料);2、切边:净边/毛边;3、包装:裸包:周三径四;简包1:周三径四内外护角;简包2:周三径四+防锈纸;普包:周三径四+内外护角+防锈纸+端护板;精包1:周三径四+内外护角+防锈纸+薄膜+端护板+内外护板;精包2:周三径四+内外护角+防锈纸+薄膜+端护板+内外护板+木托。

+
+ + 取货地点: + + +
+