Explorar el Código

refactor(types): 定额人材机标记标准或补充的字段变更type => from

vian hace 4 años
padre
commit
2d2eb643ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      types/src/interface/ration.ts

+ 1 - 1
types/src/interface/ration.ts

@@ -48,7 +48,7 @@ export interface ICptRationChapter {
 export interface IBaseRationGljRef {
   consumeAmt: number;
   proportion?: number; // 配合比,暂时无需使用,默认0
-  type?: FromType; // 可能有数据没有
+  from?: FromType; // 可能有数据没有
 }
 
 export interface IStdRationGljRef extends IBaseRationGljRef {