Browse Source

YT-1395库存转移,编辑,从仓库代码应不能修改

intex_online20241228
张立 2 months ago
parent
commit
0ef61a1841
  1. 19
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue

19
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue

@ -569,7 +569,24 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */ /** 添加/修改操作 */
const formRef = ref() const formRef = ref()
const openForm =async (type: string, row?: number) => { const openForm = async (type: string, row?: number) => {
if (type == 'create') {
InventorymoveRequestMain.allSchemas.formSchema.forEach(item=>{
if(item.field == 'fromWarehouseCode'){
item.componentProps.enterSearch = true
item.componentProps.isSearchList = true
item.componentProps.disabled = false
}
})
} else {
InventorymoveRequestMain.allSchemas.formSchema.forEach(item=>{
if(item.field == 'fromWarehouseCode'){
item.componentProps.enterSearch = false
item.componentProps.isSearchList = false
item.componentProps.disabled = true
}
})
}
tableData.value = [] // tableData.value = [] //
formRef.value.open(type, row) formRef.value.open(type, row)
} }

Loading…
Cancel
Save