20240205
luoJunYong.123 3 years ago
parent 5963822288
commit c0ee400abc
  1. 2
      src/components/needBefore/index.vue
  2. 4
      src/pages/counter/list/myConfig.js
  3. 26
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  4. 78
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  5. 39
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  6. 22
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  7. 10
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  8. 43
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  9. 1
      src/store/modules/system.js
  10. 4
      src/utils/utilFunction.js
  11. 11898
      test.js

@ -19,6 +19,8 @@ const obj = {
'currentAccount/settle': '活期业务 -> 销户',
'timeDeposit/openAccount': '整存整取 -> 开户',
'timeDeposit/deposit': '整存整取 -> 存款',
'timeDeposit/withdrawal': '整存整取 -> 取款',
'timeDeposit/deposit': '整存整取 -> 存款',
}
import {mapGetters} from 'vuex'

@ -49,9 +49,9 @@ const myConfig = {
},
'144,1': {
nbm: 144,
name: 'nomtimeDepositWithdrawal1',
name: 'nomtimeDepositWithdrawalPassword',
parentId: '285,287,5,26,58,120',
isPassword: false
isPassword: true
},
'156': {
nbm: 156,

@ -64,7 +64,7 @@
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<el-form-item label="起息日" prop="valueDate">
@ -249,6 +249,10 @@ export default{
type: '1',
"subjectId": 28,
},
140: {
prop: 'drawPassword',
type: '3'
},
141: {
prop: 'certificateDeposit',//
type: '1',
@ -293,9 +297,14 @@ export default{
const parentId = '285,287,5,26,58,119'
const cards = {
// 131: 'nomtimeDeposit1',
140: 'nomtimeDepositlPassword'
// 140: 'nomtimeDepositlPassword'
}
const callback = () => {
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '131'})
@ -318,10 +327,10 @@ export default{
// {
// 131: nomtimeDeposit1
// },
{
140: nomtimeDepositlPassword,
"subjectId": 17,
}
// {
// 140: nomtimeDepositlPassword,
// "subjectId": 17,
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
},
@ -350,7 +359,8 @@ export default{
})
},
dataFlowPassword(newVal) {
this.form.drawPassword = '******'
const nomtimeDepositlPassword = sessionStorage.getItem('nomtimeDepositlPassword')
this.form.drawPassword = nomtimeDepositlPassword
}
}
}

