|
|
@@ -1,9 +1,9 @@
|
|
|
/* eslint-disable camelcase */
|
|
|
import {
|
|
|
- prefix,
|
|
|
- fromType,
|
|
|
- gljCreateType,
|
|
|
- createLocation,
|
|
|
+ RationPrefix,
|
|
|
+ FromType,
|
|
|
+ GljCreateType,
|
|
|
+ CreateLocation,
|
|
|
BRType,
|
|
|
} from './base';
|
|
|
import { IBookmark } from './bill';
|
|
|
@@ -46,7 +46,7 @@ export interface ICptRationChapter {
|
|
|
export interface IBaseRationGljRef {
|
|
|
consumeAmt: number;
|
|
|
proportion?: number; // 配合比,暂时无需使用,默认0
|
|
|
- type?: fromType; // 可能有数据没有
|
|
|
+ type?: FromType; // 可能有数据没有
|
|
|
}
|
|
|
|
|
|
export interface IStdRationGljRef extends IBaseRationGljRef {
|
|
|
@@ -165,7 +165,7 @@ export interface IBaseRation {
|
|
|
rationAssList: IStdRationAss[];
|
|
|
rationInstList: IStdRationInstall[];
|
|
|
rationTemplateList: IStdRationTemp[];
|
|
|
- fromType?: fromType; // 单条查找结果时用到
|
|
|
+ FromType?: FromType; // 单条查找结果时用到
|
|
|
}
|
|
|
export interface IStdRation extends IBaseRation {
|
|
|
ID: number;
|
|
|
@@ -203,8 +203,8 @@ export interface IRationGlj {
|
|
|
customQuantity?: number;
|
|
|
rationQuantity?: number;
|
|
|
tenderQuantity?: number; // 调整后消耗量
|
|
|
- createType: gljCreateType; // normal、add、replace 正常、添加工料机、替换工料机
|
|
|
- from: fromType; // std, cpt 来自标准工料机库、补充工料机库
|
|
|
+ createType: GljCreateType; // normal、add、replace 正常、添加工料机、替换工料机
|
|
|
+ from: FromType; // std, cpt 来自标准工料机库、补充工料机库
|
|
|
}
|
|
|
|
|
|
export interface IGljQtyCoe {
|
|
|
@@ -239,7 +239,7 @@ export interface ITemplateItem {
|
|
|
billID?: string; // 记取位置对应的清单ID
|
|
|
}
|
|
|
export interface IRationTemplate {
|
|
|
- createLocation: createLocation; // 提取位置
|
|
|
+ CreateLocation: CreateLocation; // 提取位置
|
|
|
templateList: ITemplateItem[];
|
|
|
}
|
|
|
|
|
|
@@ -278,7 +278,7 @@ export interface IRation {
|
|
|
noAdjustPrice?: boolean; // { type: boolean; default: false }; // 不调价
|
|
|
targetUnitFee?: string; // 目标单价
|
|
|
targetTotalFee?: string; // 目标合价
|
|
|
- from?: fromType; // { type: string; default: 'std' }; // std, cpt 来自标准、补充
|
|
|
+ from?: FromType; // { type: string; default: 'std' }; // std, cpt 来自标准、补充
|
|
|
isSubcontract?: boolean; // 是否分包
|
|
|
installationKey?: string; // 用来记录安装增加费的关联字段
|
|
|
// 定额特有属性:
|
|
|
@@ -292,7 +292,7 @@ export interface IRation {
|
|
|
content?: string; // 工作内容
|
|
|
annotation?: string; // 附注
|
|
|
ruleText?: string; // 计算规则
|
|
|
- prefix?: prefix; // { type: string; default: '' }; // 定额是补充、借用时用 补 借
|
|
|
+ prefix?: RationPrefix; // { type: string; default: '' }; // 定额是补充、借用时用 补 借
|
|
|
referenceRationID?: string; // 如果是通过模板关联子目生成的定额,这里记录对应的主定额ID
|
|
|
jobContentText?: string; // 工作内容 (选择自清单)
|
|
|
manageFeeRate?: string; // 管理费率
|