|
|
@@ -1,10 +1,4 @@
|
|
|
-/*
|
|
|
- * @Descripttion:
|
|
|
- * @Author: vian
|
|
|
- * @Date: 2021-05-26 17:37:16
|
|
|
- */
|
|
|
import { FromType, ITreeScm, SupplyType } from './base';
|
|
|
-import { IReceivedShareLib } from './share';
|
|
|
|
|
|
// 工料机类型
|
|
|
export enum GljType {
|
|
|
@@ -333,8 +327,9 @@ export interface ICptGljTree extends ITreeScm {
|
|
|
|
|
|
// 补充人材机分类树容器
|
|
|
export interface ICptGljTreeData {
|
|
|
+ libID: string;
|
|
|
+ ID: string;
|
|
|
compilationID: string;
|
|
|
- ownerID: string; // 企业或用户
|
|
|
treeData: ICptGljTree[];
|
|
|
}
|
|
|
|
|
|
@@ -353,11 +348,11 @@ export interface ICptDisplayComponent extends ICptComponent {
|
|
|
|
|
|
// 补充人材机
|
|
|
export interface ICptGlj extends IBaseRationGlj {
|
|
|
+ libID: string;
|
|
|
ID: string;
|
|
|
- ownerID: string;
|
|
|
+ compilationID: string;
|
|
|
type: number;
|
|
|
gljClass: string;
|
|
|
- compilationID: string;
|
|
|
components: ICptComponent[];
|
|
|
displayComponents?: ICptDisplayComponent[];
|
|
|
from: FromType;
|
|
|
@@ -459,10 +454,33 @@ export interface IAddComponentFilter {
|
|
|
libGljs: (IStdGlj | ICptGlj)[];
|
|
|
}
|
|
|
|
|
|
-// 进入人材机库需要准备的数据(一些状态)
|
|
|
+// 补充定额库选项
|
|
|
+export interface ICptGljLibOption {
|
|
|
+ ID: string;
|
|
|
+ name: string;
|
|
|
+ readOnly: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 进入定额库需要准备的数据(一些状态)
|
|
|
export interface IPrepareCptGljLib {
|
|
|
// 人材机库分享人数
|
|
|
shareCount: number;
|
|
|
- // 接收到的分享人材机库数据
|
|
|
- receiveLibs: IReceivedShareLib[];
|
|
|
+ // 库下拉选项
|
|
|
+ libOptions: ICptGljLibOption[];
|
|
|
+}
|
|
|
+
|
|
|
+// 补充人材机库
|
|
|
+export interface ICptGljLib {
|
|
|
+ ID: string;
|
|
|
+ // 库名称,预留字段,以后可能允许自行新建补充库
|
|
|
+ name?: string;
|
|
|
+ // 费用定额ID
|
|
|
+ compilationID: string;
|
|
|
+ // 企业ID,可为空字符串
|
|
|
+ enterpriseID: string;
|
|
|
+ // 用户ID
|
|
|
+ userID: string;
|
|
|
+ // 是否为企业内部库
|
|
|
+ isEnterpriseInternal: boolean;
|
|
|
+ createDate: number;
|
|
|
}
|