diff --git a/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.test.tsx b/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.test.tsx index 6f953b1b..40db7594 100644 --- a/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.test.tsx +++ b/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.test.tsx @@ -1576,13 +1576,16 @@ describe('BomCostingWorkbenchClient', () => { expect(await screen.findByText('预计出厂成本')).toBeInTheDocument() const dynamicCostNotice = screen.getByTestId('bom-dynamic-cost-partial-notice') expect(dynamicCostNotice).toHaveTextContent( - '1/3 个 SKU 已形成完整预估', + '1/3 个 SKU 的原材质预估已完成', + ) + expect(dynamicCostNotice).toHaveTextContent( + '这是原材质批次结果,不代表当前材质替换方案已经完成', ) expect(dynamicCostNotice).toHaveTextContent( '失败规格 · 事务启动超时', ) expect(screen.getByRole('alert', { - name: '本轮成本部分完成,包含成本生成失败', + name: '原材质批次部分完成,包含成本生成失败', })).toBe(dynamicCostNotice) const failedSkuButton = screen.getByRole('button', { name: /失败规格/ }) expect(within(failedSkuButton).getByText('生成失败')).toBeInTheDocument() diff --git a/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.tsx b/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.tsx index f9a0b59f..a7b3fba2 100644 --- a/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.tsx +++ b/furniture-3d-system/src/app/bom-costing/BomCostingWorkbenchClient.tsx @@ -2294,16 +2294,16 @@ function ResultCanvas({ className="shrink-0 border-b border-[#b98743]/25 bg-[#fbf8f0]" role={dynamicCompletionNotice.failedSkuCount > 0 ? 'alert' : 'status'} aria-label={dynamicCompletionNotice.failedSkuCount > 0 - ? '本轮成本部分完成,包含成本生成失败' - : '本轮成本部分完成'} + ? '原材质批次部分完成,包含成本生成失败' + : '原材质批次部分完成'} data-testid="bom-dynamic-cost-partial-notice" >