Browse Source

合格转隔离 暂存

master
陈薪名 11 months ago
parent
commit
8c3e48d389
  1. 18
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

18
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -142,8 +142,26 @@ const { tableObject, tableMethods } = useTable({
}
fromInventoryStatus.value = 'SCRAP'
toInventoryStatus.value = "HOLD"
} else {
console.log(146 , fromInventoryStatus.value)
fromInventoryStatus.value = null
}
// tableform
InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => {
if(item.field == 'fromPackingNumber') {
if (fromInventoryStatus.value) {
item.tableForm.searchCondition = [{
key: 'inventoryStatus',
value: fromInventoryStatus.value,
isMainValue: false
}]
} else {
delete item.tableForm.searchCondition
}
}
})
//
const updataTableColumns = (val) => {
tableColumns.value = val

Loading…
Cancel
Save