Ben Lin
2024-07-20 eed29804d3973801f8eac3ad9bead1e608f05b6a
src/api/tigerapi/model/basModel.ts
@@ -1,6 +1,7 @@
import { Ref } from 'vue';
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
import { ActionItem } from '/@/components/Table';
import { CustModalParams } from './systemModel';
//物料信息实体
export type MaterialInfoParams = {
  ITEM_CODE?: string;
@@ -125,10 +126,10 @@
  EditOperation: (data: Ref<any[]>, d, u, item: string | undefined) => void;
  OpenSelectItem: (openItemModal: Fn, ...args) => void;
  GetSelectSuccess: (d, u, ...args) => {};
  GetHomeUrl: () => string;
  GetHomeUrl: (params: {} | undefined) => string;
  GetBaseColumns: (type: string | undefined) => [] | {};
  GetSearchForm: (type: string | undefined) => [] | {};
  GetCrudForm: (type: string | undefined,) => [] | {};
  GetCrudForm: (type: string | undefined) => [] | {};
  GetBaseForm: () => [] | {};
  GetBaseCards: (type: string | undefined) => [];
  KeyFieldValues: (val: string, id: string) => {};
@@ -141,11 +142,14 @@
  navChangeItem: (action: any, ...args) => void;
  GetUseModals: () => {};
  GetUseDrawers: () => [];
  GetUseTables: (data: Ref<Recordable[]>, ...args) => [];
  GetUseTables: (data: Ref<Recordable[]>, ...args) => {};
  GetUseForm: (...args) => {};
  SubmitFunc: (values: Recordable<any>, type: string, emit) => void;
  FormSearch: (d) => string | {};
  GetSlots: (type: string | undefined) => {};
  GenerateHtml: (type: string | null) => HTMLElement | null;
  CustFunc: (type: string | undefined, ...args) => void | any;
  CustFunc: (param: CustModalParams) => void | any;
  SubmitAll: (data: Ref<any[]>, keyFieldValues: Ref<{}>, ...args) => void | any;
  CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string ) => void | any;
  CustInitData: (data: Ref<any[]>, keyFieldValues: Ref<{}>, type: string) => void | any;
  GetCustData: () => {};
}