Commit 8a22c8c1c8e012fbc3a746e281610ff39b90c527

Authored by 莫红玲
1 parent 53f33814

配件调运库存导入优化

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 // 导入
... ...