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
1165eae3
authored
Jul 25, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加新用户
parent
6659bab2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletions
app/Http/Controllers/OrderController.php
public/js/order.js
resources/views/detail/changeOrder.blade.php
resources/views/detail/content.blade.php
app/Http/Controllers/OrderController.php
View file @
1165eae3
...
...
@@ -933,6 +933,8 @@ Class OrderController extends Controller
"pf"
=>
1
,
"k1"
=>
$check
[
'k1'
],
"k2"
=>
$check
[
'k2'
],
"is_newClient"
=>
$request
->
input
(
'is_newClient'
,
''
),
"client_source"
=>
$request
->
input
(
'client_source'
)
==
1
?
$request
->
input
(
'input-other-source'
)
:
$request
->
input
(
'client_source'
),
];
$temp
=
json_decode
(
curlApi
(
$url
,
$resData
,
"POST"
),
true
);
...
...
public/js/order.js
View file @
1165eae3
...
...
@@ -1074,6 +1074,7 @@
return
false
;
}
if
(
is_newClient
==
1
)
{
if
(
client_source
==
null
)
{
layer
.
msg
(
'请选择用户来源渠道!'
);
return
false
;
...
...
@@ -1083,6 +1084,7 @@
return
false
;
}
}
}
// 审核不通过
if
(
order_status
==
-
1
)
{
...
...
resources/views/detail/changeOrder.blade.php
View file @
1165eae3
...
...
@@ -25,7 +25,7 @@
</td>
</tr>
<tr
class=
"client_source_row"
style=
"display: none;"
>
<td
class=
"check-table-title"
>
用户
从哪里了解我们
:
</td>
<td
class=
"check-table-title"
>
用户
来源
:
</td>
<td>
<div
class=
"multi-reason"
>
<label><input
type=
"radio"
name=
"client_source"
value=
"QQ群"
>
QQ群
</label>
...
...
resources/views/detail/content.blade.php
View file @
1165eae3
...
...
@@ -477,6 +477,21 @@
</div>
</div>
@if (!empty($order_temp_info)
&&
$order_temp_info['status'] == 2)
<div
class=
"tabs-box"
>
<table
class=
"table table-bordered table-hover"
>
<tr>
<td
width=
"10%"
>
是否为新用户:
</td>
<td>
{{ $order_temp_info['is_newclient'] == 1 ? '是' : '否' }}
</td>
@if ($order_temp_info['is_newclient'] == 1)
<td
width=
"10%"
>
用户来源:
</td>
<td>
{{ $order_temp_info['client_source'] }}
</td>
@endif
</tr>
</table>
</div>
@endif
@if (!$isPage)
@if ($action_name == 'sendSales')
<!--推送业务员-->
...
...
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