更新细节
This commit is contained in:
parent
f8f221d14c
commit
cb81194486
@ -58,7 +58,13 @@ class CostBudgetAdjustDetailLists extends BaseAdminDataLists implements ListsSea
|
|||||||
->field(['id', 'cost_subject_id', 'cost_budget_adjust_id', 'month1', 'month2', 'month3', 'month4', 'month5', 'month6', 'month7', 'month8', 'month9', 'month10', 'month11', 'month12'])
|
->field(['id', 'cost_subject_id', 'cost_budget_adjust_id', 'month1', 'month2', 'month3', 'month4', 'month5', 'month6', 'month7', 'month8', 'month9', 'month10', 'month11', 'month12'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()->each(function($item, $key){
|
||||||
|
//关联数据后续添加
|
||||||
|
$item['subject_no'] = '科目编号';
|
||||||
|
$item['subject_first'] = '一级科目';
|
||||||
|
$item['subject_second'] = '二级科目';
|
||||||
|
return $item;
|
||||||
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user