mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
commit
e5fd7121ff
@ -48,9 +48,6 @@ class BusinessOrdersUpdate
|
|||||||
}
|
}
|
||||||
if ($this->goodsSku) {
|
if ($this->goodsSku) {
|
||||||
$this->goodsSku->stock += $this->num;
|
$this->goodsSku->stock += $this->num;
|
||||||
if ($this->goodsSku->stock <= 0) {
|
|
||||||
$this->goodsSku->status = 0;
|
|
||||||
}
|
|
||||||
$this->goodsSku->save();
|
$this->goodsSku->save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user