Ben Lin
2024-07-03 46c3d28c5633baaddad0da441185310b9360a45b
src/api/tigerapi/model/mesModel.ts
@@ -207,6 +207,81 @@
};
export type MesWolistPageParams = BasicPageParams & BIZ_MES_WOParams;
export interface MES_WORKSHOP {
  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;
  WS_CODE: string;
  WS_NAME: string;
  SHORT_NAME: string;
  FTY_CODE: string;
  ORG_CODE: string;
  IS_ACTIVE: string;
  REMARK: string;
}
export type MES_WORKSHOPParams = {
  WS_CODE?: string;
  WS_NAME?: string;
};
export type MesWslistPageParams = BasicPageParams & MES_WORKSHOPParams;
export interface BIZ_MES_WO_BATCH {
  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;
  ORDER_NO: string;
  STATUS: number;
  ITEM_CODE: string;
  CUST_CODE: string;
  FACTORY: string;
  WS_CODE: string;
  ACT_LINE: string;
  ACT_START_TIME: Date;
  ACT_END_TIME: Date;
  STD_WORKER_QTY: number;
  ACT_WORKER_QTY: number;
  RELEASE_TIME: Date;
  RELEASE_USER: string;
  PLAN_QTY: number;
  INPUT_QTY: number;
  OUTPUT_QTY: number;
  SCRAP_QTY: number;
  STOCK_IN_QTY: number;
  UPH: number;
  UPPH: number;
  REMARK: string;
}
export interface BAS_DEFECT {
   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;
   DFT_CODE: string;
   DFT_NAME: string;
   DFTG_CODE: string;
   DFT_LEVEL: number;
   REMARK: string;
}
export type OperPageListGetResultModel = BasicFetchResult<OperListItem>;
export type CheckRulePageListGetResultModel = BasicFetchResult<CheckRuleListItem>;
export type MeslinePageListGetResultModel = BasicFetchResult<MeslineListItem>;
@@ -214,3 +289,4 @@
export type MesModelPageListGetResultModel = BasicFetchResult<MesModelListItem>;
export type RoutePageListGetResultModel = BasicFetchResult<MES_ROUTE>;
export type BIZ_MES_WOPageListGetResultModel = BasicFetchResult<BIZ_MES_WO>;
export type MES_WORKSHOPPageListGetResultModel = BasicFetchResult<MES_WORKSHOP>;