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 @@