fix(admin): keep co-load validation action scoped

This commit is contained in:
2026-08-31 16:37:36 +08:00
parent 3add5dc5b8
commit 83374ba6cc
3 changed files with 60 additions and 18 deletions
@@ -179,7 +179,12 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain('所选订单的渠道不同:')
expect(source).toContain('row.channelCode!.trim()')
expect(source).not.toContain('String(row.channelName || \'\').trim()')
expect(source).toContain('所选订单中已有同柜组,请先解除原同柜组')
expect(source).not.toContain('请至少勾选 2 票订单后再设为同柜组')
expect(source).not.toContain('当前仅选择 1 票:')
expect(source).toContain('以下入仓码已有同柜组:')
expect(source).toContain('selectable: () => !batchApprovalSaving.value && !coLoadSaving.value')
expect(source).not.toContain('isCoLoadRowSelectable')
expect(source).not.toContain('<small v-if="coLoadSelectionProblem"')
})
it('uses inbound code as the only list identifier and opens a business-only group dialog', () => {