fix:material_application
This commit is contained in:
@@ -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)){
|
||||||
|
|||||||
Reference in New Issue
Block a user