20240205
yujialong 1 year ago
parent d7149a99ee
commit 5465512d8e
  1. 266
      src/components/dialog/index.vue
  2. 265
      src/components/dialogTwo/index.vue
  3. 16
      src/pages/counter/list/index.vue
  4. 245
      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

@ -1,56 +1,72 @@
<template> <template>
<!-- width="55%" --> <!-- width="55%" -->
<!-- class="2xl:w-screen xl:w-screen lg:w-full md:w-full h-auto 2xl:left-72" --> <!-- class="2xl:w-screen xl:w-screen lg:w-full md:w-full h-auto 2xl:left-72" -->
<!-- 这个是自己封装的提示组件 用于系统录入中弹出的授权弹框 业务需求是有些业务需要授权有些业务不需要授权 --> <!-- 这个是自己封装的提示组件 用于系统录入中弹出的授权弹框 业务需求是有些业务需要授权有些业务不需要授权 -->
<el-dialog <el-dialog :visible="visible"
:visible="visible"
append-to-body append-to-body
style="z-index: 6000;" style="z-index: 6000;"
class="apple" class="apple"
:close-on-click-modal="true" :close-on-click-modal="true"
:show-close="false" :show-close="false"
custom-class="w3w5 bgNone z6000" custom-class="w3w5 bgNone z6000">
> <div class="data-dia23 mx-auto w-9/12 rounded-3xl"
<div class="data-dia23 mx-auto w-9/12 rounded-3xl" :class="{ ['w-full']: flow === 3 }"> :class="{ ['w-full']: flow === 3 }">
<!-- 2xl:w-3/5 xl:w-4/5 lg:w-full --> <!-- 2xl:w-3/5 xl:w-4/5 lg:w-full -->
<div slot="title" class="dia-header rounded-3xl"> <div slot="title"
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> class="dia-header rounded-3xl">
<div class="data-title" v-else-if="flow === 4">提交</div> <div class="data-title"
<div class="data-title" v-else>{{ successName }}</div> v-if="flow === 1 || flow === 2">提示</div>
<div class="data-title"
v-else-if="flow === 4">提交</div>
<div class="data-title"
v-else>{{ successName }}</div>
</div> </div>
<!-- 需要授权时父组件传进的flow为1 --> <!-- 需要授权时父组件传进的flow为1 -->
<div class="popBody" v-if="flow === 1"> <div class="popBody"
v-if="flow === 1">
<h2 class="text-red-500 text-2xl">本业务需要授权</h2> <h2 class="text-red-500 text-2xl">本业务需要授权</h2>
</div> </div>
<!-- 不需要授权时父组件传进的flow为4 --> <!-- 不需要授权时父组件传进的flow为4 -->
<div class="popBody" v-else-if="flow === 4"> <div class="popBody"
v-else-if="flow === 4">
<h2 class="text-red-500 text-2xl">提交后将不可更改您确定要提交吗</h2> <h2 class="text-red-500 text-2xl">提交后将不可更改您确定要提交吗</h2>
</div> </div>
<!-- 上面说的需要授权的flow为1点击确认后flow变为2弹出授权柜员的账号和密码 --> <!-- 上面说的需要授权的flow为1点击确认后flow变为2弹出授权柜员的账号和密码 -->
<div class="popBody" v-else-if="flow === 2"> <div class="popBody"
<el-form ref="form2" :model="disForm" label-width="200px" > v-else-if="flow === 2">
<el-form ref="form2"
:model="disForm"
label-width="200px">
<el-form-item label="授权柜员"> <el-form-item label="授权柜员">
<el-input disabled v-model.trim="disForm.name"></el-input> <el-input disabled
v-model.trim="disForm.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="授权柜员"> <el-form-item label="授权柜员">
<el-input type="password" disabled v-model.trim="disForm.pass"></el-input> <el-input type="password"
disabled
v-model.trim="disForm.pass"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<!-- 不管授权与否最后一步都是展示提交的信息 --> <!-- 不管授权与否最后一步都是展示提交的信息 -->
<div class="popBody w-full" v-else> <div class="popBody w-full"
v-else>
<el-row :gutter="20"> <el-row :gutter="20">
<el-form label-width="200px"> <el-form label-width="200px">
<el-col :span="12"> <el-col :span="12">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'"> <el-form-item v-for="(val, key) in leftObj"
:key="key"
:label="key + ':'">
<div>{{ val }}</div> <div>{{ val }}</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'"> <el-form-item v-for="(val, key) in rightObj"
:key="key"
:label="key + ':'">
<div>{{ val }}</div> <div>{{ val }}</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -58,24 +74,24 @@
</el-row> </el-row>
</div> </div>
<!-- 不是最后的提交信息有取消按钮只要点击取消就不会发送请求给后端 --> <!-- 不是最后的提交信息有取消按钮只要点击取消就不会发送请求给后端 -->
<div class="popBtns" v-if="flow === 1 || flow === 2 || flow === 4"> <div class="popBtns"
<el-button class="close btn hover:bg-blue-100 " @click="cancelIt"> </el-button> v-if="flow === 1 || flow === 2 || flow === 4">
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button> <el-button class="close btn hover:bg-blue-100 "
@click="cancelIt"> </el-button>
<el-button class="sure btn hover:bg-blue-700 "
type="primary"
@click="sureIt"> </el-button>
</div> </div>
<!-- 展示信息的弹框没有取消按钮此时已经发送请求给后端了 --> <!-- 展示信息的弹框没有取消按钮此时已经发送请求给后端了 -->
<div class="myPopBtns" v-else> <div class="myPopBtns"
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button> v-else>
<el-button class="sure btn hover:bg-blue-700 "
type="primary"
@click="sureIt"> </el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
@ -105,8 +121,10 @@ const obj = {
'servicesAccount/passwordChange': '密码修改', 'servicesAccount/passwordChange': '密码修改',
'servicesAccount/passwordLost': '密码挂失登记', 'servicesAccount/passwordLost': '密码挂失登记',
'servicesAccount/relieveLost': '挂失解挂登记', 'servicesAccount/relieveLost': '挂失解挂登记',
'business/transfer':'转账', 'business/transfer': '转账',
'controlCash/cashTransferInto': '现金上缴', 'controlCash/cashTransferInto': '现金上缴',
'business/deposit': '存款',
'business/withdrawal': '取款',
'spacial': '提交' 'spacial': '提交'
} }
@ -314,34 +332,34 @@ export default {
default: 'spacial' default: 'spacial'
} }
}, },
created() { created () {
// flow4 // flow4
if(!this.needAuth) { if (!this.needAuth) {
this.flow = 4 this.flow = 4
} }
let num = 0; let num = 0;
// 1 // 1
for(const key in this.showForm) { for (const key in this.showForm) {
if(!this.showForm[key]) { if (!this.showForm[key]) {
continue; continue;
} }
if(num%2 === 0) { if (num % 2 === 0) {
if(nameMap[key]) { if (nameMap[key]) {
this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else { } else {
if(this.formName[key].indexOf('密码') !== -1) { if (this.formName[key].indexOf('密码') !== -1) {
this.leftObj[this.formName[key]] = '******' this.leftObj[this.formName[key]] = '******'
}else { } else {
this.leftObj[this.formName[key]] = this.showForm[key] this.leftObj[this.formName[key]] = this.showForm[key]
} }
} }
}else { } else {
if(nameMap[key]) { if (nameMap[key]) {
this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else { } else {
if(this.formName[key].indexOf('密码') !== -1) { if (this.formName[key].indexOf('密码') !== -1) {
this.rightObj[this.formName[key]] = '******' this.rightObj[this.formName[key]] = '******'
}else { } else {
this.rightObj[this.formName[key]] = this.showForm[key] this.rightObj[this.formName[key]] = this.showForm[key]
} }
} }
@ -361,20 +379,20 @@ export default {
} }
if(num%2 === 1) { if (num % 2 === 1) {
// //
this.leftObj['流水号'] = tmpFunc2() this.leftObj['流水号'] = tmpFunc2()
this.leftObj['经办机构'] = '国税支行营业部' this.leftObj['经办机构'] = '国税支行营业部'
this.rightObj['经办柜员'] = '002110' this.rightObj['经办柜员'] = '002110'
if(this.depositNumber) { if (this.depositNumber) {
this.rightObj['定存编号'] = this.depositNumber this.rightObj['定存编号'] = this.depositNumber
} }
}else { } else {
// 31 // 31
this.leftObj['流水号'] = tmpFunc2() this.leftObj['流水号'] = tmpFunc2()
this.leftObj['经办机构'] = '国税支行营业部' this.leftObj['经办机构'] = '国税支行营业部'
this.rightObj['经办柜员'] = '002110' this.rightObj['经办柜员'] = '002110'
if(this.depositNumber) { if (this.depositNumber) {
this.leftObj['定存编号'] = this.depositNumber this.leftObj['定存编号'] = this.depositNumber
} }
} }
@ -391,15 +409,15 @@ export default {
} }
this.rightObj['会计时间'] = tmpFunc() this.rightObj['会计时间'] = tmpFunc()
if (this.leftObj['支取方式'] == 114) this.leftObj['支取方式'] = '印鉴' if (this.leftObj['支取方式'] == 114) this.leftObj['支取方式'] = '印鉴'
console.log("🚀 ~ file: index.vue ~ line 393 ~ created ~ this.rightObj",this.leftObj, this.rightObj, this.showForm,this.formName) console.log("🚀 ~ file: index.vue ~ line 393 ~ created ~ this.rightObj", this.leftObj, this.rightObj, this.showForm, this.formName)
// 002110 // 002110
}, },
data() { data () {
return { return {
flow: 1, // flow: 1, //
disForm:{ // disForm: { //
name:'002288', name: '002288',
pass:'123456' pass: '123456'
}, },
leftObj: {}, // leftObj: {}, //
rightObj: {} // rightObj: {} //
@ -407,60 +425,60 @@ export default {
}, },
methods: { methods: {
cancel() { cancel () {
this.visible = false; this.visible = false;
}, },
sureIt() { sureIt () {
if(this.flow === 1) { if (this.flow === 1) {
this.flow = 2 this.flow = 2
}else if(this.flow === 2) { } else if (this.flow === 2) {
// flow3 // flow3
this.$emit('submitIt') this.$emit('submitIt')
this.flow = 3 this.flow = 3
}else if(this.flow === 4) { } else if (this.flow === 4) {
// flow3 // flow3
this.flow = 3 this.flow = 3
this.$emit('submitIt') this.$emit('submitIt')
}else { } else {
// visiblefalse, // visiblefalse,
this.cancelIt() this.cancelIt()
} }
}, },
cancelIt() { cancelIt () {
this.$emit('update:visible', false) // :visible.sync="visible" this.$emit('update:visible', false) // :visible.sync="visible"
} }
}, },
computed: { computed: {
// //
showItem() { showItem () {
return (val, key) => { return (val, key) => {
return key + ': ' + val return key + ': ' + val
} }
}, },
// + // +
successName() { successName () {
return obj[ this.moduleName ] + '成功' return obj[this.moduleName] + '成功'
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.w3w5 { /deep/.w3w5 {
transform: translateY(-100px); transform: translateY(-100px);
min-width: 1300px; min-width: 1300px;
} }
/deep/.w4w5 { /deep/.w4w5 {
min-width: 800px; min-width: 800px;
} }
/deep/.el-dialog { /deep/.el-dialog {
-webkit-box-shadow:0; -webkit-box-shadow: 0;
box-shadow: 0 0 0 0!important; box-shadow: 0 0 0 0 !important;
border: 0!important; border: 0 !important;
// display: none; // display: none;
} }
/deep/.el-form-item { /deep/.el-form-item {
label { label {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 18px; font-size: 18px;
@ -468,7 +486,7 @@ export default {
letter-spacing: 0.21px; letter-spacing: 0.21px;
font-weight: 400; font-weight: 400;
} }
.el-form-item__content{ .el-form-item__content {
padding-left: 30px; padding-left: 30px;
text-align: left; text-align: left;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
@ -477,29 +495,27 @@ export default {
letter-spacing: 0.24px; letter-spacing: 0.24px;
font-weight: 600; font-weight: 600;
} }
} }
.test { .test {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 0; width: 0;
height: 0; height: 0;
z-index: 9899999; z-index: 9899999;
} }
.masking{ .masking {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
opacity: .5; opacity: 0.5;
background-color: rgba(51,51,51,.9); background-color: rgba(51, 51, 51, 0.9);
} }
.data-dia23{ .data-dia23 {
// position: absolute; // position: absolute;
min-width: 40%; min-width: 40%;
background-color: white; background-color: white;
@ -513,35 +529,33 @@ export default {
align-items: center; align-items: center;
/deep/ .el-form { /deep/ .el-form {
height: 100%; height: 100%;
} }
} }
.dia-header{ .dia-header {
height: 100%; height: 100%;
// position: relative; // position: relative;
.data-title{ .data-title {
width: 300px; width: 300px;
margin: 0 auto; margin: 0 auto;
line-height: 72px; line-height: 72px;
text-align: center; text-align: center;
color: #fff; color: #fff;
font-size: 24px; font-size: 24px;
background: url(../../assets/img/dia-title.png) 0 0/cover no-repeat; background: url(../../assets/img/dia-title.png) 0 0 / cover no-repeat;
}
} }
} }
}
/deep/ .el-row { /deep/ .el-row {
width: 100%; width: 100%;
padding: 0 50px; padding: 0 50px;
} }
// /deep/.popbody { // /deep/.popbody {
// width: 100vw!important; // width: 100vw!important;
// height: 100%!important; // height: 100%!important;
// background-color: red!important;; // background-color: red!important;;
// } // }
.popBtns { .popBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -550,9 +564,8 @@ export default {
width: 180px; width: 180px;
font-size: 18px; font-size: 18px;
} }
}
} .myPopBtns {
.myPopBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -561,29 +574,28 @@ export default {
width: 180px; width: 180px;
font-size: 18px; font-size: 18px;
} }
}
} // /deep/.el-dialog__header, /deep/.el-dialog__body {
// padding: 0;
// /deep/.el-dialog__header, /deep/.el-dialog__body { // border-radius: 16px;
// padding: 0; // }
// border-radius: 16px;
// } // /deep/.el-dialog {
// position: absolute;
// /deep/.el-dialog { // left: 50%;
// position: absolute; // transform: translateX(-25%);
// left: 50%; // }
// transform: translateX(-25%); /deep/.bgNone {
// }
/deep/.bgNone {
background-color: transparent; background-color: transparent;
} }
/deep/.myFull { /deep/.myFull {
width: 90%; width: 90%;
} }
/deep/.el-dialog { /deep/.el-dialog {
z-index: 9999!important; z-index: 9999 !important;
} }
/deep/.el-dialog__wrapper { /deep/.el-dialog__wrapper {
z-index: 9999!important; z-index: 9999 !important;
} }
</style> </style>

@ -1,59 +1,82 @@
<template> <template>
<!-- 这个组件原理和dialog一样 --> <!-- 这个组件原理和dialog一样 -->
<el-dialog <el-dialog :visible="visible"
:visible="visible"
append-to-body append-to-body
style="z-index: 6000;" style="z-index: 6000;"
class="apple" class="apple"
:close-on-click-modal="true" :close-on-click-modal="true"
:show-close="false" :show-close="false"
custom-class="w4w5 bgNone z6000" custom-class="w4w5 bgNone z6000">
> <div class="data-dia23 mx-auto w-9/12 rounded-3xl"
<div class="data-dia23 mx-auto w-9/12 rounded-3xl" :class="{ ['w-full']: flow === 3 }"> :class="{ ['w-full']: flow === 3 }">
<!-- 2xl:w-3/5 xl:w-4/5 lg:w-full --> <!-- 2xl:w-3/5 xl:w-4/5 lg:w-full -->
<div slot="title" class="dia-header rounded-3xl"> <div slot="title"
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> class="dia-header rounded-3xl">
<div class="data-title" v-else-if="flow === 4">提交</div> <div class="data-title"
<div class="data-title" v-else>{{ successName }}</div> v-if="flow === 1 || flow === 2">提示</div>
<div class="data-title"
v-else-if="flow === 4">提交</div>
<div class="data-title"
v-else>{{ successName }}</div>
</div> </div>
<div class="popBody" v-if="flow === 1"> <div class="popBody"
v-if="flow === 1">
<h2 class="text-red-500 text-2xl">本业务需要授权</h2> <h2 class="text-red-500 text-2xl">本业务需要授权</h2>
</div> </div>
<div class="popBody" v-else-if="flow === 4"> <div class="popBody"
v-else-if="flow === 4">
<h2 class="text-red-500 text-2xl">提交后将不可更改您确定要提交吗</h2> <h2 class="text-red-500 text-2xl">提交后将不可更改您确定要提交吗</h2>
</div> </div>
<div class="popBody" v-else-if="flow === 2"> <div class="popBody"
<el-form ref="form2" :model="disForm" label-width="200px" > v-else-if="flow === 2">
<el-form ref="form2"
:model="disForm"
label-width="200px">
<el-form-item label="授权柜员号"> <el-form-item label="授权柜员号">
<el-input disabled v-model.trim="disForm.name"></el-input> <el-input disabled
v-model.trim="disForm.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="授权柜员"> <el-form-item label="授权柜员">
<el-input type="password" disabled v-model.trim="disForm.pass"></el-input> <el-input type="password"
disabled
v-model.trim="disForm.pass"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="popBody w-full" v-else> <div class="popBody w-full"
v-else>
<el-row :gutter="20"> <el-row :gutter="20">
<el-form label-width="200px"> <el-form label-width="200px">
<el-col :span="12"> <el-col :span="12">
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'"> <el-form-item v-for="(val, key) in leftObj"
:key="key"
:label="key + ':'">
<div>{{ val }}</div> <div>{{ val }}</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'"> <el-form-item v-for="(val, key) in rightObj"
:key="key"
:label="key + ':'">
<div>{{ val }}</div> <div>{{ val }}</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
</div> </div>
<div class="popBtns" v-if="flow === 1 || flow === 2 || flow === 4"> <div class="popBtns"
<el-button class="close btn hover:bg-blue-100 " @click="cancelIt"> </el-button> v-if="flow === 1 || flow === 2 || flow === 4">
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button> <el-button class="close btn hover:bg-blue-100 "
@click="cancelIt"> </el-button>
<el-button class="sure btn hover:bg-blue-700 "
type="primary"
@click="sureIt"> </el-button>
</div> </div>
<div class="myPopBtns" v-else> <div class="myPopBtns"
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt"> </el-button> v-else>
<el-button class="sure btn hover:bg-blue-700 "
type="primary"
@click="sureIt"> </el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
@ -270,32 +293,32 @@ export default {
default: true default: true
} }
}, },
created() { created () {
if(!this.needAuth) { if (!this.needAuth) {
this.flow = 4 this.flow = 4
} }
let num = 0; let num = 0;
for(const key in this.showForm) { for (const key in this.showForm) {
if(!this.showForm[key]) { if (!this.showForm[key]) {
continue; continue;
} }
if(num%2 === 0) { if (num % 2 === 0) {
if(nameMap[key]) { if (nameMap[key]) {
this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else { } else {
if(this.formName[key].indexOf('密码') !== -1) { if (this.formName[key].indexOf('密码') !== -1) {
this.leftObj[this.formName[key]] = '******' this.leftObj[this.formName[key]] = '******'
}else { } else {
this.leftObj[this.formName[key]] = this.showForm[key] this.leftObj[this.formName[key]] = this.showForm[key]
} }
} }
}else { } else {
if(nameMap[key]) { if (nameMap[key]) {
this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]] this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else { } else {
if(this.formName[key].indexOf('密码') !== -1) { if (this.formName[key].indexOf('密码') !== -1) {
this.rightObj[this.formName[key]] = '******' this.rightObj[this.formName[key]] = '******'
}else { } else {
this.rightObj[this.formName[key]] = this.showForm[key] this.rightObj[this.formName[key]] = this.showForm[key]
} }
} }
@ -330,12 +353,12 @@ export default {
this.rightObj[this.moduleName === 'controlCash/cashTransferInto' ? '上缴日期' : '调入日期'] = tmpFunc() this.rightObj[this.moduleName === 'controlCash/cashTransferInto' ? '上缴日期' : '调入日期'] = tmpFunc()
// 002110 // 002110
}, },
data() { data () {
return { return {
flow: 1, flow: 1,
disForm:{ disForm: {
name:'002009', name: '002009',
pass:'123456' pass: '123456'
}, },
leftObj: {}, leftObj: {},
rightObj: {} rightObj: {}
@ -344,23 +367,23 @@ export default {
}, },
methods: { methods: {
cancel() { cancel () {
this.visible = false; this.visible = false;
}, },
sureIt() { sureIt () {
if(this.flow === 1) { if (this.flow === 1) {
this.flow = 2 this.flow = 2
}else if(this.flow === 2) { } else if (this.flow === 2) {
this.flow = 3 this.flow = 3
this.$emit('submitIt') this.$emit('submitIt')
}else if(this.flow === 4) { } else if (this.flow === 4) {
this.flow = 3 this.flow = 3
this.$emit('submitIt') this.$emit('submitIt')
}else { } else {
this.cancelIt() this.cancelIt()
} }
}, },
cancelIt() { cancelIt () {
this.$emit('update:visible', false) // :visible.sync="visible" this.$emit('update:visible', false) // :visible.sync="visible"
} }
}, },
@ -368,26 +391,26 @@ export default {
...mapGetters({ ...mapGetters({
getSelectList: 'system/getSelectList' getSelectList: 'system/getSelectList'
}), }),
showItem() { showItem () {
return (val, key) => { return (val, key) => {
return key + ': ' + val return key + ': ' + val
} }
}, },
successName() { successName () {
return obj[ this.moduleName ] + '成功' return obj[this.moduleName] + '成功'
}, },
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/ .el-row { /deep/ .el-row {
width: 100%; width: 100%;
} }
/deep/.popbody { /deep/.popbody {
width: 100vw!important; width: 100vw !important;
} }
.popBtns { .popBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -396,9 +419,8 @@ export default {
border-radius: 10px; border-radius: 10px;
font-size: 18px; font-size: 18px;
} }
}
} .myPopBtns {
.myPopBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -407,25 +429,24 @@ export default {
border-radius: 10px; border-radius: 10px;
font-size: 18px; font-size: 18px;
} }
}
} // /deep/.el-dialog {
// min-height: 50vh;
// /deep/.el-dialog { // }
// min-height: 50vh;
// }
/deep/.w3w5 { /deep/.w3w5 {
min-width: 1400px; min-width: 1400px;
} }
/deep/.w4w5 { /deep/.w4w5 {
min-width: 800px; min-width: 800px;
} }
/deep/.el-dialog { /deep/.el-dialog {
-webkit-box-shadow:0; -webkit-box-shadow: 0;
box-shadow: 0 0 0 0!important; box-shadow: 0 0 0 0 !important;
border: 0!important; border: 0 !important;
} }
/deep/.el-form-item { /deep/.el-form-item {
label { label {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 18px; font-size: 18px;
@ -433,7 +454,7 @@ export default {
letter-spacing: 0.21px; letter-spacing: 0.21px;
font-weight: 400; font-weight: 400;
} }
.el-form-item__content{ .el-form-item__content {
padding-left: 30px; padding-left: 30px;
text-align: left; text-align: left;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
@ -442,29 +463,27 @@ export default {
letter-spacing: 0.24px; letter-spacing: 0.24px;
font-weight: 600; font-weight: 600;
} }
} }
.test { .test {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 0; width: 0;
height: 0; height: 0;
z-index: 9899999; z-index: 9899999;
} }
.masking{ .masking {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
opacity: .5; opacity: 0.5;
background-color: rgba(51,51,51,.9); background-color: rgba(51, 51, 51, 0.9);
} }
.data-dia23{ .data-dia23 {
// position: absolute; // position: absolute;
min-width: 40%; min-width: 40%;
background-color: white; background-color: white;
@ -478,35 +497,33 @@ export default {
align-items: center; align-items: center;
/deep/ .el-form { /deep/ .el-form {
height: 100%; height: 100%;
} }
} }
.dia-header{ .dia-header {
height: 100%; height: 100%;
// position: relative; // position: relative;
.data-title{ .data-title {
width: 300px; width: 300px;
margin: 0 auto; margin: 0 auto;
line-height: 72px; line-height: 72px;
text-align: center; text-align: center;
color: #fff; color: #fff;
font-size: 24px; font-size: 24px;
background: url(../../assets/img/dia-title.png) 0 0/cover no-repeat; background: url(../../assets/img/dia-title.png) 0 0 / cover no-repeat;
}
} }
} }
}
/deep/ .el-row { /deep/ .el-row {
width: 100%; width: 100%;
padding: 0 50px; padding: 0 50px;
} }
// /deep/.popbody { // /deep/.popbody {
// width: 100vw!important; // width: 100vw!important;
// height: 100%!important; // height: 100%!important;
// background-color: red!important;; // background-color: red!important;;
// } // }
.popBtns { .popBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -515,9 +532,8 @@ export default {
width: 180px; width: 180px;
font-size: 18px; font-size: 18px;
} }
}
} .myPopBtns {
.myPopBtns {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -526,29 +542,28 @@ export default {
width: 180px; width: 180px;
font-size: 18px; font-size: 18px;
} }
}
} // /deep/.el-dialog__header, /deep/.el-dialog__body {
// padding: 0;
// /deep/.el-dialog__header, /deep/.el-dialog__body { // border-radius: 16px;
// padding: 0; // }
// border-radius: 16px;
// }
// /deep/.el-dialog { // /deep/.el-dialog {
// position: absolute; // position: absolute;
// left: 50%; // left: 50%;
// transform: translateX(-25%); // transform: translateX(-25%);
// } // }
/deep/.bgNone { /deep/.bgNone {
background-color: transparent; background-color: transparent;
} }
/deep/.myFull { /deep/.myFull {
width: 90%; width: 90%;
} }
/deep/.el-dialog { /deep/.el-dialog {
z-index: 9999!important; z-index: 9999 !important;
} }
/deep/.el-dialog__wrapper { /deep/.el-dialog__wrapper {
z-index: 9999!important; z-index: 9999 !important;
} }
</style> </style>

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

@ -1,126 +1,217 @@
// //
<template> <template>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="1"> <el-form ref="form"
<el-form-item label="凭证号码" required=""> :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 v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> --> </div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur"
ref="voucherNumber"
:value="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="客户号" prop="customerNumber"> <el-form-item label="客户号"
<el-input v-model.trim="form.customerNumber" disabled></el-input> prop="customerNumber">
<el-input v-model.trim="form.customerNumber"
disabled></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" disabled placeholder="请选择" ref="currency"> prop="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <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-select>
</el-form-item> </el-form-item>
<el-form-item label="通知类型" prop="noticeType"> <el-form-item label="通知类型"
<el-select v-model.trim="form.noticeType" disabled placeholder="请选择" ref="noticeType"> prop="noticeType">
<el-option label="1天" :value="95"> </el-option> <el-select v-model.trim="form.noticeType"
<el-option label="7天" :value="96"> </el-option> disabled
placeholder="请选择"
ref="noticeType">
<el-option label="1天"
:value="95"> </el-option>
<el-option label="7天"
:value="96"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="起息日期" prop="breathDate"> <el-form-item label="起息日期"
<el-input v-model.trim="form.breathDate" ></el-input> prop="breathDate">
<el-input autocomplete="off"
v-model.trim="form.breathDate"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="利息" prop="interest"> <el-form-item label="利息"
<el-input :value="form.interest" disabled @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input> prop="interest">
<el-input :value="form.interest"
disabled
@input="val => ismoney(val, form, 'interest')"
ref="interest"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="支取类别" prop="drawWayType"> <el-form-item label="支取类别"
<el-select v-model.trim="form.drawWayType" disabled placeholder="请选择" ref="drawWayType"> prop="drawWayType">
<el-option label="现金" :value="133"> </el-option> <el-select v-model.trim="form.drawWayType"
disabled
placeholder="请选择"
ref="drawWayType">
<el-option label="现金"
:value="133"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="证件类型" prop="certificateType"> <el-form-item label="证件类型"
<el-select v-model.trim="form.certificateType" disabled placeholder="请选择" ref="certificateType"> prop="certificateType">
<el-option label="身份证" :value="83"> </el-option> <el-select v-model.trim="form.certificateType"
disabled
placeholder="请选择"
ref="certificateType">
<el-option label="身份证"
:value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')"> required>
<div v-if='!form.drawPassword'
class="idCard"
@click="popUp3('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUp3('密码器')"> <div v-else
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> @click="popUp3('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="凭证类型" prop="voucherType"> :offset="1">
<el-select v-model.trim="form.voucherType" disabled placeholder="请选择" ref="voucherType"> <el-form-item label="凭证类型"
<el-option label="存单" :value="123"> </el-option> prop="voucherType">
<el-select v-model.trim="form.voucherType"
disabled
placeholder="请选择"
ref="voucherType">
<el-option label="存单"
:value="123"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="客户姓名" prop="clientName"> <el-form-item label="客户姓名"
<el-input :value="form.clientName" disabled @input="(val) => checkName(val, form, 'clientName')" ref="clientName"></el-input> prop="clientName">
<el-input :value="form.clientName"
disabled
@input="(val) => checkName(val, form, 'clientName')"
ref="clientName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识"
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> prop="goldLogo">
<el-option v-for="item in getSelectList.goldLogo" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <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-select>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <el-form-item label="定存编号"
<el-input disabled v-model.trim="form.depositNumber"></el-input> prop="depositNumber">
<el-input disabled
v-model.trim="form.depositNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="本金" prop="capital"> <el-form-item label="本金"
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> prop="capital">
<el-input :value="form.capital"
disabled
@input="val => ismoney(val, form, 'capital')"
ref="capital"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="总金额" prop="totalMoney"> <el-form-item label="总金额"
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> prop="totalMoney">
<el-input :value="form.totalMoney"
disabled
@input="val => ismoney(val, form, 'totalMoney')"
ref="totalMoney"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="支取金额" prop="payMoney"> <el-form-item label="支取金额"
<el-input :value="form.payMoney" disabled @input="val => ismoney(val, form, 'payMoney')" ref="payMoney" ></el-input> prop="payMoney">
<el-input :value="form.payMoney"
disabled
@input="val => ismoney(val, form, 'payMoney')"
ref="payMoney"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="证件号码" required> <el-form-item label="证件号码"
<div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'> required>
<div class="idCard"
@click="popUp2('身份证扫描仪')"
v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else> <div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> <el-input :value="form.idNumber"
disabled
ref="idNumber"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm"
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0812' /> 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> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> <!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template> </template>
<script> <script>
import { ratePattern, vercustomer } from '@/utils/verify.js' import { ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, 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 { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore' import TipsBefore from '@/mixins/tipsBefore'
const moduleName = 'callDeposits/accountClosed' const moduleName = 'callDeposits/accountClosed'
export default{ export default {
name:'', name: '',
props:{}, props: {},
mixins: [ TipsBefore ], mixins: [TipsBefore],
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
data(){ data () {
return{ return {
moduleName: 'callDeposits/accountClosed', moduleName: 'callDeposits/accountClosed',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
form:{ form: {
// //
payMoney: '', // () payMoney: '', // ()
idNumber: '', // idNumber: '', //
@ -144,7 +235,7 @@ export default{
drawWayType: '', // () drawWayType: '', // ()
voucherType: '', // () voucherType: '', // ()
}, },
formName:{ formName: {
// //
payMoney: '支取金额', // () payMoney: '支取金额', // ()
idNumber: '身份证号码', // idNumber: '身份证号码', //
@ -281,8 +372,8 @@ export default{
submited: 0 submited: 0
} }
}, },
created() { created () {
if(sessionStorage.getItem('nomCallDepositClosedPassword')) { if (sessionStorage.getItem('nomCallDepositClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
} }
@ -297,7 +388,7 @@ export default{
// } // }
// return // return
// } // }
if(sessionStorage.getItem('nomCallDepositClosedCard')) { if (sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow peopleNumber, userName, currency, goldLogo, voucherNumber, payMoney, voucherType } = this.dataFlow
@ -322,7 +413,7 @@ export default{
// this.form.idNumber = // this.form.idNumber =
} }
if(sessionStorage.getItem('nomCallDepositClosedCard2')) { if (sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow
this.form.idNumber = idNumber this.form.idNumber = idNumber
@ -337,13 +428,13 @@ export default{
// 394: 'nomCallDepositClosedPassword' // 394: 'nomCallDepositClosedPassword'
} }
const callback = () => { const callback = () => {
if(this.form.idNumber) { if (this.form.idNumber) {
this.idNumberJudge = true this.idNumberJudge = true
} }
if(this.form.voucherNumber) { if (this.form.voucherNumber) {
this.cardNumberJudge = true this.cardNumberJudge = true
} }
if(sessionStorage.getItem('nomCallDepositOpenPassword')) { if (sessionStorage.getItem('nomCallDepositOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
} }
} }
@ -357,8 +448,8 @@ export default{
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur () {
if(!this.form.voucherNumber) { if (!this.form.voucherNumber) {
return return
} }
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,
@ -367,7 +458,7 @@ export default{
this.form.voucherType = 123 this.form.voucherType = 123
this.form.noticeType = noticeType this.form.noticeType = noticeType
this.form.depositNumber = depositNumber this.form.depositNumber = depositNumber
this.form.capital = money || 0 this.form.capital = money || 800000
this.form.interest = interest this.form.interest = interest
this.form.totalMoney = totalMoney this.form.totalMoney = totalMoney
// this.form.drawWayType = 93 // this.form.drawWayType = 93
@ -382,7 +473,7 @@ export default{
this.form.payMoney = payMoney this.form.payMoney = payMoney
this.form.voucherType = voucherType this.form.voucherType = voucherType
}, },
popUp(text) { popUp (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '302'}) // this.$store.commit('system/changePop',{show:true,text, id: '302'})
this.setTipsOperate('请刷银行卡'); this.setTipsOperate('请刷银行卡');
@ -390,7 +481,7 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') 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.setTipsOperate('请刷身份证'); this.setTipsOperate('请刷身份证');
@ -398,25 +489,25 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') 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.setTipsOperate('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
this.setPopId('394') this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
submitForm() { submitForm () {
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
if(!this.form.idNumber) { if (!this.form.idNumber) {
messageIdCard() messageIdCard()
return return
} }
if(!this.form.voucherNumber) { if (!this.form.voucherNumber) {
messageCard('请填写凭证号码') messageCard('请填写凭证号码')
return return
} }
if(!this.form.drawPassword) { if (!this.form.drawPassword) {
messagePassword() messagePassword()
return return
} }
@ -426,7 +517,7 @@ export default{
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2 () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289' 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 nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard')
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')

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

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

Loading…
Cancel
Save