bmc-common-resource 1.1.144 → 1.1.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modules/solution/dosage/index.d.ts +7 -0
- package/dist/modules/solution/index.d.ts +3 -1
- package/dist/modules/solution/models/QuotationItem.d.ts +13 -0
- package/package.json +1 -1
|
@@ -6,10 +6,11 @@ import { getProductCategoryByKey, getAllProductCategories, ProductCategory } fro
|
|
|
6
6
|
import { getSortedGroupTypes, getGroupTypeByKey, getProductCategoriesByGroupType, getPriceParamsByGroupType } from './groupTypes';
|
|
7
7
|
import { getClassifyRoomsAndGroups, getGroupsByClassifyAndRoom, getClassifyBaseInfo, getGroupTypeByProductCategory } from './classifyRoomGroupMap';
|
|
8
8
|
import { calculateProductMeasure, getMeasureUnitInfo, getAllMeasureUnits, isDimensionRequired, isDimensionRelated, ItemUnitMeasureCalculator } from './measure';
|
|
9
|
+
import { calculateProductDosage } from './dosage';
|
|
9
10
|
import getCategoryViewSetting from './categoryFormMap';
|
|
10
11
|
export * from './types/index';
|
|
11
12
|
export * from './models';
|
|
12
|
-
export { calculateProductMeasure, getMeasureUnitInfo, getAllMeasureUnits, isDimensionRequired, isDimensionRelated, ItemUnitMeasureCalculator, getClassifyRoomsAndGroups, getGroupsByClassifyAndRoom, getClassifyBaseInfo, getSortedGroupTypes, getGroupTypeByKey, getProductCategoriesByGroupType, getPriceParamsByGroupType, getGroupTypeByProductCategory, getProductCategoryByKey, getAllProductCategories, getCategoryViewSetting, ProductCategory };
|
|
13
|
+
export { calculateProductMeasure, getMeasureUnitInfo, getAllMeasureUnits, isDimensionRequired, isDimensionRelated, ItemUnitMeasureCalculator, calculateProductDosage, getClassifyRoomsAndGroups, getGroupsByClassifyAndRoom, getClassifyBaseInfo, getSortedGroupTypes, getGroupTypeByKey, getProductCategoriesByGroupType, getPriceParamsByGroupType, getGroupTypeByProductCategory, getProductCategoryByKey, getAllProductCategories, getCategoryViewSetting, ProductCategory };
|
|
13
14
|
interface SolutionModuleExports {
|
|
14
15
|
calculateProductMeasure: typeof calculateProductMeasure;
|
|
15
16
|
getMeasureUnitInfo: typeof getMeasureUnitInfo;
|
|
@@ -17,6 +18,7 @@ interface SolutionModuleExports {
|
|
|
17
18
|
isDimensionRequired: typeof isDimensionRequired;
|
|
18
19
|
isDimensionRelated: typeof isDimensionRelated;
|
|
19
20
|
ItemUnitMeasureCalculator: typeof ItemUnitMeasureCalculator;
|
|
21
|
+
calculateProductDosage: typeof calculateProductDosage;
|
|
20
22
|
getClassifyRoomsAndGroups: typeof getClassifyRoomsAndGroups;
|
|
21
23
|
getGroupsByClassifyAndRoom: typeof getGroupsByClassifyAndRoom;
|
|
22
24
|
getClassifyBaseInfo: typeof getClassifyBaseInfo;
|
|
@@ -162,6 +162,14 @@ export default class QuotationItem {
|
|
|
162
162
|
* @example "靠南墙居中安装"
|
|
163
163
|
*/
|
|
164
164
|
location: string;
|
|
165
|
+
/**
|
|
166
|
+
* 褶皱倍数 -- 窗帘相关品项
|
|
167
|
+
*/
|
|
168
|
+
crimpRatio: number;
|
|
169
|
+
/**
|
|
170
|
+
* 开幅 -- 一张窗帘的展开的宽度
|
|
171
|
+
*/
|
|
172
|
+
openWidth: number | null;
|
|
165
173
|
/**
|
|
166
174
|
* 计量单位
|
|
167
175
|
* @example "件"、"米"、"平方米"
|
|
@@ -201,6 +209,11 @@ export default class QuotationItem {
|
|
|
201
209
|
* @min 0
|
|
202
210
|
*/
|
|
203
211
|
count: number;
|
|
212
|
+
/**
|
|
213
|
+
* 用量(由规则关联计算得出)
|
|
214
|
+
* @min 0
|
|
215
|
+
*/
|
|
216
|
+
dosage: number;
|
|
204
217
|
/**
|
|
205
218
|
* 备注
|
|
206
219
|
* @example "需与吊顶留缝5mm"
|