From 6fd433ef4d27cf727c9ef7833086c31a28684071 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Fri, 19 Jul 2024 18:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B2=E7=9B=98=E9=9C=80=E6=B1=82=E5=8F=98?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/countJobMain/index.ts | 2 +- src/views/wms/countManage/count/countJobMain/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/wms/countJobMain/index.ts b/src/api/wms/countJobMain/index.ts index d5624f636..d851c3104 100644 --- a/src/api/wms/countJobMain/index.ts +++ b/src/api/wms/countJobMain/index.ts @@ -95,7 +95,7 @@ export const closeCountJobMain = (id: number) => { // 完成盘点任务主 export const doneCountJobMain = (id: number) => { //更换一下完成接口 - return request.put({ url: '/wms/count-job-main/close?id=' + id }) + return request.put({ url: '/wms/count-job-main/finish?id=' + id }) } // 承接盘点任务主 export const acceptCountJobMain = (id: number) => { diff --git a/src/views/wms/countManage/count/countJobMain/index.vue b/src/views/wms/countManage/count/countJobMain/index.vue index 690575907..225bf62d5 100644 --- a/src/views/wms/countManage/count/countJobMain/index.vue +++ b/src/views/wms/countManage/count/countJobMain/index.vue @@ -218,7 +218,7 @@ const butttondata = (row,$index) => { { label: '完成', name: 'done', - hide: isShowMainButton(row,[]), + hide: isShowMainButton(row,['2']), type: 'success', color: '', link: true, //文本展现按钮