| | |
| | | import { Ref } from 'vue'; |
| | | import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; |
| | | import { ActionItem } from '/@/components/Table'; |
| | | //物料信息实体 |
| | | export type MaterialInfoParams = { |
| | | ITEM_CODE?: string; |
| | |
| | | REMARK: string; |
| | | } |
| | | |
| | | export interface NavItem { |
| | | title: string; |
| | | icon: string; |
| | | color: string; |
| | | url: string; |
| | | action: string; |
| | | isStep: boolean; |
| | | } |
| | | |
| | | export type MaterialInfoPageListGetResultModel = BasicFetchResult<MaterialInfoListItem>; |
| | | export type SupplierInfoPageListGetResultModel = BasicFetchResult<SupplierInfoListItem>; |
| | | export type PackageRulePageListGetResultModel = BasicFetchResult<PackageRuleListItem>; |
| | | |
| | | export interface EntityCustFunctionType { |
| | | CreateAction: (fnName: string) => {}; |
| | | ActionItem: (params: Recordable<any>, data, ...args) => ActionItem[]; |
| | | EditOperation: (data: Ref<any[]>, d, u) => void; |
| | | OpenSelectItem: (openItemModal: Fn, ...args) => void; |
| | | GetSelectSuccess: (d, u, ...args) => {}; |
| | | GetHomeUrl: () => string; |
| | | GetBaseColumns: () => []; |
| | | GetSearchForm: () => []; |
| | | GetCrudForm: () => []; |
| | | GetBaseForm: () => []; |
| | | GetBaseCards: () => []; |
| | | OthersValues: (val: string, id: string) => {} |
| | | GetTitle: () => {}; |
| | | GetCrudColSlots: () => []; |
| | | nodeChange: ({}) => void, |
| | | CreateIcon: (params: Recordable<any>) => string; |
| | | SelectNode: (selectedNodes: Ref<any[]>) => {}; |
| | | GetNavItems: () => NavItem[]; |
| | | navChangeItem: (action: any, ...args) => void; |
| | | GetUseModals: () => {}; |
| | | } |