Explorar el Código

feat(types): 混凝土组成物消耗量计算

zhangweicheng hace 3 años
padre
commit
05287fae44
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      types/src/interface/ration.ts

+ 8 - 0
types/src/interface/ration.ts

@@ -238,6 +238,14 @@ export interface IRationGlj {
   code: string;
   originalCode: string; // 原始的编码 不带 “-”的
   beforeReplaceCode?: string; // 替换工料机后记录原来的工料机编码,要做判断 有可能带“-”
+  beforeReplaceObj?: {
+    // 计录替换前的工料机信息,对于混凝土,替换,计算等问题处理,替换时保存旧数据的5大项信息
+    name: string;
+    code: string;
+    specs?: string;
+    unit: string;
+    type: GljType;
+  };
   specs?: string;
   unit: string;
   type: GljType;