This commit is contained in:
2026-09-15 15:20:35 +08:00
parent ecd0317b58
commit 9d6fde286b
7 changed files with 152 additions and 39 deletions
@@ -148,3 +148,18 @@ test('贴标详情展示箱唛、SKU 子明细和独立FBA目的仓', () => {
assert.match(view, /item\.operationType === 'CARTON_AND_SKU'/)
assert.match(view, /item\.skuItems\?\.length/)
})
test('客户在换标列表确认完工且照片使用二进制下载', () => {
assert.match(view, /row\.__status === 'CUSTOMER_CONFIRM_PENDING'/)
assert.match(view, /confirmRelabelFromList\(row\['0'\]\)/)
assert.doesNotMatch(view, /selectedRelabelDetail\?\.application\.status === 'CUSTOMER_CONFIRM_PENDING'/)
assert.match(api, /overseasBlobRequest/)
})
test('客户详情进入页面后直接回显完工照片并支持大图预览', () => {
assert.match(view, /void loadCompletionPhotos\(\)/)
assert.match(view, /class="warehouse-photo-grid"/)
assert.match(view, /<el-image v-if="completionPhotoUrls\[fileId\]"/)
assert.match(view, /:preview-src-list="completionPhotoPreviewUrls"/)
assert.doesNotMatch(view, />照片 \{\{ index \+ 1 \}\}<\/el-button>/)
})