Explorar o código

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

vian %!s(int64=4) %!d(string=hai) anos
pai
achega
2d2eb643ab
Modificáronse 1 ficheiros con 1 adicións e 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 {