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
5af08ca2
authored
2018-04-10 16:42:28 +0800
by
Zelig
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug
1 parent
bdcac3f6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
10 deletions
application/views/work/审批/资料清单.php
application/views/work/尽调报告/法人.php
application/views/work/申请信息/借款人信息.php
application/views/work/资料/资料补录.php
application/views/work/审批/资料清单.php
View file @
5af08ca
...
...
@@ -104,6 +104,9 @@
var index = getQueryString('tab');
var loc = beva.locationutil.attach('province', 'city', 'county', 'address');
loc.setSelectedCodes(['
<?=
$clientInfoOutputVO
->
registerProvince
?>
', '
<?=
$clientInfoOutputVO
->
registerCity
?>
', '
<?=
$clientInfoOutputVO
->
registerCounty
?>
'
]);
$
(
"#tab"
).
Huitab
({
index
:
index
});
</script>
</body>
...
...
application/views/work/尽调报告/法人.php
View file @
5af08ca
...
...
@@ -30,7 +30,7 @@
<label>
房产地址
</label>
<input
type=
"text"
class=
"form-control input-text"
v-model=
"dueDiligenceVO.dueDiligenceBasicInformationVO.houseAddress"
>
</div>
<div
class=
"form-group col-sm-
3
col-md-1"
>
<div
class=
"form-group col-sm-
2
col-md-1"
>
<label>
&
nbsp
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
name=
"houseAddressHasReal"
size=
"1"
v-model=
"dueDiligenceVO.dueDiligenceBasicInformationVO.houseAddressHasReal"
>
...
...
application/views/work/申请信息/借款人信息.php
View file @
5af08ca
...
...
@@ -24,7 +24,7 @@
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
出生日期
</label>
<input
type=
"text"
class=
"form-control input-text Wdate"
value=
"
<?=
$clientInfoOutputVO
->
birthDate
?
date
(
'Y-m-d'
,
strtotime
(
$clientInfoOutputVO
->
birthDate
/
1000
)
)
:
''
?>
"
onfocus=
"WdatePicker()"
>
<input
type=
"text"
class=
"form-control input-text Wdate"
value=
"
<?=
$clientInfoOutputVO
->
birthDate
?
date
(
'Y-m-d'
,
$clientInfoOutputVO
->
birthDate
/
1000
)
:
''
?>
"
onfocus=
"WdatePicker()"
>
</div>
</div>
...
...
application/views/work/资料/资料补录.php
View file @
5af08ca
...
...
@@ -488,19 +488,20 @@
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
还款方式
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
c""
name=
"applyOrderVO.payBackType"
>
<input
type=
"text"
class=
"form-control input-text"
disabled
name=
"applyOrderVO.payBackType"
v-model=
"product.repaymentMode"
>
<!-- <span class="form-control select-box disabled">
<select class="select" size=c"" name="applyOrderVO.payBackType" disabled>
<?php
foreach
(
$this
->
session
->
repayments
as
$k
=>
$v
)
:
?>
<option
<?=
$applyOrderVO
&&
$applyOrderVO
->
payBackType
?
'selected'
:
''
?>
value="
<?=
$k
?>
">
<?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span
>
</span> --
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
贷款用途
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
c""
name=
"applyOrderVO.use"
v-model=
"applyOrderVO.use"
>
<select
class=
"select"
size=
c""
name=
"applyOrderVO.use"
>
<option
v-for=
"(v, k) in loanPurpose"
:value=
"k"
>
{{v}}
</option>
</select>
</span>
...
...
@@ -546,12 +547,12 @@
loanPurpose: [],
nature: [],
education: [],
repayment: [],
applyOrderVO: {},
clientInfoInputVO: {}
clientInfoInputVO: {}
,
},
mounted () {
let _this = this;
instance.get('/config/products').then( ( {data} ) => {
this.products = data.data
});
...
...
@@ -573,6 +574,10 @@
instance.get('/client/enum/education').then( ({data}) => {
this.education = data.data;
});
instance.get('/config/enum/repayment').then( ({data}) => {
this.repayment = data.data;
});
},
methods: {
applyMoney () {
...
...
@@ -586,6 +591,13 @@
layer.alert('<贷款期限>不能超过最大值: ' + this.product.loanDeadline);
this.applyOrderVO.deadline = this.product.loanDeadline;
}
},
getRepaymentId (repayment) {
for (v in this.repayment) {
if (this.repayment[v] == repayment) {
return v;
}
}
}
},
watch: {
...
...
@@ -648,8 +660,7 @@
data.clientContactInputVOS = Object.values(data.clientContactInputVOS);
var dwellDetail = $('[name=clientInfoInputVO\\.dwellState]:checked').parent().find('input[type=text]').val();
data.clientInfoInputVO.dwellDetail = dwellDetail;
console.log(data);
data.applyOrderVO.payBackType = vm.getRepaymentId('等额本息')
ajax('client/collection', 'post', data, '操作成功', function () {
window.parent.reload();
...
...
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