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;