|
|
|
@ -1,99 +1,190 @@ |
|
|
|
|
// 销户 |
|
|
|
|
<template> |
|
|
|
|
<div class="body"> |
|
|
|
|
<el-row :gutter="20" style="margin: 0"> |
|
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="凭证号码" required=""> |
|
|
|
|
<el-row :gutter="20" |
|
|
|
|
style="margin: 0"> |
|
|
|
|
<el-form ref="form" |
|
|
|
|
:model="form" |
|
|
|
|
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> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
</div> --> |
|
|
|
|
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
<el-input @blur="getDataBlur" |
|
|
|
|
ref="voucherNumber" |
|
|
|
|
:value="form.voucherNumber" |
|
|
|
|
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户号" prop="customerNumber"> |
|
|
|
|
<el-input v-model.trim="form.customerNumber" disabled></el-input> |
|
|
|
|
<el-form-item label="客户号" |
|
|
|
|
prop="customerNumber"> |
|
|
|
|
<el-input v-model.trim="form.customerNumber" |
|
|
|
|
disabled></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<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-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="noticeType"> |
|
|
|
|
<el-select v-model.trim="form.noticeType" disabled placeholder="请选择" ref="noticeType"> |
|
|
|
|
<el-option label="1天" :value="95"> </el-option> |
|
|
|
|
<el-option label="7天" :value="96"> </el-option> |
|
|
|
|
<el-form-item label="通知类型" |
|
|
|
|
prop="noticeType"> |
|
|
|
|
<el-select v-model.trim="form.noticeType" |
|
|
|
|
disabled |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="noticeType"> |
|
|
|
|
<el-option label="1天" |
|
|
|
|
:value="95"> </el-option> |
|
|
|
|
<el-option label="7天" |
|
|
|
|
:value="96"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="起息日期" prop="breathDate"> |
|
|
|
|
<el-input v-model.trim="form.breathDate" ></el-input> |
|
|
|
|
<el-form-item label="起息日期" |
|
|
|
|
prop="breathDate"> |
|
|
|
|
<el-input autocomplete="off" |
|
|
|
|
v-model.trim="form.breathDate"></el-input> |
|
|
|
|
</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 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-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-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('密码器')"> |
|
|
|
|
<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 v-else |
|
|
|
|
@click="popUp3('密码器')"> |
|
|
|
|
<el-input :value="form.drawPassword" |
|
|
|
|
ref="drawPassword" |
|
|
|
|
type="password"></el-input> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType"> |
|
|
|
|
<el-select v-model.trim="form.voucherType" disabled placeholder="请选择" ref="voucherType"> |
|
|
|
|
<el-option label="存单" :value="123"> </el-option> |
|
|
|
|
<el-col :span="10" |
|
|
|
|
:offset="1"> |
|
|
|
|
<el-form-item label="凭证类型" |
|
|
|
|
prop="voucherType"> |
|
|
|
|
<el-select v-model.trim="form.voucherType" |
|
|
|
|
disabled |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="voucherType"> |
|
|
|
|
<el-option label="存单" |
|
|
|
|
:value="123"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户姓名" prop="clientName"> |
|
|
|
|
<el-input :value="form.clientName" disabled @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> |
|
|
|
|
<el-form-item label="客户姓名" |
|
|
|
|
prop="clientName"> |
|
|
|
|
<el-input :value="form.clientName" |
|
|
|
|
disabled |
|
|
|
|
@input="(val) => checkName(val, form, 'clientName')" |
|
|
|
|
ref="clientName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo"> |
|
|
|
|
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> |
|
|
|
|
<el-option v-for="item in getSelectList.goldLogo" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
|
<el-form-item label="钞汇标识" |
|
|
|
|
prop="goldLogo"> |
|
|
|
|
<el-select v-model.trim="form.goldLogo" |
|
|
|
|
disabled |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="goldLogo"> |
|
|
|
|
<el-option v-for="item in getSelectList.goldLogo" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
|
<el-input disabled v-model.trim="form.depositNumber"></el-input> |
|
|
|
|
<el-form-item label="定存编号" |
|
|
|
|
prop="depositNumber"> |
|
|
|
|
<el-input disabled |
|
|
|
|
v-model.trim="form.depositNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="本金" prop="capital"> |
|
|
|
|
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> |
|
|
|
|
<el-form-item label="本金" |
|
|
|
|
prop="capital"> |
|
|
|
|
<el-input :value="form.capital" |
|
|
|
|
disabled |
|
|
|
|
@input="val => ismoney(val, form, 'capital')" |
|
|
|
|
ref="capital"></el-input> |
|
|
|
|
</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 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 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'> |
|
|
|
|
<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> |
|
|
|
|
<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' /> |
|
|
|
|
<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> |
|
|
|
@ -367,7 +458,7 @@ export default{ |
|
|
|
|
this.form.voucherType = 123 |
|
|
|
|
this.form.noticeType = noticeType |
|
|
|
|
this.form.depositNumber = depositNumber |
|
|
|
|
this.form.capital = money || 0 |
|
|
|
|
this.form.capital = money || 800000 |
|
|
|
|
this.form.interest = interest |
|
|
|
|
this.form.totalMoney = totalMoney |
|
|
|
|
// this.form.drawWayType = 93 |
|
|
|
|