This commit is contained in:
2026-10-20 23:34:11 +08:00
parent f155976f52
commit 13e4aa56ec
321 changed files with 6756 additions and 2110 deletions
@@ -42,9 +42,9 @@ describe('Finance formal settlement desktop presentation', () => {
})
it('uses a continuous detail layout with locally scrollable wide tables', () => {
expect(source).toContain('<DetailPageLayout v-else-if="detailMode" class="settlement-detail-page surface-panel finance-density-detail"')
expect(source).toContain('<DetailPageLayout v-else-if="detailMode" class="settlement-detail-page surface-panel finance-density-detail workbench-panel is-flush is-page-surface"')
expect(source).toContain('class="settlement-detail-content"')
expect(source).toContain('class="detail-table-scroll"')
expect(source).toContain('class="detail-table-scroll workbench-table"')
expect(source).toContain(':deep(.detail-table-scroll .el-table) { min-width: 920px; }')
expect(source).not.toContain('class="settlement-detail-card"')
})
@@ -64,7 +64,7 @@ describe('Finance formal settlement desktop presentation', () => {
it('keeps receipt and payment dialogs readable at desktop width', () => {
expect(source.match(/width="min\(760px, 94vw\)"/g)).toHaveLength(2)
expect(source.match(/class="density-dialog-section partial-summary"/g)).toHaveLength(2)
expect(source.match(/class="density-dialog-section partial-summary workbench-evidence"/g)).toHaveLength(2)
expect(source).toContain('density-table density-table--editable settlement-operation-table')
expect(source).toContain('.settlement-operation-table td:not([colspan]) { width: 50%; }')
expect(source).toContain('<OperationErrorToast :message="receiptValidationError" />')