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