From f3c111bb9d6e0dc42a3e743dcfa2e0f1b0ef1714 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 04 九月 2026 13:30:58 +0800
Subject: [PATCH] fix(wls): 仓库/库区/库位表单「是否冻结」补充默认值 false,避免不操作开关时空值提交报错

---
 src/api/crm/customer/index.ts |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 038625f..4c17fde 100644
--- a/src/api/crm/customer/index.ts
+++ b/src/api/crm/customer/index.ts
@@ -110,7 +110,9 @@
 
 /** 棰嗗彇鍏捣瀹㈡埛 */
 export function receiveCustomer(ids: number[]) {
-  return requestClient.put('/crm/customer/receive', { ids: ids.join(',') });
+  return requestClient.put('/crm/customer/receive', null, {
+    params: { ids: ids.join(',') },
+  });
 }
 
 /** 鍒嗛厤鍏捣缁欏搴旇礋璐d汉 */

--
Gitblit v1.9.3