Просмотр исходного кода

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

vian 4 лет назад
Родитель
Сommit
2d2eb643ab
1 измененных файлов с 1 добавлено и 1 удалено
  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 {