fix(报价单卡片): 新增商品卡片与网格允许溢出,避免商品下拉被裁剪导致无法选中/新建
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user