fix: compact smart loading text
This commit is contained in:
@@ -49,6 +49,8 @@ describe('SmartLoadingWorkbenchView', () => {
|
||||
expect(source).toContain('<LineClampText v-if="row.coLoadGroup" :content="`${row.packageCount} 箱(整组固定)`" />')
|
||||
expect(source).toContain('.candidate-group { display: grid; width: 100%; min-width: 0;')
|
||||
expect(source).toContain('.candidate-group :deep(.line-clamp-text) { width: 100%;')
|
||||
expect(source).toContain('<template #goods="{ row }"><div class="goods-cell"><LineClampText')
|
||||
expect(source).toContain('<template #goodsSummary="{ row }"><LineClampText')
|
||||
expect(source).not.toContain('<span v-for="summary in row.memberOrderSummaries"')
|
||||
})
|
||||
|
||||
@@ -109,7 +111,7 @@ describe('SmartLoadingWorkbenchView', () => {
|
||||
expect(getSmartLoadingPlanByBooking).toHaveBeenCalledTimes(2)
|
||||
expect(recommendSmartLoading).toHaveBeenCalledWith(planResponse.id, 2)
|
||||
expect(recommendSmartLoading).toHaveBeenCalledWith(planResponse.id, 3)
|
||||
expect(wrapper.text()).not.toContain('排柜操作失败')
|
||||
expect(wrapper.text()).not.toContain('装柜操作失败')
|
||||
})
|
||||
|
||||
it('uses bordered row actions and has no manual preload push', () => {
|
||||
|
||||
Reference in New Issue
Block a user