Sfoglia il codice sorgente

feat(types): 指标入库角色权限

zhangweicheng 3 anni fa
parent
commit
c11af71b1d

+ 12 - 0
types/src/interface/glj.ts

@@ -245,6 +245,12 @@ export interface IProjectGlj {
   purchaseFeeRate?: number; // 采保费率
   from: FromType; // std, cpt  来自标准工料机库、补充工料机库
   matchedInfoPrice?: IMatchedInfoPrice | null; // 材料检查后匹配到的信息价
+
+  // 以下仅普通材料可用
+  grossWeightCoe?: number; // 毛重系数
+  purchaseStorageRate?: number; // 采购保管费率
+  offSiteTransportLossRate?: number; // 场外运输损耗率
+  handlingLossRate?: number; // 每增一次装卸损耗率
 }
 
 export interface IProjectGljs {
@@ -280,6 +286,12 @@ export interface IBaseRationGlj {
   materialIndexUnit?: string; // 工料指标单位
   materialIndexCoe?: number; // 单位转换系数
   taxRate?: string; // 税率
+
+  // 以下仅普通材料可用
+  grossWeightCoe?: number; // 毛重系数
+  purchaseStorageRate?: number; // 采购保管费率
+  offSiteTransportLossRate?: number; // 场外运输损耗率
+  handlingLossRate?: number; // 每增一次装卸损耗率
 }
 
 // 人材机组成物

+ 1 - 0
types/src/interface/process.ts

@@ -47,6 +47,7 @@ export enum RolePermission {
   ALL_EXPORT_PROJECTS = 'exportProjects', // 全部项目-导出项目
   ZBK_ENABLE = 'zbkEnable', // 指标库启用
   ZBK_EDIT = 'zbkEdit', // 指标库-编辑
+  SAVE_INDEX = 'saveIndex', // 我参与的项目-指标入库
   CJK_ENABLE = 'cjkEnable', // 材价库-启用
   CJK_EDIT = 'cjkEdit', // 材价库-编辑
   BACK_STAGE_ENABLE = 'backstageEnable', // 小后台权限

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

@@ -40,6 +40,7 @@ export interface IDecimal {
   quantityDetail: number;
   material: number; // 三材系数
   process: number;
+  marketPriceProcess?: number; // 市场价中间过程
 }
 
 // 工程量精度
@@ -275,6 +276,8 @@ export interface IProperty {
     ID1?: string;
     ID2?: string;
   };
+  machineConstCoe?: number; // 机械不变费用系数
+  assistProductionFeeRate?: number; // 辅助生产间接费费率
 }
 
 // 原来的列设置太复杂了,没什么必要

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

@@ -255,6 +255,8 @@ export interface IRationGlj {
   customQuantity?: number;
   rationQuantity?: number;
   tenderQuantity?: number; // 调整后消耗量
+  rationProportion?: number; // 稳定土配合比
+  adjustProportion?: number; // 调整后的稳定土配合比
   createType: GljCreateType; // normal、add、replace  正常、添加工料机、替换工料机
   from: FromType; // std, cpt  来自标准工料机库、补充工料机库
 }