20240205
luoJunYong.123 3 years ago
parent a7121e1385
commit 7b7282f0ab
  1. 1
      src/components/needBefore/index.vue
  2. 4
      src/pages/counter/list/index.vue
  3. 24
      src/pages/counter/list/myConfig.js
  4. 8
      src/pages/manage/index/index.vue
  5. 66
      src/pages/manage/list/ImportantCash/controlCash/cashOut.vue
  6. 136
      src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue
  7. 139
      src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue
  8. 72
      src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue
  9. 13
      src/pages/manage/list/ImportantCash/controlCash/index.vue
  10. 105
      src/pages/manage/list/business/deposit.vue
  11. 107
      src/pages/manage/list/business/openAccount.vue
  12. 128
      src/pages/manage/list/business/transfer.vue
  13. 168
      src/pages/manage/list/business/withdrawal.vue
  14. 28
      src/pages/manage/list/client/consumerClient.vue
  15. 141
      src/pages/manage/list/client/corporateClient.vue
  16. 25
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  17. 11
      src/pages/manage/list/personal/callDeposits/callDeposits.vue
  18. 15
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  19. 3
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  20. 1
      src/pages/manage/list/personal/currentAccount/deposit.vue
  21. 9
      src/pages/manage/list/personal/currentAccount/index.vue
  22. 6
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  23. 2
      src/pages/manage/list/personal/currentAccount/settle.vue
  24. 2
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  25. 2
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  26. 2
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  27. 3
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  28. 13
      src/pages/manage/list/personal/timeDeposit/timeDeposit.vue
  29. 2
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  30. 3
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  31. 2
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  32. 3
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  33. 11
      src/pages/manage/list/personal/usefulPhrases/usefulPhrases.vue
  34. 199
      src/pages/manage/list/servicesAccount/passwordChange.vue
  35. 153
      src/pages/manage/list/servicesAccount/passwordLost.vue
  36. 90
      src/store/modules/system.js

@ -26,6 +26,7 @@ const obj = {
'timeDeposit/deposit': '整存整取 -> 存款',
'timeDeposit/withdrawal': '整存整取 -> 取款',
'timeDeposit/deposit': '整存整取 -> 存款',
'business/openAccount': '公司业务 -> 开户'
}
import {mapGetters} from 'vuex'

@ -1379,7 +1379,7 @@ export default {
if(this.popText.includes('身份证扫描')) {
for (let i=0;i<this.receptionList.length;i++){
if(this.receptionList[i].id !== 13) {
if(this.receptionList[i].id !== 13 && this.receptionList[i].id !== 442) {
this.$message({
center: true,
showClose: true,
@ -1399,7 +1399,7 @@ export default {
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList))
}
console.log(sessionStorage.getItem('nomClientIdentity'))
}else if (this.$store.state.system.id == '34'){
}else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){
this.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){

@ -131,25 +131,41 @@ const myConfig = {
nbm: 320,
name: 'servicesPasswordChange',
parentId: '285,287,5,28,316',
isPassword: false
isPassword: false,
machine: '身份证扫描仪'
},
'323': {
nbm: 323,
name: 'servicesPasswordChange2',
parentId: '285,287,5,28,316',
isPassword: false
isPassword: false,
machine: '刷卡器'
},
'325': {
nbm: 325,
name: 'servicesPasswordChange3',
parentId: '285,287,5,28,316',
isPassword: true,
},
'326': {
nbm: 326,
name: 'servicesPasswordChange4',
parentId: '285,287,5,28,316',
isPassword: true,
},
'329': {
nbm: 329,
name: 'servicesPasswordLost',
parentId: '285,287,5,28,328',
isPassword: false
isPassword: false,
machine: '刷卡器'
},
'333': {
nbm: 333,
name: 'servicesPasswordLost2',
parentId: '285,287,5,28,328',
isPassword: false
isPassword: false,
machine: '身份证扫描仪'
},
'341': {
nbm: 341,

@ -47,10 +47,14 @@ export default {
}
},
created() {
console.log('hey')
if(sessionStorage.getItem('computerPath')) {
this.$router.push(sessionStorage.getItem('computerPath'))
}
},
methods: {
close(){
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
handleFullscreen(){
@ -61,7 +65,7 @@ export default {
this.fullscreen = false
this.$store.commit('system/changeFullscreen',false)
},
}
},
};
</script>

@ -1,22 +1,27 @@
//
<template>
<div class="body">
<div class="body" v-if="!isNeedBefore">
<el-form ref="form" :model="form" label-width="120px">
<el-row :gutter="20">
<el-col :span="8">
<el-col :span="7">
<el-form-item label="币种">
<el-select v-model="form.identification" placeholder="请选择">
<el-option label="CNY人民币" value="CNY人民币"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="7">
<el-form-item label="状态">
<el-select v-model="form.state" placeholder="请选择">
<el-option label="正常" value="正常"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="总金额">
<el-input :value="allSum" placeholder="等待点数量" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
@ -114,22 +119,42 @@
</el-row>
<el-button @click="submitClick" type="primary" class="submitBtn">提交</el-button>
</el-form>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { tableRowClassName, headerCellStyle, cellStyle } from '@/assets/js/myConfig'
const moduleName = 'controlCash/cashOut'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{},
components:{
NeedBefore,
MyDialog
},
data() {
return {
headerCellStyle: headerCellStyle,
cellStyle: cellStyle,
text:'柜员现金轧账',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
identification: 'CNY人民币',
state: '正常'
state: '正常',
moneyTotal: 0,
},
formName:{
identification: '币种',
state: '状态',
moneyTotal: '总金额',
},
tableData: [
{
@ -198,18 +223,47 @@ export default {
return (val, num) => {
return val.substr(0, val.length-1) * num;
}
},
allSum() {
const one = this.tableData.reduce((pre, item) => {
return pre + item.moneyType.substr(0, item.moneyType.length-1) * item.moneyNumber
}, 0)
const two = this.tableData2.reduce((pre, item) => {
return pre + item.moneyType.substr(0, item.moneyType.length-1) * item.moneyNumber
}, 0)
return one + two
},
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork',
})
},
watch: {
allSum(newVal) {
this.form.moneyTotal = newVal
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
inputListen(val, row) {
row.moneyNumber = Number(val.replace(/\D+/, ''))
},
submitClick() {
console.log('点击提交')
this.visible = true
},
submitForm2() {},
tableRowClassName: tableRowClassName
}
};

@ -1,38 +1,41 @@
<template>
<div class="body">
<div class="body" v-if="!isNeedBefore">
<el-table
ref="filterTable"
:data="tableData"
:row-class-name="tableRowClassName"
height="450"
height="350"
:header-cell-style="headerCellStyle"
style="width: 95%">
<el-table-column
prop="t1"
prop="issueDate"
label="下发日期"
align="center"
>
<template slot-scope="scope">
{{ scope.row.issueDate | dateRule }}
</template>
</el-table-column>
<el-table-column
prop="t2"
prop="organizationNumber"
label="机构号"
align="center"
>
</el-table-column>
<el-table-column
prop="t3"
prop="calloutNumber"
label="调出柜员号"
align="center"
>
</el-table-column>
<el-table-column
prop="t4"
prop="foldNumber"
label="调入柜员号"
align="center"
>
</el-table-column>
<el-table-column
prop="t5"
prop="currency"
label="币种"
align="center"
>
@ -42,7 +45,7 @@
align="center"
>
<template slot-scope="scope">
{{ scope.row.t6 | cashRule }}
{{ scope.row.money | cashRule }}
</template>
</el-table-column>
<el-table-column
@ -51,69 +54,55 @@
width="150"
>
<template slot-scope="scope">
<el-button @click="sure(scope.row)" type="text" size="small">确认</el-button>
<el-button @click="back(scope.row)" type="text" size="small">退回</el-button>
<el-button @click="sure(scope.row)" :disabled="form.clickIt1 === '确认调入'" size="small">确认</el-button>
<el-button @click="back(scope.row)" :disabled="form.clickIt2 === '确认退回'" size="small">退回</el-button>
</template>
</el-table-column>
</el-table>
<el-button @click="submitClick" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="false" />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
const moduleName = 'controlCash/cashPaid'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{},
components:{
NeedBefore,
MyDialog
},
data() {
return {
headerCellStyle: headerCellStyle,
text:'柜员现金轧账',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
date: '',
counterNumber: ''
clickIt1: '未确认',
clickIt2: '未退回'
},
tableData: [
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
formName:{
clickIt1: '调入状态',
clickIt2: '退回状态'
},
tableData: [
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
issueDate: new Date,
organizationNumber: '1234100',
calloutNumber: '002118',
foldNumber: '002110',
currency: 'CNY人民币',
money: 350000
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
}
],
visible:false,
}
@ -126,19 +115,46 @@ export default {
}else {
return arr[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',') + '.' + arr[1];
}
},
dateRule(date) {
var y = date.getFullYear();
var m = date.getMonth() + 1;
m = m < 10 ? '0' + m : m;
var d = date.getDate();
d = d < 10 ? ('0' + d) : d;
return y + '-' + m + '-' + d;
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
tableRowClassName: tableRowClassName,
sure(row) {
console.log(row)
this.form.clickIt1 = '确认调入'
},
back(row) {
console.log(row)
this.form.clickIt2 = '确认退回'
},
submitClick() {
this.visible = true
}
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork',
})
}
};
</script>
@ -168,4 +184,16 @@ export default {
/deep/.el-table .success-row {
background: #f0f9eb;
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 45px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-20%);
}
</style>

