From 053025d1e3952826ec570072d62cf8ed845ce9c7 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 17 八月 2026 11:42:23 +0800
Subject: [PATCH] feat(mdm): 添加物料同步到MES功能
---
src/api/crm/customer/index.ts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 49eb84d..4c17fde 100644
--- a/src/api/crm/customer/index.ts
+++ b/src/api/crm/customer/index.ts
@@ -1,4 +1,4 @@
-import type { PageParam, PageResult } from '../../../packages/effects/request/src';
+import type { PageParam, PageResult } from '@vben/request';
import type { CrmPermissionApi } from '#/api/crm/permission';
@@ -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