diff --git a/src/api/api-lock.json b/src/api/api-lock.json index 0736f08..7c5ed7f 100644 --- a/src/api/api-lock.json +++ b/src/api/api-lock.json @@ -3940,7 +3940,7 @@ { "description": "查询所有物料列表", "name": "all", - "method": "get", + "method": "post", "path": "/material/list", "response": { "typeArgs": [ diff --git a/src/api/material/mods/material/all.ts b/src/api/material/mods/material/all.ts index ee6c864..924e81d 100644 --- a/src/api/material/mods/material/all.ts +++ b/src/api/material/mods/material/all.ts @@ -14,7 +14,7 @@ export default async function ( fail: (error: { code: string; error?: string }) => void = defaultError, ): Promise { return http({ - method: 'get', + method: 'post', url: `/material/list`, params, diff --git a/src/views/stock/stocktaking/stocktaking-page.vue b/src/views/stock/stocktaking/stocktaking-page.vue index 37f68a2..46c9d5a 100644 --- a/src/views/stock/stocktaking/stocktaking-page.vue +++ b/src/views/stock/stocktaking/stocktaking-page.vue @@ -48,7 +48,7 @@