|
|
@@ -89,7 +89,10 @@
|
|
|
<span>{{availableAmt}}</span>
|
|
|
<br>
|
|
|
<span>有效期:</span>
|
|
|
- <span>{{validityDate}}</span>
|
|
|
+ <span>{{validityDate}}</span>
|
|
|
+ <br>
|
|
|
+ <span>最小融资金额:</span>
|
|
|
+ <span>{{zfpMinimumAmount}}</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-divider content-position="left" >应付账款</el-divider>
|
|
|
@@ -379,6 +382,8 @@ export default {
|
|
|
payTitle:"",
|
|
|
//利率
|
|
|
zfiRate:"",
|
|
|
+ //最小融资金额
|
|
|
+ zfpMinimumAmount:"",
|
|
|
//授信额度
|
|
|
creditParams: {
|
|
|
zfpcrId:null,
|
|
|
@@ -474,7 +479,9 @@ export default {
|
|
|
this.creditParams.zfpcrId = data.financeInf.zfiCoreQuotaId;
|
|
|
listCreditLine(this.creditParams).then((response) => {
|
|
|
this.creditLineList = response.data.map(item => {
|
|
|
- return { value: item.zfpcrId, label: item.zfpName,zfpcrDateType:item.zfpcrDateType,zfpcrEndDate:item.zfpcrEndDate,zfpcrLoanType:item.zfpcrLoanType,zfpSplit:item.zfpSplit,zfpId:item.zfpId,zfpcrRate:item.zfpcrRate,remaining:item.remaining};
|
|
|
+ return { value: item.zfpcrId, label: item.zfpName,zfpcrDateType:item.zfpcrDateType,
|
|
|
+ zfpcrEndDate:item.zfpcrEndDate,zfpcrLoanType:item.zfpcrLoanType,zfpSplit:item.zfpSplit,
|
|
|
+ zfpId:item.zfpId,zfpcrRate:item.zfpcrRate,remaining:item.remaining,zfpMinimumAmount:item.zfpMinimumAmount};
|
|
|
});
|
|
|
this.form = data.financeInf;
|
|
|
//开立方
|
|
|
@@ -725,6 +732,8 @@ export default {
|
|
|
this.zfpId = "";
|
|
|
//利率
|
|
|
this.zfiRate = "";
|
|
|
+ //最小融信额度
|
|
|
+ this.zfpMinimumAmount = "";
|
|
|
return;
|
|
|
}
|
|
|
let obj = {};
|
|
|
@@ -741,6 +750,8 @@ export default {
|
|
|
this.zfpId = obj.zfpId;
|
|
|
//利率
|
|
|
this.zfiRate = obj.zfpcrRate;
|
|
|
+ //最小融资金额
|
|
|
+ this.zfpMinimumAmount = obj.zfpMinimumAmount;
|
|
|
//长期
|
|
|
if("0"== this.zfpcrDateType){
|
|
|
this.validityDate = "长期";
|
|
|
@@ -764,6 +775,13 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+ if(parseFloat(this.form.zfiAmount) < parseFloat(this.zfpMinimumAmount)){
|
|
|
+ this.$message({
|
|
|
+ message: '签发金额不可小于产品的最小融资金额',
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (valid) {
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
|
@@ -788,6 +806,8 @@ export default {
|
|
|
_this.form.zfpId = _this.zfpId;
|
|
|
//利率
|
|
|
_this.form.zfiRate = _this.zfiRate;
|
|
|
+ //最下融资金额
|
|
|
+ _this.form.zfpMinimumAmount = _this.zfpMinimumAmount;
|
|
|
//融信类型
|
|
|
_this.form.type = "1";
|
|
|
//可用额度
|
|
|
@@ -819,6 +839,8 @@ export default {
|
|
|
this.form.type = "1";
|
|
|
//可用额度
|
|
|
this.form.availableAmt = this.moneyDelete(this.availableAmt);
|
|
|
+ //最小融资金额
|
|
|
+ this.form.zfpMinimumAmount = this.zfpMinimumAmount;
|
|
|
updateCredit(this.form).then(response => {
|
|
|
loading.close();
|
|
|
this.msgSuccess("修改成功");
|