Merge branch 'master' into develop
This commit is contained in:
@@ -454,6 +454,12 @@ class StockOrdersService
|
||||
// 检查必填文件是否已上传
|
||||
// $this->validateRequiredFiles($data);
|
||||
|
||||
$param = $request->all();
|
||||
$info = StockOrders::find($param['id']);
|
||||
if (!$info || $info->approval_status != 0) {
|
||||
throw new BusinessException('该单不存在或状态异常,请关闭或刷新页面后重试~');
|
||||
}
|
||||
|
||||
$data['biz_date'] = strtotime($data['biz_date']);
|
||||
$data['eta_ship_date'] = strtotime($data['eta_ship_date']);
|
||||
$data['latest_arrival_date'] = strtotime($data['latest_arrival_date']);
|
||||
|
||||
Reference in New Issue
Block a user