适配财务验收FBA内部编号

This commit is contained in:
2026-09-09 18:33:39 +08:00
parent acf9bd7135
commit 0d016bc5fc
2 changed files with 21 additions and 0 deletions
@@ -18,6 +18,9 @@ test('finance fixture module is independently exported and marker isolated', ()
test('fixture covers weight, volume, manual order, and container allocation contracts', () => {
for (const basis of ['WEIGHT_KG', 'VOLUME_CBM', 'MANUAL_ORDER_FEE', 'CONTAINER_SHARED']) assert.match(source, new RegExp(basis))
assert.match(source, /chargeMode: pricingProfile\.chargeUnit/)
assert.match(source, /warehouse-admin\?tenantId=0&page=/)
assert.match(source, /item\?\.internalCode && item\?\.warehouseCode/)
assert.match(source, /fbaInternalCodes\.has\(String\(rate\.destinationCode\)/)
assert.match(source, /customer-rules\/versions\?tenantId=/)
assert.match(source, /taxMode: 'TAX_EXCLUDED'/)
assert.match(source, /inbound\?\.summary\?\.businessType \|\| profile\.businessType/)