20240205
luoJunYong.123 3 years ago
parent d4fc68e55b
commit a7121e1385
  1. 25
      src/pages/counter/list/index.vue
  2. 33
      src/pages/counter/list/myConfig.js
  3. 8
      src/pages/manage/list/client/consumerClient.vue
  4. 1
      src/pages/manage/list/client/corporateClient.vue
  5. 216
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  6. 116
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  7. 24
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  8. 11
      src/pages/manage/list/personal/currentAccount/deposit.vue
  9. 4
      src/pages/manage/list/personal/currentAccount/index.vue
  10. 30
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  11. 30
      src/pages/manage/list/personal/currentAccount/settle.vue
  12. 19
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  13. 17
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  14. 16
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  15. 26
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  16. 23
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  17. 34
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  18. 32
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  19. 29
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  20. 103
      src/store/modules/system.js

@ -217,6 +217,13 @@
<!-- <div :style="{'background':'url('+imgSrc+')','height':'500px','background-repeat': 'no-repeat',--> <!-- <div :style="{'background':'url('+imgSrc+')','height':'500px','background-repeat': 'no-repeat',-->
<!-- 'background-size': '100% 100%'}" class="imgPop">--> <!-- 'background-size': '100% 100%'}" class="imgPop">-->
<!-- </div>--> <!-- </div>-->
<!-- 银行卡 -->
<div v-if="magnifyData.id == 16" style="position: absolute;top:0;width: 634px">
<div style='position: relative;top: 220px;left: 70px;width:250px;font-size: 24px;color: #fff'>
{{magnifyData.cardNub}}
</div>
</div>
<!-- 身份证 -->
<div v-if="magnifyData.id == 13" style="position: absolute;top:0;width: 634px"> <div v-if="magnifyData.id == 13" style="position: absolute;top:0;width: 634px">
<div style='position: relative;top: 73px;left: 80px;width:220px'> <div style='position: relative;top: 73px;left: 80px;width:220px'>
{{magnifyData.userName}} {{magnifyData.userName}}
@ -319,7 +326,7 @@ export default {
idCardNo:'465852346854168479'}, idCardNo:'465852346854168479'},
{name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14}, {name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14},
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, {name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15},
{name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}, {name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16,cardNub:'1865 3549 5675 5589'},
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, {name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23},
], ],
// // // // // //
@ -335,7 +342,7 @@ export default {
idCardNo:'465852346854168479'}, idCardNo:'465852346854168479'},
{name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14}, {name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14},
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, {name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15},
{name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}, {name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16,cardNub:'1865 3549 5675 5589'},
{name:'存款凭条', src:require('@/assets/img/goods/ckpt.png'), id:17}, {name:'存款凭条', src:require('@/assets/img/goods/ckpt.png'), id:17},
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, {name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23},
], ],
@ -368,7 +375,7 @@ export default {
// goods:[/* */ // goods:[/* */
// ], // ],
popArr:[/* 弹窗展示的物品 */ popArr:[/* 弹窗展示的物品 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439}, {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412}, {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
@ -449,7 +456,7 @@ export default {
{name:'转讫章',src:require('@/assets/img/seal/Transfer.png'),id:'转讫章'}, {name:'转讫章',src:require('@/assets/img/seal/Transfer.png'),id:'转讫章'},
], ],
importanceArr:[/* 重要空白凭证 */ importanceArr:[/* 重要空白凭证 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439}, {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412}, {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
@ -1131,9 +1138,6 @@ export default {
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
callChangeCard: 'system/callChangeCard',
callChangeId: 'system/callChangeId',
callChangePassword: 'system/callChangePassword',
replaceThingsGoods: 'system/replaceThingsGoods', replaceThingsGoods: 'system/replaceThingsGoods',
replaceThings: 'system/replaceThings', replaceThings: 'system/replaceThings',
setShowBusiness: 'system/setShowBusiness', setShowBusiness: 'system/setShowBusiness',
@ -1353,7 +1357,9 @@ export default {
}, },
showManage() {// showManage() {//
this.manageVisible = true; this.manageVisible = true;
// this.$router.push('/counter/list/manage/consumerClient');
this.$router.push('/counter/list/manage/consumerClient'); this.$router.push('/counter/list/manage/consumerClient');
}, },
popSure(){/* 弹框-确定 */ popSure(){/* 弹框-确定 */
// //
@ -1369,7 +1375,6 @@ export default {
return return
} }
} }
this.callChangeCard()
} }
if(this.popText.includes('身份证扫描')) { if(this.popText.includes('身份证扫描')) {
@ -1384,10 +1389,6 @@ export default {
return return
} }
} }
this.callChangeId()
}
if(this.popText.includes('密码器') && this.nbm !== 8 && this.passwordForm.passwordAgain) {
this.callChangePassword()
} }
if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') { if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') {

@ -112,7 +112,8 @@ const myConfig = {
nbm: 193, nbm: 193,
name: 'nomCallDepositOpen2', name: 'nomCallDepositOpen2',
parentId: '285,287,5,26,60,193', parentId: '285,287,5,26,60,193',
isPassword: false isPassword: false,
machine: '身份证扫描仪'
}, },
'203': { '203': {
nbm: 203, nbm: 203,
@ -172,13 +173,15 @@ const myConfig = {
nbm: 291, nbm: 291,
name: 'nomCallDepositOpen2', name: 'nomCallDepositOpen2',
parentId: '285,287,5,26,38,288', parentId: '285,287,5,26,38,288',
isPassword: false isPassword: false,
machine: '身份证扫描仪'
}, },
'297': { '297': {
nbm: 297, nbm: 297,
name: 'servicesPasswordRelievePassword', name: 'nomCallDepositOpen3',
parentId: '285,287,5,26,38,288', parentId: '285,287,5,26,38,288',
isPassword: false isPassword: false,
machine: '刷卡器'
}, },
'301': { '301': {
nbm: 301, nbm: 301,
@ -217,7 +220,27 @@ const myConfig = {
parentId: '285,287,5,26,59,157', parentId: '285,287,5,26,59,157',
isPassword: false, isPassword: false,
machine: '身份证扫描仪' machine: '身份证扫描仪'
} },
'302': {
nbm: 302,
name: 'nomCallDepositClosedCard',
parentId: '285,287,5,26,38,289',
isPassword: false,
machine: '刷卡器'
},
'392': {
nbm: 180,
name: 'nomCallDepositClosedCard2',
parentId: '285,287,5,26,38,289',
isPassword: false,
machine: '身份证扫描仪'
},
'394': {
nbm: 180,
name: 'nomCallDepositClosedPassword',
parentId: '285,287,5,26,38,289',
isPassword: true,
},
} }
export { export {

@ -401,19 +401,11 @@ export default {
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowId: 'system/dataFlowId',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
popId: 'system/popId' popId: 'system/popId'
}) })
}, },
watch: {
dataFlowId(newVal) {
this.idNumberJudge = true
}
}
}; };
</script> </script>

