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, //文本展现按钮