This commit is contained in:
2026-08-12 17:34:06 +08:00
parent d2a246b122
commit 5b441626e9
8 changed files with 34 additions and 4 deletions
@@ -101,6 +101,9 @@ describe('FinanceCustomerArapView G2 operations', () => {
{ poolItemId: 'PAYABLE:43', feeSourceId: null, customerId: '10002', direction: 'PAYABLE', sourceType: 'MANUAL_COST', sourceId: '43', sourceVersion: 1, orderId: '11', inboundId: null, containerId: null, feeItemName: '拖车费', amount: 200, currency: 'CNY', status: 'POSTED', createdAt: '2026-08-10' },
])
const wrapper = await mountView(['platform:finance:bill:view'])
const vm = wrapper.vm as unknown as { load(model: Record<string, string>): Promise<void> }
await vm.load({ customerId: '', direction: '', status: '', keyword: '' })
await flushPromises()
expect(wrapper.text()).toContain('客户A')
expect(wrapper.text()).toContain('客户B')
})