소스 검색

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

vian 5 년 전
부모
커밋
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