This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-18 17:15:00 +08:00
parent a314c6153e
commit 39924b5780
8 changed files with 20 additions and 22 deletions

View File

@@ -26,7 +26,7 @@ class DishRequest extends FormRequest
'query_id' => 'sometimes|integer',
'query_dish_name' => 'sometimes|string',
'query_city_id' => 'sometimes|integer|exists:system_city,id',
'query_date_id' => 'sometimes|integer|exists:cycle,id',
'query_date' => 'sometimes',
'query_status' => 'sometimes|integer',
'query_chef_id' => 'sometimes|integer',
@@ -34,6 +34,6 @@ class DishRequest extends FormRequest
}
protected array $scenes = [
'list' => ['limit','query_id','query_dish_name','query_city_id','query_date_id','query_status','query_chef_id'],
'list' => ['limit','query_id','query_dish_name','query_city_id','query_date','query_status','query_chef_id'],
];
}

View File

@@ -41,6 +41,6 @@ class MaterialRequest extends FormRequest
'material_edit' => ['id','category_id', 'name', 'standard', 'unit', 'bar_code','status'],
'material_delete' => ['id'],
'materialStock_list' => ['limit','query_name','query_materialId','query_depotId','query_supplierId','query_kitchenId'],
'chef_cost_list' => ['limit','chef_name','cycle_id','query_kitchen_id'],
'chef_cost_list' => ['limit','chef_name','date','query_kitchen_id'],
];
}