20240205
luoJunYong.123 3 years ago
parent 5828a60f0b
commit 6650f96b32
  1. 5
      src/components/case/index.vue
  2. 28
      src/pages/counter/list/index.vue
  3. 4
      src/pages/manage/list/personal/currentAccount/settle.vue
  4. 16
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  5. 14
      src/pages/manage/list/personal/currentAccount/withdrawal.vue
  6. 30
      src/store/modules/system.js

@ -140,7 +140,7 @@
<h4 class="antialiased text-center text-2xl">请选择你将进行的操作</h4> <h4 class="antialiased text-center text-2xl">请选择你将进行的操作</h4>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="closePane()">再试一次</el-button> <el-button @click="closePane()">再试一次</el-button>
<el-button type="primary" @click="closePane(true)">其他业务</el-button> <!-- <el-button type="primary" @click="closePane(true)">其他业务</el-button> -->
</span> </span>
</el-dialog> </el-dialog>
@ -370,7 +370,7 @@ export default {
}, },
closePane(judge = false){ closePane(judge = false){
this.closePaneJudge = false this.closePaneJudge = false
this.lockIt = false // this.lockIt = false
this.reload() this.reload()
if(judge) { if(judge) {
this.toggleCase() this.toggleCase()
@ -748,6 +748,7 @@ export default {
} }
}, },
reload() { reload() {
this.lockIt = false
this.clearStore() this.clearStore()
let token = sessionStorage.getItem('token') let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')

@ -1646,7 +1646,7 @@ export default {
this.nbm = 33 this.nbm = 33
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomClientIdentity', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){ }else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){
@ -1654,7 +1654,7 @@ export default {
this.nbm = 34 this.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('firmClientIdentity', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){
@ -1662,14 +1662,14 @@ export default {
this.nbm = 63 this.nbm = 63
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){
this.nbm = 64 this.nbm = 64
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){
@ -1686,7 +1686,7 @@ export default {
this.nbm = 65 this.nbm = 65
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
// if (this.passwordForm.passwordAgain){ // if (this.passwordForm.passwordAgain){
@ -1699,7 +1699,7 @@ export default {
this.nbm = 66 this.nbm = 66
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
// if (this.passwordForm.passwordAgain){ // if (this.passwordForm.passwordAgain){
@ -1720,28 +1720,28 @@ export default {
this.nbm = 67 this.nbm = 67
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){ }else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){
this.nbm = 67 this.nbm = 67
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '33'){ }else if (this.$store.state.system.id == '33'){
this.nbm = 33 this.nbm = 33
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('nomClientIdentity', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '34'){ }else if (this.$store.state.system.id == '34'){
this.nbm = 34 this.nbm = 34
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) sessionStorage.setItem('firmClientIdentity', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id]
@ -1750,7 +1750,7 @@ export default {
this.nbm = nbm this.nbm = nbm
if(!isPassword) { if(!isPassword) {
if (this.receptionList.length >0 && machine === this.popText){ if (this.receptionList.length >0 && machine === this.popText){
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) sessionStorage.setItem(name, JSON.stringify("getIt"))
} }
}else { }else {
if (this.passwordForm.passwordAgain){ if (this.passwordForm.passwordAgain){
@ -1772,7 +1772,7 @@ export default {
}else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){ }else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){
this.nbm = 62 this.nbm = 62
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucher', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){
@ -1788,7 +1788,7 @@ export default {
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucherTwo', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){
@ -1803,7 +1803,7 @@ export default {
this.nbm = 62 this.nbm = 62
// this.goodsShelfTotalData = this.auditGoodsShelf // this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){ if (this.receptionList.length >0){
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) sessionStorage.setItem('accountVoucherThree', JSON.stringify("getIt"))
} }
this.showManage() this.showManage()
}else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ }else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){

@ -251,9 +251,9 @@ export default{
}, },
submitForm2() { submitForm2() {
let nomCurrentSettleCard = sessionStorage.getItem('nomCurrentSettleCard') let nomCurrentSettleCard = sessionStorage.getItem('nomCurrentSettleCard')
let nomCurrentSettleCards = JSON.parse(nomCurrentSettleCard); // let nomCurrentSettleCards = JSON.parse(nomCurrentSettleCard);
let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword') let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword')
let nomCurrentSettlePasswords = JSON.parse(nomCurrentSettlePassword); // let nomCurrentSettlePasswords = JSON.parse(nomCurrentSettlePassword);
const cards = [ const cards = [
// { // {
// 103: nomCurrentSettleCard // 103: nomCurrentSettleCard

@ -192,18 +192,20 @@ export default{
if(sessionStorage.getItem('nomCurrentTransferPassword')) { if(sessionStorage.getItem('nomCurrentTransferPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCurrentTransferCard')) { // if(sessionStorage.getItem('nomCurrentTransferCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.cardNumber = this.dataFlow.voucherNumber || '159753' // this.form.cardNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomCurrentTransferCard')) { if(sessionStorage.getItem('nomCurrentTransferCard')) {
const { currency, userName, goldLogo, voucherNumber } = this.dataFlow const { currency, userName, goldLogo, voucherNumber } = this.dataFlow
this.cardNumberJudge = true
this.form.cardNumber = voucherNumber this.form.cardNumber = voucherNumber
console.log(this.form.cardNumber)
this.form.currency = currency this.form.currency = currency
this.form.userName = userName this.form.userName = userName
this.form.goldLogo = goldLogo this.form.goldLogo = goldLogo

@ -87,13 +87,13 @@ export default{
if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) { if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { // if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.cardNumber = this.dataFlow.voucherNumber || '159753' // this.form.cardNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { if(sessionStorage.getItem('nomCurrentWithdrawalCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow

@ -91,7 +91,17 @@ const birthday = '1996-11-03'
const userName = '小白' const userName = '小白'
const capital = 100 const capital = 100
const peopleNumber = '111222' const peopleNumber = '111222'
const voucherNumber = '159753' const voucherNumber = (() => {
const $chars = '1234567890';
const maxPos = $chars.length;
let str = '';
for (let i = 0; i < 8; i++) {
str += $chars.charAt(Math.floor(Math.random() * maxPos));
}
return '6227' + str;
})()
// const voucherNumber = '622766985213'
console.log(voucherNumber)
const sex = 1 // 1为男,2为女。 const sex = 1 // 1为男,2为女。
/* /*
@ -109,12 +119,12 @@ const myInitState = {
data: [15, 13, 23, 14], data: [15, 13, 23, 14],
needs: [16, 17], needs: [16, 17],
isStamp: { isStamp: {
'业务专用章': [14,17], '业务专用章': [14,428],
'附件章': [23], '附件章': [23],
// '收讫章': [ 17 ] // '收讫章': [ 17 ]
}, },
backPeople: [], backPeople: [],
// backPeople: [21, 13, 22, 16], // backPeople: [21, 13, 22, 16], // 返还资料
cultureArr: [23, 24, 269], cultureArr: [23, 24, 269],
// 各种物品信息 // 各种物品信息
moneyBox: [], // 钱箱 moneyBox: [], // 钱箱
@ -177,9 +187,9 @@ const myInitState = {
// 以下为数据流: // 以下为数据流:
needsModule: { needsModule: {
'consumerClient': false, // 'consumerClient': false,
'currentAccount/withdrawal': false, // 'currentAccount/withdrawal': false,
'currentAccount/transferAccounts': false, // 'currentAccount/transferAccounts': false,
'currentAccount/settle': false, 'currentAccount/settle': false,
'currentAccount/Cancell': false 'currentAccount/Cancell': false
}, },
@ -1236,9 +1246,9 @@ export default {
// 以下为数据流: // 以下为数据流:
needsModule: { needsModule: {
'consumerClient': false, // 'consumerClient': false,
'currentAccount/withdrawal': false, // 'currentAccount/withdrawal': false,
'currentAccount/transferAccounts': false, // 'currentAccount/transferAccounts': false,
'currentAccount/settle': false, 'currentAccount/settle': false,
'currentAccount/Cancell': false 'currentAccount/Cancell': false
}, },
@ -1262,7 +1272,7 @@ export default {
drawWay:18, drawWay:18,
interest: '0.1', interest: '0.1',
balance: 666, balance: 666,
totalMoney: 9999999999, totalMoney: '',
} }
}, },
'业务三': { '业务三': {

Loading…
Cancel
Save