@cpzxrobot/sdk 1.1.39 → 1.1.40
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/product_gateway.js +3 -1
- package/package.json +1 -1
- package/product_gateway.ts +3 -1
package/dist/product_gateway.js
CHANGED
|
@@ -31,7 +31,9 @@ class ProductGateway extends Object {
|
|
|
31
31
|
//下载报价单
|
|
32
32
|
export: (args) => {
|
|
33
33
|
return this.context.ready.then((axios) => {
|
|
34
|
-
return axios.getAndSave(`/api/v2/coremde-sale/product/price/export`,
|
|
34
|
+
return axios.getAndSave(`/api/v2/coremde-sale/product/price/export`, {
|
|
35
|
+
params: args,
|
|
36
|
+
}, "报价单.xlsx");
|
|
35
37
|
});
|
|
36
38
|
},
|
|
37
39
|
add: (args) => {
|
package/package.json
CHANGED
package/product_gateway.ts
CHANGED
|
@@ -50,7 +50,9 @@ export class ProductGateway extends Object {
|
|
|
50
50
|
pageSize: number;
|
|
51
51
|
}) => {
|
|
52
52
|
return this.context.ready.then((axios) => {
|
|
53
|
-
return axios.getAndSave(`/api/v2/coremde-sale/product/price/export`,
|
|
53
|
+
return axios.getAndSave(`/api/v2/coremde-sale/product/price/export`, {
|
|
54
|
+
params: args,
|
|
55
|
+
}, "报价单.xlsx");
|
|
54
56
|
});
|
|
55
57
|
},
|
|
56
58
|
add: (args: {
|