This commit is contained in:
@@ -1570,7 +1570,9 @@
|
|||||||
// 根据选卡方式构建请求参数
|
// 根据选卡方式构建请求参数
|
||||||
const params: Partial<AllocateStandaloneCardsRequest> = {
|
const params: Partial<AllocateStandaloneCardsRequest> = {
|
||||||
selection_type: allocateForm.selection_type!,
|
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
|
remark: allocateForm.remark
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user