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
bd4989a0
authored
Jul 26, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整js展示
parent
78429e87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
public/js/order.js
resources/views/detail/changeOrder.blade.php
public/js/order.js
View file @
bd4989a0
...
...
@@ -1066,6 +1066,15 @@
}
});
// 用户来源 -- 其他
$
(
'input[name="client_source"]'
).
on
(
'click'
,
function
(){
if
(
$
(
this
).
val
()
==
1
){
$
(
'.client-input-other'
).
show
();
}
else
{
$
(
'.client-input-other'
).
hide
();
}
});
// 订单审核---通过or不通过
$
(
'input[name="order_status"]'
).
parent
().
on
(
'click'
,
function
(){
if
(
$
(
this
).
find
(
'input'
).
val
()
==
2
){
...
...
@@ -1075,6 +1084,15 @@
}
});
// 订单审核 -- 其他
$
(
'input[name="reason"]'
).
on
(
'click'
,
function
(){
if
(
$
(
this
).
val
()
==
1
){
$
(
'.other-reason'
).
show
();
}
else
{
$
(
'.other-reason'
).
hide
();
}
});
$
(
'.cancle_reason label'
).
click
(
function
(){
if
(
$
(
this
).
find
(
'input'
).
val
()
==
1
){
var
reason
=
$
(
'textarea[name="reason"]'
).
val
();
...
...
resources/views/detail/changeOrder.blade.php
View file @
bd4989a0
...
...
@@ -37,7 +37,7 @@
<label><input
type=
"radio"
name=
"client_source"
value=
"1"
>
其他
</label>
</div>
<div
class=
"client-input-other"
>
<div
class=
"client-input-other"
style=
"display: none;"
>
<textarea
name=
"input-other-source"
id=
"input-other-source"
placeholder=
"请填写其他来源"
></textarea>
</div>
</td>
...
...
@@ -72,7 +72,7 @@
<label><input
type=
"radio"
name=
"reason"
value=
"1"
>
其他
</label>
</div>
<div
class=
"other-reason"
>
<div
class=
"other-reason"
style=
"display: none;"
>
<textarea
name=
"reason"
id=
"input-reason"
placeholder=
"请填写其他原因"
></textarea>
</div>
</td>
...
...
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