fix:material_application

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-17 16:31:07 +08:00
parent 9084f39837
commit 59f0f23abc

View File

@@ -84,8 +84,8 @@ class MaterialService extends BaseService{
if (!empty($number)){ if (!empty($number)){
$info->number = $number; $info->number = $number;
if($number <= $info->al_number){ if($number < $info->al_number){
$info->status = MaterialCode::ALL_OUT; throw new ErrException('申请数量不能小于出库数量');
} }
} }
if (!empty($processing)){ if (!empty($processing)){