Browse Source

完善贷前信用审核、贷前信用金融内勤审核

zhanglei
yunuo970428 2 years ago
parent
commit
11e43b1ec3
  1. 2
      anrui-riskcenter-ui/src/views/creditauditmanagement/creditauditmanagementAdd.vue
  2. 86
      anrui-riskcenter-ui/src/views/financialclerkbycreditvetting/financialclerkbycreditvettingAdd.vue

2
anrui-riskcenter-ui/src/views/creditauditmanagement/creditauditmanagementAdd.vue

@ -379,8 +379,10 @@ export default {
const choose = this.customer_list.filter((item) => item.name === value)
if (choose.length > 0) {
this.formobj.custSid = choose[0].sid
this.formobj.mobile = choose[0].mobile
} else {
this.formobj.custSid = ''
this.formobj.mobile = ''
}
},
capitalChange(value) {

86
anrui-riskcenter-ui/src/views/financialclerkbycreditvetting/financialclerkbycreditvettingAdd.vue

@ -323,36 +323,78 @@ export default {
saveOrUpdate() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.getUrl()
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
if (this.formobj.zffkjg === '' || this.formobj.gsfkjg === '') {
this.$confirm('仅填写了部分审核结果,是否继续提交', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.getUrl()
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
})
} else {
this.getUrl()
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
})
}
}
})
},
handleConfirm() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.getUrl()
this.submitdisabled = true
req.finStaffConfirm(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
this.handleReturn('true')
} else {
if (this.formobj.zffkjg === '' || this.formobj.gsfkjg === '') {
this.$confirm('仅填写了部分审核结果,是否继续提交', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.getUrl()
this.submitdisabled = true
req.finStaffConfirm(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
})
} else {
this.getUrl()
this.submitdisabled = true
req.finStaffConfirm(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
})
}
}
})
},

Loading…
Cancel
Save