bmc-common-resource 1.1.98 → 1.1.100

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.
@@ -17,3 +17,11 @@ export declare const calcStandardPrice: (item: QuotationItem, decimalPlaces?: nu
17
17
  * @returns 计算后的实际金额
18
18
  */
19
19
  export declare const calcActualPrice: (item: QuotationItem, decimalPlaces?: number) => number;
20
+ /**
21
+ * 计算报价产品项单价
22
+ * 区分处理已拆分
23
+ * @param item 报价清单项
24
+ * @param decimalPlaces 小数保留位数(可选),如果传入则按四舍五入保留指定位数小数
25
+ * @returns 计算后的产品单价
26
+ */
27
+ export declare const calcItemUnitPrice: (item: QuotationItem, decimalPlaces?: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmc-common-resource",
3
- "version": "1.1.98",
3
+ "version": "1.1.100",
4
4
  "description": "通用枚举、常量和资源的npm包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",