20240205
yujialong 1 year ago
parent d7149a99ee
commit 5465512d8e
  1. 1106
      src/components/dialog/index.vue
  2. 1031
      src/components/dialogTwo/index.vue
  3. 16
      src/pages/counter/list/index.vue
  4. 947
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  5. 2
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  6. 28
      src/store/modules/system.js

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -814,6 +814,7 @@ export default {
{ name: '银行承兑汇票二联', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 581 },
{ name: '银行承兑汇票三联(解讫通知)', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 580 },
{ name: '银行承兑汇票四联', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 583 },
{ name: '预留印鉴卡(一)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 469 },
{ name: '预留印鉴卡(二)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 470 },
{ name: '预留印鉴卡(三)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 471 },
{ name: '二类银行卡', src: require('@/assets/img/goods/bankCard.png'), id: 563 },
@ -1894,7 +1895,6 @@ export default {
}
if (this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') {
debugger
if (this.$store.state.system.id == '33' && this.popText === '身份证扫描仪') {
this.nbm = 33
@ -2217,11 +2217,17 @@ export default {
clickList = []
} else if (this.nbm == 3) { //
let clickList = this.importantChecked
this.pushThingsGoods([...clickList])
// console.log("🚀 ~ file: index.vue:2220 ~ popSure ~ clickList:", clickList)
// debugger
// 11 (439)
if (clickList.length === 1 && clickList[0] === 439) {
} else {
this.pushThingsGoods(clickList)
}
// (clickList.length === 1 && clickList[0] === 439) || this.pushThingsGoods(clickList)
if (clickList.findIndex(item => item === 439) !== -1) {
console.log('xxx')
this.pushThingsGoods([470, 471])
console.log(this.goodsShelfTotalData)
this.pushThingsGoods([469, 470, 471])
}

@ -1,458 +1,549 @@
//
<template>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="凭证号码" required="">
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<div class="body">
<el-row :gutter="20"
style="margin: 0">
<el-form ref="form"
:model="form"
label-width="120px"
:rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="凭证号码"
required="">
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item>
<el-form-item label="客户号" prop="customerNumber">
<el-input v-model.trim="form.customerNumber" disabled></el-input>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model.trim="form.currency" disabled placeholder="请选择" ref="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="通知类型" prop="noticeType">
<el-select v-model.trim="form.noticeType" disabled placeholder="请选择" ref="noticeType">
<el-option label="1天" :value="95"> </el-option>
<el-option label="7天" :value="96"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="起息日期" prop="breathDate">
<el-input v-model.trim="form.breathDate" ></el-input>
</el-form-item>
<el-form-item label="利息" prop="interest">
<el-input :value="form.interest" disabled @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input>
</el-form-item>
<el-form-item label="支取类别" prop="drawWayType">
<el-select v-model.trim="form.drawWayType" disabled placeholder="请选择" ref="drawWayType">
<el-option label="现金" :value="133"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="证件类型" prop="certificateType">
<el-select v-model.trim="form.certificateType" disabled placeholder="请选择" ref="certificateType">
<el-option label="身份证" :value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp3('密码器')">
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
<el-input @blur="getDataBlur"
ref="voucherNumber"
:value="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item>
<el-form-item label="客户号"
prop="customerNumber">
<el-input v-model.trim="form.customerNumber"
disabled></el-input>
</el-form-item>
<el-form-item label="币种"
prop="currency">
<el-select v-model.trim="form.currency"
disabled
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="通知类型"
prop="noticeType">
<el-select v-model.trim="form.noticeType"
disabled
placeholder="请选择"
ref="noticeType">
<el-option label="1天"
:value="95"> </el-option>
<el-option label="7天"
:value="96"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="起息日期"
prop="breathDate">
<el-input autocomplete="off"
v-model.trim="form.breathDate"></el-input>
</el-form-item>
<el-form-item label="利息"
prop="interest">
<el-input :value="form.interest"
disabled
@input="val => ismoney(val, form, 'interest')"
ref="interest"></el-input>
</el-form-item>
<el-form-item label="支取类别"
prop="drawWayType">
<el-select v-model.trim="form.drawWayType"
disabled
placeholder="请选择"
ref="drawWayType">
<el-option label="现金"
:value="133"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="证件类型"
prop="certificateType">
<el-select v-model.trim="form.certificateType"
disabled
placeholder="请选择"
ref="certificateType">
<el-option label="身份证"
:value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取密码"
required>
<div v-if='!form.drawPassword'
class="idCard"
@click="popUp3('密码器')">
<p>请输入密码</p>
</div>
<div v-else
@click="popUp3('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" prop="voucherType">
<el-select v-model.trim="form.voucherType" disabled placeholder="请选择" ref="voucherType">
<el-option label="存单" :value="123"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名" prop="clientName">
<el-input :value="form.clientName" disabled @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogo" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号" prop="depositNumber">
<el-input disabled v-model.trim="form.depositNumber"></el-input>
</el-form-item>
<el-form-item label="本金" prop="capital">
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input>
</el-form-item>
<el-form-item label="总金额" prop="totalMoney">
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
</el-form-item>
<el-form-item label="支取金额" prop="payMoney">
<el-input :value="form.payMoney" disabled @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input>
</el-form-item>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
</div>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0812' />
</div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</el-form-item>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="凭证类型"
prop="voucherType">
<el-select v-model.trim="form.voucherType"
disabled
placeholder="请选择"
ref="voucherType">
<el-option label="存单"
:value="123"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名"
prop="clientName">
<el-input :value="form.clientName"
disabled
@input="(val) => checkName(val, form, 'clientName')"
ref="clientName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识"
prop="goldLogo">
<el-select v-model.trim="form.goldLogo"
disabled
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogo"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="定存编号"
prop="depositNumber">
<el-input disabled
v-model.trim="form.depositNumber"></el-input>
</el-form-item>
<el-form-item label="本金"
prop="capital">
<el-input :value="form.capital"
disabled
@input="val => ismoney(val, form, 'capital')"
ref="capital"></el-input>
</el-form-item>
<el-form-item label="总金额"
prop="totalMoney">
<el-input :value="form.totalMoney"
disabled
@input="val => ismoney(val, form, 'totalMoney')"
ref="totalMoney"></el-input>
</el-form-item>
<el-form-item label="支取金额"
prop="payMoney">
<el-input :value="form.payMoney"
disabled
@input="val => ismoney(val, form, 'payMoney')"
ref="payMoney"></el-input>
</el-form-item>
<el-form-item label="证件号码"
required>
<div class="idCard"
@click="popUp2('身份证扫描仪')"
v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
<el-input :value="form.idNumber"
disabled
ref="idNumber"></el-input>
</div>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm"
type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2"
depositNumber='0812' />
</div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template>
<script>
import { ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword, inputListen } 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 NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'callDeposits/accountClosed'
export default{
name:'',
props:{},
mixins: [ TipsBefore ],
components: {
NeedBefore,
MyDialog
},
data(){
return{
moduleName: 'callDeposits/accountClosed',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
form:{
//
payMoney: '', // ()
idNumber: '', //
voucherNumber: '', //
drawPassword: '', //
//
// voucherNumber: '', //
currency: '', //
clientName: '', //
goldLogo: '钞户', //
depositNumber: '', //
capital: '', //
interestRate: '', //
voucherType: '', //
interest: '', //
totalMoney: '', //
certificateType: '', //
breathDate: '', //
customerNumber: '', // ()
noticeType: '', // ()
drawWayType: '', // ()
voucherType: '', // ()
},
formName:{
//
payMoney: '支取金额', // ()
idNumber: '身份证号码', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
//
// voucherNumber: '', //
currency: '币种', //
clientName: '客户姓名', //
goldLogo: '钞汇标识', //
depositNumber: '定存编号', //
capital: '本金', //
interestRate: '利率', //
voucherType: '存期', //
interest: '利息', //
totalMoney: '总金额', //
certificateType: '证件类型', //
breathDate: '起息日期', //
customerNumber: '客户号',
noticeType: '通知类型',
drawWayType: '支取类别',
voucherType: '凭证类型',
},
rules: {
clientName: {
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/,
message: '该名字格式有误'
},
// voucherNumber: {
// required: true,
// message: '',
// trigger: 'blur'
// },
payMoney: {
required: true,
message: '请填写支取金额',
trigger: 'blur'
},
interestRate: [
{
pattern: ratePattern,
message: '利率格式有误'
}
]
},
myTable: {
302: {
prop: 'voucherNumber',
type: '3',
"subjectId": 44,
},
303: {
prop: 'voucherType',
type: '1',
"subjectId": 11,
},
304: {
prop: 'customerNumber',
type: '3',
"subjectId": 6,
},
305: {
prop: 'clientName',
type: '3',
"subjectId": 7,
},
306: {
prop: 'currency',//
type: '1',
"subjectId": 8,
},
307: {
prop: 'goldLogo',//
type: '1',
"subjectId": 9,
},
308: {
prop: 'noticeType',//
type: '1',
"subjectId": 48,
},
309: {
prop: 'depositNumber',//
type: '3',
"subjectId": 33,
},
310: {
prop: 'breathDate',//
type: '3',
"subjectId": 79,
},
311: {
prop: 'capital',//
type: '3',
"subjectId": 34,
},
312: {
prop: 'interest',//
type: '3',
"subjectId": 26,
},
313: {
prop: 'totalMoney',//
type: '3',
"subjectId": 45,
},
314: {
prop: 'drawWayType',//
type: '1',
"subjectId": 82,
},
391: {
prop: 'certificateType',//
type: '1',
"subjectId": 19,
},
392: {
prop: 'idNumber',
type: '3'
},
394: {
prop: 'drawPassword',
type: '3',
"subjectId": 17,
}
},
myTable2: {
315: {
prop: 'payMoney',//
type: '3',
"subjectId": 35,
}
},
submited: 0
export default {
name: '',
props: {},
mixins: [TipsBefore],
components: {
NeedBefore,
MyDialog
},
data () {
return {
moduleName: 'callDeposits/accountClosed',
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
form: {
//
payMoney: '', // ()
idNumber: '', //
voucherNumber: '', //
drawPassword: '', //
//
// voucherNumber: '', //
currency: '', //
clientName: '', //
goldLogo: '钞户', //
depositNumber: '', //
capital: '', //
interestRate: '', //
voucherType: '', //
interest: '', //
totalMoney: '', //
certificateType: '', //
breathDate: '', //
customerNumber: '', // ()
noticeType: '', // ()
drawWayType: '', // ()
voucherType: '', // ()
},
formName: {
//
payMoney: '支取金额', // ()
idNumber: '身份证号码', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
//
// voucherNumber: '', //
currency: '币种', //
clientName: '客户姓名', //
goldLogo: '钞汇标识', //
depositNumber: '定存编号', //
capital: '本金', //
interestRate: '利率', //
voucherType: '存期', //
interest: '利息', //
totalMoney: '总金额', //
certificateType: '证件类型', //
breathDate: '起息日期', //
customerNumber: '客户号',
noticeType: '通知类型',
drawWayType: '支取类别',
voucherType: '凭证类型',
},
rules: {
clientName: {
pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/,
message: '该名字格式有误'
},
// voucherNumber: {
// required: true,
// message: '',
// trigger: 'blur'
// },
payMoney: {
required: true,
message: '请填写支取金额',
trigger: 'blur'
},
interestRate: [
{
pattern: ratePattern,
message: '利率格式有误'
}
]
},
myTable: {
302: {
prop: 'voucherNumber',
type: '3',
"subjectId": 44,
},
303: {
prop: 'voucherType',
type: '1',
"subjectId": 11,
},
304: {
prop: 'customerNumber',
type: '3',
"subjectId": 6,
},
305: {
prop: 'clientName',
type: '3',
"subjectId": 7,
},
306: {
prop: 'currency',//
type: '1',
"subjectId": 8,
},
307: {
prop: 'goldLogo',//
type: '1',
"subjectId": 9,
},
308: {
prop: 'noticeType',//
type: '1',
"subjectId": 48,
},
309: {
prop: 'depositNumber',//
type: '3',
"subjectId": 33,
},
310: {
prop: 'breathDate',//
type: '3',
"subjectId": 79,
},
311: {
prop: 'capital',//
type: '3',
"subjectId": 34,
},
312: {
prop: 'interest',//
type: '3',
"subjectId": 26,
},
313: {
prop: 'totalMoney',//
type: '3',
"subjectId": 45,
},
314: {
prop: 'drawWayType',//
type: '1',
"subjectId": 82,
},
391: {
prop: 'certificateType',//
type: '1',
"subjectId": 19,
},
392: {
prop: 'idNumber',
type: '3'
},
394: {
prop: 'drawPassword',
type: '3',
"subjectId": 17,
}
},
created() {
if(sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
},
myTable2: {
315: {
prop: 'payMoney',//
type: '3',
"subjectId": 35,
}
},
submited: 0
}
},
created () {
if (sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
// if(this.isNeedBefore) {
// if(sessionStorage.getItem('nomCallDepositClosedCard')) {
// this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// }
// if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
// this.idNumberJudge = true
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
// }
// return
// }
if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
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
// this.form.idNumber =
}
// if(this.isNeedBefore) {
// if(sessionStorage.getItem('nomCallDepositClosedCard')) {
// this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// }
// if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
// this.idNumberJudge = true
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
// }
// return
// }
if (sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true
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
// this.form.idNumber =
}
if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if (sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const cards = {
// 302: 'nomCallDepositClosedCard',
// 392: 'nomCallDepositClosedCard2',
// 394: 'nomCallDepositClosedPassword'
}
const callback = () => {
if(this.form.idNumber) {
this.idNumberJudge = true
}
if(this.form.voucherNumber) {
this.cardNumberJudge = true
}
if(sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const cards = {
// 302: 'nomCallDepositClosedCard',
// 392: 'nomCallDepositClosedCard2',
// 394: 'nomCallDepositClosedPassword'
}
const callback = () => {
if (this.form.idNumber) {
this.idNumberJudge = true
}
if (this.form.voucherNumber) {
this.cardNumberJudge = true
}
if (sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}),
getDataBlur () {
if (!this.form.voucherNumber) {
return
}
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType, money } = this.dataFlow
this.form.certificateType = 83
this.form.voucherType = 123
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = money || 800000
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
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}),
getDataBlur() {
if(!this.form.voucherNumber) {
return
}
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType, money } = this.dataFlow
this.form.certificateType = 83
this.form.voucherType = 123
this.form.noticeType = noticeType
this.form.depositNumber = depositNumber
this.form.capital = money || 0
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) {
// this.$store.commit('system/changePop',{show:true,text, id: '302'})
popUp (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '302'})
this.setTipsOperate('请刷银行卡');
this.setPopId('302')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '392'})
this.setTipsOperate('请刷银行卡');
this.setPopId('302')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2 (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '392'})
this.setTipsOperate('请刷身份证');
this.setPopId('392')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '394'})
this.setTipsOperate('请在密码器输入密码');
this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {
if (this.submited) return this.$message.error('已提交!')
if(!this.form.idNumber) {
messageIdCard()
return
}
if(!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if(!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2() {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard')
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
const cards = [
{
key: '392,13'
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.submited = 1
},
ismoney: ismoney,
checkHanzi: checkHanzi,
checkName: checkName,
inputListen
this.setTipsOperate('请刷身份证');
this.setPopId('392')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
popUp3 (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '394'})
this.setTipsOperate('请在密码器输入密码');
this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm () {
if (this.submited) return this.$message.error('已提交!')
if (!this.form.idNumber) {
messageIdCard()
return
}
if (!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if (!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2 () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289'
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard')
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
const cards = [
{
key: '392,13'
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.submited = 1
},
ismoney: ismoney,
checkHanzi: checkHanzi,
checkName: checkName,
inputListen
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
}
</script>
<style lang='scss' scoped>

@ -416,7 +416,7 @@ export default {
this.form.goldLogo = goldLogo
// this.form.interest = interest
this.form.depositNumber = depositNumber
this.form.capital = money || 1000000
this.form.capital = money || 10000
this.form.withdrawType = withdrawType
// this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital)
},

@ -4,6 +4,7 @@
/* 所有物品名字 这里能将东西查找出来并渲染上物品栏 */
const allGoods = {
469: {name:'预留印鉴卡(一)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:469},
470: {name:'预留印鉴卡(二)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:470},
471: {name:'预留印鉴卡(三)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:471},
@ -498,7 +499,7 @@ const myInitState = {
currency:12,
goldLogo:13,
depositTerm: 86,
monthDeposit: 100,
monthDeposit: 15000,
voucherNumber
}
},
@ -629,11 +630,11 @@ const myInitState = {
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123,
noticeType: 95,
noticeType: 96,
depositNumber: '0816',
capital: 100,
interest: 2.8,
totalMoney: 102.8,
totalMoney: 800002.8,
payType: 13,
payMoney: 102.8,
idNumber,
@ -657,15 +658,15 @@ const myInitState = {
id: 500,
name: '公司基本户开立',
data: [ 442, 431, 434, 435, 436, 437,443 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
needs: [ 438, 469 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: {
'业务专用章': [ 432, 438 ],
'附件章': [ 435, 437, 431 ],
'私章': [ 439 ]
'私章': [ 469 ]
},
backPeople: [],
// backPeople: [ 442, 434, 436, 439, 433 ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
cultureArr: [ 431, 432, 435, 437, 438, 439 ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
cultureArr: [ 431, 432, 435, 437, 438, 469 ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
@ -1694,7 +1695,7 @@ export default {
currency:12,
goldLogo:13,
depositTerm: 86,
monthDeposit: 100,
monthDeposit: 15000,
voucherNumber
}
},
@ -1826,11 +1827,11 @@ export default {
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123,
noticeType: 95,
noticeType: 96,
depositNumber: '0816',
capital: 100,
interest: 2.8,
totalMoney: 102.8,
totalMoney: 800002.8,
payType: 13,
payMoney: 102.8,
idNumber,
@ -1854,15 +1855,15 @@ export default {
id: 500,
name: '公司基本户开立',
data: [ 442, 431, 434, 435, 436, 437,443 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
needs: [ 438, 469 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: {
'业务专用章': [ 432, 438 ],
'附件章': [ 435, 437, 431 ],
'私章': [ 439 ]
'私章': [ 469 ]
},
backPeople: [],
// backPeople: [ 442, 434, 436, 439, 433 ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
cultureArr: [ 431, 432, 435, 437, 438, 439 ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
cultureArr: [ 431, 432, 435, 437, 438, 469 ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
@ -2722,9 +2723,11 @@ export default {
// 有些东西还要盖两个章。当时选择了最直接的if-else判断。其实用map结构也不是不行。
if(sealArr.length === 1) {
const seal = sealArr[0]
debugger
if(seal === '业务专用章') {
if(id === 14) {
state.businessSelect[state.businessKey].data.push(24, 21)
cb([24, 21])
judgeDelete = false
stampSuccess = '18'
}else if(id === 429) {
@ -2829,7 +2832,6 @@ export default {
}
}else if(seal === '私章') {
if(id === 439) {
stampSuccess = '454'
}else if(id === 411) {
judgeDelete = false

Loading…
Cancel
Save