From 9925c28bd5342a1b2c0154665db1e7483049221c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Thu, 26 Feb 2026 11:33:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B8=B2=E6=9F=93=E5=99=A8):=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BA=A7=E5=93=81=E7=BC=96=E7=A0=81=E5=92=8C?= =?UTF-8?q?=E5=8E=9F=E6=9D=90=E6=96=99=E7=BC=96=E7=A0=81=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=B9=B6=E4=BC=98=E5=8C=96=E7=BA=BF=E5=9C=88=E5=8F=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉产品信息和原材料信息中的编码显示字段 - 将线圈号显示逻辑优化为优先使用当前线圈号 --- klp-ui/src/components/KLPService/Renderer/CoilNo.vue | 7 +++++-- klp-ui/src/components/KLPService/Renderer/ProductInfo.vue | 4 ++-- .../src/components/KLPService/Renderer/RawMaterialInfo.vue | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/klp-ui/src/components/KLPService/Renderer/CoilNo.vue b/klp-ui/src/components/KLPService/Renderer/CoilNo.vue index 9a1b4cc2..0d015d3e 100644 --- a/klp-ui/src/components/KLPService/Renderer/CoilNo.vue +++ b/klp-ui/src/components/KLPService/Renderer/CoilNo.vue @@ -28,11 +28,11 @@ - {{ coilNo }} + {{ currentCoilNo }} - {{ coilNo }} + {{ currentCoilNo }} @@ -71,6 +71,9 @@ export default { manufacturer() { return this.coilInfo.product?.manufacturer || this.coilInfo.rawMaterial?.manufacturer || '-' }, + currentCoilNo() { + return this.coilNo || this.coilInfo?.currentCoilNo || '-' + } }, methods: { getCoilInfo() { diff --git a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue index bc05b4e0..97cecf68 100644 --- a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue +++ b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue @@ -13,9 +13,9 @@ {{ productFull.productName || '--' }} - + {{ productFull.specification || '--' }} diff --git a/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue b/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue index 8ba74d8e..1042ca16 100644 --- a/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue +++ b/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue @@ -12,7 +12,7 @@ {{ materialFull.rawMaterialName || '--' }} - {{ materialFull.rawMaterialCode || '--' }} + {{ materialFull.specification || '--' }} {{ materialFull.material || '--' }} {{ materialFull.surfaceTreatment || '--' }}