fix:dish
This commit is contained in:
@@ -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'],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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'],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user