优化
This commit is contained in:
@@ -37,7 +37,7 @@ test('所有财务写操作使用 marker 幂等键并上传真实凭证', () =>
|
||||
assert.match(source, /finance-full-fixtures\.mjs/)
|
||||
assert.match(source, /context\.createdResources\.financeDemo = matrix/)
|
||||
assert.match(source, /`source-\$\{role\}-\$\{source\.feeSourceId\}-include`/)
|
||||
assert.match(source, /`ap-\$\{role\}-\$\{source\.feeSourceId\}-create`/)
|
||||
assert.match(source, /`ap-\$\{role\}-\$\{source\.feeSourceId\}-\$\{source\.supplierId\}-create`/)
|
||||
})
|
||||
|
||||
test('额外应付审核路径先追加 feeId 再追加 accountId 查询参数', () => {
|
||||
@@ -49,13 +49,17 @@ test('费用来源使用 operationVersion,应付供应商长整型保持字符
|
||||
assert.match(source, /expectedVersion: operationVersion\(current\.value\)/)
|
||||
assert.match(source, /supplierId: id\(source\.supplierId\)/)
|
||||
assert.doesNotMatch(source, /supplierId: Number\(source\.supplierId\)/)
|
||||
assert.match(source, /partnerId, partnerName:/)
|
||||
assert.doesNotMatch(source, /partnerId: Number\(partnerId\)/)
|
||||
})
|
||||
|
||||
test('恢复模式只续补固定报告来源并校验 AR AP 金额状态', () => {
|
||||
assert.match(source, /process\.env\.FINANCE_DEMO_RECOVERY_REPORT/)
|
||||
assert.match(source, /恢复报告不是 FIN-DEMO-20260812/)
|
||||
assert.match(source, /拒绝借历史数据/)
|
||||
assert.match(source, /supplierId: id\(fixture\.supplier\?\.supplierId\)/)
|
||||
assert.match(source, /const recoverySupplierId = role === 'apPartial'/)
|
||||
assert.match(source, /matrix\.payableSettlements\?\.apPaid\?\.supplierId/)
|
||||
assert.match(source, /pageSize=200/)
|
||||
assert.match(source, /const payableIds = \['307', '310'\]/)
|
||||
assert.match(source, /finance-container-partner-not-deployed/)
|
||||
assert.match(source, /findPayableBySource/)
|
||||
|
||||
Reference in New Issue
Block a user