diff --git a/Application/Base/Service/PromoteService.class.php b/Application/Base/Service/PromoteService.class.php index b3680d471..b71a41dce 100644 --- a/Application/Base/Service/PromoteService.class.php +++ b/Application/Base/Service/PromoteService.class.php @@ -945,6 +945,7 @@ class PromoteService { 'create_time' => time(), 'company_belong' => $params['company_belong'] ?? 0, 'company_relation' => $params['company_relation'] ?? 0, + 'settlement_type' => $params['settlement_type'] ?? 1, 'group_remark' => $params['group_remark'] ?? '', ]; diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index cdeb220d8..e0e924abe 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -1079,6 +1079,9 @@ class PromoteController extends BaseController } if ($parent) { $params['company_id'] = $parent['company_id']; + $params['company_belong'] = $parent['company_belong']; + $params['company_relation'] = $parent['company_relation']; + $params['settlement_type'] = $parent['settlement_type']; } if (C('PROMOTE_AUTO_AUDIT') == 1) { $params['status'] = 1;