fix(client): retain customs access after order completion
This commit is contained in:
@@ -684,8 +684,8 @@ test('opens the server-owned inbound-code association from the order detail', ()
|
||||
assert.doesNotMatch(source, /openInboundCodeAssociation\([^)]*\.id\)/)
|
||||
})
|
||||
|
||||
test('opens customer customs documents only for server-confirmed loaded tax-refund orders', () => {
|
||||
assert.match(source, /order\.status !== 'LOADED'/)
|
||||
test('opens customer customs documents only for server-confirmed tax-refund orders after loading', () => {
|
||||
assert.match(source, /!isCustomsOrderCandidate\(order\)/)
|
||||
assert.match(source, /item\.orderId === order\.id && item\.taxMode === 'TAX_REFUND'/)
|
||||
assert.match(source, /getMerchantCustomsForOrder\(order\.id\)/)
|
||||
assert.match(source, /if \(eligibleCustomsDetail\(order\)\) \{\s*actions\.push\(\{ key: 'customs', label: '报关资料'/)
|
||||
|
||||
Reference in New Issue
Block a user