From b794aa33ffc3b8b93916225067120667b5657e7c Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Wed, 18 Sep 2024 19:21:04 +0800 Subject: [PATCH] =?UTF-8?q?WMS=20bug=20=20HL-6000=20=20=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E8=AE=B0=E5=BD=95=E5=AF=BC=E5=85=A5=20?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E4=BA=8B=E5=8A=A1=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymove/inventorymoveRecordMain/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue index b60065e68..74cc549e2 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue @@ -89,6 +89,7 @@ const businessType = ref() console.log(99 , routeName.value) const fromInventoryStatus = ref() const toInventoryStatus = ref() +const recordImport = ref();//记录导入标志 // 字段设置 更新主列表字段 const updataTableColumns = (val) => { @@ -133,6 +134,7 @@ const { tableObject, tableMethods } = useTable({ // toInventoryStatus.value = "OK" businessType.value = 'HoldtoOk' importFileName.value = '隔离转合格记录' + recordImport.value = true; } else if ( routeName.value == 'HoldtoscrapRecordMain') { tableObject.params = { // fromInventoryStatus: 'HOLD', @@ -169,15 +171,18 @@ const { tableObject, tableMethods } = useTable({ } businessType.value = 'Move' importFileName.value = '库存移动记录' + recordImport.value = false; } + +console.log(9999 , recordImport.value) // 获得表格的各种操作 const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultExportBtn({hasPermi:'wms:inventorymove-record-main:export'}), // 导出 - //defaultButtons.defaultImportBtn({hasPermi:'wms:inventorymove-record-main:import'}), // 导入 + defaultButtons.defaultImportBtn({hide:recordImport.value}), // 导入 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置