个人业务的活期业务刷卡

20240205
luoJunYong.123 3 years ago
parent e4bd7bf8bf
commit 460d11e7f5
  1. 198
      src/pages/counter/list/index.vue
  2. 25
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  3. 1
      src/pages/manage/list/personal/currentAccount/deposit.vue
  4. 7
      src/pages/manage/list/personal/currentAccount/settle.vue
  5. 45
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  6. 80
      src/pages/manage/list/personal/currentAccount/withdrawal.vue

@ -392,6 +392,130 @@ export default {
}
}).catch((error)=>{
})
}else if (this.$store.state.system.id == '64'){
this.nbm = 64
let param= {
parentId: '0,5,26,57,64,85'
}
getOperation(param).then((data)=> {
if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){
for(var i=0;i<this.goodsShelfTotalData.length;i++){
if(list[j].answerId == this.goodsShelfTotalData[i].id){
this.receptionList.push(this.goodsShelfTotalData[i])
}
}
}
}else{
let nomCurrentWithdrawalCard = sessionStorage.getItem('nomCurrentWithdrawalCard')
this.receptionList = JSON.parse(nomCurrentWithdrawalCard);
if(this.receptionList == null){
this.receptionList = []
}
}
}).catch((error)=>{
})
}else if (this.$store.state.system.id == '65'){
this.nbm = 65
let param= {
parentId: '0,5,26,57,65,94'
}
getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){
for(var i=0;i<this.goodsShelfTotalData.length;i++){
if(list[j].answerId == this.goodsShelfTotalData[i].id){
this.receptionList.push(this.goodsShelfTotalData[i])
}
}
}
}else{
let nomCurrentTransferCard = sessionStorage.getItem('nomCurrentTransferCard')
this.receptionList = JSON.parse(nomCurrentTransferCard);
if(this.receptionList == null){
this.receptionList = []
}
}
}).catch((error)=>{
})
}else if (this.$store.state.system.id == '66'){
this.nbm = 66
let param= {
parentId: '0,5,26,57,66,103'
}
getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){
for(var i=0;i<this.goodsShelfTotalData.length;i++){
if(list[j].answerId == this.goodsShelfTotalData[i].id){
this.receptionList.push(this.goodsShelfTotalData[i])
}
}
}
}else{
let nomCurrentSettleCard = sessionStorage.getItem('nomCurrentSettleCard')
this.receptionList = JSON.parse(nomCurrentSettleCard);
if(this.receptionList == null){
this.receptionList = []
}
}
}).catch((error)=>{
})
}else if (this.$store.state.system.id == '67,1'){
this.nbm = 67
let param= {
parentId: '0,5,26,57,67,101'
}
getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){
for(var i=0;i<this.goodsShelfTotalData.length;i++){
if(list[j].answerId == this.goodsShelfTotalData[i].id){
this.receptionList.push(this.goodsShelfTotalData[i])
}
}
}
}else{
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1')
this.receptionList = JSON.parse(nomCurrentCancellCard1);
if(this.receptionList == null){
this.receptionList = []
}
}
}).catch((error)=>{
})
}else if (this.$store.state.system.id == '67,2'){
this.nbm = 67
let param= {
parentId: '0,5,26,57,67,115'
}
getOperation(param).then((data)=> {
console.log(data)
if (data.data.status == 200) {
var list = data.data.judgmentRuleReqs
for(var j=0;j<list.length;j++){
for(var i=0;i<this.goodsShelfTotalData.length;i++){
if(list[j].answerId == this.goodsShelfTotalData[i].id){
this.receptionList.push(this.goodsShelfTotalData[i])
}
}
}
}else{
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard2')
this.receptionList = JSON.parse(nomCurrentCancellCard1);
if(this.receptionList == null){
this.receptionList = []
}
}
}).catch((error)=>{
})
}else{
let dataList = JSON.parse(sessionStorage.getItem('dataList'));
if (dataList){
@ -408,7 +532,25 @@ export default {
}
if(this.$store.state.system.popText == '密码器'){
if(this.$store.state.system.id == '62,1'){
}else if(this.$store.state.system.id == '64'){
let nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword');
if(nomCurrentWithdrawalPassword){
this.passwordForm.password = nomCurrentWithdrawalPassword
this.passwordForm.passwordAgain = nomCurrentWithdrawalPassword
}
}else if(this.$store.state.system.id == '65'){
let nomCurrentTransferPassword = sessionStorage.getItem('nomCurrentTransferPassword');
if(nomCurrentTransferPassword){
this.passwordForm.password = nomCurrentTransferPassword
this.passwordForm.passwordAgain = nomCurrentTransferPassword
}
}else if(this.$store.state.system.id == '66'){
let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword');
if(nomCurrentSettlePassword){
this.passwordForm.password = nomCurrentSettlePassword
this.passwordForm.passwordAgain = nomCurrentSettlePassword
}
}else{
let accountPasswordAll = sessionStorage.getItem('accountPasswordAll');
if(accountPasswordAll){
@ -785,6 +927,60 @@ export default {
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList))
}
}
if (this.$store.state.system.id == '64'){
this.nbm = 64
this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList))
}
if (this.passwordForm.passwordAgain){
let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword)
}
}else if (this.$store.state.system.id == '65'){
this.nbm = 65
this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList))
}
if (this.passwordForm.passwordAgain){
let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword)
}
}else if (this.$store.state.system.id == '66'){
this.nbm = 66
this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList))
}
if (this.passwordForm.passwordAgain){
let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword)
}
}else if (this.$store.state.system.id == '67,1'){
this.nbm = 67
this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList))
}
}else if (this.$store.state.system.id == '67,2'){
this.nbm = 67
this.goodsShelfTotalData = this.auditGoodsShelf
if (this.receptionList.length >0){
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList))
}
}else if (this.$store.state.system.id == '67,3'){
this.nbm = 67
if (this.passwordForm.passwordAgain){
let accountPassword = '';
accountPassword = this.passwordForm.passwordAgain
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword)
}
}
if (this.$store.state.system.id == '62,1'){
this.nbm = 62
this.goodsShelfTotalData = this.auditGoodsShelf

@ -5,7 +5,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="卡号" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUp1('刷卡器')">
<p>请刷卡</p>
</div>
</el-form-item>
@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<div class="idCard" @click="popUp3('密码器')">
<p>请刷卡</p>
</div>
</el-form-item>
@ -25,7 +25,7 @@
<el-input ref="userName" :value="form.userName" @input="(val) => checkName(val, form, 'userName')"></el-input>
</el-form-item>
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp2('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
@ -61,9 +61,14 @@ export default{
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1')
let nomCurrentCancellCard1s = JSON.parse(nomCurrentCancellCard1);
let nomCurrentCancellCard2 = sessionStorage.getItem('nomCurrentCancellCard2')
let nomCurrentCancellCard2s = JSON.parse(nomCurrentCancellCard2);
let nomCurrentCancellPassword = sessionStorage.getItem('nomCurrentCancellPassword')
let nomCurrentCancellPasswords = JSON.parse(nomCurrentCancellPassword);
this.$refs.form.validate(myValidate(() => {
console.log(nomCurrentCancellCard1s)
//
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.idType){formList.push({"emptyOne": "8", "emptyTwo": this.form.idType, "operationIds": "26,57,64,87","type": "3"})}//
@ -91,8 +96,14 @@ export default{
// this.$message.error('~');
// }
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text, id: '67,1'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '67,2'})
},
popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: '67,3'})
},
checkHanzi: checkHanzi,
checkName: checkName

