Merge branch 'hotfix/Hotfix-1' into develop
# Conflicts: # app/common/service/StockOrdersService.php
This commit is contained in:
@@ -228,10 +228,7 @@ class StockOrdersService
|
|||||||
flg('备货单【'.$order->order_no.'】创建终版成功,但更新原单失败');
|
flg('备货单【'.$order->order_no.'】创建终版成功,但更新原单失败');
|
||||||
}
|
}
|
||||||
|
|
||||||
$orderFinal = StockOrders::where('object_id', $res->object_id)->where('is_final', 1)->where('approval_status', 3)->first();
|
StockOrders::where('object_id', $res->object_id)->where('is_final', 1)->where('approval_status', 3)->destroy();
|
||||||
if ($orderFinal) {
|
|
||||||
$orderFinal->delete();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// 启动审批
|
// 启动审批
|
||||||
if ($res->approval_status == 1) {
|
if ($res->approval_status == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user