更新
This commit is contained in:
parent
8c716b11e2
commit
ccb4b1489a
@ -2354,7 +2354,6 @@ class ProductRepository extends BaseRepository
|
||||
}
|
||||
}
|
||||
if ($orderProduct->is_imported == 0) {
|
||||
|
||||
$stockIn=$orderProduct['product_num'];
|
||||
|
||||
ProductAttrValue::where('mer_id', $merId)
|
||||
@ -2374,6 +2373,7 @@ class ProductRepository extends BaseRepository
|
||||
if (!$model->save($data)) {
|
||||
throw new ValidateException('入库失败');
|
||||
}
|
||||
$orderProduct->save(['is_imported' => 1]);
|
||||
Db::commit();
|
||||
return true;
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user