diff --git a/app/common/model/marketing/MarketingBusinessOpportunity.php b/app/common/model/marketing/MarketingBusinessOpportunity.php index e3d4acbef..37b9c10c4 100644 --- a/app/common/model/marketing/MarketingBusinessOpportunity.php +++ b/app/common/model/marketing/MarketingBusinessOpportunity.php @@ -52,7 +52,7 @@ public function getFundSourcesTextAttr($value, $data) { - $dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value'); + $dict = DictData::where('type_value', 'money_source')->column('name', 'value'); return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : ''; } diff --git a/app/common/model/marketing/MarketingContract.php b/app/common/model/marketing/MarketingContract.php index 77a47555d..3f99b7295 100644 --- a/app/common/model/marketing/MarketingContract.php +++ b/app/common/model/marketing/MarketingContract.php @@ -52,7 +52,7 @@ public function getFundSourcesTextAttr($value, $data) { - $dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value'); + $dict = DictData::where('type_value', 'money_source')->column('name', 'value'); return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : ''; }