优化
This commit is contained in:
@@ -78,8 +78,9 @@ test('requires the old inbound code globally only while legacy manual mode is ac
|
||||
|
||||
test('shows every created draft and keeps failed rows available for retry', () => {
|
||||
assert.match(source, /v-for="result in draftResults"/)
|
||||
assert.match(source, /result\.orderNo \|\| '订单号 —'/)
|
||||
assert.match(source, /result\.inboundCode \? `入仓码 \$\{result\.inboundCode\}` : '入仓码 —'/)
|
||||
assert.match(source, /result\.inboundCode \|\| '入仓码提交后生成'/)
|
||||
assert.match(source, /提交后将生成入仓码/)
|
||||
assert.doesNotMatch(source, />\{\{ result\.orderNo/)
|
||||
assert.doesNotMatch(source, /result\.orderNo \|\| `草稿 \$\{result\.draftId\}`/)
|
||||
assert.doesNotMatch(source, /item\.orderNo \|\| item\.draftId/)
|
||||
assert.match(source, /@click="editDraft\(result\)"/)
|
||||
|
||||
Reference in New Issue
Block a user