Kaynağa Gözat

feat(types): supplyType =>SupplyType

zhangweicheng 4 yıl önce
ebeveyn
işleme
53577d5489

+ 1 - 1
types/src/interface/base.ts

@@ -86,7 +86,7 @@ export enum BRType { // 1 :大项费用 2:分部 3分项 4清单;5补项   6 
   EQUIP = 51, // 设备
   EQUIP = 51, // 设备
 }
 }
 
 
-export enum supplyType {
+export enum SupplyType {
   ZXCG = 1, // 自行采购
   ZXCG = 1, // 自行采购
   BFJG, // 部分甲供
   BFJG, // 部分甲供
   WQJG, // 完全甲供
   WQJG, // 完全甲供

+ 2 - 2
types/src/interface/configMaterial.ts

@@ -1,4 +1,4 @@
-import { supplyType } from './base';
+import { SupplyType } from './base';
 
 
 export interface IBaseMaterial {
 export interface IBaseMaterial {
   ID: string;
   ID: string;
@@ -32,7 +32,7 @@ export interface IContractorMaterial extends IBaseMaterial {
   standardPrice?: number; // 基准单价
   standardPrice?: number; // 基准单价
   FO?: number; // 基本价格指数
   FO?: number; // 基本价格指数
   FI?: number; // 现行价格指数
   FI?: number; // 现行价格指数
-  supply: supplyType; // 供货方式
+  supply: SupplyType; // 供货方式
 }
 }
 
 
 // 配置材料的几个属性
 // 配置材料的几个属性

+ 2 - 2
types/src/interface/glj.ts

@@ -3,7 +3,7 @@
  * @Author: vian
  * @Author: vian
  * @Date: 2021-05-26 17:37:16
  * @Date: 2021-05-26 17:37:16
  */
  */
-import { FromType, ITreeScm, supplyType } from './base';
+import { FromType, ITreeScm, SupplyType } from './base';
 
 
 // 工料机类型
 // 工料机类型
 export enum GljType {
 export enum GljType {
@@ -167,7 +167,7 @@ export interface IProjectGlj {
   code: string; // 编码
   code: string; // 编码
   originalCode: string; // 原始的编码
   originalCode: string; // 原始的编码
   name: string; // 名称
   name: string; // 名称
-  supply: supplyType; // 供货方式
+  supply: SupplyType; // 供货方式
   supplyQuantity?: number; // 甲供数量
   supplyQuantity?: number; // 甲供数量
   delivery?: string; // 交货方式
   delivery?: string; // 交货方式
   deliveryAddress?: string; // 送达地点
   deliveryAddress?: string; // 送达地点