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/mes/pro/workorderparamrecord/index.ts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/api/mes/pro/workorderparamrecord/index.ts b/src/api/mes/pro/workorderparamrecord/index.ts
index fcb0692..90ea727 100644
--- a/src/api/mes/pro/workorderparamrecord/index.ts
+++ b/src/api/mes/pro/workorderparamrecord/index.ts
@@ -13,6 +13,7 @@
unitMeasureId?: number;
unitMeasureName?: string;
paramValue?: string;
+ required?: boolean;
remark?: string;
}
@@ -44,7 +45,7 @@
/** 鎸夊伐鍗�/宸ヤ綔绔欏垎椤垫煡璇㈠弬鏁拌褰� */
export function getWorkOrderParamRecordPage(
- params: PageParam & { workOrderId?: number; workstationId?: number; recordNo?: string; templateName?: string; createTime?: string[] },
+ params: PageParam & { taskId?: number; workstationId?: number; recordNo?: string; templateName?: string; createTime?: string[] },
) {
return requestClient.get<PageResult<MesProWorkOrderParamRecordApi.WorkOrderParamRecord>>(
'/mes/pro/work-order-param-record/page-by-work-order',
--
Gitblit v1.9.3