This commit is contained in:
2026-08-07 10:45:15 +08:00
parent ac762ed302
commit 54fe05d864
4 changed files with 29 additions and 7 deletions
@@ -109,6 +109,14 @@ test('uses only fields present on C02 rows before loading full detail', () => {
assert.match(source, /createdFrom: range\[0\] \? `\$\{range\[0\]\}T00:00:00`/)
})
test('shows and searches the inbound code after a draft is submitted', () => {
assert.match(source, /placeholder: '订单号、入仓码、渠道或仓库'/)
assert.match(source, /order\.businessSummary\.inboundCode/)
assert.match(source, /v-if="\(row as FirstLegOrder\)\.businessSummary\.inboundCode"[^>]*>入仓码/)
assert.match(source, /v-if="order\.businessSummary\.inboundCode"[^>]*>入仓码/)
assert.match(source, /v-if="detailOrder\.businessSummary\.inboundCode"><dt>入仓码<\/dt>/)
})
test('keeps the seven-stage progress and business summary usable on mobile', () => {
assert.match(progressSource, /grid-template-columns: repeat\(7, 82px\)/)
assert.match(progressSource, /overflow-x: auto/)