style: 分离商品条码输入框和验证按钮

This commit is contained in:
Your Name 2026-01-06 18:47:13 +08:00
parent 1cc25f17d3
commit e0176fb174

View File

@ -247,12 +247,12 @@
</div>
<!-- 添加新条码 -->
<a-input-group compact style="margin-top: 8px;">
<div style="margin-top: 8px; display: flex; gap: 10px;">
<a-input
v-model:value="newBarcodeInput"
placeholder="请输入商品条码,验证库存后添加"
size="large"
style="width: calc(100% - 120px)"
style="flex: 1;"
@pressEnter="handleAddBarcode"
/>
<a-button
@ -263,7 +263,7 @@
>
验证并添加
</a-button>
</a-input-group>
</div>
<!-- 库存检查结果(临时显示) -->
<div v-if="inventoryCheckResult" class="inventory-result" :class="{ 'success': inventoryCheckResult.canPublish, 'error': !inventoryCheckResult.canPublish }">