@cpzxrobot/sdk 1.3.36 → 1.3.37

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.
@@ -98,5 +98,14 @@ class PurchaseGateway {
98
98
  params: { id }
99
99
  });
100
100
  }
101
+ /**
102
+ * 获取项目采购汇总清单
103
+ * @param id 项目ID
104
+ */
105
+ async getBomConfigSummary(id) {
106
+ return this.axios.get("/api/v2/coremde-sale/purchase/bom-config/summary", {
107
+ params: { id }
108
+ });
109
+ }
101
110
  }
102
111
  exports.PurchaseGateway = PurchaseGateway;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.3.36",
3
+ "version": "1.3.37",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -187,4 +187,14 @@ export class PurchaseGateway {
187
187
  params: { id }
188
188
  });
189
189
  }
190
+
191
+ /**
192
+ * 获取项目采购汇总清单
193
+ * @param id 项目ID
194
+ */
195
+ async getBomConfigSummary(id: number) {
196
+ return this.axios.get("/api/v2/coremde-sale/purchase/bom-config/summary", {
197
+ params: { id }
198
+ });
199
+ }
190
200
  }