Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
51adcff8
authored
2018-03-31 16:28:03 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://g.28ms.com:8000/yangjianbin/page
into develop
2 parents
6c6835b1
a967f5f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
application/views/loan/还款编辑.php
application/views/loan/还款编辑.php
View file @
51adcff
...
...
@@ -32,7 +32,7 @@
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
来源
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
name=
"source"
onfocus=
"this.defaultIndex=this.selectedIndedx;"
onchange=
"this.selectedIndex=this.defaultIndex;
"
>
<select
class=
"select"
size=
"1"
name=
"source"
id=
"source"
disabled=
"disabled
"
>
<?php
foreach
(
$enumSource
as
$k
=>
$v
)
:
?>
<option
value=
"
<?=
$k
?>
"
<?=
$k
==
$source
?
'selected'
:
''
?>
>
<?=
$v
?>
</option>
<?php
endforeach
?>
...
...
@@ -175,6 +175,7 @@
<script>
function
save
()
{
$
(
"#source"
).
removeAttr
(
"disabled"
);
var
data
=
$
(
"form"
).
serializeJson
();
console
.
log
(
data
);
if
(
data
[
'source'
]
==
0
){
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment