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
6a3e01e1
authored
Dec 08, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_service_20211118' into development
parents
953c86c8
2075783b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
app/Http/Controllers/AddOrderController.php
public/js/add_inquiry_order.js
public/js/add_order.js
app/Http/Controllers/AddOrderController.php
View file @
6a3e01e1
...
...
@@ -398,14 +398,17 @@ Class AddOrderController extends Controller
public
function
addCart
(
Request
$request
)
{
if
(
$request
->
isMethod
(
'post'
))
{
$data
[
'uid'
]
=
$request
->
input
(
'uid'
);
$data
[
'id'
]
=
$request
->
input
(
'id'
);
$data
[
'num'
]
=
$request
->
input
(
'num'
);
$data
[
'buy'
]
=
$request
->
input
(
'buy'
);
$data
[
'uid'
]
=
$request
->
input
(
'uid'
);
$data
[
'id'
]
=
$request
->
input
(
'id'
);
$data
[
'num'
]
=
$request
->
input
(
'num'
);
$data
[
'buy'
]
=
$request
->
input
(
'buy'
);
$data
[
'delivery_place'
]
=
$request
->
input
(
'delivery_place'
);
$data
[
'type'
]
=
2
;
// 后台添加标记
$data
[
'pf'
]
=
4
;
$data
[
'type'
]
=
2
;
// 后台添加标记
$add_type
=
$request
->
input
(
'add_type'
,
1
);
// 1-后台订单添加,2-询价订单添加
$data
[
'pf'
]
=
$add_type
==
1
?
4
:
8
;
$data
[
'k1'
]
=
time
();
$data
[
'k2'
]
=
md5
(
md5
(
$data
[
'k1'
])
.
'fh6y5t4rr351d2c3bryi'
);
...
...
public/js/add_inquiry_order.js
View file @
6a3e01e1
...
...
@@ -563,6 +563,7 @@ layui.config({
num
:
goods_min_num
,
buy
:
-
1
,
delivery_place
:
delivery_place
,
add_type
:
2
,
}
$
.
ajax
({
...
...
public/js/add_order.js
View file @
6a3e01e1
...
...
@@ -509,6 +509,7 @@
num
:
goods_min_num
,
buy
:
-
1
,
delivery_place
:
delivery_place
,
add_type
:
1
,
}
$
.
ajax
({
...
...
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