fix(F006-W17.4.3): 单位列 width 70 → 90 + minWidth 90 (列宽足够)

用户反馈: 单位列"单/位"两字换行
- DataTable 已全局强制表头不换行 (W17.4.2)
- 单位列实际 width 70 太窄, 即使 nowrap 也撑不下"单位"两字
- 加宽到 90 + minWidth 90 兜底
This commit is contained in:
Sisyphus 2026-07-07 18:40:11 +08:00
parent 6d6ff30624
commit a978b1572b

View File

@ -137,7 +137,7 @@ const columns = [
{ prop: 'enterpriseName', label: '供应商', minWidth: 180, showOverflowTooltip: true },
{ prop: 'categoryName', label: '分类', minWidth: 180, slot: 'category' },
{ prop: 'brandName', label: '品牌', width: 110 },
{ prop: 'unitName', label: '单位', width: 70, align: 'center' as const },
{ prop: 'unitName', label: '单位', width: 90, minWidth: 90, align: 'center' as const },
{ prop: 'onShelf', label: '铺货', width: 100, align: 'center' as const, slot: 'onShelf' },
{ prop: 'checkStatus', label: '状态', width: 100, align: 'center' as const, slot: 'checkStatus' },
{ prop: 'createDate', label: '申请时间', width: 170 },