|
|
@@ -203,7 +203,7 @@ class DeliveryAppointmentController extends Controller
|
|
|
*/
|
|
|
public function showAppointmentInfo()
|
|
|
{
|
|
|
- if(!Gate::allows('入库管理-客户预约-预约')){ return view("exception.authority"); }
|
|
|
+ if(!Gate::allows('入库管理-入库预约-预约')){ return view("exception.authority"); }
|
|
|
$key = request("k");
|
|
|
$len = strlen($key);
|
|
|
$id = substr($key,5,$len-32);
|
|
|
@@ -221,7 +221,7 @@ class DeliveryAppointmentController extends Controller
|
|
|
*/
|
|
|
public function cancel()
|
|
|
{
|
|
|
- $this->gate("入库管理-客户预约-预约");
|
|
|
+ $this->gate("入库管理-入库预约-预约");
|
|
|
$id = request("id");
|
|
|
if (!$id)$this->error("非法参数");
|
|
|
DeliveryAppointment::query()->where("status",0)->where("id",$id)->update(["status"=>1]);
|
|
|
@@ -233,7 +233,7 @@ class DeliveryAppointmentController extends Controller
|
|
|
*/
|
|
|
public function export()
|
|
|
{
|
|
|
- if(!Gate::allows('入库管理-客户预约-预约管理')){ return view("exception.authority"); }
|
|
|
+ if(!Gate::allows('入库管理-入库预约-预约管理')){ return view("exception.authority"); }
|
|
|
if (request("checkAllSign")){
|
|
|
$params = request()->input();
|
|
|
unset($params["checkAllSign"]);
|
|
|
@@ -293,7 +293,7 @@ class DeliveryAppointmentController extends Controller
|
|
|
*/
|
|
|
public function getExhibitionList()
|
|
|
{
|
|
|
- $this->gate("入库管理-客户预约-预约管理");
|
|
|
+ $this->gate("入库管理-入库预约-预约管理");
|
|
|
$list = [];
|
|
|
$hour = date("H");
|
|
|
$index = null;
|