Explorar el Código

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

vian hace 5 años
padre
commit
1b73bbae74
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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