From d64ba0a7263c70fc6c02f8fd9ba46c4b08bc1776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 12 Jan 2026 10:05:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BA=A7=E5=93=81=E9=80=89=E6=8B=A9):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=80=E8=BF=91=E9=80=89=E6=8B=A9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在产品和原材料选择组件中添加最近选择功能,显示最近选择的5项记录 优化输入框布局,将长属性分行显示提高可读性 --- .../KLPService/ProductSelect/index.vue | 72 +++++++++++++++++-- .../KLPService/RawMaterialSelect/index.vue | 68 +++++++++++++++--- 2 files changed, 125 insertions(+), 15 deletions(-) diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue index 0c7fd27a..be724d59 100644 --- a/klp-ui/src/components/KLPService/ProductSelect/index.vue +++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue @@ -27,16 +27,20 @@ @keyup.enter.native="handleQuery" /> - + - + - + - + 搜索 @@ -44,6 +48,17 @@ +

最近选择

+ + + + + + + + + +
diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue index e1dea4c8..7b317379 100644 --- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue +++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue @@ -23,19 +23,24 @@ @keyup.enter.native="handleQuery" /> - + - + - + - + - + 搜索 @@ -43,6 +48,16 @@ +

最近选择

+ + + + + + + + +
规格:{{ item.specification || '-' }}
-
单位:{{ item.unit || '-' }}
材质:{{ item.material || '-' }}
厂家:{{ item.manufacturer || '-' }}
表面处理:{{ item.surfaceTreatmentDesc || '-' }}
@@ -89,7 +103,7 @@