|
|
@ -4,43 +4,66 @@ |
|
|
|
<el-row :gutter="20" style="margin: 0"> |
|
|
|
<el-row :gutter="20" style="margin: 0"> |
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="证件类型" prop="certificateType"> |
|
|
|
<el-form-item label="凭证号码" required=""> |
|
|
|
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType"> |
|
|
|
|
|
|
|
<el-option label="身份证" value="身份证"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="凭证号码" prop="voucherNumber"> |
|
|
|
|
|
|
|
<div class="idCard" @click="popUp('银行卡扫描器')"> |
|
|
|
<div class="idCard" @click="popUp('银行卡扫描器')"> |
|
|
|
<p>请刷银行卡</p> |
|
|
|
<p>请填凭证号</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber"> |
|
|
|
<!-- <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber"> |
|
|
|
<el-option label="存单" value="存单"> </el-option> |
|
|
|
<el-option label="存单" value="存单"> </el-option> |
|
|
|
</el-select> --> |
|
|
|
</el-select> --> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="客户号" prop="customerNumber"> |
|
|
|
|
|
|
|
<el-input v-model="form.customerNumber"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
<el-select v-model="form.currency" placeholder="请选择" ref="currency"> |
|
|
|
<el-select v-model="form.currency" placeholder="请选择" ref="currency"> |
|
|
|
<el-option label="CYN人民币" value="CYN人民币"> </el-option> |
|
|
|
<el-option label="CYN人民币" value="CYN人民币"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
<el-form-item label="通知类型" prop="noticeType"> |
|
|
|
<el-input v-model="form.depositNumber"></el-input> |
|
|
|
<el-select v-model="form.noticeType" placeholder="请选择" ref="noticeType"> |
|
|
|
|
|
|
|
<el-option label="1天" value="1天"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="利率(%)" prop="interestRate"> |
|
|
|
<el-form-item label="起息日期" prop="breathDate"> |
|
|
|
<el-input :value="form.interestRate" @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input> |
|
|
|
<el-input v-model="breathDate"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="利息" prop="interest"> |
|
|
|
<el-form-item label="利息" prop="interest"> |
|
|
|
<el-input :value="form.interest" @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input> |
|
|
|
<el-input :value="form.interest" @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起息日期" prop="breathDate"> |
|
|
|
<el-form-item label="支取类别" prop="payType"> |
|
|
|
<el-input v-model="breathDate"></el-input> |
|
|
|
<el-select v-model="form.payType" placeholder="请选择" ref="payType"> |
|
|
|
|
|
|
|
<el-option label="现金" value="现金"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="证件类型" prop="certificateType"> |
|
|
|
|
|
|
|
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType"> |
|
|
|
|
|
|
|
<el-option label="身份证" value="身份证"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
|
|
|
|
<div class="idCard" @click="popUp3('密码器')"> |
|
|
|
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="利率(%)" prop="interestRate"> |
|
|
|
|
|
|
|
<el-input :value="form.interestRate" @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input> |
|
|
|
|
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form-item label="身份证" required> |
|
|
|
<el-form-item label="凭证类型" prop="depositDate"> |
|
|
|
<div class="idCard" @click="popUp2('身份证扫描器')"> |
|
|
|
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType"> |
|
|
|
<p>请刷身份证</p> |
|
|
|
<el-option label="存单" value="存单"> </el-option> |
|
|
|
</div> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户姓名" prop="clientName"> |
|
|
|
<el-form-item label="客户姓名" prop="clientName"> |
|
|
|
<el-input :value="form.clientName" @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> |
|
|
|
<el-input :value="form.clientName" @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> |
|
|
@ -50,22 +73,29 @@ |
|
|
|
<el-option label="钞户" value="钞户"> </el-option> |
|
|
|
<el-option label="钞户" value="钞户"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
|
|
|
|
<el-input v-model="form.depositNumber"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="本金" prop="capital"> |
|
|
|
<el-form-item label="本金" prop="capital"> |
|
|
|
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> |
|
|
|
<el-input :value="form.capital" @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="存期" prop="depositDate"> |
|
|
|
<el-form-item label="总金额" prop="totalMoney"> |
|
|
|
|
|
|
|
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="支取金额" prop="payMoney"> |
|
|
|
|
|
|
|
<el-input :value="form.payMoney" @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- <el-form-item label="存期" prop="depositDate"> |
|
|
|
<el-select v-model="form.depositDate" placeholder="请选择" ref="depositDate"> |
|
|
|
<el-select v-model="form.depositDate" placeholder="请选择" ref="depositDate"> |
|
|
|
<el-option label="1年" value="1年"> </el-option> |
|
|
|
<el-option label="1年" value="1年"> </el-option> |
|
|
|
<el-option label="3年" value="3年"> </el-option> |
|
|
|
<el-option label="3年" value="3年"> </el-option> |
|
|
|
<el-option label="5年" value="5年"> </el-option> |
|
|
|
<el-option label="5年" value="5年"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> --> |
|
|
|
<el-form-item label="总金额" prop="totalMoney"> |
|
|
|
|
|
|
|
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> |
|
|
|
<el-form-item label="身份证" required> |
|
|
|
</el-form-item> |
|
|
|
<div class="idCard" @click="popUp2('身份证扫描器')"> |
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
<p>请刷身份证</p> |
|
|
|
<div class="idCard" @click="popUp3('密码器')"> |
|
|
|
|
|
|
|
<p>请填凭证号码</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
@ -106,23 +136,27 @@ export default{ |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
certificateType: '', //证件类型 |
|
|
|
certificateType: '', //证件类型 |
|
|
|
breathDate: '', // 起息日期 |
|
|
|
breathDate: '', // 起息日期 |
|
|
|
|
|
|
|
customerNumber: '', // 客户号(未对标) |
|
|
|
|
|
|
|
noticeType: '', // 通知类型(未对标) |
|
|
|
|
|
|
|
payType: '', // 支取类别(未对标) |
|
|
|
|
|
|
|
payMoney: '', // 支取金额(未对标) |
|
|
|
|
|
|
|
voucherType: '', // 凭证类型(未对标) |
|
|
|
}, |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
rules: { |
|
|
|
clientName: vercustomer, |
|
|
|
clientName: { |
|
|
|
currency: [ |
|
|
|
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/, |
|
|
|
{ |
|
|
|
message: '该名字格式有误' |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
message: '请选择币种', |
|
|
|
voucherNumber: { |
|
|
|
trigger: 'blur' |
|
|
|
required: true, |
|
|
|
} |
|
|
|
message: '请填写凭证号码', |
|
|
|
], |
|
|
|
trigger: 'blur' |
|
|
|
certificateType: [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
payMoney: { |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: '请选择证件类型', |
|
|
|
message: '请填写支取金额', |
|
|
|
trigger: 'blur' |
|
|
|
trigger: 'blur' |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|
|
|
|
|
interestRate: [ |
|
|
|
interestRate: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
pattern: ratePattern, |
|
|
|
pattern: ratePattern, |
|
|
|