diff --git a/app/adminapi/controller/material/MaterialPurchaseRequestController.php b/app/adminapi/controller/material/MaterialPurchaseRequestController.php index 0c7633ada..9e615a577 100644 --- a/app/adminapi/controller/material/MaterialPurchaseRequestController.php +++ b/app/adminapi/controller/material/MaterialPurchaseRequestController.php @@ -78,7 +78,7 @@ class MaterialPurchaseRequestController extends BaseAdminController public function flows(): \think\response\Json { - $flow_type = FlowType::where('type',5)->where('name','cgsg')->findOrEmpty(); + $flow_type = FlowType::where('type',5)->where('name','cgsq')->findOrEmpty(); $data = Flow::field('id,name')->where('flow_cate',$flow_type['id'])->where('status',2)->select(); return $this->success('请求成功',$data->toArray()); }