>1.主订单数据 $order = ImsCjdcOrderMain::getOrderData($this->order_id); if ($order) { //>>2.获取子订单 $orders = ImsCjdcOrder::getOrdersData($order['id']); //配送距离 //配送费 //拒绝退款理由 //退款总备注原因,单个商品或者单个子订单 Admin::script( << { this.\$message({ type: 'success', message: '操作成功!' }); }).catch(() => { }); } } }); JS ); } return view('orderdetail'); } }