This commit is contained in:
2026-08-20 19:10:19 +08:00
parent 659ddf0614
commit 506c5a84cf
2 changed files with 6 additions and 3 deletions
@@ -70,7 +70,8 @@ describe('FinanceCustomerAccountsView delivery', () => {
it('keeps term editing aligned with the account summary and nearby actions', () => {
for (const marker of ['class="term-section"', 'class="term-editor"', '账期天数', '#footer', '保存账期']) expect(page).toContain(marker)
expect(page).toContain('grid-template-columns: repeat(4, minmax(0, 1fr))')
expect(page).toContain('grid-template-columns: repeat(3, minmax(0, 1fr))')
for (const metric of ['总成本(CNY)', '已付成本(CNY)', '总成本', '已付成本', '待付金额']) expect(page).toContain(metric)
expect(page).toContain('grid-template-columns: 120px minmax(0, 220px)')
expect(page).toContain('justify-content: start')
expect(page).toContain('class="surface-panel finance-account-detail__surface"')
@@ -551,7 +551,8 @@ watch(() => [route.name, String(route.params.customerId || '')], ([name, custome
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-metric:nth-child(3) {
.account-metric:nth-child(3),
.account-metric:nth-child(5) {
padding-left: 0;
border-left: 0;
}
@@ -586,7 +587,8 @@ watch(() => [route.name, String(route.params.customerId || '')], ([name, custome
.account-metric,
.account-metric:first-child,
.account-metric:nth-child(3) {
.account-metric:nth-child(3),
.account-metric:nth-child(5) {
padding-left: 0;
}