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
4cd5e5d4
authored
Mar 07, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整内部采购下单
parent
736dccab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
app/Http/Controllers/AddOrderController.php
app/Http/Controllers/AddOrderController.php
View file @
4cd5e5d4
...
...
@@ -209,13 +209,11 @@ Class AddOrderController extends Controller
$address
=
DB
::
connection
(
'order'
)
->
table
(
'lie_user_address'
)
->
where
([
'user_id'
=>
$info
[
'internal_uid'
],
'is_default'
=>
1
])
->
first
();
$address
->
province_val
=
$this
->
getAddress
(
$address
->
province
);
$address
->
city_val
=
$this
->
getAddress
(
$address
->
city
);
$address
->
district_val
=
$this
->
getAddress
(
$address
->
district
);
$address
->
city_val
=
$this
->
getAddress
(
$address
->
city
);
$address
->
district_val
=
$this
->
getAddress
(
$address
->
district
);
$info
[
'address'
]
=
$address
;
$sale_id
=
$request
->
user
->
userId
;
$info
[
'sale_id'
]
=
$sale_id
;
$info
[
'sale_id'
]
=
$request
->
user
->
userId
;
// 当前登录用户名称
$userInfo
=
DB
::
table
(
'user_info'
)
->
where
(
'userId'
,
$sale_id
)
->
select
(
'name'
)
->
first
();
...
...
@@ -228,6 +226,8 @@ Class AddOrderController extends Controller
$user
=
DB
::
connection
(
'order'
)
->
table
(
'lie_user_main'
)
->
where
(
'user_id'
,
$intracode
->
user_id
)
->
select
(
'mobile'
)
->
first
();
$info
[
'mobile'
]
=
$user
?
$user
->
mobile
:
''
;
}
else
{
$info
[
'mobile'
]
=
''
;
}
return
view
(
'addOffline'
,
$info
);
...
...
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