去掉无用的参数
修改表单构建关联字段的逻辑 修改外部插件说明
This commit is contained in:
@@ -183,8 +183,6 @@ class CostController extends AuditController
|
||||
$rows = $model->get();
|
||||
|
||||
$rows->transform(function($row) {
|
||||
$unit = option('product.unit', $row['unit_id']);
|
||||
$row['unit_name'] = $unit;
|
||||
return $row;
|
||||
});
|
||||
return response()->json(['data' => $rows]);
|
||||
|
||||
@@ -28,7 +28,7 @@ class ReportController extends DefaultController
|
||||
]/*,[
|
||||
'form_type' =>'dialog',
|
||||
'field' => 'region_id',
|
||||
'name' => '销售团队',
|
||||
'name' => '销售组',
|
||||
'options' => ['url' => 'customer/region/dialog', 'query' => ['layer' => 3]]
|
||||
],*/
|
||||
], 'model');
|
||||
|
||||
Reference in New Issue
Block a user