Explorar o código

feat(types): 清单精灵

vian %!s(int64=4) %!d(string=hai) anos
pai
achega
bd577f4379
Modificáronse 1 ficheiros con 24 adicións e 0 borrados
  1. 24 0
      types/src/interface/billGuide.ts

+ 24 - 0
types/src/interface/billGuide.ts

@@ -54,6 +54,8 @@ export interface IBillGuideItemResult {
   type: BillGuideItemType;
   rationID?: number;
   deleted?: boolean;
+  outputItemCharacter?: boolean;
+  required?: boolean;
 }
 
 // 指引数据
@@ -65,4 +67,26 @@ export interface IBillGuideItem extends ITreeScm {
   type: BillGuideItemType;
   rationID?: number;
   select?: boolean;
+  outputItemCharacter?: boolean;
+  required?: boolean;
+}
+
+// 清单精灵数据选项
+export interface IBillElfOption {
+  ID: string; // 选项对应原数据ID
+  name: string;
+  checked: boolean;
+}
+
+// 清单精灵数据
+export interface IBillElfItem extends ITreeScm {
+  name: string;
+  // 工序选项数据
+  options: IBillElfOption[];
+  // 选项名称
+  optionName: string;
+  // 是否是项目特征数据(项目特征与清单精灵合并进了一个表格)
+  isItemCharacter: boolean;
+  outputItemCharacter?: boolean;
+  required?: boolean;
 }