Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c8f435fd
authored
Apr 02, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整提交订单成功页面
parent
ff2f0f74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
app/Http/Controllers/AddOrderController.php
public/js/add_inquiry_order.js
resources/views/success/content.blade.php
app/Http/Controllers/AddOrderController.php
View file @
c8f435fd
...
...
@@ -653,7 +653,7 @@ Class AddOrderController extends Controller
$info
=
$this
->
getPageInfo
(
$request
);
$order_id
=
$request
->
input
(
'order_id'
);
$type
=
$request
->
input
(
'type'
);
$type
=
$request
->
input
(
'type'
);
switch
(
$type
)
{
case
1
:
$title
=
'新增联营订单'
;
break
;
...
...
@@ -662,9 +662,10 @@ Class AddOrderController extends Controller
case
4
:
$title
=
'新增自营其他业务订单'
;
break
;
}
$info
[
'title'
]
=
$title
;
$info
[
'paths'
]
=
[[
"title"
=>
$title
,
"href"
=>
'#'
]];
$info
[
'type'
]
=
$type
;
$info
[
'title'
]
=
$title
;
$info
[
'paths'
]
=
[[
"title"
=>
$title
,
"href"
=>
'#'
]];
$info
[
'type'
]
=
$type
;
$info
[
'is_quiry'
]
=
$request
->
input
(
'is_quiry'
,
''
);
$order
=
DB
::
connection
(
'order'
)
->
table
(
'lie_order'
)
->
where
(
'order_id'
,
$order_id
)
->
first
();
...
...
public/js/add_inquiry_order.js
View file @
c8f435fd
...
...
@@ -811,7 +811,14 @@ layui.config({
success
:
function
(
resp
){
if
(
resp
.
errcode
==
0
)
{
layer
.
msg
(
resp
.
errmsg
);
location
.
href
=
'/addorder/success?order_id='
+
resp
.
data
.
order_id
+
'&type='
+
resp
.
data
.
type
;
var
redirect_url
=
'/addorder/success?order_id='
+
resp
.
data
.
order_id
+
'&type='
+
resp
.
data
.
type
;
if
(
report_ids
)
{
redirect_url
+=
'&is_quiry=1'
;
}
location
.
href
=
redirect_url
;
return
false
;
}
else
if
(
resp
.
errcode
==
21024
)
{
...
...
resources/views/success/content.blade.php
View file @
c8f435fd
...
...
@@ -37,7 +37,9 @@
<div
class=
"section-3"
>
@if ($type == 1)
<a
class=
"btn btn-success"
href=
"/change/{{ $order_info->order_id }}"
>
审核订单
</a>
<a
class=
"btn btn-default"
href=
"/add_order"
>
继续新增
</a>
@if ($is_quiry)
<a
class=
"btn btn-default"
href=
"/add_order"
>
继续新增
</a>
@endif
@elseif ($type == 2)
<a
class=
"btn btn-success"
href=
"/self_order"
>
查看订单
</a>
<a
class=
"btn btn-default"
href=
"/add_online"
>
继续新增
</a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment