diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 2617be2..8a7e292 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -289,7 +289,7 @@ export enum DICT_TYPE { EXECUTION_CYCLE = 'execution_cycle', //模具保养周期 MOLD_EXECUTION_CYCLE = 'mold_execution_cycle', //模具保养周期 GET_ORDER_STATUS = 'get_order_status', //模具保养周期 - IS_OPEN = 'is_open', //是否打开 + IS_COMPLETE = 'is_complete', //完成/未完成 ITEM_APPLY_STATUS = 'item_apply_status',//备件申领状态 JX_DETAILS_STATUS = 'jx_details_status', //检修明细状态 CLASSIFICATION = 'classification', //检修明细状态 diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index ca1b62d..57c03e6 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -355,6 +355,19 @@ export function mainListOrderCloBtn(option:any) { }) } +// 完成按钮 +export function mainListOrderCOMPLETEBtn(option:any) { + return __defaultBtnOption(option,{ + label: '完成', + name: 'mainOrderCOMPLETE', + hide: false, + type: 'danger', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + // 主列表-订单流程-打开按钮 export function mainListOrderOpeBtn(option:any) { return __defaultBtnOption(option,{ @@ -663,6 +676,47 @@ 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 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) { 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..74460b7 100644 --- a/src/views/eam/item/countadjustWork/index.vue +++ b/src/views/eam/item/countadjustWork/index.vue @@ -41,13 +41,17 @@ @searchTableSuccessDetail="searchTableSuccessDetail" /> - +