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; /* 原来的颜色 */ +} +