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
878bb5cf
authored
2018-03-29 23:41:40 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
2678a10d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
application/views/loan/还款编辑.php
application/views/perm/staffAdd.php
application/views/loan/还款编辑.php
View file @
878bb5c
...
...
@@ -7,8 +7,7 @@
<div
class=
"panel-body cl"
>
<div
class=
"row cl"
>
<input
type=
"hidden"
name=
"id"
value=
"
<?=
$id
?>
"
>
<!-- <input type="hidden" name="orderId" value="-->
<?
//=$ret->orderId?><!--">-->
<
div
class
="
form
-
group
col
-
sm
-
4
col
-
md
-
2
">
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
订单id
</label>
<!-- <input type="text" class="form-control input-text" value="-->
<?
//=$orderNumber?><!--" name="orderNumber">-->
<
input
type
=
"text"
class
="
form
-
control
input
-
text
" value="
<?=
$orderId
?>
" name="orderId">
...
...
@@ -32,7 +31,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=
"
repayStatus
"
>
<select
class=
"select"
size=
"1"
name=
"
source
"
>
<?php
foreach
(
$enumSource
as
$k
=>
$v
)
:
?>
<option
value=
"
<?=
$k
?>
"
<?=
$k
==
$source
?
'selected'
:
''
?>
>
<?=
$v
?>
</option>
<?php
endforeach
?>
...
...
application/views/perm/staffAdd.php
View file @
878bb5c
...
...
@@ -81,6 +81,12 @@
var
targetUrl
=
$
(
"#add"
).
attr
(
"action"
);
var
data
=
$
(
"#add"
).
serializeJson
();
var
newData
=
{};
var
rolesid
=
[];
if
(
data
[
'roles'
].
length
==
1
){
rolesid
.
push
(
data
[
'roles'
]);
}
else
{
rolesid
=
data
[
'roles'
];
}
newData
=
{
// newData['HrVO'] = {
name
:
data
[
'name'
],
...
...
@@ -88,7 +94,7 @@
telephone
:
data
[
'phone'
],
// phone:data['phone'],
password
:
data
[
'password'
],
roleIds
:
data
[
'roles'
]
,
roleIds
:
rolesid
,
// roles:data['roles'],
departmentId
:
data
[
'children'
]
};
...
...
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