diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 58474e5..59c225a 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -829,6 +829,20 @@ export function selectItemBtn(option:any) { }) } +// 主列表-备件 +export function replaceLocation(option:any) { + return __defaultBtnOption(option,{ + label: '更换库位', + name: 'replaceLocation', + hide: false, + type: 'primary', + color: '', + link: true, // 文本展现按钮 + hasPermi: '' + }) +} + + // 主列表-备件选设备 export function chooseDeviceBtn(option:any) { return __defaultBtnOption(option,{ diff --git a/src/views/eam/item/adjustRecord/index.vue b/src/views/eam/item/adjustRecord/index.vue index 3a3dd13..4db6c35 100644 --- a/src/views/eam/item/adjustRecord/index.vue +++ b/src/views/eam/item/adjustRecord/index.vue @@ -212,7 +212,7 @@ await message.exportConfirm() // 发起导出 exportLoading.value = true - const data = await AdjustRecordMainApi.handleMainExport(id) + const data = await AdjustRecordMainApi.exportAdjustRecordMain(id) download.excel(data, '盘点工单.xlsx') } catch { } finally { diff --git a/src/views/eam/item/countadjustWork/index.vue b/src/views/eam/item/countadjustWork/index.vue index 74460b7..34ef906 100644 --- a/src/views/eam/item/countadjustWork/index.vue +++ b/src/views/eam/item/countadjustWork/index.vue @@ -6,8 +6,7 @@ + @updataTableColumns="updataTableColumns" @searchFormClick="searchFormClick" :allSchemas="CountJobMain.allSchemas" /> @@ -29,9 +28,9 @@ + :apiUpdate="CountJobMainApi.updateCountJobMain" :apiCreate="CountJobMainApi.createCountJobMain" :isBusiness="true" + @handleAddTable="handleAddTable" @handleDeleteTable="handleDeleteTable" @searchTableSuccess="searchTableSuccess" + @submitForm="submitForm" /> - +