From 736dbaa2e274ed8bbcd026c4200423e13f3b5d5c Mon Sep 17 00:00:00 2001 From: Amjacks <1932302177@qq.com> Date: Wed, 9 Apr 2025 08:58:53 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=9B=98=E7=82=B9=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=9B=98=E7=82=B9=E5=8D=95=E3=80=81=E7=9B=98?= =?UTF-8?q?=E7=82=B9=E5=AE=A1=E6=A0=B8=E3=80=81=E7=9B=98=E7=82=B9=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/check/index.ts | 2 +- src/views/check/auditSheet/index.vue | 15 +++------------ src/views/stockIn/StockInByCharge/drawer.vue | 1 + 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/api/check/index.ts b/src/api/check/index.ts index b3593b8..139fd63 100644 --- a/src/api/check/index.ts +++ b/src/api/check/index.ts @@ -19,7 +19,7 @@ export function createcheckmark(data: any) { // 提交审核 export function Auditcheckmark(data: any) { return request({ - url: '/api/checkmark/Auditcheckmark', + url: '/api/api/checkmark/Auditcheckmark', method: 'post', data: data, }); diff --git a/src/views/check/auditSheet/index.vue b/src/views/check/auditSheet/index.vue index bea5b3a..97f7deb 100644 --- a/src/views/check/auditSheet/index.vue +++ b/src/views/check/auditSheet/index.vue @@ -272,18 +272,9 @@ function handleQuery2() { pageSize: state.pageSize2, } getQueryPageList(query).then((res: any) => { - if(res.data.list.length==0){ - - ElMessageBox.alert('查无数据', '提醒框', { - confirmButtonText: 'OK', - }) - state.loading = false; - } else { - - state.loading = false; - state.list2 = res.data.list; - state.total2 = res.data.total; - } + state.loading = false; + state.list2 = res.data.list; + state.total2 = res.data.total; }); } state.loading = false; diff --git a/src/views/stockIn/StockInByCharge/drawer.vue b/src/views/stockIn/StockInByCharge/drawer.vue index d4359b3..35c94d9 100644 --- a/src/views/stockIn/StockInByCharge/drawer.vue +++ b/src/views/stockIn/StockInByCharge/drawer.vue @@ -180,6 +180,7 @@ onMounted(()=> { // 多选 const handleSelection = (val: any) => { if (val.length === 0) { + state.receiveList = [] return } state.selection = val