|
|
|
@ -13,31 +13,31 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户号" prop="customerNumber"> |
|
|
|
|
<el-input v-model="form.customerNumber"></el-input> |
|
|
|
|
<el-input v-model="form.customerNumber" disabled></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
|
<el-select v-model="form.currency" placeholder="请选择" ref="currency"> |
|
|
|
|
<el-select v-model="form.currency" disabled placeholder="请选择" ref="currency"> |
|
|
|
|
<el-option value="CNY人民币">CNY人民币</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="通知类型" prop="noticeType"> |
|
|
|
|
<el-select v-model="form.noticeType" placeholder="请选择" ref="noticeType"> |
|
|
|
|
<el-select v-model="form.noticeType" disabled placeholder="请选择" ref="noticeType"> |
|
|
|
|
<el-option label="1天" value="1天"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="起息日期" prop="breathDate"> |
|
|
|
|
<el-input v-model="form.breathDate"></el-input> |
|
|
|
|
<el-input v-model="form.breathDate" disabled ></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<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" disabled @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="支取类别" prop="payType"> |
|
|
|
|
<el-select v-model="form.payType" placeholder="请选择" ref="payType"> |
|
|
|
|
<el-select v-model="form.payType" disabled 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-select v-model="form.certificateType" disabled placeholder="请选择" ref="certificateType"> |
|
|
|
|
<el-option label="身份证" value="身份证"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
@ -45,45 +45,38 @@ |
|
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')"> |
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input :value="form.drawPassword" disabled 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="depositDate"> |
|
|
|
|
<el-select v-model="form.voucherType" placeholder="请选择" ref="voucherType"> |
|
|
|
|
<el-select v-model="form.voucherType" disabled placeholder="请选择" ref="voucherType"> |
|
|
|
|
<el-option label="存单" value="存单"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<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" disabled @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="钞汇标识" prop="currencyMark"> |
|
|
|
|
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark"> |
|
|
|
|
<el-select v-model="form.currencyMark" disabled placeholder="请选择" ref="currencyMark"> |
|
|
|
|
<el-option label="钞户" value="钞户"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
|
<el-input v-model="form.depositNumber"></el-input> |
|
|
|
|
<el-form-item label="定存编号" prop="depositNumber"> |
|
|
|
|
<el-input disabled v-model="form.depositNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<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" 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" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> |
|
|
|
|
<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" @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input> |
|
|
|
|
<el-input :value="form.payMoney" disabled @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-option label="1年" value="1年"> </el-option> |
|
|
|
|
<el-option label="3年" value="3年"> </el-option> |
|
|
|
|
<el-option label="5年" value="5年"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
|
|
<el-form-item label="身份证" required> |
|
|
|
|
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
@ -93,26 +86,18 @@ |
|
|
|
|
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="续存标识" required> |
|
|
|
|
<el-select disabled v-model="form.identification" placeholder="请选择"> |
|
|
|
|
<el-option label="不续存" value="不续存"> </el-option> |
|
|
|
|
<el-option label="续存1年" value="续存1年"> </el-option> |
|
|
|
|
<el-option label="续存3年" value="续存3年"> </el-option> |
|
|
|
|
<el-option label="续存5年" value="续存5年"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> |
|
|
|
|
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> |
|
|
|
|
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0812' /> |
|
|
|
|
</div> |
|
|
|
|
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword } from '@/utils/utilFunction.js' |
|
|
|
|
|
|
|
|
|
import { mapMutations, mapGetters } from 'vuex' |
|
|
|
|
import NeedBefore from '@/components/needBefore' |
|
|
|
@ -141,7 +126,7 @@ export default{ |
|
|
|
|
drawPassword: '', // 支付密码 |
|
|
|
|
// 非必填项 |
|
|
|
|
// voucherNumber: '', // 凭证号码 |
|
|
|
|
currency: 'CNY人民币', // 币种 |
|
|
|
|
currency: '', // 币种 |
|
|
|
|
clientName: '', // 客户姓名 |
|
|
|
|
currencyMark: '钞户', // 钞汇标识 |
|
|
|
|
depositNumber: '', // 定存编号 |
|
|
|
@ -296,8 +281,6 @@ export default{ |
|
|
|
|
created() { |
|
|
|
|
if(this.inMyWork(moduleName)) { |
|
|
|
|
if(this.needsModule(moduleName) === '') { |
|
|
|
|
console.log('nomCallDepositClosedCard --------------') |
|
|
|
|
console.log(sessionStorage.getItem('nomCallDepositClosedCard')) |
|
|
|
|
if(sessionStorage.getItem('nomCallDepositClosedCard')) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
const { depositDate, noticeType, depositNumber, capital, interest, totalMoney, payType, idNumber, |
|
|
|
@ -337,6 +320,17 @@ export default{ |
|
|
|
|
// 392: 'nomCallDepositClosedCard2', |
|
|
|
|
// 394: 'nomCallDepositClosedPassword' |
|
|
|
|
} |
|
|
|
|
const callback = () => { |
|
|
|
|
if(this.form.idNumber) { |
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
} |
|
|
|
|
if(this.form.voucherNumber) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem('nomCallDepositOpenPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) |
|
|
|
|
}else { |
|
|
|
|
this.isNeedBefore = true |
|
|
|
@ -379,6 +373,19 @@ export default{ |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
submitForm() { |
|
|
|
|
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; |
|
|
|
|