|
|
@@ -457,13 +457,32 @@ export interface IGetPagingGljOptions {
|
|
|
excludeIDs?: (number | string)[]; // 排除的人材机ID
|
|
|
}
|
|
|
|
|
|
+// 选择人材机界面标准人材机
|
|
|
+export interface ISelectStdGlj extends IStdGlj {
|
|
|
+ isProjectGlj?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 选择人材机界面补充人材机
|
|
|
+export interface ISelectCptGlj extends ICptGlj {
|
|
|
+ isProjectGlj?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 选择人材机界面项目人材机
|
|
|
+export interface ISelectProjectGlj extends IProjectGlj {
|
|
|
+ gljClass?: string;
|
|
|
+ isProjectGlj?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 选择人材机界面人材机
|
|
|
+export type ISelectGlj = ISelectStdGlj | ISelectCptGlj | ISelectProjectGlj;
|
|
|
+
|
|
|
// 选择人材机接口返回数据格式
|
|
|
export interface ISelectGljResult {
|
|
|
libData: ISelectGljLibItem[]; // 库下拉项
|
|
|
treeData: (IStdGljTree | ICptGljTree)[]; // 人材机分类树
|
|
|
- gljData: (IStdGlj | ICptGlj)[]; // 人材机数据
|
|
|
+ gljData: ISelectGlj[]; // 人材机数据
|
|
|
total: number; // 当前数据总数量
|
|
|
- locatedGlj?: IStdGlj | ICptGlj; // 需要定位到的人材机
|
|
|
+ locatedGlj?: ISelectGlj; // 需要定位到的人材机
|
|
|
}
|
|
|
|
|
|
/* 选择人材机相关 ↑ */
|
|
|
@@ -539,3 +558,10 @@ export interface ICptGljLib {
|
|
|
export interface IGljKeyMap {
|
|
|
[key: string]: IBaseGlj;
|
|
|
}
|
|
|
+
|
|
|
+// 添加定额人材机的document
|
|
|
+export interface IAddRationGljDoc {
|
|
|
+ code: string;
|
|
|
+ repositoryID?: number | string;
|
|
|
+ projectGljID?: string;
|
|
|
+}
|