@ -258,7 +258,6 @@ export default {
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowId: 'system/dataFlowId',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
}) })

@ -1,16 +1,16 @@
// //
<template> <template>
<div class="body"> <div class="body" v-if="!isNeedBefore">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<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 class="idCard" @click="popUp('银行卡扫描器')"> <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请填凭证号</p> <p>请刷卡</p>
</div>
<div v-else>
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div>
<!-- <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber">
<el-option label="存单" value="存单"> </el-option>
</el-select> -->
</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"></el-input>
@ -26,7 +26,7 @@
</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="breathDate"></el-input> <el-input v-model="form.breathDate"></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" @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input>
@ -42,22 +42,14 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUp3('密码器')"> <div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
</el-form-item> <div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<!-- <el-form-item label="利率(%)" prop="interestRate">
<el-input :value="form.interestRate" @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input>
</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">
@ -94,9 +86,12 @@
</el-form-item> --> </el-form-item> -->
<el-form-item label="身份证" required> <el-form-item label="身份证" required>
<div class="idCard" @click="popUp2('身份证扫描器')"> <div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
</div>
</el-form-item> </el-form-item>
<!-- <el-form-item label="续存标识" required> <!-- <el-form-item label="续存标识" required>
<el-select disabled v-model="form.identification" placeholder="请选择"> <el-select disabled v-model="form.identification" placeholder="请选择">
@ -111,19 +106,39 @@
</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" />
</div> </div>
<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 } from '@/utils/utilFunction.js'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
const moduleName = 'callDeposits/accountClosed'
export default{ export default{
name:'', name:'',
props:{}, props:{},
components: {
NeedBefore,
MyDialog
},
data(){ data(){
return{ return{
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
payMoney: '', // () payMoney: '', // ()
idNumber: '', //
voucherNumber: '', //
drawPassword: '', //
// //
// voucherNumber: '', // // voucherNumber: '', //
currency: 'CNY人民币', // currency: 'CNY人民币', //
@ -140,10 +155,31 @@ export default{
customerNumber: '', // () customerNumber: '', // ()
noticeType: '', // () noticeType: '', // ()
payType: '', // () payType: '', // ()
voucherType: '', // () voucherType: '', // ()
},
formName:{
//
payMoney: '支取金额', // ()
idNumber: '身份证号码', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
//
// voucherNumber: '', //
currency: '币种', //
clientName: '客户姓名', //
currencyMark: '钞汇标识', //
depositNumber: '定存编号', //
capital: '本金', //
interestRate: '利率', //
depositDate: '存期', //
interest: '利息', //
totalMoney: '总金额', //
certificateType: '证件类型', //
breathDate: '起息日期', //
customerNumber: '客户号', // ()
noticeType: '通知类型', // ()
payType: '支取类别', // ()
voucherType: '凭证类型', // ()
}, },
rules: { rules: {
clientName: { clientName: {
@ -255,25 +291,105 @@ export default{
}, },
} }
}, },
mounted() { created() {
this.$refs.clientName.focus() if(this.inMyWork(moduleName)) {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,289' if(this.needsModule(moduleName) === '') {
const cards = { // idNumber: '', //
302: 'nomCallDepositCard', // voucherNumber: '', //
392: 'nomCallDepositCard2', // drawPassword: '', //
394: 'nomCallDepositClosedPassword'
} // depositDate: '',
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) // noticeType: '1',
// depositNumber: '0816',
// capital: 100,
// interest: 2.8,
// totalMoney: 102.8,
// payType: '',
// payMoney: 102.8,
// idNumber,
// peopleNumber,
// userName,
// currency:'CNY',
// goldLogo:'',
// voucherNumber
console.log('nomCallDepositClosedCard --------------')
console.log(sessionStorage.getItem('nomCallDepositClosedCard'))
if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
const { depositDate, noticeType, depositNumber, capital, interest, totalMoney, payType, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow
this.form.depositDate = depositDate
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.interest = interest
this.form.totalMoney = totalMoney
this.form.payType = payType
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.clientName = userName
this.form.customerNumber = peopleNumber
this.form.currency = currency
this.form.currencyMark = goldLogo
this.form.voucherNumber = voucherNumber
this.form.payMoney = payMoney
this.form.voucherType = voucherType
// this.form.idNumber =
}
if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,289'
const cards = {
// 302: 'nomCallDepositClosedCard',
// 392: 'nomCallDepositClosedCard2',
// 394: 'nomCallDepositClosedPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
methods: { methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '302'}) // this.$store.commit('system/changePop',{show:true,text, id: '302'})
this.$message.warning('请刷银行卡');
this.setPopId('302')
this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '392'}) // this.$store.commit('system/changePop',{show:true,text, id: '392'})
this.$message.warning('请刷身份证');
this.setPopId('392')
this.$router.push('/counter/list/')
}, },
popUp3(text) { popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: '394'}) // this.$store.commit('system/changePop',{show:true,text, id: '394'})
this.$message.warning('请在密码器输入密码');
this.setPopId('394')
this.$router.push('/counter/list/')
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
@ -284,16 +400,16 @@ export default{
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
const cards = [ const cards = [
{ // {
302: nomCallDepositCard // 302: nomCallDepositCard
}, // },
{ // {
392: nomCallDepositCard2 // 392: nomCallDepositCard2
}, // },
{ // {
394: nomCallDepositClosedPassword, // 394: nomCallDepositClosedPassword,
"subjectId": 17, // "subjectId": 17,
} // }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));
@ -301,6 +417,14 @@ export default{
ismoney: ismoney, ismoney: ismoney,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
} }
} }
</script> </script>

@ -5,7 +5,7 @@
<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="证件类型" prop="certificateType"> <el-form-item label="证件类型" prop="certificateType">
<el-select disabled v-model="form.certificateType" placeholder="请选择" ref="certificateType"> <el-select v-model="form.certificateType" 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>
@ -24,7 +24,8 @@
</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" placeholder="请选择" ref="noticeType">
<el-option label="1年" value="1年"> </el-option> <el-option label="1天" value="1天"> </el-option>
<el-option label="7天" value="7天"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额" prop="money">
@ -33,9 +34,12 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="身份证" required> <el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')"> <div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
</div>
</el-form-item> </el-form-item>
<el-form-item label="客户姓名" prop="customerName"> <el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input> <el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
@ -46,8 +50,11 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<div class="idCard" @click="popUp2('刷卡器')"> <div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<p>请填凭证号码</p> <p>请刷卡</p>
</div>
<div v-else>
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="存款类别" prop="depositType"> <el-form-item label="存款类别" prop="depositType">
@ -56,9 +63,12 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
<div class="idCard" @click="popUp3('密码器')"> <div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
@ -75,26 +85,54 @@ import { myValidate, checkHanzi, checkName, ismoney, autoPlay2, autoPlay } from
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'
const moduleName = 'callDeposits/openAccount'
export default{ export default{
name:'', name:'',
props:{}, props:{},
components: {
NeedBefore,
MyDialog
},
data(){ data(){
return{ return{
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
// identityCard: '', // // identityCard: '', //
idNumber: '', //
voucherNumber: '', //
drawPassword: '', //
customerName: '', // customerName: '', //
currency: 'CNY人民币', // currency: 'CYN人民币', //
currencyMark: '钞户', // currencyMark: '钞户', //
voucherType: '存单', // voucherType: '存单', //
noticeType: '后台没有这个', // noticeType: '', //
depositType: '', // '' depositType: '', // ''
money: '', // money: '', //
// voucherNumber: '', //
// paymentCode: '', //
// //
clientNumber: '' // clientNumber: '' //
}, },
formName: {
idNumber: '身份证号码', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
customerName: '客户姓名', //
currency: '币种', //
currencyMark: '钞汇标识', //
voucherType: '凭证类型', //
noticeType: '通知类型', //
depositType: '存款类别', // ''
money: '金额', //
//
clientNumber: '客户号' //
},
rules: { rules: {
customerName: vercustomer, customerName: vercustomer,
currency: [ currency: [
@ -219,9 +257,22 @@ export default{
// 297: 'nomCallDepositOpen3', // 297: 'nomCallDepositOpen3',
// 301: 'nomCallDepositOpenPassword' // 301: 'nomCallDepositOpenPassword'
if(sessionStorage.getItem('nomCallDepositOpen2')) { if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true
const { idNumber, peopleNumber, userName, currency, goldLogo } = this.dataFlow
this.form.idNumber = idNumber
this.form.clientNumber = peopleNumber
this.form.customerName = userName
this.form.currency = currency
this.form.currencyMark = goldLogo
}
if(sessionStorage.getItem('nomCallDepositOpen3')) {
const { voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
} }
this.getFormData() this.getFormData()
}else { }else {
this.isNeedBefore = true this.isNeedBefore = true
@ -232,9 +283,13 @@ export default{
this.unNeed = true this.unNeed = true
} }
}, },
mounted() {
},
methods: { methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
getFormData(){ getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,288' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,26,38,288'
const cards = { const cards = {
@ -242,16 +297,30 @@ export default{
// 297: 'nomCallDepositOpen3', // 297: 'nomCallDepositOpen3',
// 301: 'nomCallDepositOpenPassword' // 301: 'nomCallDepositOpenPassword'
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}, },
popUp(text) { popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id:'291'}) this.$message.warning('请刷身份证');
this.setPopId('291')
this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id:'297'}) this.$message.warning('请刷银行卡');
this.setPopId('297')
this.$router.push('/counter/list/')
}, },
popUp3(text) { popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id:'301'}) this.$message.warning('请在密码器输入密码');
this.setPopId('301')
this.$router.push('/counter/list/')
}, },
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
@ -267,11 +336,22 @@ export default{
const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword') const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
const cards = [ const cards = [
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName)
}, },
ismoney: ismoney, ismoney: ismoney,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
} }
} }
</script> </script>

