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
180e8125
authored
Jul 24, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp1
parent
52338581
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
4 deletions
public/css/detail.css
public/js/order.js
resources/views/detail/changeOrder.blade.php
public/css/detail.css
View file @
180e8125
...
...
@@ -64,7 +64,7 @@
.tabs-box
.check-table
td
.multi-reason
label
{
margin-right
:
10px
;
}
.tabs-box
.check-table
td
.other-reason
#input-reason
{
.tabs-box
.check-table
td
.other-reason
#input-reason
,
#input-other-source
{
width
:
99%
;
height
:
100px
;
resize
:
none
;
...
...
public/js/order.js
View file @
180e8125
...
...
@@ -991,6 +991,15 @@
// // }
// })
// 用户来源
$
(
'input[name="is_newClient"]'
).
parent
().
on
(
'click'
,
function
(){
if
(
$
(
this
).
find
(
'input'
).
val
()
==
1
){
$
(
'.client_source_row'
).
show
();
}
else
{
$
(
'.client_source_row'
).
hide
();
}
});
// 订单审核---通过or不通过
$
(
'input[name="order_status"]'
).
parent
().
on
(
'click'
,
function
(){
if
(
$
(
this
).
find
(
'input'
).
val
()
==
2
){
...
...
@@ -1051,12 +1060,31 @@
// 提交表单
$
(
'.checkOrder'
).
click
(
function
(){
var
is_newClient
=
$
(
'input[name=is_newClient]:checked'
).
val
();
var
client_source
=
$
(
'input[name=client_source]:checked'
).
val
();
var
order_status
=
$
(
'input[name=order_status]:checked'
).
val
();
var
pay_type
=
$
(
'input[name=order_pay_type]:checked'
).
val
();
// 订单类型
var
reason
=
$
(
'input[name=reason]:checked'
).
val
();
var
payTime
=
$
(
'.payTime'
).
val
();
var
payTimeOther
=
$
(
'.payTimeOther'
).
val
();
// 用户来源
if
(
is_newClient
==
null
)
{
layer
.
msg
(
'请选择用户来源!'
);
return
false
;
}
if
(
client_source
==
null
)
{
layer
.
msg
(
'请选择用户来源渠道!'
);
return
false
;
}
else
if
(
client_source
==
1
)
{
if
(
$
(
'#input-other-source'
).
val
()
==
''
)
{
layer
.
msg
(
'请填写其他来源!'
);
return
false
;
}
}
// 审核不通过
if
(
order_status
==
-
1
)
{
if
(
reason
==
null
)
{
layer
.
msg
(
'请选择不通过原因!'
);
...
...
resources/views/detail/changeOrder.blade.php
View file @
180e8125
...
...
@@ -14,9 +14,39 @@
<input
type=
"hidden"
name=
"check_failed_info"
value=
""
>
<input
type=
"hidden"
name=
"change_pay_type"
value=
""
>
<!-- 用户来源 -->
<p>
用户来源
</p>
<table
class=
"table table-bordered table-hover check-table"
>
<tr>
<td
class=
"check-table-title"
width=
"20%"
>
是否为新用户:
</td>
<td
class=
"check-select"
>
<label><input
class=
"is_newClient"
type=
"radio"
name=
"is_newClient"
value=
"1"
>
是
</label>
<label><input
class=
"is_newClient"
type=
"radio"
name=
"is_newClient"
value=
"0"
>
否
</label>
</td>
</tr>
<tr
class=
"client_source_row"
style=
"display: none;"
>
<td
class=
"check-table-title"
>
用户从哪里了解我们:
</td>
<td>
<div
class=
"multi-reason"
>
<label><input
type=
"radio"
name=
"client_source"
value=
"QQ群"
>
QQ群
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"微信群"
>
微信群
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"微信公众号"
>
微信公众号
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"朋友介绍"
>
朋友介绍
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"线下广告"
>
线下广告
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"地推"
>
地推
</label>
<label><input
type=
"radio"
name=
"client_source"
value=
"1"
>
其他
</label>
</div>
<div
class=
"client-input-other"
>
<textarea
name=
"input-other-source"
id=
"input-other-source"
placeholder=
"请填写其他来源"
></textarea>
</div>
</td>
</tr>
</table>
<!-- 审核 -->
<p>
审核
</p>
<table
class=
"table table-bordered table-hover check-table"
style=
"min-height:150px;"
>
<table
class=
"table table-bordered table-hover check-table"
>
<tr>
<td
class=
"check-table-title"
width=
"20%"
>
付款类型:
</td>
<td
class=
"check-select"
>
...
...
@@ -39,13 +69,12 @@
<label><input
type=
"radio"
name=
"reason"
value=
"无现货"
>
无现货
</label>
<label><input
type=
"radio"
name=
"reason"
value=
"客户不接受附加费"
>
客户不接受附加费
</label>
<label><input
type=
"radio"
name=
"reason"
value=
"客户下错单"
>
客户下错单
</label>
<label><input
type=
"radio"
name=
"reason"
value=
"1"
>
其他
</label>
</div>
<div
class=
"other-reason"
>
<label><input
type=
"radio"
name=
"reason"
value=
"1"
>
其他
</label>
<textarea
name=
"reason"
id=
"input-reason"
placeholder=
"请填写其他原因"
></textarea>
</div>
</td>
</tr>
</table>
...
...
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