Ben Lin
2024-07-24 50111114eb8254fe4d6fc15e9781f2c47e3db74a
src/api/tigerapi/model/mesModel.ts
@@ -232,6 +232,62 @@
};
export type MesWslistPageParams = BasicPageParams & MES_WORKSHOPParams;
export interface BIZ_MES_WO_BATCH {
  ID: string;
  BATCH_NO: 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 interface SaveWoBatchInput {
   Wo: BIZ_MES_WO;
   WoBatch: BIZ_MES_WO_BATCH;
}
export type OperPageListGetResultModel = BasicFetchResult<OperListItem>;
export type CheckRulePageListGetResultModel = BasicFetchResult<CheckRuleListItem>;
export type MeslinePageListGetResultModel = BasicFetchResult<MeslineListItem>;
@@ -240,3 +296,15 @@
export type RoutePageListGetResultModel = BasicFetchResult<MES_ROUTE>;
export type BIZ_MES_WOPageListGetResultModel = BasicFetchResult<BIZ_MES_WO>;
export type MES_WORKSHOPPageListGetResultModel = BasicFetchResult<MES_WORKSHOP>;
export interface DelWoRotInput {
  rotId: string;
  rotCode: string;
  wo: string;
}
export interface DelProdRotInput {
  rotId: string;
  rotCode: string;
  prodCode: string;
}