From 92a680303503cf2cbc5fcd584f09fe0d29a71524 Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期五, 28 八月 2026 16:57:23 +0800
Subject: [PATCH] feat(mes): 统一工作台报工记录与报工页面的提交批次号校验逻辑
---
src/api/crm/receivable/index.ts | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/api/crm/receivable/index.ts b/src/api/crm/receivable/index.ts
index 35940b4..974be6e 100644
--- a/src/api/crm/receivable/index.ts
+++ b/src/api/crm/receivable/index.ts
@@ -98,9 +98,11 @@
return requestClient.download('/crm/receivable/export-excel', { params });
}
-/** 鎻愪氦瀹℃牳 */
-export function submitReceivable(id: number) {
- return requestClient.put(`/crm/receivable/submit?id=${id}`);
+/** 鏇存柊鍥炴鐨勭姸鎬侊紙瀹℃牳/鍙嶅鏍革級 */
+export function updateReceivableStatus(id: number, status: number) {
+ return requestClient.put('/crm/receivable/update-status', null, {
+ params: { id, status },
+ });
}
/** 鑾峰緱寰呭鏍稿洖娆炬暟閲� */
--
Gitblit v1.9.3