@ -225,36 +225,12 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.cardNumberJudge = true
console.log('这里不用你刷的')
this.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
const nomCurrentCancellPassword = sessionStorage.getItem('nomCurrentCancellPassword')
this.form.drawPassword = nomCurrentCancellPassword
},
dataFlowId(newVal) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
this.$nextTick(() => {
this.$refs.idNumber.focus
})
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -225,23 +225,12 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowPassword: 'system/dataFlowPassword', dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork' inMyWork: 'system/inMyWork'
}) })
}, },
watch: {
dataFlowCard(val) {
const { userName, goldLogo, currency, voucherNumber } = this.dataFlow
this.form.userName = userName
this.form.goldLogo = goldLogo // goldLogo // 13是什么鬼
this.form.currency = currency
this.form.idCardNumber = voucherNumber
this.cardNumberJudge = true
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -107,10 +107,12 @@ export default {
created() { created() {
this.handleSelect('1') this.handleSelect('1')
}, },
destroyed() {
// sessionStorage.setItem('currentAccountIndex', )
},
methods: { methods: {
handleSelect(val){ handleSelect(val){
console.log(typeof(val),this.activeIndex,'xuanze'); console.log(typeof(val),this.activeIndex,'xuanze');
this.text = this.textObj[val] this.text = this.textObj[val]
this.activeIndex = val this.activeIndex = val
}, },

@ -759,40 +759,10 @@ export default {
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork' inMyWork: 'system/inMyWork'
}) })
},
watch: {
dataFlowCard(newVal) {
const { voucherNumber } = this.dataFlow
if(this.cardNumberTag === 1) {
this.form.cardNumber = voucherNumber
this.cardNumberJudge = true
}else if(this.cardNumberTag === 2) {
this.form.cardNumber2 = voucherNumber
this.cardNumberJudge2 = true
}else if(this.cardNumberTag === 3) {
this.form.cardNumber3 = voucherNumber
this.cardNumberJudge3 = true
}
},
dataFlowPassword(newVal) {
if(this.passwordTag === 1) {
const accountPassword = sessionStorage.getItem('accountPassword')
this.form.drawPassword = accountPassword
}else if(this.passwordTag === 2) {
let accountPasswordTwo = sessionStorage.getItem('accountPasswordTwo')
this.form.drawPassword2 = accountPasswordTwo
}else if(this.passwordTag === 3) {
let accountPasswordThree = sessionStorage.getItem('accountPasswordThree')
this.form.drawPassword3 = accountPasswordThree
}
}
} }
}; };
</script> </script>

