diff --git a/src/pages/order/create.vue b/src/pages/order/create.vue index 5c0d97e..2a3e975 100644 --- a/src/pages/order/create.vue +++ b/src/pages/order/create.vue @@ -46,7 +46,10 @@ - {{ item.productName }}{{ item.spec ? ' ' + item.spec : '' }}{{ item.length }}x{{ item.width }} + {{ item.productName }} + {{ item.spec ? ' ' + item.spec : '' }} + {{ item.length }}x{{ item.width }} + 库存: {{ stocks[item.productId] || 0 }} @@ -61,7 +64,6 @@ /> + - 库存: {{ stocks[item.productId] || 0 }} 单价 @@ -581,10 +583,14 @@ export default { flex-wrap: wrap; } -.item-name { +.item-name-box { font-size: 28rpx; font-weight: bold; color: #333; + width: 170rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .item-spec { @@ -601,6 +607,12 @@ export default { margin-left: 8rpx; } +.item-stock { + font-size: 22rpx; + color: #999; + margin-left: auto; +} + .item-edit { display: flex; align-items: center;