From ce39013ced46b4cc16be79b6807ef00e55547b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Mon, 19 Feb 2024 17:10:35 +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 | 15 ++ .../countadjustPlan/countadjustPlan.data.ts | 14 +- src/views/eam/item/countadjustWork/index.vue | 25 ++- .../item/itemApplyMain/itemApplyMain.data.ts | 157 +----------------- 4 files changed, 51 insertions(+), 160 deletions(-) diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 2dbf155..95c1cbf 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -663,6 +663,21 @@ export function mainListDocumentPrintBtn(option:any) { hasPermi: '' }) } + +// 主列表-打印 +export function mainExport(option:any) { + return __defaultBtnOption(option,{ + label: '导出', + name: 'mainExport', + hide: false, + type: 'primary', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + + // 主列表-生成到货检验申请 export function mainInspectRequestBtn(option:any) { return __defaultBtnOption(option,{ diff --git a/src/views/eam/item/countadjustPlan/countadjustPlan.data.ts b/src/views/eam/item/countadjustPlan/countadjustPlan.data.ts index 42ce751..195361b 100644 --- a/src/views/eam/item/countadjustPlan/countadjustPlan.data.ts +++ b/src/views/eam/item/countadjustPlan/countadjustPlan.data.ts @@ -20,21 +20,15 @@ export const CountadjustPlan = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, }, - // { - // label: '盘点类型', - // field: 'classification', - // sort: 'custom', - // isSearch: false, - // }, - { label: '盘点类型', - field: 'type', - sort: 'classification', + field: 'classification', + sort: 'custom', dictType: DICT_TYPE.CLASSIFICATION, dictClass: 'string', - isSearch: true, + isSearch: false, isTable: true, + isForm: true, table: { width: 150 }, diff --git a/src/views/eam/item/countadjustWork/index.vue b/src/views/eam/item/countadjustWork/index.vue index 928a17a..b5fa026 100644 --- a/src/views/eam/item/countadjustWork/index.vue +++ b/src/views/eam/item/countadjustWork/index.vue @@ -47,7 +47,7 @@