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/deposit': '整存整取 -> 存款',
'timeDeposit/withdrawal': '整存整取 -> 取款', 'timeDeposit/withdrawal': '整存整取 -> 取款',
'timeDeposit/deposit': '整存整取 -> 存款', 'timeDeposit/deposit': '整存整取 -> 存款',
'business/openAccount': '公司业务 -> 开户'
} }
import {mapGetters} from 'vuex' import {mapGetters} from 'vuex'

@ -1379,7 +1379,7 @@ export default {
if(this.popText.includes('身份证扫描')) { if(this.popText.includes('身份证扫描')) {
for (let i=0;i<this.receptionList.length;i++){ 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({ this.$message({
center: true, center: true,
showClose: true, showClose: true,
@ -1399,7 +1399,7 @@ export default {
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList))
} }
console.log(sessionStorage.getItem('nomClientIdentity')) 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.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){

@ -131,25 +131,41 @@ const myConfig = {
nbm: 320, nbm: 320,
name: 'servicesPasswordChange', name: 'servicesPasswordChange',
parentId: '285,287,5,28,316', parentId: '285,287,5,28,316',
isPassword: false isPassword: false,
machine: '身份证扫描仪'
}, },
'323': { '323': {
nbm: 323, nbm: 323,
name: 'servicesPasswordChange2', name: 'servicesPasswordChange2',
parentId: '285,287,5,28,316', 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': { '329': {
nbm: 329, nbm: 329,
name: 'servicesPasswordLost', name: 'servicesPasswordLost',
parentId: '285,287,5,28,328', parentId: '285,287,5,28,328',
isPassword: false isPassword: false,
machine: '刷卡器'
}, },
'333': { '333': {
nbm: 333, nbm: 333,
name: 'servicesPasswordLost2', name: 'servicesPasswordLost2',
parentId: '285,287,5,28,328', parentId: '285,287,5,28,328',
isPassword: false isPassword: false,
machine: '身份证扫描仪'
}, },
'341': { '341': {
nbm: 341, nbm: 341,

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

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

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

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

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

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

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

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

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

@ -1,6 +1,6 @@
// //
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['公司业务', text]"/> <MyTitle :titleArr="['公司业务', text]"/>
<!-- 开户 --> <!-- 开户 -->
@ -9,7 +9,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="2"> <el-col :span="10" :offset="2">
<el-form-item label="账号" prop="username"> <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>
<el-form-item label="凭证号码" prop="voucherNum"> <el-form-item label="凭证号码" prop="voucherNum">
<el-input :value="form.voucherNum" @input="(val) => checkHanzi(val, form, 'voucherNum')" ref="voucherNum"></el-input> <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-input ref="currency" :value="form.currency" @input="(val) => checkName(val, form, 'currency')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="凭证类型" prop="certificateType"> <el-form-item label="凭证类型" prop="certificateType">
<el-select disabled v-model="form.certificateType" placeholder="请选择" ref="certificateType"> <el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
<el-option label="存单" value="存单"> </el-option> <el-option label="存单" value="存单"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -30,7 +30,7 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName"> <el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input> <el-input :value="form.customerName" maxlength="20" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="签发日期" prop="issueDate"> <el-form-item label="签发日期" prop="issueDate">
<el-date-picker <el-date-picker
@ -46,40 +46,21 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <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-form-item>
</el-col> </el-col>
<el-col :span="21" :offset="1" prop='textarea'> <el-col :span="21" :offset="1" prop='textarea'>
<el-form-item label="摘要"> <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-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" :needAuth='needAuth' />
</div> </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> </div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</template> </template>
<script> <script>
@ -88,14 +69,25 @@ import { myValidate, ismoney, checkName, checkHanzi, autoPlay, autoPlay2 } from
import { vercustomer, verrate } from '@/utils/verify.js' import { vercustomer, verrate } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; import { addOperation, getOperation } from '@/api/http';
import MyTitle from '@/components/myTitle' 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 { export default {
name: 'index', name: 'index',
components:{ components:{
MyTitle MyTitle,
NeedBefore,
MyDialog
}, },
data() { data() {
return { return {
text:'取款',/* 顶部文字 */ text:'取款',/* 顶部文字 */
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
@ -104,12 +96,26 @@ export default {
money: '', // money: '', //
// //
issueDate: '', // issueDate: '', //
currency: 'CNY人民币', // currency: '', //
currencyMark: '钞户', // currencyMark: '', //
certificateType: '现金支票', // certificateType: '', //
payWay: '', // payWay: '', //
abstract: '', // abstract: '', //
}, },
formName:{
//
customerName: '客户姓名', //
username: '账号', //
voucherNum: '凭证号码', //
money: '金额', //
//
issueDate: '签发日期', //
currency: '币种', //
currencyMark: '钞汇标识', //
certificateType: '凭证类型', //
payWay: '支取方式', //
abstract: '摘要', //
},
rules: { rules: {
customerName: vercustomer, customerName: vercustomer,
username: [ username: [
@ -198,13 +204,38 @@ export default {
} }
}, },
created() { created() {
if(this.inMyWork(moduleName)) {
if(this.needsModule(moduleName) === '') {
// CNY
// const { }
},
mounted() {
this.$refs.username.focus()
this.getFormData() this.getFormData()
}else {
this.isNeedBefore = true
this.needBefore = this.needsModule(moduleName)
}
}else {
this.isNeedBefore = true
this.unNeed = true
}
}, },
methods: { methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
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(){ getFormData(){
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,27,226' 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) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
@ -213,66 +244,29 @@ export default {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; 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)); }, 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, ismoney: ismoney,
checkName: checkName, checkName: checkName,
checkHanzi: checkHanzi checkHanzi: checkHanzi
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
}),
needAuth() {
return this.form.money > 50000
}
} }
}; };
</script> </script>

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

@ -12,15 +12,18 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="公司名称" prop="companyName"> <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>
<el-form-item label="注册资本"> <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>
<el-form-item label="法人证件号码" required> <el-form-item label="法人证件号码" required>
<div class="idCard" @click="popUp"> <div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else>
<el-input :value="form.idNumber" maxlength="20" disabled ref="idNumber"></el-input>
</div>
</el-form-item> </el-form-item>
<el-form-item label="联系电话" :rules="rules.phone" prop="phone"> <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> <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-input :value="form.codeNumber" @input="(val) => checkHanzi(val, form, 'codeNumber')" ref="codeNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="公司地址"> <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>
<el-form-item label="法人证件类型" prop="certificateType"> <el-form-item label="法人证件类型" prop="certificateType">
<el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType"> <el-select v-model="form.certificateType" placeholder="请选择" ref="certificateType">
@ -47,40 +50,7 @@
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div> </div>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
<!-- <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> -->
</div> </div>
<need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
@ -90,27 +60,30 @@
import { mapState, mapMutations, mapGetters } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { addOperation, getOperation } from '@/api/http'; 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 MyTitle from '@/components/myTitle'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
const moduleName = 'corporateClient' const moduleName = 'corporateClient'
export default { export default {
name: 'index', name: 'index',
components: { components: {
MyTitle, MyTitle,
NeedBefore NeedBefore,
MyDialog
}, },
data() { data() {
return { return {
unNeed: false, unNeed: false,
isNeedBefore: '', isNeedBefore: '',
needBefore: '', needBefore: '',
idNumberJudge: false,
visible:false,// visible:false,//
authorization:false,// authorization:false,//
success:false,// success:false,//
form:{ form:{
idNumber: '',
name: '', name: '',
phone: '', phone: '',
documentType: '', documentType: '',
@ -120,7 +93,25 @@ export default {
companyAddress: '', companyAddress: '',
certificateType: '' certificateType: ''
}, },
formName:{
idNumber: '法人证件号码',
name: '法人姓名',
phone: '联系电话',
documentType: '证件类型',
companyName: '公司名称',
registeredCapital: '注册资本',
codeNumber: '代码证号',
companyAddress: '公司地址',
certificateType: '法人证件类型'
},
rules: { rules: {
idNumber: [
{
required: true,
message: '请输入公司名称',
trigger: 'blur'
}
],
companyName: [ companyName: [
{ {
required: true, required: true,
@ -158,7 +149,16 @@ export default {
// firmClientIdentity // firmClientIdentity
if(this.inMyWork(moduleName)) { if(this.inMyWork(moduleName)) {
if(this.needsModule(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 { }else {
this.isNeedBefore = true this.isNeedBefore = true
@ -178,41 +178,60 @@ export default {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '48') {this.form.documentType = list[i].emptyTwo} // if (list[i].answerId == '48') {this.form.documentType = list[i].emptyTwo} //
if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} // else if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} //
if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} // else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //
if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} // else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //
if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} // else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} //
if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} // else if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} //
if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} // // else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '55') {this.form.name = list[i].emptyTwo} // else if (list[i].answerId == '54') {
if (list[i].answerId == '56') {this.form.phone = list[i].emptyTwo} // 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)=>{ }).catch((error)=>{
}) })
}, },
...mapMutations({ ...mapMutations({
changeShowGoods: 'system/changeShowGoods' changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}), }),
popUp(){// 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(){ popSure(){
}, },
submitForm() { submitForm() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
this.visible = true; this.visible = true;
}, this.$refs));
},
submitForm2() {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
let formList = []; let formList = [];
let firmClientIdentity = sessionStorage.getItem('firmClientIdentity') let firmClientIdentity = sessionStorage.getItem('firmClientIdentity')
let firmClientIdentitys = JSON.parse(firmClientIdentity); let firmClientIdentitys = JSON.parse(firmClientIdentity);
if (firmClientIdentitys && firmClientIdentitys.length > 0){ if (firmClientIdentitys && firmClientIdentitys.length > 0){
for (var i=0;i<firmClientIdentitys.length;i++){ // 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": 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){ 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"})// 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: '', // message: '',
// type: 'success' // type: 'success'
// }); // });
// this.setDataFlow({ ...this.form })
this.setNeedsModule(moduleName)
this.setDataFlow({ userName: this.form.name })
}).catch((error)=>{ }).catch((error)=>{
}) })
}else { }else {
this.$message.error('有必填项未填哦~'); this.$message.error('有必填项未填哦~');
} }
}, this.$refs));
}, },
phoneListen: phoneListen, phoneListen: phoneListen,
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName,
ismoney: ismoney
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,5 +1,5 @@
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['账户服务', '密码修改']"/> <MyTitle :titleArr="['账户服务', '密码修改']"/>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
@ -10,26 +10,43 @@
<el-option label="身份证" value="身份证"> </el-option> <el-option label="身份证" value="身份证"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="客户姓名" prop="customerName"> <el-form-item label="账号" required>
<el-input ref="customerName" :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input> <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>
<el-form-item label="原支付密码" prop="payPassword"> <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-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="证件号码" required> <el-form-item label="证件号码" required>
<div class="idCard" @click="popUp1('身份证扫描仪')"> <div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
</el-form-item> <div v-else>
<el-form-item label="账号" required> <el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
<div class="idCard" @click="popUp2('银行扫描仪')">
<p>请刷银行卡</p>
</div> </div>
</el-form-item> </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-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-form-item>
</el-col> </el-col>
<el-col :span="20" :offset="2"> <el-col :span="20" :offset="2">
@ -40,47 +57,42 @@
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
</div>
<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>
</div> </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> </div>
</el-dialog> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" />
</div>
</template> </template>
<script> <script>
import { vercustomer } from '@/utils/verify.js' import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle' 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{ export default{
name:'', name:'',
props:{}, props:{},
components: { components: {
MyTitle MyTitle,
NeedBefore,
MyDialog
}, },
data(){ data(){
return{ return{
dialogChange: true, visible: false,
idNumberJudge: false,
cardNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
// identityCard: '', // // identityCard: '', //
idNumber: '', //
voucherNumber: '', //
customerName: '', // customerName: '', //
payPassword: '', // payPassword: '', //
// //
@ -88,6 +100,18 @@ export default{
newPayPassword: '', // newPayPassword: '', //
maillingAddress: '', // maillingAddress: '', //
}, },
formName:{
//
// identityCard: '', //
idNumber: '证件号码', //
voucherNumber: '账号', //
customerName: '客户姓名', //
payPassword: '原支付密码', //
//
certificateType: '证件类型', //
newPayPassword: '新支付密码', //
maillingAddress: '通讯地址', //
},
rules: { rules: {
customerName: vercustomer, customerName: vercustomer,
payPassword: [ payPassword: [
@ -99,6 +123,14 @@ export default{
] ]
}, },
myTable2: { myTable2: {
320: {
prop: 'idNumber',
type: '3'
},
323: {
prop: 'voucherNumber',
type: '3'
},
326: { 326: {
prop: 'newPayPassword', // 3 prop: 'newPayPassword', // 3
type: '3', type: '3',
@ -127,24 +159,87 @@ export default{
"subjectId": '51', "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 parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = { const cards = {
320: 'servicesPasswordChange', // 320: 'servicesPasswordChange',
323: 'servicesPasswordChange2' // 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: { 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) { 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) { 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() { submitForm() {
let servicesPasswordChange = sessionStorage.getItem('servicesPasswordChange') let servicesPasswordChange = sessionStorage.getItem('servicesPasswordChange')
@ -155,18 +250,26 @@ export default{
this.visible = true; this.visible = true;
const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316' const parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,316'
const cards = [ const cards = [
{ // // // { // //
320: servicesPasswordChange // 320: servicesPasswordChange
}, // },
{ // // { //
323: servicesPasswordChange2 // 323: servicesPasswordChange2
} // }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs)); }, this.$refs));
}, },
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
} }
} }
</script> </script>

@ -1,14 +1,16 @@
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2" v-if="!isNeedBefore">
<MyTitle :titleArr="['账户服务', '密码挂失']"/> <MyTitle :titleArr="['账户服务', '密码挂失']"/>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> <el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="账号" required> <el-form-item label="账号" required>
<div class="idCard" @click="popUp1('银行扫描器')"> <div v-if='!cardNumberJudge' class="idCard" @click="popUp1('刷卡器')">
<p>请刷银行卡</p> <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> </div>
</el-form-item> </el-form-item>
<el-form-item label="证件类型" prop="certificateType"> <el-form-item label="证件类型" prop="certificateType">
@ -19,66 +21,74 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="客户姓名" prop="customerName"> <el-form-item label="客户姓名" prop="customerName">
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input> <el-input :value="form.customerName" disabled maxlength="20" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="身份证" required> <el-form-item label="身份证" required>
<div class="idCard" @click="popUp2('身份证扫描器')"> <div class="idCard" @click="popUp2('身份证扫描仪')" v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input>
</div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="20" :offset="1"> <el-col :span="20" :offset="1">
<el-form-item label="备注" prop="textarea"> <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-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button> <el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
<el-dialog <my-dialog v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" />
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>
</div> </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> </div>
</el-dialog> <need-before v-else :moduleName='needBefore' :unNeed="unNeed" />
</div>
</div>
</template> </template>
<script> <script>
import { vercustomer } from '@/utils/verify.js' import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import MyTitle from '@/components/myTitle' 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{ export default{
name:'', name:'',
props:{}, props:{},
components: { components: {
MyTitle MyTitle,
NeedBefore,
MyDialog
}, },
data(){ data(){
return{ return{
dialogChange: false, idNumberJudge: false,
cardNumberJudge: false,
idNumberJudge: false,
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
form:{ form:{
// //
customerName: '', // customerName: '', //
idNumber: '', //
voucherNumber: '', //
// //
certificateType: '身份证', // certificateType: '身份证', //
remark: '', // remark: '', //
}, },
formName:{
//
customerName: '客户姓名', //
idNumber: '身份证号码', //
voucherNumber: '账号', //
//
certificateType: '证件类型', //
remark: '备注', //
},
rules: { rules: {
customerName: vercustomer customerName: vercustomer
}, },
@ -101,46 +111,91 @@ export default{
"subjectId": '7', "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 parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = { const cards = {
329: 'servicesPasswordLost', // 329: 'servicesPasswordLost',
333: 'servicesPasswordLost2' // 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) }else {
this.$refs.customerName.focus() this.isNeedBefore = true
this.unNeed = true
}
},
mounted() {
}, },
methods: { methods: {
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId'
}),
popUp1(text) { 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) { 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() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
//
let servicesPasswordLost = sessionStorage.getItem('servicesPasswordLost')
let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2')
this.visible = true; 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 parentId = this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',' + '285,287,5,28,328'
const cards = [ const cards = [
{ // // // { // //
329: servicesPasswordLost // 329: servicesPasswordLost
}, // },
{ // // { //
333: servicesPasswordLost2 // 333: servicesPasswordLost2
} // }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
}, },
checkHanzi: checkHanzi, checkHanzi: checkHanzi,
checkName: checkName checkName: checkName
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
})
} }
} }
</script> </script>

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

Loading…
Cancel
Save