diff --git a/src/views/asset-management/iot-card-management/index.vue b/src/views/asset-management/iot-card-management/index.vue index 3413a82..3909ad4 100644 --- a/src/views/asset-management/iot-card-management/index.vue +++ b/src/views/asset-management/iot-card-management/index.vue @@ -1570,7 +1570,9 @@ // 根据选卡方式构建请求参数 const params: Partial = { 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 }