|
|
@ -1,89 +1,162 @@ |
|
|
|
// 销户 |
|
|
|
// 销户 |
|
|
|
<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="证件类型" prop="certificateType"> |
|
|
|
:model="form" |
|
|
|
<el-select v-model.trim="form.certificateType" placeholder="请选择" ref="certificateType"> |
|
|
|
label-width="120px" |
|
|
|
<el-option label="身份证" :value="83"> </el-option> |
|
|
|
:rules="rules"> |
|
|
|
</el-select> |
|
|
|
<el-col :span="10" |
|
|
|
</el-form-item> |
|
|
|
:offset="1"> |
|
|
|
<el-form-item label="凭证号码" prop="voucherNumber"> |
|
|
|
<el-form-item label="证件类型" |
|
|
|
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> |
|
|
|
prop="certificateType"> |
|
|
|
<p>请刷卡</p> |
|
|
|
<el-select v-model.trim="form.certificateType" |
|
|
|
</div> |
|
|
|
placeholder="请选择" |
|
|
|
<div v-else> |
|
|
|
ref="certificateType"> |
|
|
|
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
<el-option label="身份证" |
|
|
|
</div> |
|
|
|
:value="83"> </el-option> |
|
|
|
<!-- <el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> --> |
|
|
|
</el-select> |
|
|
|
</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="voucherNumber"> |
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
<div v-if='!cardNumberJudge' |
|
|
|
</el-select> |
|
|
|
class="idCard" |
|
|
|
</el-form-item> |
|
|
|
@click="popUp('刷卡器')"> |
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
<p>请刷卡</p> |
|
|
|
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')" ref="depositNumber"></el-input> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
<div v-else> |
|
|
|
<el-form-item label="利率" prop="interestRate"> |
|
|
|
<el-input disabled |
|
|
|
<el-input :value="form.interestRate" disabled @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input> |
|
|
|
ref="voucherNumber" |
|
|
|
</el-form-item> |
|
|
|
maxlength="20" |
|
|
|
<el-form-item label="利息" prop="interest"> |
|
|
|
:value="form.voucherNumber" |
|
|
|
<el-input :value="form.interest" disabled @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input> |
|
|
|
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
<el-form-item label="起息日期" required> |
|
|
|
<!-- <el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> --> |
|
|
|
<el-date-picker |
|
|
|
</el-form-item> |
|
|
|
disabled |
|
|
|
<el-form-item label="币种" |
|
|
|
|
|
|
|
prop="currency"> |
|
|
|
|
|
|
|
<el-select v-model.trim="form.currency" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="currency"> |
|
|
|
|
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" |
|
|
|
|
|
|
|
:label="item.options" |
|
|
|
|
|
|
|
:value="item.itemId" |
|
|
|
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="定存编号" |
|
|
|
|
|
|
|
prop="depositNumber"> |
|
|
|
|
|
|
|
<el-input :value="form.depositNumber" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="(val) => checkHanzi(val, form, 'depositNumber')" |
|
|
|
|
|
|
|
ref="depositNumber"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="利率" |
|
|
|
|
|
|
|
prop="interestRate"> |
|
|
|
|
|
|
|
<el-input :value="form.interestRate" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="(val) => checkHanzi(val, form, 'interestRate')" |
|
|
|
|
|
|
|
ref="interestRate"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="利息" |
|
|
|
|
|
|
|
prop="interest"> |
|
|
|
|
|
|
|
<el-input :value="form.interest" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
@input="(val) => checkHanzi(val, form, 'interest')" |
|
|
|
|
|
|
|
ref="interest"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="起息日期" |
|
|
|
|
|
|
|
required> |
|
|
|
|
|
|
|
<el-date-picker disabled |
|
|
|
v-model.trim="form.signDate" |
|
|
|
v-model.trim="form.signDate" |
|
|
|
type="date" |
|
|
|
type="date" |
|
|
|
placeholder="选择日期" |
|
|
|
placeholder="选择日期" |
|
|
|
format="yyyy-MM-dd" |
|
|
|
format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
ref="signDate"> |
|
|
|
ref="signDate"> |
|
|
|
</el-date-picker> |
|
|
|
</el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
<el-col :span="10" |
|
|
|
<el-form-item label="证件号码" required> |
|
|
|
:offset="1"> |
|
|
|
<div class="idCard" @click="popUp3('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
<el-form-item label="证件号码" |
|
|
|
<p>请刷身份证</p> |
|
|
|
required> |
|
|
|
</div> |
|
|
|
<div class="idCard" |
|
|
|
<div v-else> |
|
|
|
@click="popUp3('身份证扫描仪')" |
|
|
|
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> |
|
|
|
v-if='!idNumberJudge'> |
|
|
|
</div> |
|
|
|
<p>请刷身份证</p> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
<el-form-item label="客户姓名" prop="customerName"> |
|
|
|
<div v-else> |
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
<el-input :value="form.idNumber" |
|
|
|
</el-form-item> |
|
|
|
disabled |
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo"> |
|
|
|
ref="idNumber"></el-input> |
|
|
|
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> |
|
|
|
</div> |
|
|
|
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
</el-form-item> |
|
|
|
</el-select> |
|
|
|
<el-form-item label="客户姓名" |
|
|
|
</el-form-item> |
|
|
|
prop="customerName"> |
|
|
|
<el-form-item label="本金" prop="capital"> |
|
|
|
<el-input ref="customerName" |
|
|
|
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> |
|
|
|
disabled |
|
|
|
</el-form-item> |
|
|
|
:value="form.customerName" |
|
|
|
<el-form-item label="存期" prop="depositTerm"> |
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
<el-select v-model.trim="form.depositTerm" disabled placeholder="请选择" ref="depositTerm"> |
|
|
|
</el-form-item> |
|
|
|
<el-option label="1年" :value="86"> </el-option> |
|
|
|
<el-form-item label="钞汇标识" |
|
|
|
<el-option label="3年" :value="88"> </el-option> |
|
|
|
prop="goldLogo"> |
|
|
|
<el-option label="5年" :value="89"> </el-option> |
|
|
|
<el-select v-model.trim="form.goldLogo" |
|
|
|
</el-select> |
|
|
|
disabled |
|
|
|
</el-form-item> |
|
|
|
placeholder="请选择" |
|
|
|
<el-form-item label="总金额" prop="totalMoney"> |
|
|
|
ref="goldLogo"> |
|
|
|
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> |
|
|
|
<el-option v-for="item in getSelectList.goldLogoSelectList" |
|
|
|
</el-form-item> |
|
|
|
:label="item.options" |
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
:value="item.itemId" |
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')"> |
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
<p>请输入密码</p> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
<div v-else @click="popUp2('密码器')"> |
|
|
|
<el-form-item label="本金" |
|
|
|
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> |
|
|
|
prop="capital"> |
|
|
|
</div> |
|
|
|
<el-input :value="form.capital" |
|
|
|
</el-form-item> |
|
|
|
disabled |
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
|
@input="val => ismoney(val, form, 'capital')" |
|
|
|
|
|
|
|
ref="capital"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="存期" |
|
|
|
|
|
|
|
prop="depositTerm"> |
|
|
|
|
|
|
|
<el-select v-model.trim="form.depositTerm" |
|
|
|
|
|
|
|
disabled |
|
|
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
|
|
ref="depositTerm"> |
|
|
|
|
|
|
|
<el-option label="1年" |
|
|
|
|
|
|
|
:value="86"> </el-option> |
|
|
|
|
|
|
|
<el-option label="3年" |
|
|
|
|
|
|
|
:value="88"> </el-option> |
|
|
|
|
|
|
|
<el-option label="5年" |
|
|
|
|
|
|
|
:value="89"> </el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</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="支取密码" |
|
|
|
|
|
|
|
required> |
|
|
|
|
|
|
|
<div v-if='!form.drawPassword' |
|
|
|
|
|
|
|
class="idCard" |
|
|
|
|
|
|
|
@click="popUp2('密码器')"> |
|
|
|
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-else |
|
|
|
|
|
|
|
@click="popUp2('密码器')"> |
|
|
|
|
|
|
|
<el-input :value="form.drawPassword" |
|
|
|
|
|
|
|
ref="drawPassword" |
|
|
|
|
|
|
|
type="password"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
|
<el-select v-model.trim="form.identification" placeholder="请选择"> |
|
|
|
<el-select v-model.trim="form.identification" placeholder="请选择"> |
|
|
|
<el-option label="不续存" value="不续存"> </el-option> |
|
|
|
<el-option label="不续存" value="不续存"> </el-option> |
|
|
|
<el-option label="续存1年" value="续存1年"> </el-option> |
|
|
|
<el-option label="续存1年" value="续存1年"> </el-option> |
|
|
@ -91,376 +164,384 @@ |
|
|
|
<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-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
<el-button @click="submitForm" |
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0816' /> |
|
|
|
type="primary" |
|
|
|
</div> |
|
|
|
class="submitBtn" |
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
v-throttle>提交</el-button> |
|
|
|
|
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
|
|
|
v-if="visible" |
|
|
|
|
|
|
|
:visible.sync="visible" |
|
|
|
|
|
|
|
:showForm="form" |
|
|
|
|
|
|
|
:formName="formName" |
|
|
|
|
|
|
|
@submitIt="submitForm2" |
|
|
|
|
|
|
|
depositNumber='0816' /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
import { mobPattern, namePattern, 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'; |
|
|
|
|
|
|
|
|
|
|
|
const moduleName = 'usefulPhrases/accoumtClosed' |
|
|
|
const moduleName = 'usefulPhrases/accoumtClosed' |
|
|
|
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' |
|
|
|
export default{ |
|
|
|
export default { |
|
|
|
name:'', |
|
|
|
name: '', |
|
|
|
props:{}, |
|
|
|
props: {}, |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
NeedBefore, |
|
|
|
NeedBefore, |
|
|
|
MyDialog |
|
|
|
MyDialog |
|
|
|
}, |
|
|
|
}, |
|
|
|
mixins: [ TipsBefore ], |
|
|
|
mixins: [TipsBefore], |
|
|
|
created() { |
|
|
|
created () { |
|
|
|
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { |
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { |
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
} |
|
|
|
} |
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(this.isNeedBefore) { |
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { |
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { |
|
|
|
// this.idNumberJudge = true |
|
|
|
// this.idNumberJudge = true |
|
|
|
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' |
|
|
|
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) { |
|
|
|
// if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) { |
|
|
|
// this.cardNumberJudge = true |
|
|
|
// this.cardNumberJudge = true |
|
|
|
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' |
|
|
|
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// return |
|
|
|
// return |
|
|
|
// } |
|
|
|
// } |
|
|
|
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { |
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesClosed')) { |
|
|
|
this.idNumberJudge = true |
|
|
|
this.idNumberJudge = true |
|
|
|
const { idNumber } = this.dataFlow |
|
|
|
const { idNumber } = this.dataFlow |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idNumber = idNumber |
|
|
|
} |
|
|
|
} |
|
|
|
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) { |
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesClosed2')) { |
|
|
|
this.cardNumberJudge = true |
|
|
|
this.cardNumberJudge = true |
|
|
|
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow |
|
|
|
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow |
|
|
|
this.form.currency = currency |
|
|
|
this.form.currency = currency |
|
|
|
this.form.customerName = userName |
|
|
|
this.form.customerName = userName |
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
this.form.capital = capital |
|
|
|
this.form.capital = capital |
|
|
|
this.form.interestRate = interestRate |
|
|
|
this.form.interestRate = interestRate |
|
|
|
this.form.interest = interest |
|
|
|
this.form.interest = interest |
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
this.form.signDate = signDate |
|
|
|
this.form.signDate = signDate |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getFormData() |
|
|
|
this.getFormData() |
|
|
|
}, |
|
|
|
}, |
|
|
|
data(){ |
|
|
|
data () { |
|
|
|
return{ |
|
|
|
return { |
|
|
|
moduleName: 'usefulPhrases/accoumtClosed', |
|
|
|
moduleName: 'usefulPhrases/accoumtClosed', |
|
|
|
idNumberJudge: false, |
|
|
|
idNumberJudge: false, |
|
|
|
cardNumberJudge: false, |
|
|
|
cardNumberJudge: false, |
|
|
|
visible: false, |
|
|
|
visible: false, |
|
|
|
form:{ |
|
|
|
form: { |
|
|
|
// 必填项 |
|
|
|
// 必填项 |
|
|
|
idNumber: '', // 身份证号码 |
|
|
|
idNumber: '', // 身份证号码 |
|
|
|
currency: '', // 币种 |
|
|
|
currency: '', // 币种 |
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
drawPassword: '', // 支取密码 |
|
|
|
drawPassword: '', // 支取密码 |
|
|
|
// 非必填项 |
|
|
|
// 非必填项 |
|
|
|
certificateType: '', // 证件类型 |
|
|
|
certificateType: '', // 证件类型 |
|
|
|
customerName: '', // 客户姓名 |
|
|
|
customerName: '', // 客户姓名 |
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
depositNumber: '', // 定存编号 |
|
|
|
depositNumber: '', // 定存编号 |
|
|
|
capital: '', // 本金 |
|
|
|
capital: '', // 本金 |
|
|
|
interestRate: '', // 利率 |
|
|
|
interestRate: '', // 利率 |
|
|
|
depositTerm: '', // 存期 |
|
|
|
depositTerm: '', // 存期 |
|
|
|
interest: '', // 利息 |
|
|
|
interest: '', // 利息 |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
totalMoney: '', // 总金额 |
|
|
|
signDate:'', // 起息日期 |
|
|
|
signDate: '', // 起息日期 |
|
|
|
}, |
|
|
|
}, |
|
|
|
formName:{ |
|
|
|
formName: { |
|
|
|
// 必填项 |
|
|
|
// 必填项 |
|
|
|
idNumber: '身份证号码', // |
|
|
|
idNumber: '身份证号码', // |
|
|
|
currency: '币种', // |
|
|
|
currency: '币种', // |
|
|
|
voucherNumber: '凭证号码', // |
|
|
|
voucherNumber: '凭证号码', // |
|
|
|
drawPassword: '支取密码', |
|
|
|
drawPassword: '支取密码', |
|
|
|
// 非必填项 |
|
|
|
// 非必填项 |
|
|
|
certificateType: '证件类型', // |
|
|
|
certificateType: '证件类型', // |
|
|
|
customerName: '客户姓名', // |
|
|
|
customerName: '客户姓名', // |
|
|
|
goldLogo: '钞汇标识', // |
|
|
|
goldLogo: '钞汇标识', // |
|
|
|
depositNumber: '定存编号', // |
|
|
|
depositNumber: '定存编号', // |
|
|
|
capital: '本金', // |
|
|
|
capital: '本金', // |
|
|
|
interestRate: '利率', // |
|
|
|
interestRate: '利率', // |
|
|
|
depositTerm: '存期', // |
|
|
|
depositTerm: '存期', // |
|
|
|
interest: '利息', // |
|
|
|
interest: '利息', // |
|
|
|
totalMoney: '总金额', // |
|
|
|
totalMoney: '总金额', // |
|
|
|
signDate:'起息日期', // |
|
|
|
signDate: '起息日期', // |
|
|
|
}, |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
rules: { |
|
|
|
voucherNumber: [ |
|
|
|
voucherNumber: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: '请输入凭证号码', |
|
|
|
message: '请输入凭证号码', |
|
|
|
trigger: 'blur' |
|
|
|
trigger: 'blur' |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
customerName: vercustomer, |
|
|
|
customerName: vercustomer, |
|
|
|
currency: [ |
|
|
|
currency: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: '请选择币种', |
|
|
|
message: '请选择币种', |
|
|
|
trigger: 'blur' |
|
|
|
trigger: 'blur' |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
// voucherNumber: [ |
|
|
|
// voucherNumber: [ |
|
|
|
// { |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// required: true, |
|
|
|
// message: '请选择凭证号码', |
|
|
|
// message: '请选择凭证号码', |
|
|
|
// trigger: 'blur' |
|
|
|
// trigger: 'blur' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// ], |
|
|
|
// ], |
|
|
|
interestRate: [ |
|
|
|
interestRate: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
pattern: ratePattern, |
|
|
|
pattern: ratePattern, |
|
|
|
message: '利率格式有误' |
|
|
|
message: '利率格式有误' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
myTable: { |
|
|
|
myTable: { |
|
|
|
179: { |
|
|
|
179: { |
|
|
|
prop: 'certificateType',//证件类型 |
|
|
|
prop: 'certificateType',//证件类型 |
|
|
|
type: '1', |
|
|
|
type: '1', |
|
|
|
"subjectId": 19, |
|
|
|
"subjectId": 19, |
|
|
|
}, |
|
|
|
|
|
|
|
184: { |
|
|
|
|
|
|
|
prop: 'goldLogo',//钞汇标识 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 9, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
185: { |
|
|
|
|
|
|
|
prop: 'depositNumber',//定存编号 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 33, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
186: { |
|
|
|
|
|
|
|
prop: 'capital',//本金 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 34, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
187: { |
|
|
|
|
|
|
|
prop: 'interestRate',//利率 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 29, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
188: { |
|
|
|
|
|
|
|
prop: 'depositTerm',//存期 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 27, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
189: { |
|
|
|
|
|
|
|
prop: 'interest',//利息 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 26, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
190: { |
|
|
|
|
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 45, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
191: { |
|
|
|
|
|
|
|
prop: 'signDate',//起息日期 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 32, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
myTable2: { |
|
|
|
|
|
|
|
180: { |
|
|
|
|
|
|
|
prop: 'idNumber', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
// "subjectId": 44, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
181: { |
|
|
|
|
|
|
|
prop: 'voucherNumber', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 44, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
192: { |
|
|
|
|
|
|
|
prop: 'drawPassword', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 17, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
182: { |
|
|
|
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 7, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
183: { |
|
|
|
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 8, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submited: 0 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
...mapMutations({ |
|
|
|
|
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
|
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
|
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
|
|
|
|
setPopId: 'system/setPopId', |
|
|
|
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
getDataBlur() { |
|
|
|
|
|
|
|
if(!this.form.voucherNumber) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.customerName = userName |
|
|
|
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
this.form.capital = capital |
|
|
|
|
|
|
|
this.form.interestRate = interestRate |
|
|
|
|
|
|
|
this.form.interest = interest |
|
|
|
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
|
|
|
this.form.signDate = signDate |
|
|
|
|
|
|
|
// this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
getFormData(){ |
|
|
|
184: { |
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
prop: 'goldLogo',//钞汇标识 |
|
|
|
const cards = { |
|
|
|
type: '1', |
|
|
|
// 180: 'nomUsefulPhrasesClosed', |
|
|
|
"subjectId": 9, |
|
|
|
// 181: 'nomUsefulPhrasesClosed2', |
|
|
|
|
|
|
|
// 192: 'nomUsefulPhrasesClosedPassword' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const callback = () => { |
|
|
|
|
|
|
|
if(this.form.idNumber) { |
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(this.form.voucherNumber) { |
|
|
|
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { |
|
|
|
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp(text) { |
|
|
|
185: { |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '181'}) |
|
|
|
prop: 'depositNumber',//定存编号 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
"subjectId": 33, |
|
|
|
this.setPopId('181') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp2(text) { |
|
|
|
186: { |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '192'}) |
|
|
|
prop: 'capital',//本金 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
"subjectId": 34, |
|
|
|
this.setPopId('192') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp3(text) { |
|
|
|
187: { |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '180'}) |
|
|
|
prop: 'interestRate',//利率 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
"subjectId": 29, |
|
|
|
this.setPopId('180') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
submitForm() { |
|
|
|
188: { |
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
prop: 'depositTerm',//存期 |
|
|
|
if(!this.form.idNumber) { |
|
|
|
type: '1', |
|
|
|
messageIdCard() |
|
|
|
"subjectId": 27, |
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
}, |
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
189: { |
|
|
|
// let formList = [ |
|
|
|
prop: 'interest',//利息 |
|
|
|
// { |
|
|
|
type: '3', |
|
|
|
// "answerId":'180', |
|
|
|
"subjectId": 26, |
|
|
|
// "emptyOne": "", |
|
|
|
}, |
|
|
|
// "emptyTwo": "", |
|
|
|
190: { |
|
|
|
// "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,59,157,180,13", |
|
|
|
prop: 'totalMoney',//总金额 |
|
|
|
// "type": "" |
|
|
|
type: '3', |
|
|
|
// } |
|
|
|
"subjectId": 45, |
|
|
|
// ] |
|
|
|
|
|
|
|
// let params= { |
|
|
|
|
|
|
|
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157,180', |
|
|
|
|
|
|
|
// 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() { |
|
|
|
191: { |
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
prop: 'signDate',//起息日期 |
|
|
|
const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed') |
|
|
|
type: '3', |
|
|
|
const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') |
|
|
|
"subjectId": 32, |
|
|
|
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
}, |
|
|
|
const cards = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
myTable2: { |
|
|
|
key: '180,13' |
|
|
|
180: { |
|
|
|
} |
|
|
|
prop: 'idNumber', |
|
|
|
// { |
|
|
|
type: '3', |
|
|
|
// 180: nomUsefulPhrasesClosed |
|
|
|
// "subjectId": 44, |
|
|
|
// }, |
|
|
|
}, |
|
|
|
// { |
|
|
|
181: { |
|
|
|
// 181: nomUsefulPhrasesClosed2, |
|
|
|
prop: 'voucherNumber', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 44, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
192: { |
|
|
|
|
|
|
|
prop: 'drawPassword', |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 17, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
182: { |
|
|
|
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
|
|
|
type: '3', |
|
|
|
|
|
|
|
"subjectId": 7, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
183: { |
|
|
|
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
|
|
|
type: '1', |
|
|
|
|
|
|
|
"subjectId": 8, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
submited: 0 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mounted () { |
|
|
|
|
|
|
|
|
|
|
|
// }, |
|
|
|
}, |
|
|
|
// { |
|
|
|
methods: { |
|
|
|
// 192: nomUsefulPhrasesClosedPassword, |
|
|
|
...mapMutations({ |
|
|
|
// "subjectId": 32, |
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
// } |
|
|
|
setDataFlow: 'system/setDataFlow', |
|
|
|
] |
|
|
|
setNeedsModule: 'system/setNeedsModule', |
|
|
|
|
|
|
|
setPopId: 'system/setPopId', |
|
|
|
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
getDataBlur () { |
|
|
|
|
|
|
|
if (!this.form.voucherNumber) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow |
|
|
|
|
|
|
|
this.form.currency = currency |
|
|
|
|
|
|
|
this.form.customerName = userName |
|
|
|
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
|
|
|
this.form.capital = capital |
|
|
|
|
|
|
|
this.form.interestRate = interestRate |
|
|
|
|
|
|
|
this.form.interest = interest |
|
|
|
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
|
|
|
this.form.signDate = signDate |
|
|
|
|
|
|
|
// this.form.voucherNumber = voucherNumber |
|
|
|
|
|
|
|
this.form.depositTerm = depositTerm |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
getFormData () { |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
|
|
|
|
const cards = { |
|
|
|
|
|
|
|
// 180: 'nomUsefulPhrasesClosed', |
|
|
|
|
|
|
|
// 181: 'nomUsefulPhrasesClosed2', |
|
|
|
|
|
|
|
// 192: 'nomUsefulPhrasesClosedPassword' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const callback = () => { |
|
|
|
|
|
|
|
if (this.form.idNumber) { |
|
|
|
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.form.voucherNumber) { |
|
|
|
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { |
|
|
|
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
popUp (text) { |
|
|
|
|
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '181'}) |
|
|
|
|
|
|
|
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
this.setNeedsModule(moduleName) |
|
|
|
this.setPopId('181') |
|
|
|
this.submited = 1 |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
}, |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
ismoney: ismoney, |
|
|
|
|
|
|
|
checkHanzi: checkHanzi, |
|
|
|
|
|
|
|
checkName: checkName, |
|
|
|
|
|
|
|
inputListen |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
popUp2 (text) { |
|
|
|
...mapGetters({ |
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '192'}) |
|
|
|
dataFlow: 'system/dataFlow', |
|
|
|
|
|
|
|
needsModule: 'system/needsModule', |
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
idCardNumber: 'system/idCardNumber', |
|
|
|
this.setPopId('192') |
|
|
|
inMyWork: 'system/inMyWork', |
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
getSelectList: 'system/getSelectList' |
|
|
|
this.$router.push('/counter/list/') |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
popUp3 (text) { |
|
|
|
|
|
|
|
// this.$store.commit('system/changePop',{show:true,text, id: '180'}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
|
|
|
|
this.setPopId('180') |
|
|
|
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
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":'180', |
|
|
|
|
|
|
|
// "emptyOne": "", |
|
|
|
|
|
|
|
// "emptyTwo": "", |
|
|
|
|
|
|
|
// "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,59,157,180,13", |
|
|
|
|
|
|
|
// "type": "" |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// ] |
|
|
|
|
|
|
|
// let params= { |
|
|
|
|
|
|
|
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157,180', |
|
|
|
|
|
|
|
// 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 () { |
|
|
|
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' |
|
|
|
|
|
|
|
const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed') |
|
|
|
|
|
|
|
const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') |
|
|
|
|
|
|
|
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') |
|
|
|
|
|
|
|
const cards = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
key: '180,13' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 180: nomUsefulPhrasesClosed |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 181: nomUsefulPhrasesClosed2, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// { |
|
|
|
|
|
|
|
// 192: nomUsefulPhrasesClosedPassword, |
|
|
|
|
|
|
|
// "subjectId": 32, |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
|
|
|
this.setNeedsModule(moduleName) |
|
|
|
|
|
|
|
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> |
|
|
|