出库物料 搜索

出库物料 搜索
pull/3/head
siontion 9 months ago
parent bba7458485
commit 302f014c75

@ -642,6 +642,7 @@ const getMatList = async (name) =>{
}
const handlePn = async (scope) =>{
scope.row.matList = matList.value
var repeatItem = formData.value.matItemDOList.filter( mat => mat.matId==scope.row.matId && mat.pnId == scope.row.pnId)
if(repeatItem.length>1){
message.alertWarning('物料编码['+repeatItem[0].matCode+']出库库位存在多行数据,请修改,避免重复出库')
@ -762,7 +763,7 @@ onMounted(async () => {
whList.value = await WarehouseApi.getWarehouseSimpList()
//
await getMatList(name)
await getMatList('')
//
matLastData.value = await StorageMatApi.getStorageMatList(0)

Loading…
Cancel
Save