From 5bdb1bc3e326290072d4102cc9cd2923d59167ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com>
Date: Mon, 4 Mar 2024 14:15:46 +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 | 14 ++++++
src/views/eam/item/adjustRecord/index.vue | 2 +-
src/views/eam/item/countadjustWork/index.vue | 44 +++++--------------
src/views/eam/item/itemAccounts/index.vue | 18 ++++----
.../itemLocationReplace.data.ts | 9 +---
5 files changed, 34 insertions(+), 53 deletions(-)
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" />
-
+