Explorar o código

feat(types): 修改子目增加费相关类型

zhangweicheng %!s(int64=4) %!d(string=hai) anos
pai
achega
26a7c1da88
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 1
      types/src/interface/increaseFee.ts
  2. 2 0
      types/src/interface/ration.ts

+ 1 - 1
types/src/interface/increaseFee.ts

@@ -4,7 +4,7 @@ export interface IIncreaseSettingItem {
   base: string;
   coe: number;
   isCalc?: boolean; // 是否计取
-  scope?: { [ID: string]: boolean };
+  scope?: { [ID: string]: boolean }; // 已废弃之后不知道还会不会需要
 }
 
 export interface IIncreaseSetting {

+ 2 - 0
types/src/interface/ration.ts

@@ -17,6 +17,7 @@ import {
   IStdGlj,
   MaterialType,
 } from './glj';
+import { IIncreaseSettingItem } from './increaseFee';
 import { IQuantityDetail } from './quantityDetail';
 
 // 标准定额库
@@ -342,6 +343,7 @@ export interface IRation extends IBRBase {
   rationCoeList?: IRationCoe[]; // 定额调整系数
   rationTemplate?: IRationTemplate; // 定额模板
   rationInstallList?: IRationInstall[]; // 定额安装增加
+  rationItemList?: IIncreaseSettingItem[];
   addFromElf?: boolean; // 是否从清单精灵插入
   [key: string]: any;
 }