@ -30,7 +30,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!form.idNumber'>
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
@ -41,19 +41,24 @@
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
<el-select disabled v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-select v-model="form.currencyMark" placeholder="请选择" ref="currencyMark">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" prop='voucherNumber'>
<el-input ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
<el-form-item label="凭证号码">
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp('密码器')">
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<!-- <el-form-item label="客户经理" prop="customerManage">-->
@ -88,6 +93,8 @@ export default{
return{
visible: false,
needBefore: '',
idNumberJudge: false,
cardNumberJudge: false,
form:{
//
idNumber: '', //
@ -104,6 +111,7 @@ export default{
clientNumber: '' //
},
formName: {
idNumber: '身份证', //
customerName: '客户姓名', //
currency: '币种', //
currencyMark: '钞汇标识', //
@ -159,6 +167,10 @@ export default{
type: '1',
"subjectId": 19,
},
122: {
prop: 'idNumber',//
type: '3'
},
123: {
prop: 'clientNumber',//
type: '3',
@ -175,7 +187,10 @@ export default{
prop: 'voucherNumber',//
type: '3',
},
129: {
prop: 'drawPassword',
type: '3'
},
130: {
prop: 'withdrawingWay', //
type: '1',
@ -217,14 +232,25 @@ export default{
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule'
}),
getDataBlur() {
},
getFormData(){
const parentId = '285,287,5,26,58,118'
const cards = {
13: 'nomtimeOpenAccount1',
// 128: 'nomtimeOpenAccount2',
129: 'nomtimeOpenAccountPassword'
// 13: 'nomtimeOpenAccount1',
// // 128: 'nomtimeOpenAccount2',
// 129: 'nomtimeOpenAccountPassword'
}
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)
},
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text, id: '118,1'})
@ -248,18 +274,18 @@ export default{
submitForm2() {
let nomtimeOpenAccount1 = sessionStorage.getItem('nomtimeOpenAccount1')
// let nomtimeOpenAccount2 = sessionStorage.getItem('nomtimeOpenAccount2')
let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
// let nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
const cards = [
{
13: nomtimeOpenAccount1
},
// {
// 128: nomtimeOpenAccount2
// },
{
129: nomtimeOpenAccountPassword,
"subjectId": 17,
}
// 13: nomtimeOpenAccount1
// },
// // {
// // 128: nomtimeOpenAccount2
// // },
// {
// 129: nomtimeOpenAccountPassword,
// "subjectId": 17,
// }
]
const parentId = '285,287,5,26,58,118'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
@ -281,8 +307,15 @@ export default{
})
},
watch: {
dataFlowCard(newVal) {
this.cardNumberJudge = true
this.$nextTick(() => {
this.$refs.voucherNumber.focus()
})
},
dataFlowPassword(newVal) {
this.form.drawPassword = '******'
const nomtimeOpenAccountPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
this.form.drawPassword = nomtimeOpenAccountPassword
},
dataFlowId(newVal) {
//
@ -291,6 +324,9 @@ export default{
this.form.customerName = userName
this.form.currency = currency
this.form.currencyMark = goldLogo
this.idNumberJudge = true
console.log(this.idNumberJudge)
}
}
}

@ -31,7 +31,7 @@
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
@ -72,7 +72,7 @@
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, rateListen, inputListen } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'consumerClient'
const moduleName = 'timeDeposit/withdrawal'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
@ -84,6 +84,9 @@ export default{
MyDialog
},
created() {
console.log('---wha??????????')
console.log(moduleName)
console.log(this.needsModule(moduleName))
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
@ -192,6 +195,10 @@ export default{
type: '1',
"subjectId": 13,
},
154: {
prop: 'drawPassword',//
type: '3',
}
},
myTable2: {
145: {
@ -209,7 +216,10 @@ export default{
},
mounted() {
this.getFormData()
this.$refs.depositNumber.focus()
this.$nextTick(() => {
this.$refs.depositNumber.focus()
})
},
methods: {
...mapMutations({
@ -236,9 +246,15 @@ export default{
const parentId = '285,287,5,26,58,120'
const cards = {
// 144: 'nomtimeDepositWithdrawal1',
154: 'nomtimeDepositWithdrawalPassword'
// 154: 'nomtimeDepositWithdrawalPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
const callback = () => {
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
// if(this.form.drawPassword)
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '144,1'})
@ -254,16 +270,16 @@ export default{
},
submitForm2() {
// let nomtimeDepositWithdrawal1 = sessionStorage.getItem('nomtimeDepositWithdrawal1')
let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
// let nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
const parentId = '285,287,5,26,58,120'
const cards = [
// {
// 144: nomtimeDepositWithdrawal1
// },
{
154: nomtimeDepositWithdrawalPassword,
"subjectId": 17,
}
// {
// 154: nomtimeDepositWithdrawalPassword,
// "subjectId": 17,
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName)
@ -293,7 +309,8 @@ export default{
})
},
dataFlowPassword(newVal) {
this.form.drawPassword = '******'
const nomtimeDepositWithdrawalPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword')
this.form.drawPassword = nomtimeDepositWithdrawalPassword
}
// cardNumberJudge
}

@ -76,7 +76,7 @@
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<!-- <el-form-item label="续存标识" required>
@ -263,13 +263,6 @@ export default{
mounted() {
this.getFormData()
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
this.$refs.customerName.focus()
},
methods: {
@ -279,7 +272,6 @@ export default{
setNeedsModule: 'system/setNeedsModule'
}),
getDataBlur() {
console.log('???')
},
getFormData(){
const parentId = '285,287,5,26,59,157'
@ -288,7 +280,15 @@ export default{
// 181: 'nomUsefulPhrasesClosed2',
// 192: 'nomUsefulPhrasesClosedPassword'
}
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) {
this.$store.commit('system/changePop',{show:true,text, id: '181'})
@ -345,7 +345,6 @@ export default{
dataFlowCard(newVal) {
this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber } = this.dataFlow
console.log(interestRate)
this.form.currency = currency
this.form.customerName = userName
this.form.depositNumber = depositNumber
@ -362,7 +361,6 @@ export default{
},
dataFlowPassword(newVal) {
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
console.log(nomUsefulPhrasesClosedPassword)
this.form.drawPassword = nomUsefulPhrasesClosedPassword
},
dataFlowId(newVal) {

@ -174,9 +174,6 @@ export default{
},
mounted() {
this.getFormData()
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
this.$refs.customerName.focus()
},
@ -204,7 +201,12 @@ export default{
// 171: 'nomUsefulPhrasesContinueCard',
// 178: 'nomUsefulPhrasesContinuePassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
const callback = () => {
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id: '171'})

@ -27,7 +27,7 @@
<p>请输入密码</p>
</div>
<div v-else>
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input>
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
<el-form-item label="续存标识" prop="extendDepositTarget">
@ -41,7 +41,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!form.idNumberJudge'>
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
@ -102,6 +102,7 @@ export default{
this.needBefore = this.needsModule(moduleName)
}
}
},
data(){
return{
@ -130,6 +131,7 @@ export default{
formName:{
//
// identityCard: '', //
idNumber: '身份证',
customerName: '客户姓名', //
currency: '币种', //
currencyMark: '钞汇标识', //
@ -236,6 +238,10 @@ export default{
prop: 'voucherNumber',//
type: '3',
},
167: {
prop: 'drawPassword',
type: '3'
},
168: {
prop: 'monthDeposit',//
type: '3',
@ -249,16 +255,9 @@ export default{
},
}
},
mounted() {
this.getFormData()
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
async mounted() {
await this.getFormData()
this.$refs.clientNumber.focus()
},
methods: {
@ -291,7 +290,21 @@ export default{
// 166: 'nomUsefulPhrasesOpenCard',
// 167: 'nomUsefulPhrasesOpenPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
const callback = () => {
console.log('callback')
console.log(this.form)
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(this.form.drawPassword) {
console.log(this.form.drawPassword)
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
@ -337,11 +350,9 @@ export default{
watch: {
dataFlowId(newVal) {
this.idNumberJudge = true
console.log(this.idNumberJudge)
//
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
console.log(peopleNumber)
console.log(this.dataFlow)
console.log(goldLogo)
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName

@ -895,6 +895,7 @@ export default {
dataFlow: {
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName,
voucherNumber,
currency:'CNY人民币',
goldLogo:'钞户',
interest: '5.75',

@ -175,7 +175,7 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => {
})
}
const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr, callback) => {
// 默认11吧?
let param= {
parentId
@ -190,6 +190,7 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
const { answerId, emptyTwo } = list[i]
if(!cardArr) {
form[tmpObj[answerId].prop] = emptyTwo
} else {
if(cardArr[answerId]) {
try{
@ -207,6 +208,7 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr) => {
// form[tmpObj[answerId].prop] = emptyTwo
}
callback()
}
}).catch((error)=>{
})

11898
test.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save