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
1141121f
authored
2018-03-31 13:48:20 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
7fdb4bfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
16 deletions
application/controllers/Work.php
application/views/work/客户确认/客户确认.php
application/controllers/Work.php
View file @
1141121
...
...
@@ -299,12 +299,19 @@ class Work extends CI_Controller
if
(
!
$ret
->
clientContactOutputVOS
)
{
$ret
->
clientContactOutputVOS
=
array
();
}
//查询还款计划表
$str
=
'borrowAmount='
.
$ret
->
applyOrderVO
->
applyMoney
.
'&productId='
.
$ret
->
applyOrderVO
->
productId
.
'&loanDeadline='
.
$ret
->
applyOrderVO
->
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
->
applyOrderVO
'applyOrderVO'
=>
$ret
->
applyOrderVO
,
'plan'
=>
$ret2
);
$this
->
load
->
view
(
'work/客户确认/客户确认'
,
$data
);
}
...
...
application/views/work/客户确认/客户确认.php
View file @
1141121
...
...
@@ -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>
...
...
@@ -27,22 +27,22 @@
<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>
...
...
@@ -50,7 +50,8 @@
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-header"
>
还款计划表
<button
class=
"btn btn-success"
>
导出
</button></div>
<div
class=
"panel-header"
>
还款计划表
<!-- <button class="btn btn-success">导出</button></div>-->
<div
class=
"panel-body text-c"
>
<table
class=
"table table-border table-bordered table-bg"
>
<thead
class=
"text-c"
>
...
...
@@ -60,14 +61,12 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<tr>
<td>
1期
</td>
<td>
500元
</td>
</tr>
<tr>
<td>
1期
</td>
<td>
500元
</td>
</tr>
<?php
foreach
(
$plan
as
$k
=>
$v
)
:?>
<
tr
>
<
td
>
1
期
<?=
$v
?>
</td>
<td>
500元
</td>
</tr>
<?php
endforeach
;
?>
</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