@ -9,7 +9,7 @@
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" ref="cardNumber" disabled v-model="form.cardNumber" @input="(val) => inputListen(val, form, 'cardNumber')"></el-input> <el-input ref="cardNumber" disabled v-model="form.cardNumber" @input="(val) => inputListen(val, form, 'cardNumber')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
@ -229,9 +229,6 @@ export default{
setPopId: 'system/setPopId' setPopId: 'system/setPopId'
}), }),
// //
getDataBlur() {
},
submitForm(){ submitForm(){
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
@ -278,36 +275,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.$nextTick(() => {
this.$refs.cardNumber.focus()
})
// this.form.cardNumber = this.idCardNumber
this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, chargeWay, interest } = this.dataFlow
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.serviceCharge = serviceCharge
this.form.chargeWay = chargeWay
this.form.interest = interest
},
dataFlowPassword(newVal) {
const nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword')
this.form.drawPassword = nomCurrentSettlePassword
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -285,30 +285,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
// 0.0020
this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, chargeWay, voucherNumber } = this.dataFlow
this.form.cardNumber = voucherNumber
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.serviceCharge = serviceCharge
this.form.chargeWay = chargeWay
},
dataFlowPassword(newVal) {
const nomCurrentTransferPassword = sessionStorage.getItem('nomCurrentTransferPassword')
this.form.drawPassword = nomCurrentTransferPassword
},
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -270,28 +270,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork' inMyWork: 'system/inMyWork'
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.form.cardNumber = this.idCardNumber
const { currency, userName, goldLogo, serviceCharge, chargeWay } = this.dataFlow
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.serviceCharge = serviceCharge
this.form.chargeWay = chargeWay
},
dataFlowPassword(newVal) {
const nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
this.form.drawPassword = nomCurrentWithdrawalPassword
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -376,27 +376,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
// cardNumberJudge
dataFlowCard(newVal) {
this.cardNumberJudge = true
this.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
const nomtimeDepositlPassword = sessionStorage.getItem('nomtimeDepositlPassword')
this.form.drawPassword = nomtimeDepositlPassword
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -343,37 +343,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.cardNumberJudge = true
this.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
const nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
this.form.drawPassword = nomtimeOpenAccountPassword
},
dataFlowId(newVal) {
//
const { idNumber, userName, currency, goldLogo } = this.dataFlow
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.currencyMark = goldLogo
this.idNumberJudge = true
console.log(this.idNumberJudge)
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -312,34 +312,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.cardNumberJudge = true
const { userName, currency, goldLogo, interest, depositNumber, capital, withdrawType, withdrawWay, voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.form.customerName = userName
this.form.currencyType = currency
this.form.currencyMark = goldLogo
this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = capital
this.form.withdrawType = withdrawType
this.form.withdrawWay = withdrawWay
},
dataFlowPassword(newVal) {
const nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
this.form.drawPassword = nomtimeDepositWithdrawalPassword
}
// cardNumberJudge
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -377,45 +377,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber } = this.dataFlow
this.form.currency = currency
this.form.customerName = userName
this.form.depositNumber = depositNumber
this.form.currencyMark = 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.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
this.form.drawPassword = nomUsefulPhrasesClosedPassword
},
dataFlowId(newVal) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
this.$nextTick(() => {
this.$refs.idNumber.focus
})
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -265,43 +265,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowCard(newVal) {
// this.form.cardNumber = this.idCardNumber
this.cardNumberJudge = true
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.moneyTarget = goldLogo
this.form.monthDeposit = monthDeposit
},
dataFlowPassword(newVal) {
let nomUsefulPhrasesContinuePassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
console.log(nomUsefulPhrasesContinuePassword)
this.form.drawPassword = nomUsefulPhrasesContinuePassword
},
dataFlowId(newVal) {
//
const { currency, userName, depositNumber, goldLogo, depositTerm, monthDeposit } = this.dataFlow
this.form.currency = currency
this.form.userName = userName
this.form.goldLogo = goldLogo
this.form.depositNumber = depositNumber
this.form.depositTerm = depositTerm
this.form.monthDeposit = monthDeposit
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -374,40 +374,11 @@ export default{
computed: { computed: {
...mapGetters({ ...mapGetters({
dataFlow: 'system/dataFlow', dataFlow: 'system/dataFlow',
dataFlowCard: 'system/dataFlowCard',
dataFlowId: 'system/dataFlowId',
dataFlowPassword: 'system/dataFlowPassword',
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork', inMyWork: 'system/inMyWork',
}) })
}, },
watch: {
dataFlowId(newVal) {
this.idNumberJudge = true
console.log(this.idNumberJudge)
//
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.currencyMark = goldLogo
// 'currencyMark',// currency
},
dataFlowCard(newVal) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
this.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
this.form.drawPassword = nomUsefulPhrasesOpenPassword
}
}
} }
</script> </script>
<style lang='scss' scoped> <style lang='scss' scoped>

