Prechádzať zdrojové kódy

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

zhangweicheng 4 rokov pred
rodič
commit
59704bb192
2 zmenil súbory, kde vykonal 27 pridanie a 2 odobranie
  1. 3 0
      types/src/interface/base.ts
  2. 24 2
      types/src/interface/ration.ts

+ 3 - 0
types/src/interface/base.ts

@@ -171,6 +171,9 @@ export enum ActionName {
   CHANGE_CPT_RATION_TREE = 'changeCptRationTree', // 补充定额章节树数据变更
   CHANGE_CPT_RATION = 'changeCptRation', // 补充定额数据变更
   CHANGE_CPT_RATION_GLJ = 'changeCptRationGlj', // 补充定额人材机变更
+  CHANGE_CPT_RATION_COE = 'changeCptRationCoe', // 补充定额子目换算变更
+  CHANGE_CPT_COE = 'changeCptCoe', // 补充子目换算数据变更
+  ADD_RATION_COE_TO_SECTION = 'addRationCoeToSection', // 添加子目换算到本节其他定额
 }
 
 export interface IBaseFilter {

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

@@ -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;
+}