Browse Source

Merge remote-tracking branch 'origin/master'

master
fanzongzhe 2 years ago
parent
commit
1e945dcb94
  1. 10
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue
  2. 14
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue
  3. 10
      anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue
  4. 14
      anrui-riskcenter-ui/src/views/workFlow/publicPage/financialscheme.vue
  5. 23
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loansolutions/LoanSolutionsService.java

10
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue

@ -538,9 +538,17 @@ export default {
//
this.finance.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02'
// 0
// 0
if (this.finance.loanTotal !== '' && this.finance.loanTotal !== '0') {
//
this.financingProject()
//
this.finance.otherPolicyState = false
this.finance.otherPolicyName = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyYearRatio = ''
}
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid }).then((res) => {
if (res.success) {

14
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

@ -421,14 +421,14 @@ export default {
this.finance = JSON.parse(JSON.stringify(value))
this.orgPath = orgSidPath
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (res.success) {
this.other_list = res.data
}
@ -535,9 +535,17 @@ export default {
this.finance.nominalPrice = choose[0].nominalPrice
// --
this.finance.proxyAccidentPremium = choose[0].vehAccidentAmount
// 0
// 0
if (this.finance.loanTotal !== '' && this.finance.loanTotal !== '0') {
//
this.financingProject()
//
this.finance.otherPolicyState = false
this.finance.otherPolicyName = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyYearRatio = ''
}
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid }).then((res) => {
if (res.success) {

10
anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue

@ -498,9 +498,17 @@ export default {
//
this.finance.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02'
// 0
// 0
if (this.finance.loanTotal !== '' && this.finance.loanTotal !== '0') {
//
this.financingProject()
//
this.finance.otherPolicyState = false
this.finance.otherPolicyName = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyYearRatio = ''
}
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid }).then((res) => {
if (res.success) {

14
anrui-riskcenter-ui/src/views/workFlow/publicPage/financialscheme.vue

@ -384,14 +384,14 @@ export default {
this.finance = JSON.parse(JSON.stringify(value))
this.orgPath = orgPath
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (res.success) {
this.other_list = res.data
}
@ -500,9 +500,17 @@ export default {
//
this.finance.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02'
// 0
// 0
if (this.finance.loanTotal !== '' && this.finance.loanTotal !== '0') {
//
this.financingProject()
//
this.finance.otherPolicyState = false
this.finance.otherPolicyName = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyYearRatio = ''
}
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid }).then((res) => {
if (res.success) {

23
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loansolutions/LoanSolutionsService.java

@ -1742,8 +1742,11 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
//融资票据
StringBuilder accessoriesAmountValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getAccessoriesAmount())) {
if(!solutionssVo.isAccessoriesAmountCb()){
accessoriesAmountValue = accessoriesAmountValue.append("\t").append("配件:").append("0");
}else{
accessoriesAmountValue = accessoriesAmountValue.append("\t").append("配件:").append(solutionssVo.getAccessoriesAmount());
}
} else {
accessoriesAmountValue = accessoriesAmountValue.append("\t").append("配件:").append("-");
}
@ -1751,8 +1754,11 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
//挂车
StringBuilder trailerAmountValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getTrailerAmount())) {
if(!solutionssVo.isTrailerAmountCb()){
trailerAmountValue = trailerAmountValue.append("\t").append("挂车:").append("0");
}else{
trailerAmountValue = trailerAmountValue.append("\t").append("挂车:").append(solutionssVo.getTrailerAmount());
}
} else {
trailerAmountValue = trailerAmountValue.append("\t").append("挂车:").append("-");
}
@ -1760,8 +1766,11 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
//保险
StringBuilder premiumValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getPremium())) {
if (!solutionssVo.isPremiumCb()) {
premiumValue = premiumValue.append("\t").append("保险:").append("0");
}else{
premiumValue = premiumValue.append("\t").append("保险:").append(solutionssVo.getPremium());
}
} else {
premiumValue = premiumValue.append("\t").append("保险:").append("-");
}
@ -1769,7 +1778,11 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
//购置税
StringBuilder purchaseTaxValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getPurchaseTax())) {
if(!solutionssVo.isPurchaseTaxCb()){
purchaseTaxValue = purchaseTaxValue.append("\t").append("购置税:").append("0");
}else{
purchaseTaxValue = purchaseTaxValue.append("\t").append("购置税:").append(solutionssVo.getPurchaseTax());
}
} else {
purchaseTaxValue = purchaseTaxValue.append("\t").append("购置税:").append("-");
}
@ -1778,7 +1791,6 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
StringBuilder downPayRatioValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getDownPayRatio())) {
downPayRatioValue = downPayRatioValue.append("首付比例(%):").append(solutionssVo.getDownPayRatio());
} else {
downPayRatioValue = downPayRatioValue.append("首付比例(%):").append("-");
}
@ -1787,7 +1799,6 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
StringBuilder downPayAmountValue = new StringBuilder();
if (StringUtils.isNotBlank(solutionssVo.getDownPayAmount())) {
downPayAmountValue = downPayAmountValue.append("首付金额:").append(solutionssVo.getDownPayAmount());
} else {
downPayAmountValue = downPayAmountValue.append("首付金额:").append("-");
}
@ -2238,8 +2249,6 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper
SolutionssVo solutionssVo = new SolutionssVo();
BeanUtil.copyProperties(query, solutionssVo);
if (query.isShowMore()) {
if (query.isPremiumCb()) {
//保险
String premium = query.getPremium();

Loading…
Cancel
Save