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
7738dc51
authored
Dec 12, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_iteration_20181127' into development
parents
26d1a26b
57bc6caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
public/js/order.js
public/js/order.js
View file @
7738dc51
...
@@ -359,7 +359,7 @@
...
@@ -359,7 +359,7 @@
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="1">其他</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="1">其他</label>'
+
'</div>'
+
'</div>'
+
'<div class="input-other-reason">'
+
'<div class="input-other-reason"
style="display:none;"
>'
+
'<textarea class="form-control" name="input-other-reason" placeholder="请填写其他原因"></textarea>'
+
'<textarea class="form-control" name="input-other-reason" placeholder="请填写其他原因"></textarea>'
+
'</div>'
+
'</div>'
+
'</div>'
;
'</div>'
;
...
@@ -411,6 +411,19 @@
...
@@ -411,6 +411,19 @@
}
}
})
})
})
})
// 显示或隐藏 其他输入框
$
(
document
).
delegate
(
'input[name=cancel_reason]'
,
'click'
,
function
()
{
var
cancel_reason
=
$
(
'input[name=cancel_reason]:checked'
).
val
();
if
(
cancel_reason
==
1
)
{
$
(
'.input-other-reason'
).
show
();
$
(
'.layui-layer-content'
).
css
(
'height'
,
'310px'
);
}
else
{
$
(
'.input-other-reason'
).
hide
();
$
(
'.layui-layer-content'
).
css
(
'height'
,
'auto'
);
}
})
},
},
details
:
function
(){
details
:
function
(){
...
...
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