|
@ -89,6 +89,7 @@ const businessType = ref() |
|
|
console.log(99 , routeName.value) |
|
|
console.log(99 , routeName.value) |
|
|
const fromInventoryStatus = ref() |
|
|
const fromInventoryStatus = ref() |
|
|
const toInventoryStatus = ref() |
|
|
const toInventoryStatus = ref() |
|
|
|
|
|
const recordImport = ref();//记录导入标志 |
|
|
|
|
|
|
|
|
// 字段设置 更新主列表字段 |
|
|
// 字段设置 更新主列表字段 |
|
|
const updataTableColumns = (val) => { |
|
|
const updataTableColumns = (val) => { |
|
@ -133,6 +134,7 @@ const { tableObject, tableMethods } = useTable({ |
|
|
// toInventoryStatus.value = "OK" |
|
|
// toInventoryStatus.value = "OK" |
|
|
businessType.value = 'HoldtoOk' |
|
|
businessType.value = 'HoldtoOk' |
|
|
importFileName.value = '隔离转合格记录' |
|
|
importFileName.value = '隔离转合格记录' |
|
|
|
|
|
recordImport.value = true; |
|
|
} else if ( routeName.value == 'HoldtoscrapRecordMain') { |
|
|
} else if ( routeName.value == 'HoldtoscrapRecordMain') { |
|
|
tableObject.params = { |
|
|
tableObject.params = { |
|
|
// fromInventoryStatus: 'HOLD', |
|
|
// fromInventoryStatus: 'HOLD', |
|
@ -169,15 +171,18 @@ const { tableObject, tableMethods } = useTable({ |
|
|
} |
|
|
} |
|
|
businessType.value = 'Move' |
|
|
businessType.value = 'Move' |
|
|
importFileName.value = '库存移动记录' |
|
|
importFileName.value = '库存移动记录' |
|
|
|
|
|
recordImport.value = false; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
console.log(9999 , recordImport.value) |
|
|
// 获得表格的各种操作 |
|
|
// 获得表格的各种操作 |
|
|
const { getList, setSearchParams } = tableMethods |
|
|
const { getList, setSearchParams } = tableMethods |
|
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
// 列表头部按钮 |
|
|
const HeadButttondata = [ |
|
|
const HeadButttondata = [ |
|
|
defaultButtons.defaultExportBtn({hasPermi:'wms:inventorymove-record-main:export'}), // 导出 |
|
|
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.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultSetBtn(null), // 设置 |
|
|
defaultButtons.defaultSetBtn(null), // 设置 |
|
|