更新调试
This commit is contained in:
parent
f24250c990
commit
db56df7a00
@ -614,7 +614,7 @@ class CommunityRepository extends BaseRepository
|
|||||||
throw new ValidateException('进货记录不存在或已售罄');
|
throw new ValidateException('进货记录不存在或已售罄');
|
||||||
}
|
}
|
||||||
if (($purchaseRecord['number'] - $purchaseRecord['sales_volume']) < $value['number']) {
|
if (($purchaseRecord['number'] - $purchaseRecord['sales_volume']) < $value['number']) {
|
||||||
throw new ValidateException('库存不足');
|
throw new ValidateException('库存不足123');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($value) {
|
if ($value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user