Ben Lin
2024-07-30 cc88111d61a350a4d24cf339b526d4357f934ddf
src/api/tigerapi/model/basModel.ts
@@ -2,6 +2,8 @@
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
import { ActionItem } from '/@/components/Table';
import { CustModalParams } from './systemModel';
import { EventDataNode } from 'ant-design-vue/lib/tree';
import { ContextMenuItem } from '/@/components/TigerTree';
//物料信息实体
export type MaterialInfoParams = {
  ITEM_CODE?: string;
@@ -121,7 +123,7 @@
 * @return {*}
 */
export interface EntityCustFunctionType {
  CreateAction: (fnName: string) => {};
  CreateAction: (type: string) => {};
  ActionItem: (params: Recordable<any>, data, ...args) => ActionItem[];
  EditOperation: (data: Ref<any[]>, d, u, item: string | undefined) => void;
  OpenSelectItem: (openItemModal: Fn, ...args) => void;
@@ -152,4 +154,6 @@
  SubmitAll: (data: Ref<any[]>, keyFieldValues: Ref<{}>, ...args) => void | any;
  CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string) => void | any;
  GetCustData: () => {};
  GetRightMenuList: (node: EventDataNode, ...args) => ContextMenuItem[];
  GetNewRow: (type: string) => {};
}