From 234b6cf8944ef95c415c4898f19b8fb4d12e898f Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期日, 13 十月 2024 22:44:46 +0800 Subject: [PATCH] 工艺路线增加完工节点 --- src/api/tigerapi/mes/wo.ts | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/api/tigerapi/mes/wo.ts b/src/api/tigerapi/mes/wo.ts index ab321b3..7a685fe 100644 --- a/src/api/tigerapi/mes/wo.ts +++ b/src/api/tigerapi/mes/wo.ts @@ -6,6 +6,7 @@ BIZ_MES_WO, SaveWoBatchInput, BizMesWoInput, + BAS_LABEL_VAR_WO, } from '../model/mesModel'; import { genAction, Api, genActionPage } from '../system'; import { defHttp } from '/@/utils/http/axios'; @@ -129,3 +130,19 @@ }, ); }; + +/** + * @description: 淇敼宸ュ崟妯℃澘鍙橀噺 + * @param {BAS_LABEL_VAR_WO} params + * @return {*} + */ +export const AddOrEditLabelVarByWorkOrder = async (params: BAS_LABEL_VAR_WO) => { + const data = await defHttp.post( + { url: mesApi.AddOrEditLabelVarByWorkOrder, params: genAction('', params) }, + { + errorMessageMode: 'none', + isTransformResponse: false, + }, + ); + return data; +}; -- Gitblit v1.9.3