瀏覽代碼

feat(types): 修改匹配的材料类型

zhangweicheng 4 年之前
父節點
當前提交
f91202e3e5
共有 1 個文件被更改,包括 12 次插入2 次删除
  1. 12 2
      types/src/interface/glj.ts

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

@@ -1,4 +1,4 @@
-import { IInfoPriceItem } from '.';
+import { IInfoKeyword, IInfoPriceItem } from '.';
 import { FromType, ITreeScm, SupplyType } from './base';
 import { FromType, ITreeScm, SupplyType } from './base';
 
 
 // 工料机类型
 // 工料机类型
@@ -181,6 +181,16 @@ export const GljModelName = {
   4: '小',
   4: '小',
 };
 };
 
 
+export interface IMatchedInfoPrice{
+  basePrice:string;
+  key: string;
+  keywordList: IInfoKeyword[];
+  marketPrice: string;
+  name: string;
+  specs: string;
+  unit: string;
+}
+
 export interface IProjectGlj {
 export interface IProjectGlj {
   ID: string;
   ID: string;
   gljID: string; // 工料机ID
   gljID: string; // 工料机ID
@@ -229,7 +239,7 @@ export interface IProjectGlj {
   infoPrice?: number | null; // 信息价
   infoPrice?: number | null; // 信息价
   purchaseFeeRate?: number; // 采保费率
   purchaseFeeRate?: number; // 采保费率
   from: FromType; // std, cpt  来自标准工料机库、补充工料机库
   from: FromType; // std, cpt  来自标准工料机库、补充工料机库
-  matchedInfoPrice?: IInfoPriceItem|null; // 材料检查后匹配到的信息价
+  matchedInfoPrice?: IMatchedInfoPrice|null; // 材料检查后匹配到的信息价
 }
 }
 
 
 export interface IProjectGljs {
 export interface IProjectGljs {