From 5a813f3b28f3cbf1db3a3657ccf83267c6e0d315 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 24 十月 2024 11:22:02 +0800 Subject: [PATCH] 工艺路线相关优化 --- src/api/tigerapi/model/mesModel.ts | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 1 deletions(-) diff --git a/src/api/tigerapi/model/mesModel.ts b/src/api/tigerapi/model/mesModel.ts index 2643ffe..bf91445 100644 --- a/src/api/tigerapi/model/mesModel.ts +++ b/src/api/tigerapi/model/mesModel.ts @@ -1,5 +1,5 @@ import { MES_ROUTE } from './router'; -import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; +import { BasicPageParams, BasicFetchResult, AuthOption } from '/@/api/model/baseModel'; export type OperParams = { OPER_CODE?: string; @@ -289,6 +289,7 @@ export interface SaveWoBatchInput { Wo: BIZ_MES_WO; WoBatch: BIZ_MES_WO_BATCH; + IfToCust: boolean; } export type OperPageListGetResultModel = BasicFetchResult<OperListItem>; @@ -314,8 +315,10 @@ export interface BizMesWoInput { WorkOrder: string; + WoBatch: string; UserId: string; Status: number; + ActLine: string; RouteStatus: number; } @@ -457,6 +460,80 @@ PkgProd: BAS_PKG_PROD[]; } +export interface BAS_ITEM { + ID: string; + CREATE_TIME: Date; + CREATE_USER: string; + UPDATE_TIME: Date; + UPDATE_USER: string; + GHOST_ROW: boolean; + AUTH_ORG: string; + AUTH_PROD: string; + AUTH_WH: string; + ITEM_CODE: string; + ITEM_NAME: string; + ITEM_DESC: string; + ITEM_TYPE: string; + ITEM_VER: string; + SPEC: string; + SPEC_WH: string; + COLOR: string; + UNIT: string; + IS_PROD: string; + PROD_TYPE: string; + CUST_PROD_CODE: string; + IS_ACTIVE: string; + CTRL_MODE: string; + RELEASE_TIME: Date; + EFFECTIVE_TIME: Date; + VALIDITY_DAYS: number; + DLVY_TYPE: number; + ENABLE_FIFO: string; + RULE_CODE: string; + REMARK: string; +} + export interface BizBasItemRuleInput { + Item: BAS_ITEM; ItemCusts: BAS_ITEM_CUST[]; } + +export interface RouteInput { + rotId: string; + rotCode: string; + options: AuthOption; +} + +export interface ProdRotInput extends RouteInput { + prodCode: string; + custCode: string; + isDefault: boolean; +} + +export interface WoRotInput extends RouteInput { + wo: string; +} + +/** + * @description: 宸ヨ壓璺嚎鏍戝舰 + * @return {*} + */ +export interface MesRotTree { + org: string; + pid: string; + tid: string; + id: string; + code: string; + name: string; + type: string; + seq: string; + isDefault: boolean; + level: number; + cust:string; + children: MesRotTree[] +} + +export interface PageRotTree { + name: string; + treeInfo: MesRotTree[]; +} -- Gitblit v1.9.3