fix(报价单卡片): 新增商品卡片与网格允许溢出,避免商品下拉被裁剪导致无法选中/新建
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s

This commit is contained in:
Ubuntu
2026-10-21 09:15:14 +08:00
parent 1b92efe5ea
commit eeec09f9dd
@@ -1776,7 +1776,7 @@ export const QuoteVersionManagement: React.FC = () => {
</div>
{inlineAddOpen && expandedEditable ? (
<div className="mb-3 app-surface rounded-xl border p-3 space-y-2">
<div className="mb-3 app-surface rounded-xl border p-3 space-y-2 overflow-visible">
<div className="flex items-start justify-between gap-2">
<div className="flex min-w-0 flex-1 items-center gap-1">
<span className="shrink-0 text-sm font-medium text-slate-700">{t('quotes.itemCol.sku')}</span>
@@ -1904,7 +1904,7 @@ export const QuoteVersionManagement: React.FC = () => {
{t('quotes.detail.noMatch')}
</div>
) : (
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-3">
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-3 overflow-visible">
{filteredExpandedItems.map((item) => {
const originalIndex = (expandedDetail.enrichedItems || []).findIndex((rowItem) => rowItem === item);
const cardIndex = originalIndex >= 0 ? originalIndex : 0;