|
@@ -64,20 +64,29 @@ export interface IStdRationGljRef extends IBaseRationGljRef {
|
|
|
export interface ICptRationGljRef extends IBaseRationGljRef {
|
|
export interface ICptRationGljRef extends IBaseRationGljRef {
|
|
|
gljId: string | number; // 原std库已经是这样,不能改成ID
|
|
gljId: string | number; // 原std库已经是这样,不能改成ID
|
|
|
}
|
|
}
|
|
|
-export interface IStdRationAss {
|
|
|
|
|
- name: string;
|
|
|
|
|
- assistCode: string;
|
|
|
|
|
- stdValue: string;
|
|
|
|
|
- stepValue: string;
|
|
|
|
|
- decimal: number;
|
|
|
|
|
- carryBit: string;
|
|
|
|
|
- minValue: string;
|
|
|
|
|
- maxValue: string;
|
|
|
|
|
- paramName: string; // 参数名称
|
|
|
|
|
- param: string; // 参数
|
|
|
|
|
- thirdRationCode: string; // 第三定额
|
|
|
|
|
|
|
+
|
|
|
|
|
+// 基准辅助定额
|
|
|
|
|
+export interface IBaseRationAss {
|
|
|
|
|
+ name: string; // 调整名称
|
|
|
|
|
+ assistCode: string; // 辅助定额号
|
|
|
|
|
+ stdValue: string; // 标准值
|
|
|
|
|
+ stepValue: string; // 步距
|
|
|
|
|
+ decimal: number; // 精度
|
|
|
|
|
+ carryBit: string; // 进位方式
|
|
|
|
|
+ minValue?: string; // 最小值
|
|
|
|
|
+ maxValue?: string; // 最大值
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 标准定额辅助
|
|
|
|
|
+export interface IStdRationAss extends IBaseRationAss {
|
|
|
|
|
+ paramName?: string; // 参数名称
|
|
|
|
|
+ param?: string; // 参数
|
|
|
|
|
+ thirdRationCode?: string; // 第三定额
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// 补充定额辅助
|
|
|
|
|
+type ICptRationAss = IBaseRationAss;
|
|
|
|
|
+
|
|
|
export interface IStdRationInstall {
|
|
export interface IStdRationInstall {
|
|
|
feeItemId: string; // 原std库已经是这样,不能改成ID
|
|
feeItemId: string; // 原std库已经是这样,不能改成ID
|
|
|
sectionId: string; // 原std库已经是这样,不能改成ID
|
|
sectionId: string; // 原std库已经是这样,不能改成ID
|
|
@@ -161,7 +170,7 @@ export interface IRationCoe {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface IBaseRation {
|
|
export interface IBaseRation {
|
|
|
- code?: string;
|
|
|
|
|
|
|
+ code: string;
|
|
|
name?: string;
|
|
name?: string;
|
|
|
unit?: string;
|
|
unit?: string;
|
|
|
basePrice: number;
|
|
basePrice: number;
|
|
@@ -174,7 +183,7 @@ export interface IBaseRation {
|
|
|
annotation?: string;
|
|
annotation?: string;
|
|
|
manageFeeRate?: string; // 管理费费率
|
|
manageFeeRate?: string; // 管理费费率
|
|
|
rationCoeList?: ICoeList[];
|
|
rationCoeList?: ICoeList[];
|
|
|
- rationAssList?: IStdRationAss[];
|
|
|
|
|
|
|
+ rationAssList?: IBaseRationAss[];
|
|
|
rationInstList?: IStdRationInstall[];
|
|
rationInstList?: IStdRationInstall[];
|
|
|
rationTemplateList?: IStdRationTemp[];
|
|
rationTemplateList?: IStdRationTemp[];
|
|
|
from?: FromType; // 单条查找结果时用到
|
|
from?: FromType; // 单条查找结果时用到
|
|
@@ -184,17 +193,17 @@ export interface IStdRation extends IBaseRation {
|
|
|
rationRepId: number;
|
|
rationRepId: number;
|
|
|
sectionId: number;
|
|
sectionId: number;
|
|
|
rationGljList: IStdRationGljRef[];
|
|
rationGljList: IStdRationGljRef[];
|
|
|
-
|
|
|
|
|
|
|
+ rationAssList?: IStdRationAss[];
|
|
|
chapter?: IStdRationChapter;
|
|
chapter?: IStdRationChapter;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ICptRation extends IBaseRation {
|
|
export interface ICptRation extends IBaseRation {
|
|
|
- code: string;
|
|
|
|
|
ownerID: string;
|
|
ownerID: string;
|
|
|
compilationID: string;
|
|
compilationID: string;
|
|
|
ID: string;
|
|
ID: string;
|
|
|
sectionId: string;
|
|
sectionId: string;
|
|
|
rationGljList: ICptRationGljRef[];
|
|
rationGljList: ICptRationGljRef[];
|
|
|
|
|
+ rationAssList: ICptRationAss[];
|
|
|
chapter?: ICptRationChapter;
|
|
chapter?: ICptRationChapter;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -229,7 +238,7 @@ export interface IGljQtyCoe {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 实际保存到项目中的辅助定额数据
|
|
// 实际保存到项目中的辅助定额数据
|
|
|
-export interface IRationAss extends IStdRationAss {
|
|
|
|
|
|
|
+export interface IRationAss extends IBaseRationAss {
|
|
|
ID: string;
|
|
ID: string;
|
|
|
actualValue?: number;
|
|
actualValue?: number;
|
|
|
isAdjust: boolean; // 是否调整
|
|
isAdjust: boolean; // 是否调整
|