完全vue渲染列表的功能

去掉不必要的js函数定义
修改返回json的方式
This commit is contained in:
2021-03-15 06:12:12 +08:00
parent d795809fb3
commit 975be7cc91
135 changed files with 402 additions and 792 deletions
@@ -70,7 +70,7 @@ class PlanController extends DefaultController
}
$rows = ProduceService::getPlanDetail($sdate, $edate, $query['warehouse_id'], $query['category_id'], $query['type']);
$json = ['data' => $rows, 'status' => true];
return response()->json($json);
return $json;
}
$header = [
@@ -205,7 +205,7 @@ class PlanController extends DefaultController
});
}
$json = ['data' => $rows, 'status' => true];
return response()->json($json);
return $json;
}
$search['table'] = 'produce_plan';
@@ -298,7 +298,7 @@ class PlanController extends DefaultController
}
$rows = ProduceService::getPlanDetail($sdate, $edate, 0, $query['category_id'], $query['type']);
$json = ['columns' => $columns, 'data' => $rows, 'status' => true];
return response()->json($json);
return $json;
}
$header = [