This commit is contained in:
wujinliang
2026-08-27 21:48:15 +08:00
parent 550d8add97
commit b47323edf3
53 changed files with 624 additions and 82 deletions
@@ -133,6 +133,7 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain("{ key: 'customerRemark', prop: 'customerRemark', label: '客户备注'")
expect(source).toContain("{ key: 'latestInternalNote', prop: 'latestInternalNote', label: '内部备注'")
expect(source.match(/<LineClampText v-if="column\.key === 'remark'"/g)).toHaveLength(3)
expect(source).toContain("detail.summary.internalRemark || detail.summary.latestInternalNote || '—'")
})
it('uses ListPageLayout regions for one 16px query-to-table gap', () => {
@@ -237,6 +238,11 @@ describe('UnifiedOrdersView contract', () => {
expect(source).not.toContain("value.replaceAll('_', ' ')")
})
it('uses the inbound measurement girth formula for cargo dimensions', () => {
expect(source).toContain('formatNumber(length + 2 * (width + height))')
expect(source).not.toContain('formatNumber(2 * (width + height))')
})
it('binds dimension and weight evidence to their formal server records without mixing galleries', () => {
expect(source).toContain('<el-table :data="measurementDetail?.items || []" row-key="id"')
expect(source).toContain('<el-table-column label="箱号" prop="boxCode"')