Commit 8a22c8c1c8e012fbc3a746e281610ff39b90c527
1 parent
53f33814
配件调运库存导入优化
Showing
1 changed file
with
1 additions
and
1 deletions
src/pages/pms/storage/partShop/components/api.tsx
... | ... | @@ -8,7 +8,7 @@ export function getList(params?: number) { |
8 | 8 | |
9 | 9 | // 导入 |
10 | 10 | export function importStockFix(params: {override: boolean, file: any}): http.PromiseResp<string> { |
11 | - return request.post(`${PMS_HOST}/erp/part/shop/import/stock/fix`, params, { contentType: "form-urlencoded" }); | |
11 | + return request.post(`${PMS_HOST}/erp/part/shop/import/stock/fix`, params, { contentType: "form-data" }); | |
12 | 12 | } |
13 | 13 | |
14 | 14 | // 导入 | ... | ... |