修复错误

This commit is contained in:
mkm 2024-05-05 10:01:11 +08:00
parent 5f01063e14
commit 3146e06e70
2 changed files with 2 additions and 2 deletions

View File

@ -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']] : '';
}

View File

@ -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']] : '';
}