@ -1,26 +1,28 @@
<template>
<div class="body">
<div class="body" v-if="!isNeedBefore">
<el-table
ref="filterTable"
:data="tableData"
height="450"
height="300"
:header-cell-style="headerCellStyle"
:row-class-name="tableRowClassName"
style="width: 95%">
<el-table-column
prop="t1"
label="下发日期"
align="center"
>
<template slot-scope="scope">
{{ scope.row.issueDate | dateRule }}
</template>
</el-table-column>
<el-table-column
prop="t2"
prop="organizationNumber"
label="机构号"
align="center"
>
</el-table-column>
<el-table-column
prop="t3"
prop="issueTeller"
label="下发柜员号"
class-name="blueText"
class="blueText"
@ -28,13 +30,13 @@
>
</el-table-column>
<el-table-column
prop="t4"
prop="receiveTeller"
label="领用柜员号"
align="center"
>
</el-table-column>
<el-table-column
prop="t5"
prop="currency"
label="币种"
align="center"
>
@ -44,7 +46,7 @@
align="center"
>
<template slot-scope="scope">
{{ scope.row.t6 | cashRule }}
{{ scope.row.money | cashRule }}
</template>
</el-table-column>
<el-table-column
@ -53,69 +55,56 @@
width="150"
>
<template slot-scope="scope">
<el-button @click="sure(scope.row)" size="small" type="text">确认</el-button>
<el-button @click="back(scope.row)" size="small" type="text">退回</el-button>
<el-button :disabled="form.clickIt1 === '已领用'" @click="sure(scope.row)" size="small" >确认</el-button>
<el-button :disabled="form.clickIt2 === '已退回'" @click="back(scope.row)" size="small">退回</el-button>
</template>
</el-table-column>
</el-table>
<el-button @click="submitClick" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import MyDialog from '@/components/dialog'
import NeedBefore from '@/components/needBefore'
const moduleName = 'controlCash/cashRecipients'
import { mapMutations, mapGetters } from 'vuex'
export default {
name: 'index',
components:{},
components:{
MyDialog,
NeedBefore
},
data() {
return {
headerCellStyle: headerCellStyle,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
text:'柜员现金轧账',/* 顶部文字 */
form:{
date: '',
counterNumber: ''
clickIt1: '未领用', //
clickIt2: '未退回',//
},
tableData: [
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
formName: {
clickIt1: '领用状态',
clickIt2: '退回状态',
},
tableData: [
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
issueDate: new Date(),
organizationNumber: '1234100',
issueTeller: '002119',
receiveTeller: '002110',
currency: 'CNY人民币',
money: '490000.00'
},
{
t1: 1,
t2: 2,
t3: 1,
t4: 2,
t5: 1,
t6: 2
}
],
visible:false,
}
@ -128,19 +117,49 @@ export default {
}else {
return arr[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',') + '.' + arr[1];
}
},
dateRule(date) {
var y = date.getFullYear();
var m = date.getMonth() + 1;
m = m < 10 ? '0' + m : m;
var d = date.getDate();
d = d < 10 ? ('0' + d) : d;
return y + '-' + m + '-' + d;
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
sure(row) {
console.log(row)
this.form.clickIt1 = '已领用'
},
back(row) {
console.log(row)
this.form.clickIt2 = '已退回'
},
submitClick() {
this.visible = true
},
submitForm2() {
//
},
tableRowClassName: tableRowClassName
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork',
})
}
};
</script>
@ -170,4 +189,16 @@ export default {
/deep/.el-table .success-row {
background: #f0f9eb;
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 45px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-20%);
}
</style>

