From c49a6d8288adabf0b641c53172bdeacf9f8bfc7c Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 2 Apr 2026 13:31:17 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A5=E5=BA=93=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=8D=A1=E7=89=87=E5=8F=82=E7=85=A7=E5=95=86?= =?UTF-8?q?=E5=93=81=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/stock/in.vue | 57 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/src/pages/stock/in.vue b/src/pages/stock/in.vue index b4b367c..8a41d89 100644 --- a/src/pages/stock/in.vue +++ b/src/pages/stock/in.vue @@ -32,8 +32,18 @@ @click="openQuantityPopup(item)" > - {{ item.name }} - {{ item.spec || '-' }} + + {{ item.name }} + {{ item.categoryName }} + + + {{ item.spec || '-' }} + /{{ item.unit }} + ¥{{ item.price }} + + + {{ item.length }} x {{ item.width }} = {{ item.area }} m² + + @@ -320,11 +330,30 @@ export default { flex: 1; } +.product-header { + display: flex; + align-items: center; + margin-bottom: 8rpx; +} + .product-name { - display: block; font-size: 30rpx; font-weight: 500; color: #333; +} + +.product-category { + font-size: 22rpx; + color: #667eea; + background: #f0f4ff; + padding: 4rpx 12rpx; + border-radius: 8rpx; + margin-left: 12rpx; +} + +.product-row { + display: flex; + align-items: center; margin-bottom: 8rpx; } @@ -333,6 +362,28 @@ export default { color: #999; } +.product-unit { + font-size: 22rpx; + color: #999; +} + +.product-price-text { + font-size: 26rpx; + color: #ff4d4f; + font-weight: 500; + margin-left: 16rpx; +} + +.product-spec-row { + display: flex; + align-items: center; +} + +.spec-text { + font-size: 22rpx; + color: #666; +} + .product-add { width: 60rpx; height: 60rpx;