From c4c2a8bd6794a4d841dd775135663c5a0429cee4 Mon Sep 17 00:00:00 2001 From: my_ong <429426262@qq.com> Date: Sat, 8 Mar 2025 20:26:58 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20:bug:=20=E6=A0=B9=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=80=89=E6=8B=A9=E7=89=A9=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api-lock.json | 2 +- src/api/material/mods/material/all.ts | 2 +- src/views/stock/stocktaking/stocktaking-page.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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 @@