fix: 批量分配
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m41s

This commit is contained in:
sexygoat
2026-04-24 11:28:04 +08:00
parent e4ed3784e3
commit ceecc07ffc

View File

@@ -1570,7 +1570,9 @@
// 根据选卡方式构建请求参数
const params: Partial<AllocateStandaloneCardsRequest> = {
selection_type: allocateForm.selection_type!,
to_shop_id: allocateForm.to_shop_id!,
to_shop_id: Array.isArray(allocateForm.to_shop_id)
? allocateForm.to_shop_id[allocateForm.to_shop_id.length - 1]
: allocateForm.to_shop_id,
remark: allocateForm.remark
}