From fd2015b8367c8537f09693557475776d805e77d5 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Tue, 14 Oct 2025 17:37:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../toolsLedger/toolsLedger.vue | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/pages/materialsStation/toolsLedger/toolsLedger.vue b/src/pages/materialsStation/toolsLedger/toolsLedger.vue index 89dcbd5..49bb3a6 100644 --- a/src/pages/materialsStation/toolsLedger/toolsLedger.vue +++ b/src/pages/materialsStation/toolsLedger/toolsLedger.vue @@ -44,6 +44,10 @@
{{ category.name }} + + 数量:{{ category.usNum }} + + { name: item.typeName, expanded: false, // 默认收起 thirdTypeId: item.thirdTypeId, + usNum:item.usNum, specs: item.modelList ? item.modelList.map((model) => { return { @@ -356,4 +361,23 @@ const showDetail = (categoryName, spec) => { .scroll-container { height: calc(100vh - 150px); } + +.quantity-text { + width: 80px; + margin-left: auto; /* 使数量文本靠右对齐 */ + display: flex; + align-items: center; + font-size: 13px; + color: #4aa4ea; +} + +.quantity-label { + color: #000; /* 黑色文字 */ + margin-right: 5px; /* 使数字和“数量”之间有一点间隔 */ +} + +.quantity-value { + color: #4aa4ea; /* 原来的颜色 */ +} +