@ -720,9 +720,6 @@ export default {
'currentAccount/deposit': false, 'currentAccount/deposit': false,
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
@ -769,9 +766,6 @@ export default {
'currentAccount/Cancell': false 'currentAccount/Cancell': false
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
@ -819,9 +813,6 @@ export default {
'timeDeposit/openAccount': false, 'timeDeposit/openAccount': false,
'timeDeposit/deposit': false 'timeDeposit/deposit': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
idNumber, idNumber,
userName, userName,
@ -861,9 +852,6 @@ export default {
needsModule: { needsModule: {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber, voucherNumber,
@ -905,9 +893,6 @@ export default {
needsModule: { needsModule: {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName, userName,
@ -949,9 +934,6 @@ export default {
needsModule: { needsModule: {
'usefulPhrases/openAccount': false 'usefulPhrases/openAccount': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:'CNY人民币', currency:'CNY人民币',
@ -988,9 +970,6 @@ export default {
needsModule: { needsModule: {
'usefulPhrases/continueDeposit': false 'usefulPhrases/continueDeposit': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 // 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName, userName,
@ -1028,9 +1007,6 @@ export default {
needsModule: { needsModule: {
'usefulPhrases/accoumtClosed': false 'usefulPhrases/accoumtClosed': false
}, },
dataFlowCard: 0,
dataFlowId: 0,
dataFlowPassword: 0,
dataFlow: { dataFlow: {
idNumber, idNumber,
userName, userName,
@ -1047,7 +1023,7 @@ export default {
} }
}, },
'项目九': { '项目九': {
id: '', id: 497,
data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书 data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书
needs: [ 19, 17 ], // 定期存单 存款凭条 needs: [ 19, 17 ], // 定期存单 存款凭条
isStamp: { isStamp: {
@ -1068,9 +1044,32 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
// 以下为数据流:
needsModule: {
'callDeposits/openAccount': false
},
dataFlow: {
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
voucherNumber
// depositNumber: '0816',
// capital: 100,
// interestRate: 1.85,
// depositTerm: '1年',
// interest: 1.6,
// totalMoney: 101.6,
// signDate: '2001-03-01',
// voucherNumber
}
}, },
'项目十': { '项目十': {
id: '', id: 498,
data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单 data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单
needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金 needs: [ 425, 427, 15 ], // 多了取款凭条、利息清单 现金
isStamp: { isStamp: {
@ -1091,9 +1090,40 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
needsModule: {
'callDeposits/accountClosed': false
},
dataFlow: {
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: '存单',
noticeType: '1天',
depositNumber: '0816',
capital: 100,
interest: 2.8,
totalMoney: 102.8,
payType: '现金',
payMoney: 102.8,
idNumber,
peopleNumber,
userName,
currency:'CNY人民币',
goldLogo:'钞户',
voucherNumber
// depositNumber: '0816',
// capital: 100,
// interestRate: 1.85,
// depositTerm: '1年',
// interest: 1.6,
// totalMoney: 101.6,
// signDate: '2001-03-01',
// voucherNumber
}
}, },
'项目十一': { '项目十一': {
id: '', id: 499,
data: [ 442, 431, 432, 434, 435, 436, 437 ], data: [ 442, 431, 432, 434, 435, 436, 437 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡 needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: { isStamp: {
@ -1498,16 +1528,6 @@ export default {
setNeedsModule(state, name) { setNeedsModule(state, name) {
state.businessSelect[state.businessKey].needsModule[name] = true state.businessSelect[state.businessKey].needsModule[name] = true
}, },
// this.callChangeCard() this.callChangeId()this.callChangePassword()
callChangeCard(state) {
state.businessSelect[state.businessKey].dataFlowCard += 1
},
callChangeId(state) {
state.businessSelect[state.businessKey].dataFlowId += 1
},
callChangePassword(state) {
state.businessSelect[state.businessKey].dataFlowPassword += 1
},
setDataFlow(state, obj) { setDataFlow(state, obj) {
for(let key in obj) { for(let key in obj) {
state.businessSelect[state.businessKey].dataFlow[key] = obj[key] state.businessSelect[state.businessKey].dataFlow[key] = obj[key]
@ -1877,15 +1897,6 @@ export default {
// dataFlowGo(state) { // dataFlowGo(state) {
// return state.businessSelect[state.businessKey].dataFlowGo // return state.businessSelect[state.businessKey].dataFlowGo
// }, // },
dataFlowCard(state) {
return state.businessSelect[state.businessKey].dataFlowCard
},
dataFlowId(state) {
return state.businessSelect[state.businessKey].dataFlowId
},
dataFlowPassword(state) {
return state.businessSelect[state.businessKey].dataFlowPassword
},
goods2(state) { goods2(state) {
// 调试容错采用if-else // 调试容错采用if-else
const arr = [] const arr = []

Loading…
Cancel
Save