20240205
luoJunYong.123 3 years ago
parent b9010cd0b3
commit 3c305e2fbc
  1. 8
      src/components/case/index.vue
  2. 8
      src/components/dialog/index.vue
  3. 5
      src/components/selectBusiness/index.vue
  4. 13
      src/pages/counter/list/index.vue
  5. 4
      src/pages/manage/index/index.vue
  6. 35
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  7. 10
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  8. 16
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  9. 2
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  10. 30
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  11. 37
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  12. 17
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  13. 13
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  14. 2
      src/store/modules/system.js
  15. 111
      test.js

@ -602,9 +602,9 @@ export default {
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
// location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
} }
}).catch((error)=>{ }).catch((error)=>{
}) })
@ -835,9 +835,9 @@ export default {
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// //
// location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
}, },
checkVer() { checkVer() {

@ -12,7 +12,7 @@
:show-close="false" :show-close="false"
custom-class="w-full bgNone z6000" custom-class="w-full bgNone z6000"
> >
<div class="data-dia23 mx-auto w-2/5 rounded-3xl" :class="{ ['w-9/12']: flow === 3 }"> <div class="data-dia23 mx-auto w-9/12 rounded-3xl" :class="{ ['w-full']: flow === 3 }">
<!-- 2xl:w-3/5 xl:w-4/5 lg:w-full --> <!-- 2xl:w-3/5 xl:w-4/5 lg:w-full -->
<div slot="title" class="dia-header rounded-3xl"> <div slot="title" class="dia-header rounded-3xl">
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> <div class="data-title" v-if="flow === 1 || flow === 2">提示</div>
@ -138,7 +138,11 @@ const obj = {
'timeDeposit/openAccount': '整存整取开户', 'timeDeposit/openAccount': '整存整取开户',
'timeDeposit/deposit': '整存整取存款', 'timeDeposit/deposit': '整存整取存款',
'timeDeposit/withdrawal': '整存整取取款', 'timeDeposit/withdrawal': '整存整取取款',
'timeDeposit/deposit': '整存整取存款', 'usefulPhrases/openAccount': '零存整取开户',
'usefulPhrases/continueDeposit': '零存整取续存',
'usefulPhrases/accoumtClosed': '零存整取销户',
'callDeposits/openAccount': '通知存款开户',
'callDeposits/accountClosed': '通知存款销户',
'business/openAccount': '公司业务开户', 'business/openAccount': '公司业务开户',
'servicesAccount/passwordChange': '密码修改', 'servicesAccount/passwordChange': '密码修改',
'servicesAccount/passwordLost': '密码挂失登记', 'servicesAccount/passwordLost': '密码挂失登记',

@ -230,6 +230,7 @@ export default {
} }
this.setShowBusiness(false) this.setShowBusiness(false)
// clearStore
let systemData = sessionStorage.getItem('systemData') let systemData = sessionStorage.getItem('systemData')
let token = sessionStorage.getItem('token') let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')
@ -238,6 +239,7 @@ export default {
let assessmentId = sessionStorage.getItem('assessmentId') let assessmentId = sessionStorage.getItem('assessmentId')
let classId = sessionStorage.getItem('classId') let classId = sessionStorage.getItem('classId')
let timestamp = sessionStorage.getItem('timestamp') let timestamp = sessionStorage.getItem('timestamp')
let startTime = sessionStorage.getItem('startTime')
sessionStorage.clear() sessionStorage.clear()
sessionStorage.setItem('token', token) sessionStorage.setItem('token', token)
sessionStorage.setItem('cid', cid) sessionStorage.setItem('cid', cid)
@ -252,6 +254,9 @@ export default {
if(timestamp) { if(timestamp) {
sessionStorage.setItem('timestamp', timestamp) sessionStorage.setItem('timestamp', timestamp)
} }
if(startTime) {
sessionStorage.setItem('startTime', startTime)
}
// sessionStorage.setItem('systemData', systemData) // sessionStorage.setItem('systemData', systemData)

@ -141,16 +141,21 @@
<!-- 动画开始 --> <!-- 动画开始 -->
<div v-if="popText==='密码器'" style="width:800px;padding-right:150px;padding-top:80px"> <div v-if="popText==='密码器'" style="width:800px;padding-right:150px;padding-top:80px">
<el-form :model="passwordForm" :rules="passwordRules" ref="form" label-width="180px" key="passwordFormpasswordAgain"> <el-form :model="passwordForm" :rules="passwordRules" ref="form" label-width="180px" key="passwordFormpasswordAgain" class="flex flex-col justify-center">
<el-form-item class="password-wrap" label="密码" prop="passwordAgain"> <!-- <el-form-item class="password-wrap" label="密码" prop="passwordAgain">
<el-input :class="{'password-input': !viewPassword1}" v-focus v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="new-password" auto-complete="new-password"></el-input> <el-input :class="{'password-input': !viewPassword1}" v-focus v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="new-password" auto-complete="new-password"></el-input>
<i class="view el-icon-view" @click="viewPassword1 = !viewPassword1"></i> <i class="view el-icon-view" @click="viewPassword1 = !viewPassword1"></i>
</el-form-item> </el-form-item>
<el-form-item class="password-wrap" label="确认密码" prop="password2" key="passwordFormpassword2" v-if="needPasswordAgain"> <el-form-item class="password-wrap" label="确认密码" prop="password2" key="passwordFormpassword2" v-if="needPasswordAgain">
<el-input :class="{'password-input': !viewPassword2}" v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off" auto-complete="off"></el-input> <el-input :class="{'password-input': !viewPassword2}" v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off" auto-complete="off"></el-input>
<i class="view el-icon-view" @click="viewPassword2 = !viewPassword2"></i> <i class="view el-icon-view" @click="viewPassword2 = !viewPassword2"></i>
</el-form-item> -->
<el-form-item class="password-wrap" label="密码" prop="passwordAgain">
<el-input v-focus v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="new-password" auto-complete="new-password" show-password></el-input>
</el-form-item>
<el-form-item class="password-wrap" label="确认密码" prop="password2" key="passwordFormpassword2" v-if="needPasswordAgain">
<el-input v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off" auto-complete="off" show-password></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -418,7 +423,7 @@ export default {
callback(new Error('请再次输入密码')); callback(new Error('请再次输入密码'));
} else if (value.length < 6) { } else if (value.length < 6) {
callback(new Error('密码长度小于6位!')); callback(new Error('密码长度小于6位!'));
} else if(value !== this.passwordForm.password){ } else if(value !== this.passwordForm.passwordAgain){
callback(new Error('两次输入密码不一致!')); callback(new Error('两次输入密码不一致!'));
}else{ }else{
callback(); callback();

@ -1,8 +1,8 @@
<template> <template>
<!-- :style="full?'height:100vh;':'height: 80vh;'" --> <!-- :style="full?'height:100vh;':'height: 80vh;'" -->
<div class="box select-none" :class="full? 'h-4/5': ''"> <div class="box" :class="full? 'h-4/5': ''">
<div class="nav"> <div class="nav">
<!-- <div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> --> <!-- <div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> select-none -->
<div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> <div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'">
<p style="margin:auto">商业银行系统</p> <p style="margin:auto">商业银行系统</p>
</div> </div>

@ -5,12 +5,13 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required=""> <el-form-item label="凭证号码" required="">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <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-form-item> </el-form-item>
<el-form-item label="客户号" prop="customerNumber"> <el-form-item label="客户号" prop="customerNumber">
<el-input v-model="form.customerNumber" disabled></el-input> <el-input v-model="form.customerNumber" disabled></el-input>
@ -98,7 +99,7 @@
</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 } 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'
@ -355,6 +356,31 @@ export default{
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() {
if(!this.form.voucherNumber) {
return
}
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow
this.form.certificateType = 83
this.form.voucherType = 123
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = capital
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) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '302'}) // this.$store.commit('system/changePop',{show:true,text, id: '302'})
@ -447,7 +473,8 @@ export default{
}, },
ismoney: ismoney, ismoney: ismoney,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName,
inputListen
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({

@ -51,12 +51,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<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 ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="存款类别" prop="depositType"> <el-form-item label="存款类别" prop="depositType">
<el-select v-model="form.depositType" disabled placeholder="请选择" ref="depositType"> <el-select v-model="form.depositType" disabled placeholder="请选择" ref="depositType">
@ -81,7 +82,7 @@
</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, autoPlay2, autoPlay, messageIdCard, messageCard, messagePassword } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, ismoney, autoPlay2, autoPlay, 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'
@ -406,7 +407,8 @@ export default{
}, },
ismoney: ismoney, ismoney: ismoney,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName,
inputListen
}, },
computed: { computed: {

@ -5,12 +5,13 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur" 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-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" placeholder="请选择" ref="currency">
@ -308,11 +309,14 @@ export default{
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
if(!this.form.voucherNumber) {
return
}
if(this.form.voucherNumber) { if(this.form.voucherNumber) {
// const { userName, currency, goldLogo } = this.dataFlow const { userName, currency, goldLogo } = this.dataFlow
// this.form.customerName = userName this.form.customerName = userName
// this.form.currency = currency this.form.currency = currency
// this.form.goldLogo = goldLogo this.form.goldLogo = goldLogo
} }
}, },
getFormData(){ getFormData(){

@ -6,7 +6,7 @@
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="证件类型"> <el-form-item label="证件类型">
<el-select v-model="form.certificateType" placeholder="请选择"> <el-select v-model="form.certificateType" placeholder="请选择">
<el-option label="证件号码" :value="83"> </el-option> <el-option label="身份证" :value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="客户号"> <el-form-item label="客户号">

@ -5,12 +5,13 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur" 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-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" placeholder="请选择" ref="currency">
@ -45,7 +46,7 @@
<el-input :value="form.capital" disabled @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="withdrawAmount"> <el-form-item label="支取金额" prop="withdrawAmount">
<el-input :value="form.withdrawAmount" :disabled="capitalDisabled" @input="val => ismoney(val, form, 'withdrawAmount')" ref="withdrawAmount"></el-input> <el-input ref="withdrawAmount" :value="form.withdrawAmount" :disabled="capitalDisabled" @input="val => ismoney(val, form, 'withdrawAmount')"></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" disabled @input="(val) => rateListen(val, form, 'interest')" ref="interest"></el-input> <el-input :value="form.interest" disabled @input="(val) => rateListen(val, form, 'interest')" ref="interest"></el-input>
@ -198,11 +199,11 @@ export default{
rules: { rules: {
customerName: vercustomer, customerName: vercustomer,
interest: [ interest: [
{ // {
required: true, // required: true,
message: '请输入利息', // message: '',
trigger: 'blur' // trigger: 'blur'
}, // },
{ {
pattern: ratePattern, pattern: ratePattern,
message: '利息格式有误' message: '利息格式有误'
@ -296,8 +297,19 @@ export default{
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
if(!this.form.voucherNumber) {
return
}
// 0912 // 0912
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, voucherNumber } = this.dataFlow
// this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
}, },
getFormData(){ getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,58,120' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,58,120'

@ -9,13 +9,14 @@
<el-option label="身份证" :value="83"> </el-option> <el-option label="身份证" :value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" prop="voucherNumber">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></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" disabled placeholder="请选择" ref="currency"> <el-select v-model="form.currency" disabled placeholder="请选择" ref="currency">
@ -101,7 +102,7 @@
</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 } 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'
@ -150,7 +151,6 @@ export default{
this.form.signDate = signDate this.form.signDate = signDate
this.form.voucherNumber = voucherNumber this.form.voucherNumber = voucherNumber
this.form.depositTerm = depositTerm this.form.depositTerm = depositTerm
console.log(depositTerm)
} }
@ -199,6 +199,13 @@ export default{
signDate:'起息日期', // signDate:'起息日期', //
}, },
rules: { rules: {
voucherNumber: [
{
required: true,
message: '请输入凭证号码',
trigger: 'blur'
}
],
customerName: vercustomer, customerName: vercustomer,
currency: [ currency: [
{ {
@ -308,6 +315,23 @@ export default{
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate' 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(){ getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157'
const cards = { const cards = {
@ -422,7 +446,8 @@ export default{
}, },
ismoney: ismoney, ismoney: ismoney,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName,
inputListen
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({

@ -5,12 +5,13 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" disabled maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur" disabled maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div> -->
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <el-form-item label="定存编号" prop="depositNumber">
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input> <el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
@ -204,7 +205,17 @@ export default{
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
if(!this.form.voucherNumber) {
return
}
const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow
// this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currency = currency
this.form.depositTerm = depositTerm
this.form.depositNumber = depositNumber
this.form.goldLogo = goldLogo
this.form.monthDeposit = monthDeposit
}, },
getFormData(){ getFormData(){
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,156' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,156'

@ -56,12 +56,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div> -->
<el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="月存金额" prop="monthDeposit"> <el-form-item label="月存金额" prop="monthDeposit">
<!-- :value="form.monthDeposit" --> <!-- :value="form.monthDeposit" -->
@ -308,7 +309,7 @@ export default{
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur() {
console.log('???') // console.log('???')
}, },
popUp1(text) { popUp1(text) {
this.setTipsOperate('请刷身份证'); this.setTipsOperate('请刷身份证');
@ -392,9 +393,9 @@ export default{
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2() {
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard') // let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2') // let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') // let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155'
const cards = [ const cards = [
{ {

@ -2554,7 +2554,7 @@ export default {
}else if(id === 429) { }else if(id === 429) {
stampSuccess = '449' stampSuccess = '449'
}else if(id === 428) { }else if(id === 428) {
stampSuccess = '428' stampSuccess = '19'
}else if(id === 432) { }else if(id === 432) {
state.businessSelect[state.businessKey].data.push(432, 433) state.businessSelect[state.businessKey].data.push(432, 433)
judgeDelete = false judgeDelete = false

@ -14,102 +14,35 @@ const voucherNumber = (() => {
})() })()
const sex = 1 // 1为男,2为女。 const sex = 1 // 1为男,2为女。
{ const t = {
peopleNumber, peopleNumber,
userName, userName,
idType: 83, idType: 83,
idNumber,//证件号码 idNumber,//证件号码
sex,//性别 1为男, sex,//性别 1为男,
birthday,//出生日期 birthday,//出生日期
// nationality:'汉',//民族 // nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址 mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber,
voucherNumber currency:12,
idType: 83, goldLogo:13,
idNumber,//证件号码 serviceCharge:'0.00',
sex,//性别 drawWay:18,
birthday,//出生日期 interest: '0.1',
// nationality:'汉',//民族 balance: 666,
mailbox:'广东省深圳市阳光村',//通讯地址 depositNumber: '0912',
phone:'13222223122',//联系电话 capital, // 不知道是多少
withdrawType: 124, // 支取类别
// cardNumber: '', // 卡号 withdrawWay: 125, // 支取方式
voucherNumber, withdrawType: 124, // 支取类别
currency:12, withdrawWay: 126, // 支取方式
goldLogo:13, depositTerm: 86,
serviceCharge:'0.00', monthDeposit: 100,
drawWay:18, signDate: '2001-03-01',
interest: '0.1', depositType: 92,
balance: 666,
totalMoney: '',
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
voucherNumber,
currency:12,
goldLogo:13,
interest: '0.00',
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
voucherNumber,
currency:12,
goldLogo:13,
interest: '5.75',
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
currency:12,
goldLogo:13,
idNumber,
voucherNumber,
depositNumber: '0816',
currency:12,
goldLogo:13,
depositTerm: 86,
monthDeposit: 100,
voucherNumber,
idNumber,
depositNumber: '0816',
currency:12,
goldLogo:13,
capital: 100,
interestRate: 1.85,
depositTerm: 86,
interest: 1.6,
totalMoney: 101.6,
signDate: '2001-03-01',
voucherNumber,
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
depositType: 92,
voucherType: 123, voucherType: 123,
noticeType: 95, noticeType: 95,
depositNumber: '0816',
capital: 100,
interest: 2.8,
totalMoney: 102.8,
payType: 13, payType: 13,
payMoney: 102.8, payMoney: 102.8,
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
idNumber,
'corporateClient': false, 'corporateClient': false,
idNumber,
idNumber,
voucherNumber,
idNumber,
voucherNumber,
voucherNumber,
idNumber,
voucherNumber,
idNumber,
} }
Loading…
Cancel
Save