This commit is contained in:
2026-08-12 18:52:22 +08:00
parent 2c5f53ec00
commit 1be13c3bf5
15 changed files with 34 additions and 10 deletions
@@ -93,4 +93,8 @@ describe('PlatformFirstLegOrdersPanel review queue', () => {
expect(source).toContain('formatMeasurement(row.volumeCbm)')
expect(source).not.toContain('{{ row.grossWeightKg }} kg / {{ row.volumeCbm }} m³')
})
it('renders cargo business data with the native table grid contract', () => {
expect(source).toContain('<el-table :data="detail.cargoes" size="small" border stripe')
})
})
@@ -512,7 +512,7 @@ onMounted(() => void loadTenants())
<div class="detail-section">
<h3>货物明细</h3>
<div class="detail-table-scroll">
<el-table :data="detail.cargoes" size="small" empty-text="暂无货物明细">
<el-table :data="detail.cargoes" size="small" border stripe empty-text="暂无货物明细">
<el-table-column prop="itemNo" label="#" width="52" />
<el-table-column prop="cargoName" label="品名" min-width="150" />
<el-table-column prop="packageType" label="包装" min-width="100" />