@ -1,21 +1,26 @@
<template>
<div class="body">
<div class="body" v-if="!isNeedBefore">
<el-form ref="form" :model="form" label-width="120px">
<el-row :gutter="20">
<el-col :span="8">
<el-col :span="7">
<el-form-item label="币种">
<el-select v-model="form.identification" placeholder="请选择">
<el-option label="CNY人民币" value="CNY人民币"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="7">
<el-form-item label="状态">
<el-select v-model="form.state" placeholder="请选择">
<el-option label="正常" value="正常"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="总金额">
<el-input :value="allSum" placeholder="等待点数量" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
@ -45,7 +50,7 @@
>
<template slot-scope="scope">
<div class="myFlex">
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input>
<el-input type='text' maxlength="8" @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input>
<span></span>
</div>
</template>
@ -112,24 +117,45 @@
</el-table>
</el-col>
</el-row>
<el-button @click="submitClick" type="primary" class="submitBtn">提交</el-button>
</el-form>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth='false' />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { tableRowClassName, headerCellStyle, cellStyle } from '@/assets/js/myConfig'
const moduleName = 'controlCash/cashTransferInto'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{},
components:{
MyDialog,
NeedBefore
},
data() {
return {
headerCellStyle: headerCellStyle,
cellStyle: cellStyle,
text:'柜员现金轧账',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
identification: 'CNY人民币',
state: '正常'
state: '正常',
moneyTotal: 0,
},
formName:{
identification: '币种',
state: '状态',
moneyTotal: '总金额',
},
tableData: [
{
@ -190,28 +216,56 @@ export default {
moneyNumber: 0
},
],
visible:false,
}
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork',
}),
getSum() {
return (val, num) => {
return val.substr(0, val.length-1) * num;
}
},
allSum() {
const one = this.tableData.reduce((pre, item) => {
return pre + item.moneyType.substr(0, item.moneyType.length-1) * item.moneyNumber
}, 0)
const two = this.tableData2.reduce((pre, item) => {
return pre + item.moneyType.substr(0, item.moneyType.length-1) * item.moneyNumber
}, 0)
return one + two
}
},
watch: {
allSum(newVal) {
this.form.moneyTotal = newVal
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
inputListen(val, row) {
row.moneyNumber = Number(val.replace(/\D+/, ''))
},
submitClick() {
console.log('点击提交')
this.visible = true
},
submitForm2() {},
tableRowClassName: tableRowClassName
}
},
};
</script>

@ -60,6 +60,7 @@ export default {
data() {
return {
text:'',/* 顶部文字 */
cacheVal: '',
textObj:{
'1':'现金领用',
'2':'现金上缴',
@ -81,17 +82,21 @@ export default {
}
},
created() {
if(sessionStorage.getItem('importantCashIndex')) {
this.handleSelect(sessionStorage.getItem('importantCashIndex'))
}else {
this.handleSelect('1')
}
},
methods: {
handleSelect(val){
console.log(typeof(val),this.activeIndex,'xuanze');
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
},
destroyed() {
sessionStorage.setItem('importantCashIndex', this.cacheVal)
}
};
</script>

@ -1,6 +1,6 @@
//
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['公司业务', text]"/>
<!-- 存款 -->
@ -9,7 +9,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="账号" prop="username">
<el-input :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input>
<el-input @blur="getBlur" :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input>
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
@ -29,7 +29,7 @@
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利率(%)" prop="interestRate">
<el-form-item label="利率" prop="interestRate">
<el-input :value="form.interestRate" @input="(val) => rateListen(val, form, 'interestRate')" ref="interestRate"></el-input>
</el-form-item>
</el-col>
@ -41,30 +41,10 @@
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth='needAuth' />
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template>
<script>
@ -73,25 +53,47 @@ import { checkHanzi, checkName, ismoney, rateListen, myValidate, autoPlay, autoP
import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle'
const moduleName = 'business/deposit'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data() {
return {
text:'存款',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
username: '', //
depositNum: '', //
//
currency: 'CNY人民币', //
currencyMark: '钞户', //
currency: '', //
currencyMark: '', //
interestRate: '', //
abstract: '', //
},
formName:{
//
customerName: '客户姓名', //
username: '账号', //
depositNum: '存款金额', //
//
currency: '币种', //
currencyMark: '钞汇标识', //
interestRate: '利率', //
abstract: '摘要', //
},
rules: {
customerName: vercustomer,
interestRate: verrate,
@ -174,33 +176,62 @@ export default {
}
},
created() {
},
mounted() {
this.$refs.username.focus()
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
getBlur() {
if(this.form.username) {
this.form.currency = 'CYN人民币'
this.form.interestRate = 0.30
this.form.currencyMark = '钞户'
}
},
getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,225'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
let formList = [];
}, this.$refs));
},
submitForm2() {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,225'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
this.setNeedsModule(moduleName)
},
ismoney: ismoney,
rateListen: rateListen,
checkName: checkName,
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
}),
needAuth() {
return this.form.depositNum > 50000
}
}
};
</script>

