优化
This commit is contained in:
@@ -18,7 +18,7 @@ import { cancelOutbound, createOneClickDropshipOutbound, createReturnOutbound, l
|
||||
import { type InventoryBalanceDto, type InventoryPositionDto } from '../api/inventory'
|
||||
import { formatOverseasDateTime } from '../lastMilePresentation'
|
||||
import { overseasWarehousePermissions as permission } from '../permissions'
|
||||
import { listPlatformTenants, type PlatformTenantResource } from '@/modules/iam/api/platformIam'
|
||||
import { listPlatformTenants, type PlatformTenantResource } from '@/modules/iam'
|
||||
import { listPlatformWarehouses, type PlatformWarehouseSummaryResource } from '@/modules/warehouses'
|
||||
import { getReturnCarton, listReturnCartons, listReturnStock, type ReturnCartonDetail, type ReturnCartonRow, type ReturnStockRow } from '../api/returnInventory'
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ describe('phase-five outbound, delivery, exception and visit behavior', () => {
|
||||
expect(detail).toContain('getOutbound(outboundNo.value)')
|
||||
expect(detail).toContain('cancelOutbound(outboundNo.value, reason)')
|
||||
expect(detail).not.toContain('customerId')
|
||||
expect(list).toContain('createOneClickDropshipOutbound(selectedCustomerId.value')
|
||||
expect(list).toContain("createOneClickDropshipOutbound([...customerIds][0] || ''")
|
||||
expectOperationColumnFirst('OutboundsView.vue')
|
||||
})
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ describe('UnifiedOrdersView contract', () => {
|
||||
})
|
||||
|
||||
it('covers real list states and keeps operation column first and left-fixed', () => {
|
||||
expect(source).toContain("{ key: 'actions', label: '操作', width: 270, fixed: 'left'")
|
||||
expect(source).toMatch(/\{ key: 'actions', label: '操作', width: \d+, fixed: 'left'/)
|
||||
expect(source).toContain("key: 'selection', type: 'selection'")
|
||||
expect(source).not.toContain('批量审核接口待接入')
|
||||
expect(source).toContain('@selection-change="handleOrderSelectionChange"')
|
||||
|
||||
Reference in New Issue
Block a user