|
|
@ -1,4 +1,4 @@ |
|
|
|
<!-- 代收电费 --> |
|
|
|
<!-- 公司贷款详情 --> |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<MyTitle :titleArr="['公司贷款', '贷款详情']" /> |
|
|
|
<MyTitle :titleArr="['公司贷款', '贷款详情']" /> |
|
|
@ -8,40 +8,33 @@ |
|
|
|
<h6 class="l-title">信用评估</h6> |
|
|
|
<h6 class="l-title">信用评估</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="账号" prop="customerName"> |
|
|
|
<el-form-item label="账号"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.applicationNumber" disabled /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="证件类型" prop="customerName"> |
|
|
|
<el-form-item label="证件类型"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-select v-model.trim="form.identificationType" placeholder="请选择" disabled> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
<el-option label="统一社会信用代码证" :value="82"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="注册地址" prop="customerName"> |
|
|
|
<el-form-item label="注册地址"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.companyRegisteredAddress" /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="法人证件号码" prop="customerName"> |
|
|
|
<el-form-item label="法人证件号码"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.corporateIdNumber" /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="客户名称" prop="customerName"> |
|
|
|
<el-form-item label="客户名称"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.customerName" disabled /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="证件号码"> |
|
|
|
<el-form-item label="证件号码" required> |
|
|
|
<el-input v-model="form.corporateIdNumber" disabled /> |
|
|
|
<el-input :value="form.mailbox" @input="val => mailBoxListen(val, form, 'mailbox')" maxlength="30" |
|
|
|
|
|
|
|
ref="mailbox"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="法人姓名" prop="customerName"> |
|
|
|
<el-form-item label="法人姓名"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.corporateName" /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="信用评级" prop="customerName"> |
|
|
|
<el-form-item label="信用评级"> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
<el-input v-model="form.creditRating" /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
@ -50,9 +43,8 @@ |
|
|
|
<h6 class="l-title">授信</h6> |
|
|
|
<h6 class="l-title">授信</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="授信金额" prop="customerName"> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-input ref="customerName" :value="form.customerName" |
|
|
|
<el-input v-model="form.creditAmount" disabled /> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
@ -61,19 +53,25 @@ |
|
|
|
<h6 class="l-title">贷款申请</h6> |
|
|
|
<h6 class="l-title">贷款申请</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="授信年限" prop="customerName"> |
|
|
|
<el-form-item label="授信年限" required> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model="form.creditTerm" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option v-for="(item, i) in opt1" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款方式" prop="customerName"> |
|
|
|
<el-form-item label="还款方式" required> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model.trim="form.repaymentMethod" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option v-for="(item, i) in opt2" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="年化利率" prop="customerName"> |
|
|
|
<el-form-item label="年化利率"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="发放方式" prop="customerName"> |
|
|
|
<el-form-item label="发放方式" required> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model.trim="form.distributionMethod" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option v-for="(item, i) in opt3" :key="i" :label="item.name" :value="item.id"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
@ -82,414 +80,153 @@ |
|
|
|
<h6 class="l-title">贷款合同录入</h6> |
|
|
|
<h6 class="l-title">贷款合同录入</h6> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="贷款类型" prop="customerName"> |
|
|
|
<el-form-item label="贷款类型"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select value="企业经营贷款" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option value="企业经营贷款"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="授信金额" prop="customerName"> |
|
|
|
<el-form-item label="授信金额"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input v-model="form.creditAmount" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起息日期" prop="customerName"> |
|
|
|
<el-form-item label="起息日期" prop="valueDate"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-date-picker v-model="form.valueDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
|
|
|
|
value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="计息方式" prop="customerName"> |
|
|
|
<el-form-item label="计息方式"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input value="按LPR浮动计息" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="执行利率" prop="customerName"> |
|
|
|
<el-form-item label="执行利率" prop="executedInterestRate"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input value="3.2%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="担保方式" prop="customerName"> |
|
|
|
<el-form-item label="担保方式"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model="form.guaranteeMethod" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option v-for="(item, i) in loanTerms" :key="i" :label="item.name" :value="item.id"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="利息总额" prop="customerName"> |
|
|
|
<el-form-item label="利息总额"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input v-model="form.totalInterestAmount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款账号" prop="customerName"> |
|
|
|
<el-form-item label="还款账号"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input v-model="form.repaymentAccount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="合同编号" prop="customerName"> |
|
|
|
<el-form-item label="合同编号" prop="contractNo"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input v-model="form.contractNo" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="授信期限" prop="customerName"> |
|
|
|
<el-form-item label="授信期限"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model="form.creditTerm" placeholder="请选择"> |
|
|
|
|
|
|
|
<el-option v-for="(item, i) in loanTerms" :key="i" :label="item.name" :value="item.id"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="到期日期" prop="customerName"> |
|
|
|
<el-form-item label="到期日期"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-date-picker v-model="form.expirationDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" |
|
|
|
|
|
|
|
value-format="yyyy-MM-dd" disabled></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="基准利率" prop="customerName"> |
|
|
|
<el-form-item label="基准利率" prop="baseInterestRate"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input value="3.20%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="逾期利率" prop="customerName"> |
|
|
|
<el-form-item label="逾期利率" prop="overdueInterestRate"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input value="10%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款方式" prop="customerName"> |
|
|
|
<el-form-item label="还款方式" prop="repaymentMethod"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-select v-model="form.repaymentMethod" placeholder="请选择" disabled> |
|
|
|
|
|
|
|
<el-option label="等额本金" :value="1"></el-option> |
|
|
|
|
|
|
|
<el-option label="等额本息" :value="2"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="贷款申请金额" prop="customerName"> |
|
|
|
<el-form-item label="贷款金额"> |
|
|
|
<el-input ref="customerName" :value="form.customerName"></el-input> |
|
|
|
<el-input v-model="form.loanAmount" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" |
|
|
|
<div class="text-center"> |
|
|
|
@submitIt="submitForm2" depositNumber='0816' /> |
|
|
|
<el-button @click="showLoan" type="primary" class="submitBtn" v-throttle>放款</el-button> |
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>下一步</el-button> |
|
|
|
<el-button @click="$router.back()" type="primary" class="submitBtn" v-throttle>关闭</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="放款" :visible.sync="loanVisible" width="300px" z-index="6000" :append-to-body="true"> |
|
|
|
|
|
|
|
<el-date-picker v-model="loanDate" type="date" placeholder="请选择放款日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
|
|
|
|
style="width: 100%;"></el-date-picker> |
|
|
|
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button @click="loanVisible = false">取消</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="loanSubmit">确定</el-button> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen, messageIdCard, messageCard, messagePassword } from '@/utils/utilFunction.js'; |
|
|
|
import { loanDisbursement, companyLoanDetails } from '@/api/http' |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const moduleName = 'usefulPhrases/openAccount' |
|
|
|
|
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
|
|
|
|
|
import NeedBefore from '@/components/needBefore' |
|
|
|
|
|
|
|
import MyDialog from '@/components/dialog' |
|
|
|
|
|
|
|
import TipsBefore from '@/mixins/tipsBefore' |
|
|
|
|
|
|
|
import MyTitle from '@/components/myTitle' |
|
|
|
import MyTitle from '@/components/myTitle' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: '', |
|
|
|
|
|
|
|
props: {}, |
|
|
|
|
|
|
|
components: { |
|
|
|
components: { |
|
|
|
NeedBefore, |
|
|
|
|
|
|
|
MyTitle, |
|
|
|
MyTitle, |
|
|
|
MyDialog |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mixins: [TipsBefore], |
|
|
|
|
|
|
|
created () { |
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) { |
|
|
|
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { |
|
|
|
|
|
|
|
// this.idNumberJudge = true |
|
|
|
|
|
|
|
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) { |
|
|
|
|
|
|
|
// this.cardNumberJudge = true |
|
|
|
|
|
|
|
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { |
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
|
|
|
// 身份证号码、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
|
|
|
|
|
|
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow |
|
|
|
|
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
|
|
|
this.form.customerName = userName |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
this.form.voucherType = 127 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard')) { |
|
|
|
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
|
|
|
const { voucherNumber } = this.dataFlow |
|
|
|
|
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getFormData() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
moduleName: 'usefulPhrases/openAccount', |
|
|
|
id: this.$route.query.id, |
|
|
|
visible: false, |
|
|
|
|
|
|
|
cardNumberJudge: false, |
|
|
|
|
|
|
|
idNumberJudge: false, |
|
|
|
|
|
|
|
form: { |
|
|
|
form: { |
|
|
|
// 必填项 |
|
|
|
applicationAccount: '', |
|
|
|
// identityCard: '', // 身份证 |
|
|
|
customerName: '', |
|
|
|
idNumber: '', |
|
|
|
identificationType: '', |
|
|
|
customerName: '', // 客户姓名 |
|
|
|
identificationNumber: '', |
|
|
|
currency: '', // 币种 |
|
|
|
contactPhoneNumber: '', |
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
companyRegisteredAddress: '', |
|
|
|
voucherType: '', // 凭证类型 |
|
|
|
corporateName: '', |
|
|
|
monthDeposit: '', // 月存金额 |
|
|
|
corporateIdNumber: '', |
|
|
|
depositTerm: '', // 存期 |
|
|
|
contactPhoneNumber: '', |
|
|
|
extendDepositTarget: '', // 续存标识 |
|
|
|
currency: 12, |
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
accountType: 97, |
|
|
|
drawPassword: '', // 支付密码 |
|
|
|
interestRate: 3.2, |
|
|
|
// 非必填项 |
|
|
|
interestCalculationMethod: 83, |
|
|
|
clientNumber: '', // 客户号 |
|
|
|
withdrawalMethod: 114, |
|
|
|
certificateType: 83, // 证件类型 |
|
|
|
numberOfEmployees: '', |
|
|
|
}, |
|
|
|
yearOfEstablishment: '', |
|
|
|
formName: { |
|
|
|
registrationType: '', |
|
|
|
// 必填项 |
|
|
|
mainBusinessScope: '', |
|
|
|
// identityCard: '', // 身份证 |
|
|
|
expirationDateOfBusinessLicense: '', |
|
|
|
idNumber: '身份证', |
|
|
|
financialReportSubmissionMethod: '', |
|
|
|
customerName: '客户姓名', // |
|
|
|
natureOfBorrower: '', |
|
|
|
currency: '币种', // |
|
|
|
}, |
|
|
|
goldLogo: '钞汇标识', // |
|
|
|
loanDate: '', |
|
|
|
voucherType: '凭证类型', // |
|
|
|
loanVisible: false, |
|
|
|
monthDeposit: '月存金额', // |
|
|
|
|
|
|
|
depositTerm: '存期', // |
|
|
|
|
|
|
|
extendDepositTarget: '续存标识', // |
|
|
|
|
|
|
|
voucherNumber: '凭证号码', // |
|
|
|
|
|
|
|
drawPassword: '支付密码', // |
|
|
|
|
|
|
|
// 非必填项 |
|
|
|
|
|
|
|
clientNumber: '客户号', // |
|
|
|
|
|
|
|
certificateType: '证件类型', // |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
rules: { |
|
|
|
|
|
|
|
customerName: vercustomer, |
|
|
|
|
|
|
|
currency: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择币种', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
goldLogo: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择钞汇标识', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
voucherType: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择凭证类型', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
monthDeposit: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请输入月存金额', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
depositTerm: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择存期', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
extendDepositTarget: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择续存标识', |
|
|
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
myTable2: { |
|
|
|
|
|
|
|
158: { |
|
|
|
|
|
|
|
prop: 'certificateType',//证件类型 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 19, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 169: { |
|
|
|
|
|
|
|
// prop: 'customerManage',//客户经理 |
|
|
|
|
|
|
|
// type: '3', |
|
|
|
|
|
|
|
// "subjectId": 27, |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
160: { |
|
|
|
|
|
|
|
prop: 'clientNumber',//客户号 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 6, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
myTable: { |
|
|
|
|
|
|
|
159: { |
|
|
|
|
|
|
|
prop: 'idNumber',// 身份证号码 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
161: { |
|
|
|
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 7, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
162: { |
|
|
|
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 8, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
163: { |
|
|
|
|
|
|
|
prop: 'goldLogo',//钞汇标识 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 9, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
164: { |
|
|
|
|
|
|
|
prop: 'voucherType',//凭证类型 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 11, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
166: { |
|
|
|
|
|
|
|
prop: 'voucherNumber',//凭证号码 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 44, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
167: { |
|
|
|
|
|
|
|
prop: 'drawPassword', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 17, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
168: { |
|
|
|
|
|
|
|
prop: 'monthDeposit',//月存金额 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 31, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
170: { |
|
|
|
|
|
|
|
prop: 'extendDepositTarget',//续存标识 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 37, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submited: 0 |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
mounted () { |
|
|
|
|
|
|
|
this.getDetail() |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// userName, |
|
|
|
// 查询详情 |
|
|
|
// peopleNumber, |
|
|
|
async getDetail () { |
|
|
|
// idNumber, |
|
|
|
if (this.id) { |
|
|
|
// currency:'CNY人民币', |
|
|
|
// 查看及展期 |
|
|
|
// goldLogo:'钞户', |
|
|
|
const { data } = await companyLoanDetails(this.id) |
|
|
|
...mapMutations({ |
|
|
|
this.form = data.bankCreditEvaluation |
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
} |
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
}, |
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
// 展示放款弹框 |
|
|
|
setPopId: 'system/setPopId', |
|
|
|
showLoan () { |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
this.loanVisible = true |
|
|
|
}), |
|
|
|
}, |
|
|
|
getDataBlur () { |
|
|
|
// 放款 |
|
|
|
// console.log('???') |
|
|
|
async loanSubmit () { |
|
|
|
}, |
|
|
|
if (!this.loanDate) return this.$message.error('请选择放款日期!') |
|
|
|
popUp1 (text) { |
|
|
|
const { data } = await loanDisbursement({ |
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
companyLoanId: this.form.contractId, |
|
|
|
this.setPopId('1399') |
|
|
|
loanDate: this.loanDate, |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
}) |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
}, |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
popUp2 (text) { |
|
|
|
|
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
|
|
|
|
this.setPopId('166') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
popUp3 (text) { |
|
|
|
|
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
|
|
|
|
this.setPopId('167') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
getFormData () { |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155' |
|
|
|
|
|
|
|
const cards = { |
|
|
|
|
|
|
|
// 1399: 'nomUsefulPhrasesOpenCard2', |
|
|
|
|
|
|
|
// 166: 'nomUsefulPhrasesOpenCard', |
|
|
|
|
|
|
|
// 167: 'nomUsefulPhrasesOpenPassword' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const callback = () => { |
|
|
|
|
|
|
|
if (this.form.idNumber) { |
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.form.voucherNumber) { |
|
|
|
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) { |
|
|
|
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submitForm () { |
|
|
|
|
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
|
|
|
|
if (!this.form.idNumber) { |
|
|
|
|
|
|
|
messageIdCard() |
|
|
|
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
// let formList = [ |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// "answerId":'159', |
|
|
|
|
|
|
|
// "emptyOne": "", |
|
|
|
|
|
|
|
// "emptyTwo": "", |
|
|
|
|
|
|
|
// "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,59,155,159,13", |
|
|
|
|
|
|
|
// "type": "" |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// ] |
|
|
|
|
|
|
|
// let params= { |
|
|
|
|
|
|
|
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155,159', |
|
|
|
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
// projectId:+projectId, |
|
|
|
|
|
|
|
// startTime:startTime, |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
// this.$message({ |
|
|
|
|
|
|
|
// message: '提交成功', |
|
|
|
|
|
|
|
// type: 'success' |
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (!this.form.voucherNumber) { |
|
|
|
|
|
|
|
messageCard('请填写凭证号码') |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!this.form.drawPassword) { |
|
|
|
|
|
|
|
messagePassword() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
|
|
|
this.visible = true; |
|
|
|
|
|
|
|
}, this.$refs)); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submitForm2 () { |
|
|
|
|
|
|
|
// let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard') |
|
|
|
|
|
|
|
// let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2') |
|
|
|
|
|
|
|
// let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155' |
|
|
|
|
|
|
|
const cards = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
key: '159,13' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 1399: nomUsefulPhrasesOpenCard2 |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 166: nomUsefulPhrasesOpenCard |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 167: nomUsefulPhrasesOpenPassword, |
|
|
|
|
|
|
|
// "subjectId": 17, |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
this.setDataFlow(this.form) |
|
|
|
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
|
|
|
this.submited = 1 |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
ismoney: ismoney, |
|
|
|
|
|
|
|
checkHanzi: checkHanzi, |
|
|
|
|
|
|
|
checkName: checkName, |
|
|
|
|
|
|
|
inputListen: inputListen |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
|
|
|
|
...mapGetters({ |
|
|
|
|
|
|
|
dataFlow: 'system/dataFlow', |
|
|
|
|
|
|
|
needsModule: 'system/needsModule', |
|
|
|
|
|
|
|
idCardNumber: 'system/idCardNumber', |
|
|
|
|
|
|
|
inMyWork: 'system/inMyWork', |
|
|
|
|
|
|
|
getSelectList: 'system/getSelectList' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang='scss' scoped> |
|
|
|
<style lang='scss' scoped> |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: calc(90vh - 70px); |
|
|
|
height: calc(100vh - 118px); |
|
|
|
padding: 20px; |
|
|
|
padding: 20px; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
|
|
|