From c6ccafe26026017e5db548bab56e53b42c39550b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Thu, 22 Feb 2024 08:42:20 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/disposition/defaultButtons.ts | 28 +++++++++++++++++++- src/views/eam/item/countadjustWork/index.vue | 16 ++++++++--- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 6613500..8cbda69 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -677,7 +677,7 @@ export function mainListDocumentPrintBtn(option:any) { }) } -// 主列表-打印 +// 主列表-盘点导出 export function mainExport(option:any) { return __defaultBtnOption(option,{ label: '导出', @@ -690,6 +690,32 @@ export function mainExport(option:any) { }) } +// 主列表-盘点调整 +export function mainAdjust(option:any) { + return __defaultBtnOption(option,{ + label: '盘点调整', + name: 'mainAdjust', + hide: false, + type: 'primary', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + +// 主列表-盘点导入 +export function mainAdjustImport(option:any) { + return __defaultBtnOption(option,{ + label: '导入', + name: 'mainAdjustImport', + hide: false, + type: 'primary', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + // 主列表-生成到货检验申请 export function mainInspectRequestBtn(option:any) { diff --git a/src/views/eam/item/countadjustWork/index.vue b/src/views/eam/item/countadjustWork/index.vue index b5fa026..74460b7 100644 --- a/src/views/eam/item/countadjustWork/index.vue +++ b/src/views/eam/item/countadjustWork/index.vue @@ -41,8 +41,12 @@ @searchTableSuccessDetail="searchTableSuccessDetail" /> - +