diff --git a/src/pages/manage/list/corporateLoans/application.vue b/src/pages/manage/list/corporateLoans/application.vue
index 52f55e2..13844d4 100644
--- a/src/pages/manage/list/corporateLoans/application.vue
+++ b/src/pages/manage/list/corporateLoans/application.vue
@@ -15,8 +15,12 @@
-
-
+
+ {{ scope.row.loanApplicationAmount || '-' }}
+
+
+ {{ scope.row.processingStatus || '-' }}
+
{{
diff --git a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
index 01511e5..1483bcd 100644
--- a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
+++ b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
@@ -189,7 +189,7 @@ export default {
this.form.yearOfEstablishment = '2018-02-19'
this.form.registrationType = '有限公司'
this.form.mainBusinessScope = '信息技术'
- this.form.expirationDateOfBusinessLicense = '2024-01-01'
+ this.form.expirationDateOfBusinessLicense = '2050-01-01'
this.form.financialReportSubmissionMethod = '半年'
this.form.natureOfBorrower = '企业法人'
}
diff --git a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/importReport.vue b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/importReport.vue
index d94a84e..954343e 100644
--- a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/importReport.vue
+++ b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/importReport.vue
@@ -90,9 +90,11 @@ export default {
},
async next (step) {
const form = this.creditImportIds
- if (!form.importBalanceSheet) return this.$message.error('请导入资产负债表!')
- if (!form.importIncomeStatement) return this.$message.error('请导入损益表!')
- if (!form.importCashFlowStatement) return this.$message.error('请导入现金流量表!')
+ if (step) {
+ if (!form.importBalanceSheet) return this.$message.error('请导入资产负债表!')
+ if (!form.importIncomeStatement) return this.$message.error('请导入损益表!')
+ if (!form.importCashFlowStatement) return this.$message.error('请导入现金流量表!')
+ }
try {
await creditEvaluationInput({
...this.creditIds,
diff --git a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
index bfdd7ee..28c2c26 100644
--- a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
+++ b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
@@ -64,7 +64,7 @@
- 上一步
+ 上一步
提交
@@ -81,7 +81,7 @@
- 确 定
+ 确 定
@@ -195,6 +195,7 @@ export default {
haveAnyBadCreditRecords: 204,
gradeEvaluationOtherRiskSituations: '',
},
+ originForm: {},
rules: {
surveyDate: [
{
@@ -234,12 +235,30 @@ export default {
r.corporateReputation = +r.corporateReputation || 205
r.haveAnyBadCreditRecords = +r.haveAnyBadCreditRecords || 204
this.form = r
+ this.originForm = JSON.stringify(this.form)
}
},
confirmSubmit () {
this.submitVisible = true
},
- async submit () {
+ // 上一步
+ async prev () {
+ debugger
+ if (this.originForm !== JSON.stringify(this.form)) {
+ try {
+ await this.$confirm(`编辑的内容未保存,是否保存并继续上一步?`, '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning',
+ closeOnClickModal: false,
+ })
+ this.submit(1)
+ } catch (e) { }
+ } else {
+ this.$emit('updateStep', 2)
+ }
+ },
+ async submit (prev) {
try {
const { form } = this
await creditEvaluationInput({
@@ -267,8 +286,13 @@ export default {
startTime: sessionStorage.getItem('startTime')
})
this.$message.success('创建成功!')
- this.$parent.active = '2'
- this.$parent.tab2Disabled = false
+ if (prev) {
+ // 上一步
+ this.$emit('updateStep', 2)
+ } else {
+ this.$parent.active = '2'
+ this.$parent.tab2Disabled = false
+ }
} catch { (e) => { } }
},
},
diff --git a/src/pages/manage/list/corporateLoans/detail.vue b/src/pages/manage/list/corporateLoans/detail.vue
index 074a736..d23b348 100644
--- a/src/pages/manage/list/corporateLoans/detail.vue
+++ b/src/pages/manage/list/corporateLoans/detail.vue
@@ -27,8 +27,8 @@
-
-
+
+
diff --git a/src/pages/manage/list/corporateLoans/loan.vue b/src/pages/manage/list/corporateLoans/loan.vue
index 3dce399..277200f 100644
--- a/src/pages/manage/list/corporateLoans/loan.vue
+++ b/src/pages/manage/list/corporateLoans/loan.vue
@@ -10,10 +10,14 @@
-
-
+
+ {{ scope.row.loanDate || '-' }}
+
+
+ {{ scope.row.loanAmount || '-' }}
+
- {{ scope.row.loanDate ? scope.row.loanAmount : '' }}
+ {{ scope.row.loanDate ? scope.row.loanAmount : '-' }}
{{ scope.row.loanDate ? '已放款' : '待放款' }}
diff --git a/src/pages/manage/list/corporateLoans/management.vue b/src/pages/manage/list/corporateLoans/management.vue
index 5355cd8..e0cef8f 100644
--- a/src/pages/manage/list/corporateLoans/management.vue
+++ b/src/pages/manage/list/corporateLoans/management.vue
@@ -10,17 +10,27 @@
-
-
-
-
-
-
+
+ {{ scope.row.loanStatus || '-' }}
+
+
+ {{ scope.row.five || '-' }}
+
+
+ {{ scope.row.processingResults || '-' }}
+
+
+ {{ scope.row.updateTime || '-' }}
+
+
+ {{ scope.row.arrearsAmount || '-' }}
+
催收
贷后调查
- 不良贷款
+ 不良贷款
呆账认定
@@ -275,7 +285,14 @@ export default {
searchContent: this.keyword,
typeId: 4
})
- this.list = data.page.records
+ const list = data.page.records
+ const { opt4 } = this
+ list.forEach(e => {
+ const five = e.fiveLevelClassification
+ e.bad = five === '4' || five === '5' // 不良贷款和呆账认定是否可点击
+ if (five) e.five = opt4.find(n => n.id == five).name
+ })
+ this.list = list
this.total = data.page.total
},
initData () {
@@ -302,8 +319,10 @@ export default {
async postLoanSubmit () {
const { form } = this
if (!form.stateChange) return this.$message.error('请填写客户基本状态变化!')
+ form.companyLoanId = this.curRow.companyLoanId
await postLoanInvestigationInput(form)
this.submitPoint(841)
+ this.getData()
this.postLoanVisible = false
},
diff --git a/src/pages/manage/list/corporateLoans/repayment.vue b/src/pages/manage/list/corporateLoans/repayment.vue
index 2f9d85a..0a8c022 100644
--- a/src/pages/manage/list/corporateLoans/repayment.vue
+++ b/src/pages/manage/list/corporateLoans/repayment.vue
@@ -11,7 +11,9 @@
-
+
+ {{ scope.row.arrearsAmount || '-' }}
+
{{
diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue
index 1bbda03..0117d46 100644
--- a/src/pages/manage/list/personalLoans/detail.vue
+++ b/src/pages/manage/list/personalLoans/detail.vue
@@ -392,43 +392,53 @@ export default {
extensions: [
{
id: 1,
- name: '1个月'
+ name: '1个月',
+ pointId: 278,
},
{
id: 2,
- name: '2个月'
+ name: '2个月',
+ pointId: 279,
},
{
id: 3,
- name: '3个月'
+ name: '3个月',
+ pointId: 280,
},
{
id: 4,
- name: '4个月'
+ name: '4个月',
+ pointId: 281,
},
{
id: 5,
- name: '5个月'
+ name: '5个月',
+ pointId: 282,
},
{
id: 6,
- name: '6个月'
+ name: '6个月',
+ pointId: 283,
},
{
id: 7,
- name: '7个月'
+ name: '7个月',
+ pointId: 284,
},
{
id: 8,
- name: '8个月'
+ name: '8个月',
+ pointId: 285,
},
{
id: 9,
- name: '9个月'
+ name: '9个月',
+ pointId: 286,
},
{
id: 10,
- name: '10个月'
+ name: '10个月',
+ pointId: 287,
},
],
}
@@ -594,7 +604,7 @@ export default {
{ answerId: 860, emptyOne: 125, emptyTwo: form.contractAmount, operationIds: preId + ',860', type: 3 },
{ answerId: 861, emptyOne: 141, emptyTwo: this.loanTerms.find(e => e.id === form.loanTerm).pointId, operationIds: preId + ',861', type: 1 },
{ answerId: 862, emptyOne: 125, emptyTwo: form.interestStartDate, operationIds: preId + ',862', type: 3 },
- { answerId: 863, emptyOne: 125, emptyTwo: form.repaymentMethod, operationIds: preId + ',863', type: 3 },
+ { answerId: 863, emptyOne: 125, emptyTwo: form.repaymentMethod, operationIds: preId + ',863', type: 1 },
{ answerId: 864, emptyOne: 125, emptyTwo: form.repaymentAccount, operationIds: preId + ',864', type: 3 },
]
await addOperation({
@@ -628,7 +638,7 @@ export default {
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767'
await addOperation({
parentId: preId,
- lcJudgmentRuleReq: [{ answerId: 865, emptyOne: '', emptyTwo: '', operationIds: preId + ',865', type: '' }],
+ lcJudgmentRuleReq: [{ answerId: 865, emptyOne: 151, emptyTwo: this.disbursementDate, operationIds: preId + ',865', type: 3 }],
projectId: +sessionStorage.getItem('projectId'),
startTime: sessionStorage.getItem('startTime')
})
@@ -655,7 +665,7 @@ export default {
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767'
await addOperation({
parentId: preId,
- lcJudgmentRuleReq: [{ answerId: 866, emptyOne: '', emptyTwo: '', operationIds: preId + ',866', type: '' }],
+ lcJudgmentRuleReq: [{ answerId: 866, emptyOne: 152, emptyTwo: this.extensions.find(e => e.id === this.extensionPeriod).pointId, operationIds: preId + ',866', type: 1 }],
projectId: +sessionStorage.getItem('projectId'),
startTime: sessionStorage.getItem('startTime')
})