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

feat(types): 补充辅助定额增加ID

vian 4 лет назад
Родитель
Сommit
1b73bbae74
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      types/src/interface/ration.ts

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

@@ -84,7 +84,9 @@ export interface IBaseRationAss {
 export type IStdRationAss = IBaseRationAss;
 
 // 补充定额辅助
-export type ICptRationAss = IBaseRationAss;
+export interface ICptRationAss extends IBaseRationAss {
+  ID: string; // 方便录入补充数据
+}
 
 export interface IStdRationInstall {
   feeItemId: string; // 原std库已经是这样,不能改成ID