feat(shipping-notice): 完善发货通知自动推进与多库存源复核闭环
This commit is contained in:
1 parent
cfa19a0b7b
commit
8e0bbf7a81
180 files changed
+31210
-1864
No files matched your search
@@ -155,6 +155,8 @@ function createReviewComposableMock() {
|
||||
return {
|
||||
reviewRun,
|
||||
activeCase,
|
||||
caseProjectionVersion: ref(1),
|
||||
caseLoadingContext: ref(null),
|
||||
reviewProgressContext,
|
||||
workItem,
|
||||
authoritativeOrderTaskNo: computed(() => {
|
||||
@@ -800,7 +802,7 @@ describe('ShippingOrderReviewView layout phase 1', () => {
|
||||
});
|
||||
|
||||
describe('ShippingOrderReviewView audit and progress recovery', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
vi.clearAllMocks();
|
||||
resetActiveCaseFixture();
|
||||
reviewProgressContext.value = null;
|
||||
@@ -812,7 +814,7 @@ describe('ShippingOrderReviewView audit and progress recovery', () => {
|
||||
audited: true,
|
||||
case_no: 'CASE-1',
|
||||
});
|
||||
});
|
||||
}, 20000);
|
||||
|
||||
it('refuses to open version history when access audit fails', async () => {
|
||||
vi.mocked(auditWorkspaceShippingOrderReviewVersionHistory).mockRejectedValueOnce(new Error('audit down'));
|
||||
@@ -1037,7 +1039,7 @@ describe('ShippingOrderReviewView audit and progress recovery', () => {
|
||||
const wrapper = await mountView();
|
||||
await flushPromises();
|
||||
expect(wrapper.find('[data-testid="review-profile-match-panel"]').exists()).toBe(true);
|
||||
});
|
||||
}, 15000);
|
||||
|
||||
it('hydrates progress-failed retry state from Case projection without confirm UI', async () => {
|
||||
// 关键断言:无确认建单按钮时,仍可从 post_confirm_auto_progress 恢复对象级重试入口。
|
||||
|
||||
Reference in new issue
Block a user