@ -95,6 +95,7 @@ export default{
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) {
console.log(list[i].answerId)
if (list[i].answerId == '78') {sessionStorage.setItem('nomBusinessDepositCard', list[i].emptyTwo)} //
if (list[i].answerId == '79') {this.form.userName = list[i].emptyTwo} //
if (list[i].answerId == '80') {this.form.currency = list[i].emptyTwo} //

@ -95,7 +95,10 @@ export default{
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
let nomCurrentSettleCard = sessionStorage.getItem('nomCurrentSettleCard')
let nomCurrentSettleCards = JSON.parse(nomCurrentSettleCard);
let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword')
let nomCurrentSettlePasswords = JSON.parse(nomCurrentSettlePassword);
this.$refs.form.validate(myValidate(() => {
//
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
@ -135,7 +138,7 @@ export default{
// }
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
this.$store.commit('system/changePop',{show:true,text, id: 66})
},
ismoney: ismoney,
checkHanzi: checkHanzi,

@ -26,7 +26,7 @@
<el-input :value="form.userName" @input="(val) => checkName(val, form, 'userName')" disabled></el-input>
</el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo">
<el-select disabled v-model="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-select v-model="form.goldLogo" placeholder="请选择" ref="goldLogo">
<el-option label="钞户" value="钞户" ref="goldLogo"> </el-option>
</el-select>
</el-form-item>
@ -102,24 +102,33 @@ export default{
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
const formList = []
let nomCurrentTransferCard = sessionStorage.getItem('nomCurrentTransferCard')
let nomCurrentTransferCards = JSON.parse(nomCurrentTransferCard);
let nomCurrentTransferPassword = sessionStorage.getItem('nomCurrentTransferPassword')
let nomCurrentTransferPasswords = JSON.parse(nomCurrentTransferPassword);
this.$refs.form.validate(myValidate(() => {
//
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
formList.push(
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},//
{"emptyOne": "7", "emptyTwo": this.form.money, "operationIds": "26,57,64,86", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.shroffAccount, "operationIds": "26,57,64,90", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.payeeName, "operationIds": "26,57,64,92", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: 'success'
});
if (nomCurrentTransferCards && nomCurrentTransferCards.length > 0 && nomCurrentTransferPasswords){
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
formList.push(
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},//
{"emptyOne": "7", "emptyTwo": this.form.money, "operationIds": "26,57,64,86", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.shroffAccount, "operationIds": "26,57,64,90", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.payeeName, "operationIds": "26,57,64,92", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');
}
}, this.$refs));
// if(this.form.goldLogo && this.form.money && this.form.shroffAccount && this.form.payeeName){
// if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
@ -141,7 +150,7 @@ export default{
// }
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
this.$store.commit('system/changePop',{show:true,text, id: 65})
},
ismoney: ismoney,
checkHanzi: checkHanzi,

@ -109,14 +109,18 @@ export default{
getOperation(param).then((data)=>{
if(data.status == 200) {
var list = data.data.judgmentRuleReqs
console.log(data)
for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '85') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '85') {
sessionStorage.setItem('nomCurrentWithdrawalCard', list[i].emptyTwo)
// console.log(list[i].emptyTwo)
} //
if (list[i].answerId == '86') {this.form.userName = list[i].emptyTwo} //
if (list[i].answerId == '87') {this.form.currency = list[i].emptyTwo} //
if (list[i].answerId == '88') {this.form.goldLogo = list[i].emptyTwo} //
if (list[i].answerId == '89') {this.form.money = list[i].emptyTwo} //
if (list[i].answerId == '90') {this.form.chargeWay = list[i].emptyTwo} //
if (list[i].answerId == '91') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
// if (list[i].answerId == '91') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
if (list[i].answerId == '92') {this.form.serviceCharge = list[i].emptyTwo} //
if (list[i].answerId == '93') {this.form.remark = list[i].emptyTwo} //
}
@ -127,54 +131,46 @@ export default{
submitForm(){
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
let nomCurrentWithdrawalCard = sessionStorage.getItem('nomCurrentWithdrawalCard')
let nomCurrentWithdrawalCards = nomCurrentWithdrawalCard // JSON.parse(nomCurrentWithdrawalCard);
let nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword')
let nomCurrentWithdrawalPasswords = nomCurrentWithdrawalPassword // JSON.parse(nomCurrentWithdrawalPassword);
this.$refs.form.validate(myValidate(() => {
this.visible = true;
let formList = [];
//
if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,64,87","type": "1"})}//
if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,64,89", "type": "3"})}//
if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,64,93", "type": "3"})}//
formList.push(
{"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,64,86", "type": "3"},//
{"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,64,88", "type": "1"},//
{"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "0,5,26,57,64,90", "type": "1"},//
{"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "0,5,26,57,64,92", "type": "3"},//
)
let params= {
parentId:'0,5,26,57,64',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){
formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "0,5,26,57,64,85","type": ""})//
if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,64,87","type": "1"})}//
if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,64,89", "type": "3"})}//
if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,64,93", "type": "3"})}//
formList.push(
{"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,64,86", "type": "3"},//
{"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,64,88", "type": "1"},//
{"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "0,5,26,57,64,90", "type": "1"},//
{"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "0,5,26,57,64,92", "type": "3"},//
// {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,64,91","type": ""}//
)
let params= {
parentId:'0,5,26,57,64',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
}
addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{
})
}else{
this.$message.error('有必填项未填哦~');
}
addOperation(params).then((data)=>{
this.$message({
message: '提交成功',
type: 'success'
});
}).catch((error)=>{
})
}, this.$refs));
// if(this.form.userName && this.form.goldLogo && this.form.chargeWay && this.form.serviceCharge){
// if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//
// if (this.form.money){formList.push({"emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "26,57,64,89", "type": "3"})}//
// if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
// formList.push(
// {"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "26,57,64,86", "type": "3"},//
// {"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},//
// {"emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "26,57,64,90", "type": "3"},//
// {"emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "26,57,64,92", "type": "3"},//
// )
// sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
// this.$message({
// message: '',
// type: 'success'
// });
// }else{
// this.$message.error('~');
// }
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
this.$store.commit('system/changePop',{show:true,text,id:'64'})
},
ismoney: ismoney,
checkName: checkName,

Loading…
Cancel
Save