This commit is contained in:
2026-09-10 11:38:38 +08:00
parent 9b5b324fe8
commit 8c9f4468af
6 changed files with 78 additions and 45 deletions
@@ -350,7 +350,9 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain('仓库修改外箱(高)')
expect(source).toContain('saveWarehouseOuterDimensions')
expect(source).toContain("'PREPARING', 'WAIT_MEASURE', 'MEASURING', 'MEASURE_REJECTED'")
expect(source).toContain('v-if="measurementDraftEditable"')
expect(source.match(/v-if="measurementStrategyEditable"/g)).toHaveLength(4)
expect(source).toContain('updateMeasurementOuterDimensions')
expect(source).not.toContain('await saveInboundMeasurementDraft(String(summary.tenantId), String(summary.inboundId)')
expect(source).not.toContain('请至少输入一项需要修改的外箱尺寸')
expect(source).toContain(".map((value) => value == null || value === '' ? null : Number(value))")
expect(source).toContain('相关数值已重新计算')