Browse Source

Merge remote-tracking branch 'origin/master'

master
zhaoxuebing 11 months ago
parent
commit
5001e6ef82
  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' fromInventoryStatus.value = 'SCRAP'
toInventoryStatus.value = "HOLD" 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) => { const updataTableColumns = (val) => {
tableColumns.value = val tableColumns.value = val

Loading…
Cancel
Save