This commit is contained in:
2026-09-03 10:46:14 +08:00
parent 12424281c7
commit 6780228f86
6 changed files with 145 additions and 13 deletions
@@ -14,13 +14,15 @@ test('renders loading, pending, isolated error, and published states', () => {
assert.match(source, /\$emit\('retry'\)/)
})
test('shows the confirmed merchant inbound and fee fields without write actions', () => {
test('shows the confirmed merchant inbound, measurement details and customer confirmation entry', () => {
for (const label of ['入仓码', '平台收货仓', '实际毛重', '实测体积', '托盘与库位', '换算与精度', '最终计费量', '基础费用', '附加费用', '费用合计', '平台备注']) {
assert.match(source, new RegExp(label))
}
assert.match(source, /formatInboundMoney\(props\.data\.latestFee\.totalAmount/)
assert.match(source, /formatConversionPrecision\(/)
assert.doesNotMatch(source, /确认费用|调整费用|发送费用|下载照片/)
assert.match(source, /确认费用/)
assert.match(source, /measurementItems/)
assert.doesNotMatch(source, /调整费用|发送费用|下载照片/)
assert.doesNotMatch(source, /internalNotes|statusHistory|files/)
assert.match(source, /latestFee\.ruleCode/)
assert.match(source, /latestFee\.rateCode/)