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
07a2091f
authored
2018-03-31 14:31:29 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
745a3520
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
16 deletions
application/controllers/Work.php
application/views/work/资料/资料移交.php
application/controllers/Work.php
View file @
07a2091
...
...
@@ -317,9 +317,33 @@ class Work extends CI_Controller
$this
->
load
->
view
(
'work/客户确认/客户确认'
,
$data
);
}
public
function
move
()
public
function
move
(
$id
)
{
$this
->
load
->
view
(
'work/资料/资料移交'
);
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/detail/'
.
$id
;
$result
=
file_get_contents
(
$url
);
$json
=
json_decode
(
$result
);
$ret
=
$json
->
data
;
if
(
!
$ret
->
clientUnitOutputVO
)
{
$ret
->
clientUnitOutputVO
=
array
();
}
if
(
!
$ret
->
clientContactOutputVOS
)
{
$ret
->
clientContactOutputVOS
=
array
();
}
//查询还款计划表
$str
=
'borrowAmount='
.
$ret
->
orderVO
->
agreeMoney
.
'&productId='
.
$ret
->
orderVO
->
productId
.
'&loanDeadline='
.
$ret
->
orderVO
->
deadline
;
$url2
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'application/tool/interest?'
.
$str
;
$result2
=
file_get_contents
(
$url2
);
$json2
=
json_decode
(
$result2
);
$ret2
=
$json2
->
data
;
$data
=
array
(
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$ret
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$ret
->
orderVO
,
'plan'
=>
$ret2
);
$this
->
load
->
view
(
'work/资料/资料移交'
,
$data
);
}
public
function
side
(
$state
=
null
)
...
...
application/views/work/资料/资料移交.php
View file @
07a2091
...
...
@@ -8,12 +8,12 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
申请金额
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
applyMoney
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
申请期限
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
deadline
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
天
</span>
</div>
</div>
...
...
@@ -22,26 +22,27 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-header"
>
授信信息
</div>
<!-- GET /flow/getLastCheck-->
<div
class=
"panel-body"
>
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
核批金额
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
deadline
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
借款期限
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
deadline
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
天
</span>
</div>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
借款利率
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
deadline
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
%
</span>
</div>
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
每月还款金额
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$applyOrderVO
?
$applyOrderVO
->
deadline
:
''
?>
"
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
</div>
...
...
@@ -59,14 +60,14 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<tr
>
<td>
1期
</td
>
<t
d>
500元
</td
>
</tr
>
<tr
>
<
td>
1期
</td
>
<td>
500元
</td
>
</tr
>
<?php
if
(
$plan
&&
$plan
->
repayPlans
)
:?
>
<?
php
foreach
(
$plan
->
repayPlans
as
$k
=>
$v
)
:?
>
<
t
r
>
<
td
><?=
$v
->
period
?>
期
</td
>
<td>
<?=
$v
->
totalAmount
?>
元
</td
>
<
/tr
>
<?php
endforeach
;
?
>
<?php
endif
;
?
>
</tbody>
</table>
</div>
...
...
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