Finish Hotfix-1

This commit is contained in:
mzl
2025-12-25 16:11:52 +08:00
@@ -227,6 +227,8 @@ class StockOrdersService
if (!$order->save()) {
flg('备货单【'.$order->order_no.'】创建终版成功,但更新原单失败');
}
StockOrders::where('object_id', $res->object_id)->where('is_final', 1)->where('approval_status', 3)->delete();
}
// 启动审批
if ($res->approval_status == 1) {