fix: allow manual FBA quote when rate is missing

This commit is contained in:
2026-09-21 10:44:14 +08:00
parent b9e5bf3fec
commit 3e8fa3c5d7
6 changed files with 67 additions and 17 deletions
@@ -34,6 +34,11 @@ describe('UnifiedOrdersView contract', () => {
expect(sendFeeSource).toContain('adjustPublishedInboundFee')
expect(source).toContain('价格表参考单价')
expect(source).toContain('本次对客单价')
expect(openDialogSource).toContain("feeConfirmPriceMissing.value = true")
expect(sendFeeSource).toContain('createManualInboundQuote')
expect(source).toContain("feeConfirmPriceMissing ? '未命中'")
expect(source).toContain("feeConfirmPriceMissing ? '人工定价原因'")
expect(source).not.toContain('<dt>固定附加费</dt>')
expect(sendFeeSource).toContain("ElMessage.error(getApiErrorDetails(error, '确认费用发送失败').message)")
})