|
|
@ -345,6 +345,7 @@ if(routeName.value == 'HoldtookRequestMain'){ |
|
|
|
item.hidden = false |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
console.log('tableFormColumns',InventorymoveRequestDetail.allSchemas.tableFormColumns) |
|
|
|
// 字段设置 更新主列表字段 |
|
|
@ -714,7 +715,7 @@ const submitForm = async (formType, submitData) => { |
|
|
|
if(data.masterId){ |
|
|
|
data.id = data.masterId |
|
|
|
} |
|
|
|
let findLocation = tableData.value.find(item=>item.fromLocationCode&&item.toLocationCode&&item.fromLocationCode==item.toLocationCode) |
|
|
|
let findLocation = tableData.value.find(item=>item.fromLocationCode==item.toLocationCode&&item.fromInventoryStatus==item.toInventoryStatus) |
|
|
|
if(findLocation){ |
|
|
|
message.warning('从库位和到库位不能相同') |
|
|
|
return |
|
|
|