|
|
@@ -124,7 +124,6 @@ export enum CoeType {
|
|
|
export interface IBaseCoe {
|
|
|
coeType: CoeType; // 系数类型,指作用范围:
|
|
|
// 单个(如:111量0.001)、人工类、材料类、机械类、全部(如:定额×0.925)。
|
|
|
- gljID?: number; // 要调整的工料机ID(当coeType=单个工料机时有效)
|
|
|
operator: string; // 运算符(*、+、-、=)
|
|
|
amount: string; // 调整的量
|
|
|
gljCode: string;
|
|
|
@@ -135,7 +134,9 @@ export interface IBaseCoe {
|
|
|
|
|
|
export type IStdCoe = IBaseCoe;
|
|
|
|
|
|
-export type ICptCoe = IBaseCoe;
|
|
|
+export interface ICptCoe extends IBaseCoe {
|
|
|
+ ID: string;
|
|
|
+}
|
|
|
|
|
|
export interface IBaseCoeItem {
|
|
|
ID: number | string;
|
|
|
@@ -410,3 +411,24 @@ export interface IUpdateCptRationGljResult {
|
|
|
rationGljList: ICptRationGljRef[];
|
|
|
displayRationGljList: ICptDisplayRationGlj[];
|
|
|
}
|
|
|
+
|
|
|
+// 新增补充子目换算接口传输的数据接口
|
|
|
+export interface IInsertCptCoe {
|
|
|
+ ID: string;
|
|
|
+ name?: string;
|
|
|
+ content?: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 新增补充定额子目换算调整数据接口
|
|
|
+export interface IInsertCptRationCoe {
|
|
|
+ serialNo: number; // 编号
|
|
|
+ no: number; // 排序
|
|
|
+}
|
|
|
+
|
|
|
+export interface ICptDisplayRationCoe {
|
|
|
+ ID: string;
|
|
|
+ serialNo: number; // 编号
|
|
|
+ no: number; // 排序
|
|
|
+ name?: string;
|
|
|
+ content?: string;
|
|
|
+}
|