浏览代码

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

LuoHaoxuan 3 年之前
父节点
当前提交
f2a8fd84ce

+ 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  来自标准工料机库、补充工料机库
 }

+ 1 - 1
wise-cost-util/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@sc/wise-cost-util",
-  "version": "1.1.7",
+  "version": "1.1.8",
   "description": "wise-cost项目前后端业务通用工具包",
   "main": "./dist/index.cjs.js",
   "module": "./dist/index.esm.js",

+ 8 - 7
wise-cost-util/src/rationAss.ts

@@ -15,13 +15,14 @@ export interface IStateList {
 
 export const stateSeq = {
   ass: 1,
-  replace: 2,
-  coe: 3,
-  add: 4,
-  cusQuantity: 5,
-  cusCoe: 6,
-  area: 7,
-  adjMak: 8,
+  proportion: 2,
+  replace: 3,
+  coe: 4,
+  add: 5,
+  cusQuantity: 6,
+  cusCoe: 7,
+  area: 8,
+  adjMak: 9,
 };
 // 处理多个辅助定额的情况
 export const handleMulAss = (rationAssList: IRationAss[]) => {