Browse Source

WMS bug HL-6000 库存转移记录导入 库存事务赋值

syhx
gaojs 2 months ago
parent
commit
b794aa33ff
  1. 7
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue

7
src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue

@ -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), //

Loading…
Cancel
Save