fix:material_application
This commit is contained in:
@@ -84,8 +84,8 @@ class MaterialService extends BaseService{
|
||||
|
||||
if (!empty($number)){
|
||||
$info->number = $number;
|
||||
if($number <= $info->al_number){
|
||||
$info->status = MaterialCode::ALL_OUT;
|
||||
if($number < $info->al_number){
|
||||
throw new ErrException('申请数量不能小于出库数量');
|
||||
}
|
||||
}
|
||||
if (!empty($processing)){
|
||||
|
||||
Reference in New Issue
Block a user