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
08f1fa8e
authored
Apr 02, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整询价下单
parent
c8f435fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
app/Http/Controllers/AddOrderController.php
public/js/add_inquiry_order.js
app/Http/Controllers/AddOrderController.php
View file @
08f1fa8e
...
...
@@ -597,6 +597,7 @@ Class AddOrderController extends Controller
{
if
(
$request
->
isMethod
(
'post'
))
{
$data
[
'type'
]
=
$request
->
input
(
'type'
);
$data
[
'inv_com_id'
]
=
$request
->
input
(
'inv_com_id'
,
0
);
$data
[
'uid'
]
=
$request
->
input
(
'uid'
);
$data
[
'sale_id'
]
=
$request
->
user
->
userId
;
$data
[
'address_id'
]
=
$request
->
input
(
'address_id'
);
...
...
public/js/add_inquiry_order.js
View file @
08f1fa8e
...
...
@@ -627,7 +627,8 @@ layui.config({
var
self
=
$
(
this
);
var
type
=
self
.
data
(
'type'
);
// 1-联营线上,2-自营线上,3-自营线下,4-自营其他业务
var
inv_type
=
$
(
'input[name=inv_type]:checked'
).
val
();
// 开票方式
var
inv_com_name
=
$
(
'.inv_com_name'
).
val
();
var
inv_com_id
=
$
(
'.inv_com_id'
).
val
()
||
0
;
var
inv_com_name
=
$
(
'.inv_com_name'
).
val
()
||
''
;
var
user_id
=
$
(
'.user_id'
).
val
()
||
0
;
var
tax_id
=
$
(
'.tax_id'
).
val
()
||
0
;
var
zy_delivery_type
=
$
(
'.zy_delivery_type'
).
val
()
||
0
;
...
...
@@ -742,6 +743,7 @@ layui.config({
var
datax
=
{
type
:
type
,
inv_com_id
:
inv_com_id
,
uid
:
user_id
,
tax_id
:
tax_id
,
zy_delivery_type
:
zy_delivery_type
,
...
...
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