|
|
@ -4,42 +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"> |
|
|
|
<div class="idCard" @click="popUp('银行卡扫描器')"> |
|
|
|
<el-option label="身份证" value="身份证"> </el-option> |
|
|
|
<p>请填凭证号</p> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber"> |
|
|
|
<el-form-item label="凭证号码" prop="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 label="客户号" prop="customerNumber"> |
|
|
|
|
|
|
|
<el-input v-model="form.customerNumber"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</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="起息日期" required> |
|
|
|
<el-form-item label="支取类别" prop="payType"> |
|
|
|
<div class="idCard" @click="popUp('密码器')"> |
|
|
|
<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> |
|
|
|
<p>请输入密码</p> |
|
|
|
</div> |
|
|
|
</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="popUp('身份证扫描器')"> |
|
|
|
<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> |
|
|
@ -49,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="popUp2('密码器')"> |
|
|
|
|
|
|
|
<p>请填凭证号码</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
@ -105,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, |
|
|
@ -138,95 +173,114 @@ export default{ |
|
|
|
// depositDate: '', // 存期 |
|
|
|
// depositDate: '', // 存期 |
|
|
|
// interest: '', // 利息 |
|
|
|
// interest: '', // 利息 |
|
|
|
// totalMoney: '', // 总金额 |
|
|
|
// totalMoney: '', // 总金额 |
|
|
|
|
|
|
|
// certificateType: '', //证件类型 |
|
|
|
|
|
|
|
// breathDate: '', // 起息日期 |
|
|
|
|
|
|
|
|
|
|
|
210: { |
|
|
|
302: { |
|
|
|
prop: 'clientName',//证件类型 |
|
|
|
prop: 'certificateType', |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 19, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
305: { |
|
|
|
|
|
|
|
prop: 'clientName', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
"subjectId": 7, |
|
|
|
"subjectId": 7, |
|
|
|
}, |
|
|
|
}, |
|
|
|
212: { |
|
|
|
307: { |
|
|
|
prop: 'currencyMark',//钞汇标识 |
|
|
|
prop: 'currencyMark',//钞汇标识 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 9, |
|
|
|
"subjectId": 9, |
|
|
|
}, |
|
|
|
}, |
|
|
|
213: { |
|
|
|
308: { |
|
|
|
prop: 'depositNumber',//定存编号 |
|
|
|
prop: 'depositNumber',//定存编号 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 33, |
|
|
|
"subjectId": 33, |
|
|
|
}, |
|
|
|
}, |
|
|
|
214: { |
|
|
|
309: { |
|
|
|
prop: 'capital',//本金 |
|
|
|
prop: 'capital',//本金 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 34, |
|
|
|
"subjectId": 34, |
|
|
|
}, |
|
|
|
}, |
|
|
|
215: { |
|
|
|
310: { |
|
|
|
prop: 'interestRate',//利率 |
|
|
|
prop: 'interestRate',//利率 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 29, |
|
|
|
"subjectId": 29, |
|
|
|
}, |
|
|
|
}, |
|
|
|
216: { |
|
|
|
311: { |
|
|
|
prop: 'depositDate',//存期 |
|
|
|
prop: 'depositDate',//存期 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 27, |
|
|
|
"subjectId": 27, |
|
|
|
}, |
|
|
|
}, |
|
|
|
217: { |
|
|
|
312: { |
|
|
|
prop: 'interest',//利息 |
|
|
|
prop: 'interest',//利息 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 26, |
|
|
|
"subjectId": 26, |
|
|
|
}, |
|
|
|
}, |
|
|
|
218: { |
|
|
|
313: { |
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 45, |
|
|
|
"subjectId": 45, |
|
|
|
}, |
|
|
|
}, |
|
|
|
219: { |
|
|
|
314: { |
|
|
|
prop: 'breathDate',//起息日期 |
|
|
|
prop: 'breathDate',//起息日期 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 32, |
|
|
|
"subjectId": 32, |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
myTable2: { |
|
|
|
myTable2: { |
|
|
|
209: { |
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
prop: 'voucherNumber', |
|
|
|
// currency: 'CYN人民币', // 币种 |
|
|
|
type: '3' |
|
|
|
|
|
|
|
}, |
|
|
|
// 304: { |
|
|
|
211: { |
|
|
|
// prop: 'voucherNumber', |
|
|
|
|
|
|
|
// type: '3', |
|
|
|
|
|
|
|
// "subjectId": 44, |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
306: { |
|
|
|
prop: 'currency',//币种 |
|
|
|
prop: 'currency',//币种 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 8, |
|
|
|
"subjectId": 8, |
|
|
|
}, |
|
|
|
|
|
|
|
207: { |
|
|
|
|
|
|
|
prop: 'certificateType', |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 19, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
this.$refs.clientName.focus() |
|
|
|
this.$refs.clientName.focus() |
|
|
|
const parentId = '0,5,26,60,194' |
|
|
|
const parentId = '0,5,26,38,289' |
|
|
|
const cards = { |
|
|
|
const cards = { |
|
|
|
220: 'nomCallDepositClosedPassword' |
|
|
|
303: 'nomCallDepositCard', |
|
|
|
|
|
|
|
304: 'nomCallDepositCard2', |
|
|
|
|
|
|
|
315: 'nomCallDepositClosedPassword' |
|
|
|
} |
|
|
|
} |
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
popUp(text) { |
|
|
|
popUp(text) { |
|
|
|
this.$store.commit('system/changePop',{show:true,text}) |
|
|
|
this.$store.commit('system/changePop',{show:true,text, id: '303'}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp2(text) { |
|
|
|
popUp2(text) { |
|
|
|
this.$store.commit('system/changePop',{show:true,text, id: '220'}) |
|
|
|
this.$store.commit('system/changePop',{show:true,text, id: '304'}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
popUp3(text) { |
|
|
|
|
|
|
|
this.$store.commit('system/changePop',{show:true,text, id: '315'}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
submitForm() { |
|
|
|
submitForm() { |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
// 验证通过逻辑写在这 |
|
|
|
// 验证通过逻辑写在这 |
|
|
|
this.visible = true; |
|
|
|
this.visible = true; |
|
|
|
const parentId = '0,5,26,60,194' |
|
|
|
const parentId = '0,5,26,38,289' |
|
|
|
|
|
|
|
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard') |
|
|
|
|
|
|
|
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') |
|
|
|
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
const cards = [ |
|
|
|
const cards = [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
220: nomCallDepositClosedPassword, |
|
|
|
303: nomCallDepositCard |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
304: nomCallDepositCard2 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
315: nomCallDepositClosedPassword, |
|
|
|
"subjectId": 17, |
|
|
|
"subjectId": 17, |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|