|
|
@ -1,458 +1,549 @@ |
|
|
|
// 销户 |
|
|
|
// 销户 |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="body"> |
|
|
|
<div class="body"> |
|
|
|
<el-row :gutter="20" style="margin: 0"> |
|
|
|
<el-row :gutter="20" |
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
style="margin: 0"> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-form ref="form" |
|
|
|
<el-form-item label="凭证号码" required=""> |
|
|
|
:model="form" |
|
|
|
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
label-width="120px" |
|
|
|
|
|
|
|
:rules="rules"> |
|
|
|
|
|
|
|
<el-col :span="10" |
|
|
|
|
|
|
|
:offset="1"> |
|
|
|
|
|
|
|
<el-form-item label="凭证号码" |
|
|
|
|
|
|
|
required=""> |
|
|
|
|
|
|
|
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
<p>请刷卡</p> |
|
|
|
<p>请刷卡</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-else> |
|
|
|
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
</div> --> |
|
|
|
</div> --> |
|
|
|
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
<el-input @blur="getDataBlur" |
|
|
|
</el-form-item> |
|
|
|
ref="voucherNumber" |
|
|
|
<el-form-item label="客户号" prop="customerNumber"> |
|
|
|
:value="form.voucherNumber" |
|
|
|
<el-input v-model.trim="form.customerNumber" disabled></el-input> |
|
|
|
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
<el-form-item label="客户号" |
|
|
|
<el-select v-model.trim="form.currency" disabled placeholder="请选择" ref="currency"> |
|
|
|
prop="customerNumber"> |
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
<el-input v-model.trim="form.customerNumber" |
|
|
|
</el-select> |
|
|
|
disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="通知类型" prop="noticeType"> |
|
|
|
<el-form-item label="币种" |
|
|
|
<el-select v-model.trim="form.noticeType" disabled placeholder="请选择" ref="noticeType"> |
|
|
|
prop="currency"> |
|
|
|
<el-option label="1天" :value="95"> </el-option> |
|
|
|
<el-select v-model.trim="form.currency" |
|
|
|
<el-option label="7天" :value="96"> </el-option> |
|
|
|
disabled |
|
|
|
</el-select> |
|
|
|
placeholder="请选择" |
|
|
|
</el-form-item> |
|
|
|
ref="currency"> |
|
|
|
<el-form-item label="起息日期" prop="breathDate"> |
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" |
|
|
|
<el-input v-model.trim="form.breathDate" ></el-input> |
|
|
|
:label="item.options" |
|
|
|
</el-form-item> |
|
|
|
:value="item.itemId" |
|
|
|
<el-form-item label="利息" prop="interest"> |
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
<el-input :value="form.interest" disabled @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="支取类别" prop="drawWayType"> |
|
|
|
<el-form-item label="通知类型" |
|
|
|
<el-select v-model.trim="form.drawWayType" disabled placeholder="请选择" ref="drawWayType"> |
|
|
|
prop="noticeType"> |
|
|
|
<el-option label="现金" :value="133"> </el-option> |
|
|
|
<el-select v-model.trim="form.noticeType" |
|
|
|
</el-select> |
|
|
|
disabled |
|
|
|
</el-form-item> |
|
|
|
placeholder="请选择" |
|
|
|
<el-form-item label="证件类型" prop="certificateType"> |
|
|
|
ref="noticeType"> |
|
|
|
<el-select v-model.trim="form.certificateType" disabled placeholder="请选择" ref="certificateType"> |
|
|
|
<el-option label="1天" |
|
|
|
<el-option label="身份证" :value="83"> </el-option> |
|
|
|
:value="95"> </el-option> |
|
|
|
</el-select> |
|
|
|
<el-option label="7天" |
|
|
|
</el-form-item> |
|
|
|
:value="96"> </el-option> |
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
</el-select> |
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')"> |
|
|
|
</el-form-item> |
|
|
|
<p>请输入密码</p> |
|
|
|
<el-form-item label="起息日期" |
|
|
|
</div> |
|
|
|
prop="breathDate"> |
|
|
|
<div v-else @click="popUp3('密码器')"> |
|
|
|
<el-input autocomplete="off" |
|
|
|
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> |
|
|
|
v-model.trim="form.breathDate"></el-input> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="利息" |
|
|
|
|
|
|
|
prop="interest"> |
|
|
|
|
|
|
|
<el-input :value="form.interest" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="val => ismoney(val, form, 'interest')" |
|
|
|
|
|
|
|
ref="interest"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="支取类别" |
|
|
|
|
|
|
|
prop="drawWayType"> |
|
|
|
|
|
|
|
<el-select v-model.trim="form.drawWayType" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="drawWayType"> |
|
|
|
|
|
|
|
<el-option label="现金" |
|
|
|
|
|
|
|
:value="133"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="证件类型" |
|
|
|
|
|
|
|
prop="certificateType"> |
|
|
|
|
|
|
|
<el-select v-model.trim="form.certificateType" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="certificateType"> |
|
|
|
|
|
|
|
<el-option label="身份证" |
|
|
|
|
|
|
|
:value="83"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="支取密码" |
|
|
|
|
|
|
|
required> |
|
|
|
|
|
|
|
<div v-if='!form.drawPassword' |
|
|
|
|
|
|
|
class="idCard" |
|
|
|
|
|
|
|
@click="popUp3('密码器')"> |
|
|
|
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-else |
|
|
|
|
|
|
|
@click="popUp3('密码器')"> |
|
|
|
|
|
|
|
<el-input :value="form.drawPassword" |
|
|
|
|
|
|
|
ref="drawPassword" |
|
|
|
|
|
|
|
type="password"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" |
|
|
|
<el-form-item label="凭证类型" prop="voucherType"> |
|
|
|
:offset="1"> |
|
|
|
<el-select v-model.trim="form.voucherType" disabled placeholder="请选择" ref="voucherType"> |
|
|
|
<el-form-item label="凭证类型" |
|
|
|
<el-option label="存单" :value="123"> </el-option> |
|
|
|
prop="voucherType"> |
|
|
|
</el-select> |
|
|
|
<el-select v-model.trim="form.voucherType" |
|
|
|
</el-form-item> |
|
|
|
disabled |
|
|
|
<el-form-item label="客户姓名" prop="clientName"> |
|
|
|
placeholder="请选择" |
|
|
|
<el-input :value="form.clientName" disabled @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> |
|
|
|
ref="voucherType"> |
|
|
|
</el-form-item> |
|
|
|
<el-option label="存单" |
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo"> |
|
|
|
:value="123"> </el-option> |
|
|
|
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> |
|
|
|
</el-select> |
|
|
|
<el-option v-for="item in getSelectList.goldLogo" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
</el-form-item> |
|
|
|
</el-select> |
|
|
|
<el-form-item label="客户姓名" |
|
|
|
</el-form-item> |
|
|
|
prop="clientName"> |
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
<el-input :value="form.clientName" |
|
|
|
<el-input disabled v-model.trim="form.depositNumber"></el-input> |
|
|
|
disabled |
|
|
|
</el-form-item> |
|
|
|
@input="(val) => checkName(val, form, 'clientName')" |
|
|
|
<el-form-item label="本金" prop="capital"> |
|
|
|
ref="clientName"></el-input> |
|
|
|
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="钞汇标识" |
|
|
|
<el-form-item label="总金额" prop="totalMoney"> |
|
|
|
prop="goldLogo"> |
|
|
|
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> |
|
|
|
<el-select v-model.trim="form.goldLogo" |
|
|
|
</el-form-item> |
|
|
|
disabled |
|
|
|
<el-form-item label="支取金额" prop="payMoney"> |
|
|
|
placeholder="请选择" |
|
|
|
<el-input :value="form.payMoney" disabled @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input> |
|
|
|
ref="goldLogo"> |
|
|
|
</el-form-item> |
|
|
|
<el-option v-for="item in getSelectList.goldLogo" |
|
|
|
|
|
|
|
:label="item.options" |
|
|
|
<el-form-item label="证件号码" required> |
|
|
|
:value="item.itemId" |
|
|
|
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
<p>请刷身份证</p> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
<div v-else> |
|
|
|
<el-form-item label="定存编号" |
|
|
|
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> |
|
|
|
prop="depositNumber"> |
|
|
|
</div> |
|
|
|
<el-input disabled |
|
|
|
</el-form-item> |
|
|
|
v-model.trim="form.depositNumber"></el-input> |
|
|
|
</el-col> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="本金" |
|
|
|
</el-form> |
|
|
|
prop="capital"> |
|
|
|
</el-row> |
|
|
|
<el-input :value="form.capital" |
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
disabled |
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0812' /> |
|
|
|
@input="val => ismoney(val, form, 'capital')" |
|
|
|
</div> |
|
|
|
ref="capital"></el-input> |
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="总金额" |
|
|
|
|
|
|
|
prop="totalMoney"> |
|
|
|
|
|
|
|
<el-input :value="form.totalMoney" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="val => ismoney(val, form, 'totalMoney')" |
|
|
|
|
|
|
|
ref="totalMoney"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="支取金额" |
|
|
|
|
|
|
|
prop="payMoney"> |
|
|
|
|
|
|
|
<el-input :value="form.payMoney" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="val => ismoney(val, form, 'payMoney')" |
|
|
|
|
|
|
|
ref="payMoney"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="证件号码" |
|
|
|
|
|
|
|
required> |
|
|
|
|
|
|
|
<div class="idCard" |
|
|
|
|
|
|
|
@click="popUp2('身份证扫描仪')" |
|
|
|
|
|
|
|
v-if='!idNumberJudge'> |
|
|
|
|
|
|
|
<p>请刷身份证</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-else> |
|
|
|
|
|
|
|
<el-input :value="form.idNumber" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
ref="idNumber"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-button @click="submitForm" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
class="submitBtn" |
|
|
|
|
|
|
|
v-throttle>提交</el-button> |
|
|
|
|
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
|
|
|
v-if="visible" |
|
|
|
|
|
|
|
:visible.sync="visible" |
|
|
|
|
|
|
|
:showForm="form" |
|
|
|
|
|
|
|
:formName="formName" |
|
|
|
|
|
|
|
@submitIt="submitForm2" |
|
|
|
|
|
|
|
depositNumber='0812' /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword, inputListen } from '@/utils/utilFunction.js' |
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard, messageCard, messagePassword, inputListen } from '@/utils/utilFunction.js' |
|
|
|
|
|
|
|
|
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
|
import NeedBefore from '@/components/needBefore' |
|
|
|
import NeedBefore from '@/components/needBefore' |
|
|
|
import MyDialog from '@/components/dialog' |
|
|
|
import MyDialog from '@/components/dialog' |
|
|
|
import TipsBefore from '@/mixins/tipsBefore' |
|
|
|
import TipsBefore from '@/mixins/tipsBefore' |
|
|
|
const moduleName = 'callDeposits/accountClosed' |
|
|
|
const moduleName = 'callDeposits/accountClosed' |
|
|
|
export default{ |
|
|
|
export default { |
|
|
|
name:'', |
|
|
|
name: '', |
|
|
|
props:{}, |
|
|
|
props: {}, |
|
|
|
mixins: [ TipsBefore ], |
|
|
|
mixins: [TipsBefore], |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
NeedBefore, |
|
|
|
NeedBefore, |
|
|
|
MyDialog |
|
|
|
MyDialog |
|
|
|
}, |
|
|
|
}, |
|
|
|
data(){ |
|
|
|
data () { |
|
|
|
return{ |
|
|
|
return { |
|
|
|
moduleName: 'callDeposits/accountClosed', |
|
|
|
moduleName: 'callDeposits/accountClosed', |
|
|
|
idNumberJudge: false, |
|
|
|
idNumberJudge: false, |
|
|
|
cardNumberJudge: false, |
|
|
|
cardNumberJudge: false, |
|
|
|
visible: false, |
|
|
|
visible: false, |
|
|
|
form:{ |
|
|
|
form: { |
|
|
|
// 必填项 |
|
|
|
// 必填项 |
|
|
|
payMoney: '', // 支取金额(未对标) |
|
|
|
payMoney: '', // 支取金额(未对标) |
|
|
|
idNumber: '', // 身份证号码 |
|
|
|
idNumber: '', // 身份证号码 |
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
drawPassword: '', // 支付密码 |
|
|
|
drawPassword: '', // 支付密码 |
|
|
|
// 非必填项 |
|
|
|
// 非必填项 |
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
currency: '', // 币种 |
|
|
|
currency: '', // 币种 |
|
|
|
clientName: '', // 客户姓名 |
|
|
|
clientName: '', // 客户姓名 |
|
|
|
goldLogo: '钞户', // 钞汇标识 |
|
|
|
goldLogo: '钞户', // 钞汇标识 |
|
|
|
depositNumber: '', // 定存编号 |
|
|
|
depositNumber: '', // 定存编号 |
|
|
|
capital: '', // 本金 |
|
|
|
capital: '', // 本金 |
|
|
|
interestRate: '', // 利率 |
|
|
|
interestRate: '', // 利率 |
|
|
|
voucherType: '', // 存期 |
|
|
|
voucherType: '', // 存期 |
|
|
|
interest: '', // 利息 |
|
|
|
interest: '', // 利息 |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
certificateType: '', //证件类型 |
|
|
|
certificateType: '', //证件类型 |
|
|
|
breathDate: '', // 起息日期 |
|
|
|
breathDate: '', // 起息日期 |
|
|
|
customerNumber: '', // 客户号(未对标) |
|
|
|
customerNumber: '', // 客户号(未对标) |
|
|
|
noticeType: '', // 通知类型(未对标) |
|
|
|
noticeType: '', // 通知类型(未对标) |
|
|
|
drawWayType: '', // 支取类别(未对标) |
|
|
|
drawWayType: '', // 支取类别(未对标) |
|
|
|
voucherType: '', // 凭证类型(未对标) |
|
|
|
voucherType: '', // 凭证类型(未对标) |
|
|
|
}, |
|
|
|
}, |
|
|
|
formName:{ |
|
|
|
formName: { |
|
|
|
// 必填项 |
|
|
|
// 必填项 |
|
|
|
payMoney: '支取金额', // (未对标) |
|
|
|
payMoney: '支取金额', // (未对标) |
|
|
|
idNumber: '身份证号码', // |
|
|
|
idNumber: '身份证号码', // |
|
|
|
voucherNumber: '凭证号码', // |
|
|
|
voucherNumber: '凭证号码', // |
|
|
|
drawPassword: '支付密码', // |
|
|
|
drawPassword: '支付密码', // |
|
|
|
// 非必填项 |
|
|
|
// 非必填项 |
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
currency: '币种', // |
|
|
|
currency: '币种', // |
|
|
|
clientName: '客户姓名', // |
|
|
|
clientName: '客户姓名', // |
|
|
|
goldLogo: '钞汇标识', // |
|
|
|
goldLogo: '钞汇标识', // |
|
|
|
depositNumber: '定存编号', // |
|
|
|
depositNumber: '定存编号', // |
|
|
|
capital: '本金', // |
|
|
|
capital: '本金', // |
|
|
|
interestRate: '利率', // |
|
|
|
interestRate: '利率', // |
|
|
|
voucherType: '存期', // |
|
|
|
voucherType: '存期', // |
|
|
|
interest: '利息', // |
|
|
|
interest: '利息', // |
|
|
|
totalMoney: '总金额', // |
|
|
|
totalMoney: '总金额', // |
|
|
|
certificateType: '证件类型', // |
|
|
|
certificateType: '证件类型', // |
|
|
|
breathDate: '起息日期', // |
|
|
|
breathDate: '起息日期', // |
|
|
|
customerNumber: '客户号', |
|
|
|
customerNumber: '客户号', |
|
|
|
noticeType: '通知类型', |
|
|
|
noticeType: '通知类型', |
|
|
|
drawWayType: '支取类别', |
|
|
|
drawWayType: '支取类别', |
|
|
|
voucherType: '凭证类型', |
|
|
|
voucherType: '凭证类型', |
|
|
|
}, |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
rules: { |
|
|
|
clientName: { |
|
|
|
clientName: { |
|
|
|
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/, |
|
|
|
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/, |
|
|
|
message: '该名字格式有误' |
|
|
|
message: '该名字格式有误' |
|
|
|
}, |
|
|
|
}, |
|
|
|
// voucherNumber: { |
|
|
|
// voucherNumber: { |
|
|
|
// required: true, |
|
|
|
// required: true, |
|
|
|
// message: '请填写凭证号码', |
|
|
|
// message: '请填写凭证号码', |
|
|
|
// trigger: 'blur' |
|
|
|
// trigger: 'blur' |
|
|
|
// }, |
|
|
|
// }, |
|
|
|
payMoney: { |
|
|
|
payMoney: { |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: '请填写支取金额', |
|
|
|
message: '请填写支取金额', |
|
|
|
trigger: 'blur' |
|
|
|
trigger: 'blur' |
|
|
|
}, |
|
|
|
}, |
|
|
|
interestRate: [ |
|
|
|
interestRate: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
pattern: ratePattern, |
|
|
|
pattern: ratePattern, |
|
|
|
message: '利率格式有误' |
|
|
|
message: '利率格式有误' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
myTable: { |
|
|
|
myTable: { |
|
|
|
302: { |
|
|
|
302: { |
|
|
|
prop: 'voucherNumber', |
|
|
|
prop: 'voucherNumber', |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 44, |
|
|
|
"subjectId": 44, |
|
|
|
}, |
|
|
|
}, |
|
|
|
303: { |
|
|
|
303: { |
|
|
|
prop: 'voucherType', |
|
|
|
prop: 'voucherType', |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 11, |
|
|
|
"subjectId": 11, |
|
|
|
}, |
|
|
|
}, |
|
|
|
304: { |
|
|
|
304: { |
|
|
|
prop: 'customerNumber', |
|
|
|
prop: 'customerNumber', |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 6, |
|
|
|
"subjectId": 6, |
|
|
|
}, |
|
|
|
}, |
|
|
|
305: { |
|
|
|
305: { |
|
|
|
prop: 'clientName', |
|
|
|
prop: 'clientName', |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 7, |
|
|
|
"subjectId": 7, |
|
|
|
}, |
|
|
|
}, |
|
|
|
306: { |
|
|
|
306: { |
|
|
|
prop: 'currency',//币种 |
|
|
|
prop: 'currency',//币种 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 8, |
|
|
|
"subjectId": 8, |
|
|
|
}, |
|
|
|
}, |
|
|
|
307: { |
|
|
|
307: { |
|
|
|
prop: 'goldLogo',//钞汇标识 |
|
|
|
prop: 'goldLogo',//钞汇标识 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 9, |
|
|
|
"subjectId": 9, |
|
|
|
}, |
|
|
|
}, |
|
|
|
308: { |
|
|
|
308: { |
|
|
|
prop: 'noticeType',// |
|
|
|
prop: 'noticeType',// |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 48, |
|
|
|
"subjectId": 48, |
|
|
|
}, |
|
|
|
}, |
|
|
|
309: { |
|
|
|
309: { |
|
|
|
prop: 'depositNumber',// |
|
|
|
prop: 'depositNumber',// |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 33, |
|
|
|
"subjectId": 33, |
|
|
|
}, |
|
|
|
}, |
|
|
|
310: { |
|
|
|
310: { |
|
|
|
prop: 'breathDate',// |
|
|
|
prop: 'breathDate',// |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 79, |
|
|
|
"subjectId": 79, |
|
|
|
}, |
|
|
|
}, |
|
|
|
311: { |
|
|
|
311: { |
|
|
|
prop: 'capital',//存期 |
|
|
|
prop: 'capital',//存期 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 34, |
|
|
|
"subjectId": 34, |
|
|
|
}, |
|
|
|
}, |
|
|
|
312: { |
|
|
|
312: { |
|
|
|
prop: 'interest',//利息 |
|
|
|
prop: 'interest',//利息 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 26, |
|
|
|
"subjectId": 26, |
|
|
|
}, |
|
|
|
}, |
|
|
|
313: { |
|
|
|
313: { |
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 45, |
|
|
|
"subjectId": 45, |
|
|
|
}, |
|
|
|
}, |
|
|
|
314: { |
|
|
|
314: { |
|
|
|
prop: 'drawWayType',// |
|
|
|
prop: 'drawWayType',// |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 82, |
|
|
|
"subjectId": 82, |
|
|
|
}, |
|
|
|
}, |
|
|
|
391: { |
|
|
|
391: { |
|
|
|
prop: 'certificateType',// |
|
|
|
prop: 'certificateType',// |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 19, |
|
|
|
"subjectId": 19, |
|
|
|
}, |
|
|
|
}, |
|
|
|
392: { |
|
|
|
392: { |
|
|
|
prop: 'idNumber', |
|
|
|
prop: 'idNumber', |
|
|
|
type: '3' |
|
|
|
type: '3' |
|
|
|
}, |
|
|
|
}, |
|
|
|
394: { |
|
|
|
394: { |
|
|
|
prop: 'drawPassword', |
|
|
|
prop: 'drawPassword', |
|
|
|
type: '3', |
|
|
|
type: '3', |
|
|
|
"subjectId": 17, |
|
|
|
"subjectId": 17, |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
myTable2: { |
|
|
|
|
|
|
|
315: { |
|
|
|
|
|
|
|
prop: 'payMoney',//起息日期 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 35, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submited: 0 |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
myTable2: { |
|
|
|
if(sessionStorage.getItem('nomCallDepositClosedPassword')) { |
|
|
|
315: { |
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
prop: 'payMoney',//起息日期 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 35, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submited: 0 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
created () { |
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomCallDepositClosedPassword')) { |
|
|
|
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(sessionStorage.getItem('nomCallDepositClosedCard')) { |
|
|
|
// if(sessionStorage.getItem('nomCallDepositClosedCard')) { |
|
|
|
// this.cardNumberJudge = true |
|
|
|
// this.cardNumberJudge = true |
|
|
|
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' |
|
|
|
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// if(sessionStorage.getItem('nomCallDepositClosedCard2')) { |
|
|
|
// if(sessionStorage.getItem('nomCallDepositClosedCard2')) { |
|
|
|
// this.idNumberJudge = true |
|
|
|
// this.idNumberJudge = true |
|
|
|
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' |
|
|
|
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// return |
|
|
|
// return |
|
|
|
// } |
|
|
|
// } |
|
|
|
if(sessionStorage.getItem('nomCallDepositClosedCard')) { |
|
|
|
if (sessionStorage.getItem('nomCallDepositClosedCard')) { |
|
|
|
this.cardNumberJudge = true |
|
|
|
this.cardNumberJudge = true |
|
|
|
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, |
|
|
|
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, |
|
|
|
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow |
|
|
|
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow |
|
|
|
this.form.certificateType = 83 |
|
|
|
this.form.certificateType = 83 |
|
|
|
this.form.voucherType = 123 |
|
|
|
this.form.voucherType = 123 |
|
|
|
this.form.noticeType = noticeType |
|
|
|
this.form.noticeType = noticeType |
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
this.form.capital = capital |
|
|
|
this.form.capital = capital |
|
|
|
this.form.interest = interest |
|
|
|
this.form.interest = interest |
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
// this.form.drawWayType = 93 |
|
|
|
// this.form.drawWayType = 93 |
|
|
|
this.form.drawWayType = 133 |
|
|
|
this.form.drawWayType = 133 |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
this.form.clientName = userName |
|
|
|
this.form.clientName = userName |
|
|
|
this.form.customerNumber = peopleNumber |
|
|
|
this.form.customerNumber = peopleNumber |
|
|
|
this.form.currency = currency |
|
|
|
this.form.currency = currency |
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.payMoney = payMoney |
|
|
|
this.form.payMoney = payMoney |
|
|
|
this.form.voucherType = voucherType |
|
|
|
this.form.voucherType = voucherType |
|
|
|
// this.form.idNumber = |
|
|
|
// this.form.idNumber = |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(sessionStorage.getItem('nomCallDepositClosedCard2')) { |
|
|
|
if (sessionStorage.getItem('nomCallDepositClosedCard2')) { |
|
|
|
this.idNumberJudge = true |
|
|
|
this.idNumberJudge = true |
|
|
|
const { idNumber } = this.dataFlow |
|
|
|
const { idNumber } = this.dataFlow |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idNumber = idNumber |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289' |
|
|
|
|
|
|
|
const cards = { |
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289' |
|
|
|
// 302: 'nomCallDepositClosedCard', |
|
|
|
const cards = { |
|
|
|
// 392: 'nomCallDepositClosedCard2', |
|
|
|
// 302: 'nomCallDepositClosedCard', |
|
|
|
// 394: 'nomCallDepositClosedPassword' |
|
|
|
// 392: 'nomCallDepositClosedCard2', |
|
|
|
} |
|
|
|
// 394: 'nomCallDepositClosedPassword' |
|
|
|
const callback = () => { |
|
|
|
} |
|
|
|
if(this.form.idNumber) { |
|
|
|
const callback = () => { |
|
|
|
this.idNumberJudge = true |
|
|
|
if (this.form.idNumber) { |
|
|
|
} |
|
|
|
this.idNumberJudge = true |
|
|
|
if(this.form.voucherNumber) { |
|
|
|
} |
|
|
|
this.cardNumberJudge = true |
|
|
|
if (this.form.voucherNumber) { |
|
|
|
} |
|
|
|
this.cardNumberJudge = true |
|
|
|
if(sessionStorage.getItem('nomCallDepositOpenPassword')) { |
|
|
|
} |
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
if (sessionStorage.getItem('nomCallDepositOpenPassword')) { |
|
|
|
} |
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
} |
|
|
|
} |
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
} |
|
|
|
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
...mapMutations({ |
|
|
|
|
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
|
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
|
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
|
|
|
|
setPopId: 'system/setPopId', |
|
|
|
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
getDataBlur () { |
|
|
|
|
|
|
|
if (!this.form.voucherNumber) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, |
|
|
|
|
|
|
|
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType, money } = this.dataFlow |
|
|
|
|
|
|
|
this.form.certificateType = 83 |
|
|
|
|
|
|
|
this.form.voucherType = 123 |
|
|
|
|
|
|
|
this.form.noticeType = noticeType |
|
|
|
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
|
|
|
this.form.capital = money || 800000 |
|
|
|
|
|
|
|
this.form.interest = interest |
|
|
|
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
|
|
|
// this.form.drawWayType = 93 |
|
|
|
|
|
|
|
this.form.drawWayType = 133 |
|
|
|
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
|
|
|
|
this.form.clientName = userName |
|
|
|
|
|
|
|
this.form.customerNumber = peopleNumber |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
// this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
this.form.payMoney = payMoney |
|
|
|
|
|
|
|
this.form.voucherType = voucherType |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
popUp (text) { |
|
|
|
...mapMutations({ |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '302'}) |
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
|
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
|
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
|
|
|
|
setPopId: 'system/setPopId', |
|
|
|
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
getDataBlur() { |
|
|
|
|
|
|
|
if(!this.form.voucherNumber) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, |
|
|
|
|
|
|
|
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType, money } = this.dataFlow |
|
|
|
|
|
|
|
this.form.certificateType = 83 |
|
|
|
|
|
|
|
this.form.voucherType = 123 |
|
|
|
|
|
|
|
this.form.noticeType = noticeType |
|
|
|
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
|
|
|
this.form.capital = money || 0 |
|
|
|
|
|
|
|
this.form.interest = interest |
|
|
|
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
|
|
|
// this.form.drawWayType = 93 |
|
|
|
|
|
|
|
this.form.drawWayType = 133 |
|
|
|
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
|
|
|
|
this.form.clientName = userName |
|
|
|
|
|
|
|
this.form.customerNumber = peopleNumber |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
// this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
this.form.payMoney = payMoney |
|
|
|
|
|
|
|
this.form.voucherType = voucherType |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
popUp(text) { |
|
|
|
|
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '302'}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
this.setPopId('302') |
|
|
|
this.setPopId('302') |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp2(text) { |
|
|
|
popUp2 (text) { |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '392'}) |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '392'}) |
|
|
|
|
|
|
|
|
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
this.setPopId('392') |
|
|
|
this.setPopId('392') |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
}, |
|
|
|
|
|
|
|
popUp3(text) { |
|
|
|
|
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '394'}) |
|
|
|
|
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
|
|
|
|
this.setPopId('394') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submitForm() { |
|
|
|
|
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
|
|
|
|
if(!this.form.idNumber) { |
|
|
|
|
|
|
|
messageIdCard() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(!this.form.voucherNumber) { |
|
|
|
|
|
|
|
messageCard('请填写凭证号码') |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!this.form.drawPassword) { |
|
|
|
|
|
|
|
messagePassword() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
|
|
|
this.visible = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, this.$refs)); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submitForm2() { |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289' |
|
|
|
|
|
|
|
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard') |
|
|
|
|
|
|
|
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') |
|
|
|
|
|
|
|
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
|
|
|
|
const cards = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
key: '392,13' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
|
|
|
this.submited = 1 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
ismoney: ismoney, |
|
|
|
|
|
|
|
checkHanzi: checkHanzi, |
|
|
|
|
|
|
|
checkName: checkName, |
|
|
|
|
|
|
|
inputListen |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
popUp3 (text) { |
|
|
|
...mapGetters({ |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '394'}) |
|
|
|
dataFlow: 'system/dataFlow', |
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
needsModule: 'system/needsModule', |
|
|
|
this.setPopId('394') |
|
|
|
idCardNumber: 'system/idCardNumber', |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
inMyWork: 'system/inMyWork', |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
getSelectList: 'system/getSelectList' |
|
|
|
}, |
|
|
|
}) |
|
|
|
submitForm () { |
|
|
|
} |
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
|
|
|
|
if (!this.form.idNumber) { |
|
|
|
|
|
|
|
messageIdCard() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (!this.form.voucherNumber) { |
|
|
|
|
|
|
|
messageCard('请填写凭证号码') |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!this.form.drawPassword) { |
|
|
|
|
|
|
|
messagePassword() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
|
|
|
this.visible = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, this.$refs)); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submitForm2 () { |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289' |
|
|
|
|
|
|
|
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard') |
|
|
|
|
|
|
|
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') |
|
|
|
|
|
|
|
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
|
|
|
|
const cards = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
key: '392,13' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
|
|
|
this.submited = 1 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
ismoney: ismoney, |
|
|
|
|
|
|
|
checkHanzi: checkHanzi, |
|
|
|
|
|
|
|
checkName: checkName, |
|
|
|
|
|
|
|
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> |
|
|
|