@ -1,6 +1,6 @@
//
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['公司业务', text]"/>
<!-- 开户 -->
@ -9,7 +9,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="2">
<el-form-item label="客户号" prop="customerNumber">
<el-input :value="form.customerNumber" @input="(val) => checkHanzi(val, form, 'customerNumber')" ref="customerNumber"></el-input>
<el-input :value="form.customerNumber" maxlength="20" disabled @input="(val) => checkHanzi(val, form, 'customerNumber')" ref="customerNumber"></el-input>
</el-form-item>
<el-form-item label="账户类型" prop="accountType">
<el-select v-model="form.accountType" placeholder="请选择" ref="accountType">
@ -24,7 +24,7 @@
<el-option label="工业存款" value="工业存款"> </el-option>
<el-option label="商业存款" value="商业存款"> </el-option>
<el-option label="外贸存款" value="外贸存款"> </el-option>
<el-option label="其他" value="其他"> </el-option>
<el-option label="其他存款" value="其他存款"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="钞汇标识" prop="currencyMark">
@ -54,7 +54,7 @@
<el-select v-model="form.accountNature" placeholder="请选择" ref="accountNature">
<el-option label="基本户" value="基本户"> </el-option>
<el-option label="一般户" value="一般户"> </el-option>
<el-option label="转用户" value="转用户"> </el-option>
<el-option label="专用户" value="专用户"> </el-option>
<el-option label="临时户" value="临时户"> </el-option>
</el-select>
</el-form-item>
@ -72,7 +72,7 @@
</el-form-item>
<el-form-item label="支取方式" prop="withdrawingWay">
<el-select v-model="form.withdrawingWay" placeholder="请选择" ref="withdrawingWay">
<el-option label="印签" value="印签"> </el-option>
<el-option label="印鉴" value="印鉴"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="外汇核准号" prop="foreignCurrencyBumber">
@ -82,63 +82,71 @@
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template>
<script>
import { mapState } from 'vuex'
import { myValidate, ismoney, checkName, checkHanzi, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle'
const moduleName = 'business/openAccount'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data() {
return {
text:'开户',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
accountNature: '', //
accountType: '', //
accountManagement: '', //
currencyType: '', //
currencyType: 'CYC人民币', //
currencyMark: '钞户', //
calculateWay: '', //
outAccountWay: '', //
withdrawingWay: '', //
withdrawingWay: '印鉴', //
//
customerNumber: '', //
clientNumber: '', //
foreignCurrencyBumber: '', //
foreignCurrencyCertificate: '' //
},
formName:{
//
customerName: '客户姓名', //
accountNature: '账户性质', //
accountType: '账户类型', //
accountManagement: '账户科目', //
currencyType: '币种', //
currencyMark: '钞汇标识', //
calculateWay: '计息方式', //
outAccountWay: '出账页标志', //
withdrawingWay: '支取方式', //
//
customerNumber: '客户号', //
clientNumber: '统计代码', //
foreignCurrencyBumber: '外汇核准号', //
foreignCurrencyCertificate: '外汇证号' //
},
rules: {
customerName: vercustomer,
accountNature: [
@ -289,13 +297,28 @@ export default {
}
},
created() {
},
mounted() {
this.$refs.customerNumber.focus()
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
const { peopleNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.customerNumber = peopleNumber
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,224'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
@ -306,12 +329,24 @@ export default {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,224'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
this.setNeedsModule(moduleName)
},
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
}
};
</script>

@ -1,16 +1,14 @@
//
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['公司业务', text]"/>
<!-- 开户 -->
<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="2">
<el-form-item label="转出账号" prop="transoutNum">
<el-input :value="form.transoutNum" @input="(val) => checkHanzi(val, form, 'transoutNum')" ref="transoutNum"></el-input>
<el-input :value="form.transoutNum" @blur="getBlurData" maxlength="20" @input="(val) => checkHanzi(val, form, 'transoutNum')" ref="transoutNum"></el-input>
</el-form-item>
<el-form-item label="凭证号码" prop="certificateNum">
<el-input :value="form.certificateNum" @input="(val) => checkHanzi(val, form, 'certificateNum')" ref="certificateNum"></el-input>
@ -66,30 +64,10 @@
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth="needAuth" />
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template>
<script>
@ -97,14 +75,25 @@ import { mapState } from 'vuex'
import { myValidate, ismoney, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import { vercustomer } from '@/utils/verify.js'
import MyTitle from '@/components/myTitle'
const moduleName = 'business/transfer'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default {
name: 'index',
components:{
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data() {
return {
text:'转账',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
transoutNum: '', //
@ -114,13 +103,29 @@ export default {
transinName: '', //
money: '', //
//
currencyType: 'CNY人民币', //
currencyMark: '钞户', //
certificateType: '转账支票', //
currencyType: '', //
currencyMark: '', //
certificateType: '', //
signDate: '', //
payWay: '印鉴', //
payWay: '', //
abstract: '', //
},
formName:{
//
transoutNum: '转出账号', //
certificateNum: '凭证号码', //
customerName: '客户姓名', //
transinNum: '转入账号', //
transinName: '转入户名', //
money: '金额', //
//
currencyType: '币种', //
currencyMark: '钞汇标识', //
certificateType: '凭证类型', //
signDate: '签发日期', //
payWay: '支取方式', //
abstract: '摘要', //
},
rules: {
customerName: vercustomer,
transoutNum: [
@ -225,30 +230,77 @@ export default {
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
mounted() {
this.$refs.transoutNum.focus()
this.getFormData()
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
getBlurData() {
// transoutNum: '', //
// certificateNum: '', //
// customerName: '', //
// transinNum: '', //
// transinName: '', //
// money: '', //
// //
// currencyType: 'CNY', //
// currencyMark: '', //
// certificateType: '', //
// signDate: '', //
// payWay: '', //
// abstract: '', //
if(this.form.transoutNum) {
this.form.certificateType = 'CNY人民币'
this.form.currencyMark = '钞户'
this.form.signDate = '2021-01-05'
this.form.certificateType = '转账支票'
this.form.payWay = '印鉴'
}
},
getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,227'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2() {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,227'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
this.setNeedsModule(moduleName)
},
ismoney: ismoney,
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
}),
needAuth() {
return this.form.money > 50000
}
}
};
</script>

@ -1,6 +1,6 @@
//
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['公司业务', text]"/>
<!-- 开户 -->
@ -9,7 +9,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="2">
<el-form-item label="账号" prop="username">
<el-input :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input>
<el-input @blur="getBlurData" :value="form.username" @input="(val) => checkHanzi(val, form, 'username')" ref="username"></el-input>
</el-form-item>
<el-form-item label="凭证号码" prop="voucherNum">
<el-input :value="form.voucherNum" @input="(val) => checkHanzi(val, form, 'voucherNum')" ref="voucherNum"></el-input>
@ -18,7 +18,7 @@
<el-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input>
</el-form-item>
<el-form-item label="凭证类型" prop="certificateType">
<el-select disabled v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-option label="存单" value="存单"> </el-option>
</el-select>
</el-form-item>
@ -30,7 +30,7 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
<el-input :value="form.customerName" maxlength="20" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="签发日期" prop="issueDate">
<el-date-picker
@ -46,40 +46,21 @@
</el-select>
</el-form-item>
<el-form-item label="金额" prop="money">
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>
<el-input :value="form.money" maxlength="15" @input="val => ismoney(val, form, 'money')" ref="money"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1" prop='textarea'>
<el-form-item label="摘要">
<el-input type="textarea" :rows="3" placeholder="请输入内容" ref="abstract" v-model="form.abstract"></el-input>
<el-input type="textarea" maxlength="60" :rows="3" placeholder="请输入内容" ref="abstract" v-model="form.abstract"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth='needAuth' />
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template>
<script>
@ -88,14 +69,25 @@ import { myValidate, ismoney, checkName, checkHanzi, autoPlay, autoPlay2 } from
import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
const moduleName = 'business/withdrawal'
export default {
name: 'index',
components:{
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data() {
return {
text:'取款',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
@ -104,12 +96,26 @@ export default {
money: '', //
//
issueDate: '', //
currency: 'CNY人民币', //
currencyMark: '钞户', //
certificateType: '现金支票', //
currency: '', //
currencyMark: '', //
certificateType: '', //
payWay: '', //
abstract: '', //
},
formName:{
//
customerName: '客户姓名', //
username: '账号', //
voucherNum: '凭证号码', //
money: '金额', //
//
issueDate: '签发日期', //
currency: '币种', //
currencyMark: '钞汇标识', //
certificateType: '凭证类型', //
payWay: '支取方式', //
abstract: '摘要', //
},
rules: {
customerName: vercustomer,
username: [
@ -198,13 +204,38 @@ export default {
}
},
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// CNY
// const { }
},
mounted() {
this.$refs.username.focus()
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
getBlurData() {
if(this.form.username) {
this.form.currency = 'CNY人民币'
this.form.currencyMark = '钞户'
this.form.issueDate = '2022-01-05' //
this.form.certificateType = '现金支票'
this.form.payWay = '印鉴'
}
},
getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
@ -213,66 +244,29 @@ export default {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
// let tmpIndex = 100;
// for(const key in this.myTable2) {
// const { prop, type } = this.myTable2[key]
// if(this.form[prop]){
// formList.push({ answerId: key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": this.form[prop], "operationIds": parentId + ',' + key, type })
// }
// }
// for(const key in this.myTable) {
// const { prop, type } = this.myTable[key]
// formList.push({ answerId: key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": this.form[prop], "operationIds": parentId + ',' + key, type })
// }
// let params= {
// parentId,
// lcJudgmentRuleReq:formList,
// projectId:+projectId,
// startTime:startTime,
// }
// addOperation(params).then((data)=>{
// this.$message({
// message: '',
// type: 'success'
// });
// }).catch((error)=>{
// })
// emptyOne
// let tmpIndex = 100;
// for(const key in this.myTable2) {
// const { prop, type } = this.myTable[key]
// if(this.form[prop]){
// formList.push({ answerId: key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": this.form[prop], "operationIds": parentId + ',' + key, type })
// }
// }
// for(const key in this.myTable) {
// const { prop, type } = this.myTable[key]
// formList.push({ answerId: key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": this.form[prop], "operationIds": parentId + ',' + key, type })
// }
// let params= {
// parentId,
// lcJudgmentRuleReq:formList,
// projectId:+projectId,
// startTime:startTime,
// }
// addOperation(params).then((data)=>{
// this.$message({
// message: '',
// type: 'success'
// });
// }).catch((error)=>{
// })
}, this.$refs));
},
submitForm2() {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
this.setNeedsModule(moduleName)
},
ismoney: ismoney,
checkName: checkName,
checkHanzi: checkHanzi
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
}),
needAuth() {
return this.form.money > 50000
}
}
};
</script>

@ -30,6 +30,8 @@
v-model="form.birthday"
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm"
format="yyyy-MM-dd HH:mm"
ref="birthday">
</el-date-picker>
</el-form-item>
@ -226,6 +228,8 @@ export default {
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true
const { idType, userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
@ -238,6 +242,7 @@ export default {
this.form.mailbox = mailbox
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
@ -279,10 +284,29 @@ export default {
if (list[i].answerId == '46') {this.form.mailbox = list[i].emptyTwo}
if (list[i].answerId == '47') {this.form.phone = list[i].emptyTwo}
}
}
// const tt1 = JSON.parse(sessionStorage.getItem('tt1'))
// console.log('1-tt1')
// console.log(tt1)
// if(tt1) {
// for(const key in tt1) {
// this.form[tt1] = tt1[key]
// }
// }
}).catch((error)=>{
// const tt1 = JSON.parse(sessionStorage.getItem('tt1'))
// console.log('2-tt1')
// console.log(tt1)
// if(tt1) {
// for(const key in tt1) {
// this.form[key] = tt1[key]
// }
// }
// if(sessionStorage.getItem('tt1')) {
// this.form = {...sessionStorage.getItem('tt1')}
// }
})
console.log(this.form.idNumber)
},
...mapMutations({
@ -298,6 +322,7 @@ export default {
this.$message.warning('请刷身份证');
this.setPopId('33')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
//
@ -306,6 +331,7 @@ export default {
let consumerClientDragList = JSON.parse(nomClientIdentity);
let nomClientIdentitys = JSON.parse(nomClientIdentity);
this.$refs.form.validate(myValidate(() => {
// console.log(this.form.birthday)
this.form.birthday = this.form.birthday.slice(0, 10)
this.visible = true;
// if (nomClientIdentitys && nomClientIdentitys.length > 0){

@ -12,15 +12,18 @@
</el-select>
</el-form-item>
<el-form-item label="公司名称" prop="companyName">
<el-input v-model="form.companyName" @input="(val) => checkHanzi(val, form, 'companyName')" ref="companyName"></el-input>
<el-input v-model="form.companyName" maxlength="40" @input="(val) => checkHanzi(val, form, 'companyName')" ref="companyName"></el-input>
</el-form-item>
<el-form-item label="注册资本">
<el-input v-model="form.registeredCapital" ref="registeredCapital"></el-input>
<el-input :value="form.registeredCapital" @input="val => ismoney(val, form, 'registeredCapital')" maxlength="15" ref="registeredCapital"></el-input>
</el-form-item>
<el-form-item label="法人证件号码" required>
<div class="idCard" @click="popUp">
<div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
<el-input :value="form.idNumber" maxlength="20" disabled ref="idNumber"></el-input>
</div>
</el-form-item>
<el-form-item label="联系电话" :rules="rules.phone" prop="phone">
<el-input :value="form.phone" @input="(val) => phoneListen(val, form, 'phone')" maxlength="12" ref='phone'></el-input>
@ -31,7 +34,7 @@
<el-input :value="form.codeNumber" @input="(val) => checkHanzi(val, form, 'codeNumber')" ref="codeNumber"></el-input>
</el-form-item>
<el-form-item label="公司地址">
<el-input v-model="form.companyAddress" ref="companyAddress"></el-input>
<el-input v-model="form.companyAddress" maxlength="60" ref="companyAddress"></el-input>
</el-form-item>
<el-form-item label="法人证件类型" prop="certificateType">
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
@ -47,40 +50,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
<!-- <el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title" @click="success = true">提交</div>
</div>
<div class="popBody" v-if="!authorization&&!success">
<h2>本业务需要授权</h2>
</div>
<div class="popBody" v-if="authorization&&!success">
<el-form ref="form2" :model="disForm" label-width="80px">
<el-form-item label="授权柜员">
<el-input disabled v-model="disForm.name"></el-input>
</el-form-item>
<el-form-item label="授权柜员">
<el-input type="password" disabled v-model="disForm.pass"></el-input>
</el-form-item>
</el-form>
</div>
<div class="popBody" v-if="success">
<h2>完成表单form</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="[visible = false,authorization=false,success=false]"> </el-button>
<el-button class="sure btn" type="primary" @click="popSure"> </el-button>
</div>
</el-dialog> -->
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
@ -90,27 +60,30 @@
import { mapState, mapMutations, mapGetters } from 'vuex'
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http';
import { phoneListen, checkRequired, myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { phoneListen, checkRequired, myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
const moduleName = 'corporateClient'
export default {
name: 'index',
components: {
MyTitle,
NeedBefore
NeedBefore,
MyDialog
},
data() {
return {
unNeed: false,
isNeedBefore: '',
needBefore: '',
idNumberJudge: false,
visible:false,//
authorization:false,//
success:false,//
form:{
idNumber: '',
name: '',
phone: '',
documentType: '',
@ -120,7 +93,25 @@ export default {
companyAddress: '',
certificateType: ''
},
formName:{
idNumber: '法人证件号码',
name: '法人姓名',
phone: '联系电话',
documentType: '证件类型',
companyName: '公司名称',
registeredCapital: '注册资本',
codeNumber: '代码证号',
companyAddress: '公司地址',
certificateType: '法人证件类型'
},
rules: {
idNumber: [
{
required: true,
message: '请输入公司名称',
trigger: 'blur'
}
],
companyName: [
{
required: true,
@ -158,7 +149,16 @@ export default {
// firmClientIdentity
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('firmClientIdentity')) {
this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber
this.form.name = userName
}
this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
@ -178,41 +178,60 @@ export default {
var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '48') {this.form.documentType = list[i].emptyTwo} //
if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} //
if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //
if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //
if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} //
if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} //
if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '55') {this.form.name = list[i].emptyTwo} //
if (list[i].answerId == '56') {this.form.phone = list[i].emptyTwo} //
else if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} //
else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //
else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //
else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} //
else if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} //
// else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
else if (list[i].answerId == '54') {
console.log('54id')
console.log(list[i].emptyTwo)
this.idNumberJudge = true
this.form.idNumber = list[i].emptyTwo
}
else if (list[i].answerId == '55') {this.form.name = list[i].emptyTwo} //
else if (list[i].answerId == '56') {this.form.phone = list[i].emptyTwo} //
}
}
}).catch((error)=>{
})
},
...mapMutations({
changeShowGoods: 'system/changeShowGoods'
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
popUp(){//
this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'34'})
// this.$store.commit('system/changePop',{show:true,text:'',id:'34'})
this.$message.warning('请刷身份证');
this.setPopId('34')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popSure(){
},
submitForm() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
let formList = [];
let firmClientIdentity = sessionStorage.getItem('firmClientIdentity')
let firmClientIdentitys = JSON.parse(firmClientIdentity);
if (firmClientIdentitys && firmClientIdentitys.length > 0){
for (var i=0;i<firmClientIdentitys.length;i++){
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + "285,287,5,25,34,54","type": ""})//
}
// for (var i=0;i<firmClientIdentitys.length;i++){
// formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + "285,287,5,25,34,54","type": ""})//
// }
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + "285,287,5,25,34,54","type": ""})//
if(this.form.documentType){
formList.push({ "answerId":'48', "emptyOne": "19", "emptyTwo": this.form.documentType, "operationIds": this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + "285,287,5,25,34,48","type": "1"})//
}
@ -244,16 +263,20 @@ export default {
// message: '',
// type: 'success'
// });
// this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName)
this.setDataFlow({ userName: this.form.name })
}).catch((error)=>{
})
}else {
this.$message.error('有必填项未填哦~');
}
}, this.$refs));
},
phoneListen: phoneListen,
checkHanzi: checkHanzi,
checkName: checkName
checkName: checkName,
ismoney: ismoney
},
computed: {
...mapGetters({

@ -204,16 +204,10 @@ export default{
]
},
myTable: {
// clientName: '', //
// currencyMark: '', //
// depositNumber: '', //
// capital: '', //
// interestRate: '', //
// depositDate: '', //
// interest: '', //
// totalMoney: '', //
// certificateType: '', //
// breathDate: '', //
302: {
prop: 'voucherNumber',
prop: '3'
},
303: {
prop: 'voucherType',
type: '1',
@ -280,6 +274,14 @@ export default{
prop: 'certificateType',//
type: '1',
"subjectId": 19,
},
392: {
prop: 'idNumber',
type: '3'
},
394: {
prop: 'drawPassword',
type: '3'
}
},
myTable2: {
@ -375,6 +377,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('302')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -382,6 +385,7 @@ export default{
this.$message.warning('请刷身份证');
this.setPopId('392')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
@ -389,6 +393,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('394')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -53,6 +53,7 @@ export default {
data() {
return {
text:'',/* 顶部文字 */
cacheVal: '',
textObj:{
'1':'开户',
'2':'支取销户',
@ -68,15 +69,21 @@ export default {
}
},
created() {
if(sessionStorage.getItem('callDepositsIndex')) {
this.handleSelect(sessionStorage.getItem('callDepositsIndex'))
}else {
this.handleSelect('1')
}
},
methods: {
handleSelect(val){
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
},
destroyed() {
sessionStorage.setItem('callDepositsIndex', this.cacheVal)
}
};
</script>

@ -192,6 +192,14 @@ export default{
},
myTable2: {
291: {
prop: 'idNumber',//
type: '3',
},
297: {
prop: 'voucherNumber', //
type: '3'
},
293: {
prop: 'customerName',//
type: '3',
@ -227,6 +235,10 @@ export default{
type: '1',
"subjectId": 48,
},
301: {
prop: 'drawPassword',
type: '3'
},
// : {
// prop: 'noticeType',//
// type: '1'
@ -310,16 +322,19 @@ export default{
popUp(text) {
this.$message.warning('请刷身份证');
this.setPopId('291')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$message.warning('请刷银行卡');
this.setPopId('297')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
this.$message.warning('请在密码器输入密码');
this.setPopId('301')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -202,6 +202,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('67,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -209,6 +210,7 @@ export default{
this.$message.warning('请刷身份证');
this.setPopId('67,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
@ -216,6 +218,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('117')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
checkHanzi: checkHanzi,

@ -216,6 +216,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('63')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
ismoney: ismoney,

@ -82,6 +82,7 @@ export default {
text:'',/* 顶部文字 */
//
depositFinish: false,
cacheVal: '',
textObj:{
'1':'开户',
'2':'存款',
@ -105,16 +106,20 @@ export default {
}
},
created() {
if(sessionStorage.getItem('currentAccountIndex')) {
this.handleSelect(sessionStorage.getItem('currentAccountIndex'))
}else {
this.handleSelect('1')
}
},
destroyed() {
// sessionStorage.setItem('currentAccountIndex', )
sessionStorage.setItem('currentAccountIndex', this.cacheVal)
},
methods: {
handleSelect(val){
console.log(typeof(val),this.activeIndex,'xuanze');
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
setDepositFinish() {
this.depositFinish = true;

@ -710,6 +710,7 @@ export default {
this.$message.warning('请刷银行卡');
this.setPopId('62,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUps(){
@ -718,6 +719,7 @@ export default {
this.$message.warning('请在密码器输入密码');
this.setPopId('62,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUpTwo(){
@ -726,6 +728,7 @@ export default {
this.$message.warning('请刷银行卡');
this.setPopId('62,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUpsTwo(){
@ -734,6 +737,7 @@ export default {
this.$message.warning('请在密码器输入密码');
this.setPopId('62,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUpThree(){
@ -742,6 +746,7 @@ export default {
this.$message.warning('请刷银行卡');
this.setPopId('62,3')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUpsThree(){
@ -750,6 +755,7 @@ export default {
this.$message.warning('请在密码器输入密码');
this.setPopId('62,3')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
checkName: checkName,

@ -260,11 +260,13 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('66')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$message.warning('请在密码器输入密码');
this.setPopId('66,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
ismoney: ismoney,

@ -269,6 +269,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('65')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -276,6 +277,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('99')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
ismoney: ismoney,

@ -256,11 +256,13 @@ export default{
popUp(text) {
this.$message.warning('请刷银行卡');
this.setPopId('64')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$message.warning('请输入密码');
this.setPopId('64,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
ismoney: ismoney,

@ -337,6 +337,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('131')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -344,6 +345,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('140')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -293,6 +293,7 @@ export default{
this.$message.warning('请刷身份证');
this.setPopId('118,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) { //
@ -300,6 +301,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('118,2')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) { //
@ -307,6 +309,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('129')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -65,6 +65,7 @@ export default {
data() {
return {
text:'',/* 顶部文字 */
cacheVal: '',
textObj:{
'1':'开户',
'2':'存款',
@ -82,17 +83,21 @@ export default {
}
},
created() {
if(sessionStorage.getItem('timeDepositIndex')) {
this.handleSelect(sessionStorage.getItem('timeDepositIndex'))
}else {
this.handleSelect('1')
}
},
methods: {
handleSelect(val){
console.log(typeof(val),this.activeIndex,'xuanze');
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
},
destroyed() {
sessionStorage.setItem('timeDepositIndex', this.cacheVal)
}
};
</script>

@ -272,6 +272,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('144,1')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -279,6 +280,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('154')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitIt() {

@ -325,6 +325,7 @@ export default{
this.$message.warning('请刷银行卡');
this.setPopId('181')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -332,6 +333,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('192')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
@ -339,6 +341,7 @@ export default{
this.$message.warning('请刷身份证');
this.setPopId('180')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -225,6 +225,7 @@ export default{
// this.$store.commit('system/changePop',{show:true,text, id: '171'})
this.$message.warning('请刷银行卡');
this.setPopId('171')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
@ -232,6 +233,7 @@ export default{
this.$message.warning('请在密码器输入密码');
this.setPopId('178')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {

@ -306,16 +306,19 @@ export default{
popUp1(text) {
this.$message.warning('请刷身份证');
this.setPopId('1399')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$message.warning('请刷银行卡');
this.setPopId('166')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3(text) {
this.$message.warning('请在密码器输入密码');
this.setPopId('167')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
getFormData(){

@ -64,6 +64,7 @@ export default {
data() {
return {
text:'',/* 顶部文字 */
cacheVal: '',
textObj:{
'1':'开户',
'2':'续存',
@ -81,15 +82,21 @@ export default {
}
},
created() {
if(sessionStorage.getItem('usefulPhrasesIndex')) {
this.handleSelect(sessionStorage.getItem('usefulPhrasesIndex'))
}else {
this.handleSelect('1')
}
},
methods: {
handleSelect(val){
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
},
destroyed() {
sessionStorage.setItem('usefulPhrasesIndex', this.cacheVal)
}
};
</script>

@ -1,5 +1,5 @@
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['账户服务', '密码修改']"/>
<div class="body">
<el-row :gutter="20" style="margin: 0">
@ -10,26 +10,43 @@
<el-option label="身份证" value="身份证"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名" prop="customerName">
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
<el-form-item label="账号" required>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
</el-form-item>
<el-form-item label="原支付密码" prop="payPassword">
<el-input type="password" v-model="form.payPassword" placeholder="请输入密码" ref="payPassword"></el-input>
<div v-if='!form.payPassword' class="idCard" @click="popUp('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp('密码器')">
<el-input :value="form.payPassword" ref="payPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp1('身份证扫描仪')">
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="账号" required>
<div class="idCard" @click="popUp2('银行扫描仪')">
<p>请刷银行卡</p>
<div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
</div>
</el-form-item>
<el-form-item label="客户姓名" prop="customerName">
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="新支付密码" prop="newPayPassword">
<el-input type="password" v-model="form.newPayPassword" placeholder="请输入密码" ref="newPayPassword"></el-input>
<div v-if='!form.newPayPassword' class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp3('密码器')">
<el-input :value="form.newPayPassword" ref="newPayPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
@ -40,47 +57,42 @@
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2 v-if='dialogChange'>本业务需要授权</h2>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template>
<script>
import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle'
const moduleName = 'servicesAccount/passwordChange'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default{
name:'',
props:{},
components: {
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data(){
return{
dialogChange: true,
visible: false,
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
// identityCard: '', //
idNumber: '', //
voucherNumber: '', //
customerName: '', //
payPassword: '', //
//
@ -88,6 +100,18 @@ export default{
newPayPassword: '', //
maillingAddress: '', //
},
formName:{
//
// identityCard: '', //
idNumber: '证件号码', //
voucherNumber: '账号', //
customerName: '客户姓名', //
payPassword: '原支付密码', //
//
certificateType: '证件类型', //
newPayPassword: '新支付密码', //
maillingAddress: '通讯地址', //
},
rules: {
customerName: vercustomer,
payPassword: [
@ -99,6 +123,14 @@ export default{
]
},
myTable2: {
320: {
prop: 'idNumber',
type: '3'
},
323: {
prop: 'voucherNumber',
type: '3'
},
326: {
prop: 'newPayPassword', // 3
type: '3',
@ -127,24 +159,87 @@ export default{
"subjectId": '51',
}
},
visible: false
}
},
mounted() {
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
if(sessionStorage.getItem('servicesPasswordChange2')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordChange3')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordChange3')
}
console.log(sessionStorage.getItem('servicesPasswordChange4'))
if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
}
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = {
320: 'servicesPasswordChange',
323: 'servicesPasswordChange2'
// 320: 'servicesPasswordChange',
// 323: 'servicesPasswordChange2'
}
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)
this.$refs.customerName.focus()
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
mounted() {
// this.$refs.customerName.focus()
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
popUp() {
this.$message.warning('在密码器输入原支付密码');
this.setPopId('325')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3() {
this.$message.warning('在密码器输入新支付密码');
this.setPopId('326')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text, id: '320'})
this.$message.warning('请刷身份证');
this.setPopId('320')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '323'})
this.$message.warning('请刷银行卡');
this.setPopId('323')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {
let servicesPasswordChange = sessionStorage.getItem('servicesPasswordChange')
@ -155,18 +250,26 @@ export default{
this.visible = true;
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = [
{ // //
320: servicesPasswordChange
},
{ //
323: servicesPasswordChange2
}
// { // //
// 320: servicesPasswordChange
// },
// { //
// 323: servicesPasswordChange2
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
}
}
</script>

@ -1,14 +1,16 @@
<template>
<div class="wrap wrap2">
<div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['账户服务', '密码挂失']"/>
<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 class="idCard" @click="popUp1('银行扫描器')">
<p>请刷银行卡</p>
<div v-if='!cardNumberJudge' class="idCard" @click="popUp1('刷卡器')">
<p>请刷卡</p>
</div>
<div v-else>
<el-input ref="voucherNumber" disabled maxlength="15" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div>
</el-form-item>
<el-form-item label="证件类型" prop="certificateType">
@ -19,66 +21,74 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
<el-input :value="form.customerName" disabled maxlength="20" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp2('身份证扫描器')">
<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-col :span="20" :offset="1">
<el-form-item label="备注" prop="textarea">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="form.remark" ref="textarea"></el-input>
<el-input type="textarea" maxlength="60" :rows="3" placeholder="请输入内容" v-model="form.remark" ref="textarea"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2 v-if='dialogChange'>本业务需要授权</h2>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</template>
<script>
import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle'
const moduleName = 'servicesAccount/passwordLost'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
export default{
name:'',
props:{},
components: {
MyTitle
MyTitle,
NeedBefore,
MyDialog
},
data(){
return{
dialogChange: false,
idNumberJudge: false,
cardNumberJudge: false,
idNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{
//
customerName: '', //
idNumber: '', //
voucherNumber: '', //
//
certificateType: '身份证', //
remark: '', //
},
formName:{
//
customerName: '客户姓名', //
idNumber: '身份证号码', //
voucherNumber: '账号', //
//
certificateType: '证件类型', //
remark: '备注', //
},
rules: {
customerName: vercustomer
},
@ -101,46 +111,91 @@ export default{
"subjectId": '7',
}
},
visible: false
}
},
mounted() {
created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('servicesPasswordLost')) {
this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow
this.form.customerName = userName
this.form.voucherNumber = voucherNumber
}
if(sessionStorage.getItem('servicesPasswordLost2')) {
this.idNumberJudge = true
const { idNumber } = this.dataFlow
this.form.idNumber = idNumber
}
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = {
329: 'servicesPasswordLost',
333: 'servicesPasswordLost2'
// 329: 'servicesPasswordLost',
// 333: 'servicesPasswordLost2'
}
const callback = () => {
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
this.$refs.customerName.focus()
}else {
this.isNeedBefore = true
this.unNeed = true
}
},
mounted() {
},
methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text,id:'329'})
this.$message.warning('请刷银行卡');
this.setPopId('329')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text,id:'333'})
this.$message.warning('请刷身份证');
this.setPopId('333')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
let servicesPasswordLost = sessionStorage.getItem('servicesPasswordLost')
let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2')
this.visible = true;
}, this.$refs));
},
submitForm2() {
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = [
{ // //
329: servicesPasswordLost
},
{ //
333: servicesPasswordLost2
}
// { // //
// 329: servicesPasswordLost
// },
// { //
// 333: servicesPasswordLost2
// }
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
checkHanzi: checkHanzi,
checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
}
}
</script>

@ -7,7 +7,7 @@ const allGoods = {
439: {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},
412: {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:412},
30: {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
411: {name:411,src:require('@/assets/img/goods/xjzp.png'),id:411},
411: {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'},
425: {name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:425},
426: {name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:426},
479: {name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:479},
@ -1144,9 +1144,19 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'corporateClient': false,
'business/openAccount': false
},
dataFlow: {
idNumber,
userName,
peopleNumber
}
},
'项目十二': {
id: '',
id: 500,
data: [ 442, 431, 409, 15 ], // 15是现金
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: {
@ -1165,9 +1175,18 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'business/deposit': false
},
dataFlow: {
idNumber,
userName,
peopleNumber
}
},
'项目十三': {
id: '',
id: 501,
data: [ 442, 411 ],
needs: [ 425, 15 ],
isStamp: {
@ -1186,9 +1205,21 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'business/withdrawal': false,
'business/transfer': false
},
dataFlow: {
// idNumber,
// userName,
// peopleNumber,
// currency:'CNY人民币',
// goldLogo:'钞户',
}
},
'项目十四': {
id: '',
id: 502,
data: [ 442, 412 ],
needs: [ 426 ],
isStamp: {
@ -1207,9 +1238,17 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'servicesAccount/passwordChange': false
},
dataFlow: {
idNumber,
voucherNumber
}
},
'项目十五': {
id: '',
id: 503,
data: [ 13, 23, 16, 407 ], // 身份证原件、复印件、银行卡、特殊业务申请书
needs: [ ],
isStamp: {
@ -1228,9 +1267,18 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'servicesAccount/passwordLost': false
},
dataFlow: {
idNumber,
voucherNumber,
userName
}
},
'项目十六': {
id: '',
id: 504,
data: [ 13, 23, 16, 406 ], // 身份证原件、复印件、银行卡、密码挂失申请书
needs: [ ],
isStamp: {
@ -1251,7 +1299,7 @@ export default {
commonArr: [], // 普通凭证箱
},
'项目十七': {
id: '',
id: 505,
data: [ 13, 23, 16, 468, 467 ], // 身份证原件、复印件、银行卡、密码挂失申请书回单、密码挂失申请书银行留存联
needs: [ ],
isStamp: {
@ -1269,11 +1317,15 @@ export default {
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
commonArr: [], // 普通凭证箱,
needsModule: {
'controlCash/cashRecipients': false
},
},
'项目十八': {
id: '',
id: '506',
data: [ 13, 23, 15, 413 ], // 身份证原件、复印件、现金、支票领购单
needs: [ 411, 479 ],
isStamp: {
@ -1293,9 +1345,13 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashTransferInto': false
},
},
'项目十九': {
id: '',
id: 507,
data: [ ], //
needs: [ 438 ],
isStamp: {
@ -1314,9 +1370,13 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashPaid': false
},
},
'项目二十': {
id: '',
id: 508,
data: [ ], //
needs: [ 438 ],
isStamp: {
@ -1335,9 +1395,13 @@ export default {
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
needsModule: {
'controlCash/cashOut': false
},
},
'项目二十一': {
id: '',
id: 509,
data: [ ], //
needs: [ 438 ],
isStamp: {
@ -1358,7 +1422,7 @@ export default {
commonArr: [], // 普通凭证箱
},
'项目二十二': {
id: '',
id: 510,
data: [ ], //
needs: [ 438 ],
isStamp: {

Loading…
Cancel
Save