From 37b19358b8bdbe58f5b0f1cd93e5db06a6b9559d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Thu, 11 Dec 2025 10:42:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=96=B0=E5=A2=9E=E9=92=A2?= =?UTF-8?q?=E5=8D=B7=E6=89=93=E5=8C=85=E5=8A=9F=E8=83=BD=E5=8F=8A=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=9E=9A=E4=B8=BE=E5=92=8C=E6=98=BE=E7=A4=BA=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加钢卷打包页面组件,包括打包表单和记录展示 在枚举文件中新增打包相关字段 优化操作类型显示,新增打包操作类型 修复产品名称显示可能为空的问题 --- klp-ui/src/utils/enum.js | 4 + klp-ui/src/views/wms/coil/actflow.vue | 3 +- klp-ui/src/views/wms/coil/do/packing.vue | 739 ++++++++++++++++++ .../views/wms/receive/components/Printer.vue | 2 +- 4 files changed, 746 insertions(+), 2 deletions(-) create mode 100644 klp-ui/src/views/wms/coil/do/packing.vue diff --git a/klp-ui/src/utils/enum.js b/klp-ui/src/utils/enum.js index 5d5a1a05..c0ed12a4 100644 --- a/klp-ui/src/utils/enum.js +++ b/klp-ui/src/utils/enum.js @@ -6,4 +6,8 @@ export const MemoInputStorageKey = { surfaceTreatmentDesc: 'surfaceTreatmentDesc', // 钢卷表面处理 zincLayer: 'zincLayer', // 钢卷锌层 licensePlate: 'licensePlate', // 车牌号 + qualityStatus: 'qualityStatus', // 质量状态 + trimmingRequirement: 'trimmingRequirement', // 钢卷修剪要求 + packingStatus: 'packingStatus', // 打包状态 + packagingRequirement: 'packagingRequirement', // 打包要求 } \ No newline at end of file diff --git a/klp-ui/src/views/wms/coil/actflow.vue b/klp-ui/src/views/wms/coil/actflow.vue index 5b292ee2..1b2e6627 100644 --- a/klp-ui/src/views/wms/coil/actflow.vue +++ b/klp-ui/src/views/wms/coil/actflow.vue @@ -52,10 +52,11 @@ diff --git a/klp-ui/src/views/wms/coil/do/packing.vue b/klp-ui/src/views/wms/coil/do/packing.vue new file mode 100644 index 00000000..cbb69c12 --- /dev/null +++ b/klp-ui/src/views/wms/coil/do/packing.vue @@ -0,0 +1,739 @@ + + + + + \ No newline at end of file diff --git a/klp-ui/src/views/wms/receive/components/Printer.vue b/klp-ui/src/views/wms/receive/components/Printer.vue index 0aad11cf..9c2082bb 100644 --- a/klp-ui/src/views/wms/receive/components/Printer.vue +++ b/klp-ui/src/views/wms/receive/components/Printer.vue @@ -167,7 +167,7 @@ export default { ...results[index].data, ...results[index].data.rawMaterial, ...results[index].data.product, - itemName: results[index].data.rawMaterial.rawMaterialName || results[index].data.product.productName || '' + itemName: results[index].data.rawMaterial?.rawMaterialName || results[index].data.product?.productName || '' })); console.log(this.localWaybillDetails); this.loading = false;