20240205
luoJunYong.123 3 years ago
parent 4d620ac947
commit 9339208c8e
  1. BIN
      src/assets/img/goods/境外汇款申请书.jpg
  2. BIN
      src/assets/img/goods/境外汇款申请书.png
  3. BIN
      src/assets/img/goods/银行承兑汇票.png
  4. BIN
      src/assets/img/tooltip/cpl.png
  5. BIN
      src/assets/img/tooltip/data.png
  6. BIN
      src/assets/img/tooltip/dataxx.png
  7. BIN
      src/assets/img/tooltip/dyj.png
  8. BIN
      src/assets/img/tooltip/dyjxx.png
  9. BIN
      src/assets/img/tooltip/mmq.png
  10. BIN
      src/assets/img/tooltip/mmqxx.png
  11. BIN
      src/assets/img/tooltip/ptpzx.png
  12. BIN
      src/assets/img/tooltip/ptpzxxx.png
  13. BIN
      src/assets/img/tooltip/qx.png
  14. BIN
      src/assets/img/tooltip/qxxx.png
  15. BIN
      src/assets/img/tooltip/sfz.png
  16. BIN
      src/assets/img/tooltip/sfzxx.png
  17. BIN
      src/assets/img/tooltip/skj.png
  18. BIN
      src/assets/img/tooltip/skjxx.png
  19. BIN
      src/assets/img/tooltip/system.png
  20. BIN
      src/assets/img/tooltip/systemxx.png
  21. BIN
      src/assets/img/tooltip/ycj.png
  22. BIN
      src/assets/img/tooltip/ycjxx.png
  23. BIN
      src/assets/img/tooltip/yzh.png
  24. BIN
      src/assets/img/tooltip/yzhxx.png
  25. BIN
      src/assets/img/tooltip/zk.png
  26. BIN
      src/assets/img/tooltip/zkxx.png
  27. 9
      src/components/checkPhoto/index.vue
  28. 75
      src/pages/counter/list/index.vue
  29. 4
      src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue
  30. 2
      src/pages/manage/list/cityWide/cityWideOut.vue
  31. 25
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  32. 6
      src/pages/manage/list/personal/currentAccount/settle.vue
  33. 2
      src/pages/manage/list/servicesAccount/relieveLost.vue
  34. 2
      src/pages/manage/navbar/index.vue
  35. 1
      src/plugins/drag/index.js
  36. 159
      src/store/modules/system.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -211,9 +211,16 @@ export default {
dataFlow: 'system/dataFlow' dataFlow: 'system/dataFlow'
}), }),
getNowYear() { getNowYear() {
console.log(this.dataFlow)
return (index) => { return (index) => {
//
const { assignDate } = this.dataFlow
if(!assignDate) {
return this.nowDate.split('-')[index] return this.nowDate.split('-')[index]
}else {
return assignDate.split('-')[index]
}
} }
}, },
// -> // ->

@ -120,6 +120,7 @@
<p class="employeeText" @click="showData('资料',9)">资料</p> <p class="employeeText" @click="showData('资料',9)">资料</p>
</el-tooltip> </el-tooltip>
</div> </div>
<!-- 点击打开刷卡器--> <!-- 点击打开刷卡器-->
<el-tooltip placement="top" popper-class="sth-popper" offset="00"> <el-tooltip placement="top" popper-class="sth-popper" offset="00">
<div slot="content"> <div slot="content">
@ -437,12 +438,12 @@
center> center>
<div class="data-dia peopleDialog" ref="dataDia2" v-drag> <div class="data-dia peopleDialog" ref="dataDia2" v-drag>
<div class="dia-header h-1/6"> <div class="dia-header h-1/6">
<div class="data-title">客户对话中</div> <div class="data-title2">客户对话中</div>
<img class="close" v-lazy="lazyImg[28]" alt="" @click="closePeopleJudge" /> <img class="close" v-lazy="lazyImg[28]" alt="" @click="closePeopleJudge" />
</div> </div>
<h2>请选择以下一个业务进行办理</h2> <h2>请选择以下一个业务进行办理</h2>
<div class="dia-footer"> <div class="dia-footer">
<button v-throttle @click="peopleDoing(1)" class="w-20" type="button">客户签字</button> <button v-throttle @click="peopleDoing(1)" class="w-20" type="button" style="margin-bottom: 10px;">客户签字</button>
<button v-throttle @click="peopleDoing(2)" class="w-20" type="button">返还资料</button> <button v-throttle @click="peopleDoing(2)" class="w-20" type="button">返还资料</button>
<!-- <el-button type="primary" v-throttle @click="popSure">确定</el-button> --> <!-- <el-button type="primary" v-throttle @click="popSure">确定</el-button> -->
</div> </div>
@ -614,6 +615,8 @@ export default {
{name:'1角', src:require('@/assets/img/cash/1角.png'), id:4405, num: ''}, {name:'1角', src:require('@/assets/img/cash/1角.png'), id:4405, num: ''},
], ],
popArr:[/* 弹窗展示的物品 */ popArr:[/* 弹窗展示的物品 */
{name:'预留印鉴卡(二)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:470},
{name:'预留印鉴卡(三)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:471},
{name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563}, {name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563},
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428},
@ -1215,6 +1218,7 @@ export default {
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){
/* oldindex识别是拖拽了哪个文件 */ /* oldindex识别是拖拽了哪个文件 */
that.checkList.push(that.importanceArr[evt.oldIndex].name) that.checkList.push(that.importanceArr[evt.oldIndex].name)
// 西西西
if(that.goodsShelfTotalData.length > 0){ if(that.goodsShelfTotalData.length > 0){
for(var i=0;i<that.goodsShelfTotalData.length;i++){ for(var i=0;i<that.goodsShelfTotalData.length;i++){
if(that.goodsShelfTotalData[i].name == that.importanceArr[evt.oldIndex].name){ if(that.goodsShelfTotalData[i].name == that.importanceArr[evt.oldIndex].name){
@ -1557,7 +1561,8 @@ export default {
this.controlGoodsDblClickFn = null this.controlGoodsDblClickFn = null
} }
const judge = item.name.includes('本联') || item.name.includes('凭证联') || (item.name.includes('回单') && !item.name.includes('密码挂失申请书回单')) || (item.name.includes('复印件') && !item.name.includes('身份证复印件')) const judge = item.name.includes('本联') || item.name.includes('凭证联') || (item.name.includes('回单') && !item.name.includes('密码挂失申请书回单'))
|| (item.name.includes('复印件') && !item.name.includes('身份证复印件') ) || item.name.includes('(二)') || item.name.includes('(三)')
if(!(judge)) { if(!(judge)) {
this.clickNum2 = 0; this.clickNum2 = 0;
this.showImg = true this.showImg = true
@ -1607,6 +1612,10 @@ export default {
} }
} }
// v-drag
document.onmousemove = null
document.onmouseup = null
this.receptionList = []; this.receptionList = [];
this.changeShowGoods(false) this.changeShowGoods(false)
this.$store.commit('system/changePop',{show:false,text:''}) this.$store.commit('system/changePop',{show:false,text:''})
@ -1880,17 +1889,18 @@ export default {
this.changeShowGoods(false) this.changeShowGoods(false)
}else { }else {
// Logo // Logo
if(this.myMap) { // if(this.myMap) {
this.finishGoods[this.myMap] = true // this.finishGoods[this.myMap] = true
} // }
let formList = [] let formList = []
// this.toggleGoods() // this.toggleGoods()
// this.$message.success(`${this.popText}`) // this.$message.success(`${this.popText}`)
if (this.nbm == 0){ // // nbm0
if (this.nbm == 0){
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
@ -1934,7 +1944,7 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
} }
}else if (this.nbm == 1){ // }else if (this.nbm == 1){ // nbm1
if(this.goodState.length === 0) { if(this.goodState.length === 0) {
this.setTipsOperate('传票栏中未放入物品!') this.setTipsOperate('传票栏中未放入物品!')
return return
@ -1993,10 +2003,21 @@ export default {
}else if (this.nbm == 3){ // }else if (this.nbm == 3){ //
let clickList=this.importantChecked let clickList=this.importantChecked
this.pushThingsGoods([...clickList]) this.pushThingsGoods([...clickList])
if(clickList.findIndex(item => item === 439) !== -1) {
console.log('xxx')
this.pushThingsGoods([470, 471])
console.log(this.goodsShelfTotalData)
}
if(clickList.length===0) return this.setTipsOperate(`请选择物品后再确定!`) if(clickList.length===0) return this.setTipsOperate(`请选择物品后再确定!`)
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = [] let formList = []
// 12 12
const proofImportantBox = JSON.parse(sessionStorage.getItem('proofImportantBox')) const proofImportantBox = JSON.parse(sessionStorage.getItem('proofImportantBox'))
if(proofImportantBox) { if(proofImportantBox) {
formList.push(...proofImportantBox) formList.push(...proofImportantBox)
@ -2194,7 +2215,7 @@ export default {
this.setTipsOperate('刷卡成功!') this.setTipsOperate('刷卡成功!')
}).catch((error)=>{ }).catch((error)=>{
}) })
}else if (this.nbm == 11){ // }else if (this.nbm == 11){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,7,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,7,"+this.receptionList[i].id,"type": ""})}
@ -2314,11 +2335,13 @@ export default {
// //
.employeeText { .employeeText {
// //
text-align: center;
line-height: 140px;
position: absolute; position: absolute;
top: 29%; top: 11vh;
left: 74%; left: 12vw;
width: 100px; width: 140px;
height: 100px; height: 140px;
color: #000; color: #000;
transform: rotateZ(38deg) scale3d(1, 1, 1) skew(-19deg, -9deg); transform: rotateZ(38deg) scale3d(1, 1, 1) skew(-19deg, -9deg);
font-size: 18px; font-size: 18px;
@ -2413,8 +2436,15 @@ export default {
.cipher-machine { .cipher-machine {
top: 22%; top: 22%;
} }
.employeeText {
width: 120px;
height: 120px;
line-height: 120px;
top: 10vh;
left: 12vw;
}
} }
@media screen and (max-width: 1440px) and (min-height: 917px) { @media screen and (max-width: 1440px) and (min-height: 650px) {
.money-box { .money-box {
top: 29%; top: 29%;
} }
@ -2450,6 +2480,13 @@ export default {
.glass { .glass {
top: -13%; top: -13%;
} }
.employeeText {
width: 100px;
height: 100px;
line-height: 100px;
top: 5vh;
left: 12vw;
}
} }
// --------------- // ---------------
@ -3102,13 +3139,14 @@ color: #fff;
box-shadow: 0 0 0 0!important; box-shadow: 0 0 0 0!important;
.peopleDialog { .peopleDialog {
width: 580px; width: 580px;
padding-bottom: 100px;
min-height: 466px; min-height: 466px;
height: 466px; height: 466px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 16px; border-radius: 16px;
box-shadow: 0 0 0 0!important; box-shadow: 0 0 0 0!important;
h2 { h2 {
margin-top: 14.3%; margin-top: calc(154px - 72px);
// opacity: 0.8; // opacity: 0.8;
font-family: MyAppleFont1; font-family: MyAppleFont1;
@ -3191,5 +3229,10 @@ color: #fff;
} }
} }
@media (max-width: 1900px) {
.tipsDialog, .peopleDialog {
margin-top: 25vh;
}
}
} }
</style> </style>

@ -59,7 +59,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div class="myFlex"> <div class="myFlex">
<el-input type='text' maxlength="8" @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>{{ scope.row.moneyMedium.includes('硬币')? '枚': '' }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
@ -108,7 +108,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' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.moneyNumber"></el-input>
<span></span> <span>{{ scope.row.moneyMedium.includes('硬币')? '枚': '' }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>

@ -313,6 +313,8 @@ export default {
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2() {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,346'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
const formList = [] const formList = []

@ -120,26 +120,31 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentCancellPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCurrentCancellCard2')) { // if(sessionStorage.getItem('nomCurrentCancellCard2')) {
this.idNumberJudge = true // this.idNumberJudge = true
const tmpId = this.dataFlow.idNumber || '441421198656412356' // const tmpId = this.dataFlow.idNumber || '441421198656412356'
this.form.idNumber = tmpId // this.form.idNumber = tmpId
} // }
return
}
// return
// }
console.log(this.dataFlow.isSettle)
if(this.dataFlow.isSettle) {
const { voucherNumber, userName } = this.dataFlow const { voucherNumber, userName } = this.dataFlow
this.form.cardNumber = voucherNumber this.form.cardNumber = voucherNumber
this.form.userName = userName this.form.userName = userName
}
if(sessionStorage.getItem('nomCurrentCancellCard2')) { if(sessionStorage.getItem('nomCurrentCancellCard2')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow
this.form.idNumber = idNumber this.form.idNumber = idNumber
} }
const tmpId = this.dataFlow.idNumber
this.form.idNumber = tmpId
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67'

@ -217,6 +217,8 @@ export default{
if(sessionStorage.getItem('nomCurrentSettlePassword')) { if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback)
}, },
@ -265,9 +267,7 @@ export default{
] ]
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,66' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,66'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName) this.setDataFlow({ isSettle: true })
const { cardNumber, userName } = this.form
this.setDataFlow({ voucherNumber: cardNumber, userName })
}, },
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: 66}) // this.$store.commit('system/changePop',{show:true,text, id: 66})

@ -239,6 +239,8 @@ export default{
const cards = { const cards = {
} }
// thisthis,
const callback = () => { const callback = () => {
if(this.form.idNumber) { if(this.form.idNumber) {
this.idNumberJudge = true this.idNumberJudge = true

@ -162,7 +162,7 @@ export default {
children:[ children:[
{ {
index:"/counter/list/manage/acceptanceDraft-invoice", index:"/counter/list/manage/acceptanceDraft-invoice",
title:'商业承兑汇票开票' title:'承兑汇票开票'
} }
] ]
}, },

@ -6,6 +6,7 @@
export default { export default {
bind(el, binding, vnode, oldVnode) { bind(el, binding, vnode, oldVnode) {
const dialogHeaderEl = el.querySelector('.dia-header') const dialogHeaderEl = el.querySelector('.dia-header')
const dragDom = el const dragDom = el
dialogHeaderEl.style.cursor = 'move' dialogHeaderEl.style.cursor = 'move'

@ -2,8 +2,11 @@
/* 所有物品名字 */ /* 所有物品名字 这里能将东西查找出来并渲染上物品栏 */
const allGoods = { const allGoods = {
470: {name:'预留印鉴卡(二)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:470},
471: {name:'预留印鉴卡(三)',src:require('@/assets/img/goods/预留印鉴卡.png'),id:471},
563: {name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563}, 563: {name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563},
16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, 16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16},
428: {name:'定期存单',src:require('@/assets/img/goods/储蓄存单.png'),id:428}, 428: {name:'定期存单',src:require('@/assets/img/goods/储蓄存单.png'),id:428},
@ -99,6 +102,9 @@ const phone = '13222223122'
const staticPhone = '0755-88281987' const staticPhone = '0755-88281987'
const mailNumber = '518052' const mailNumber = '518052'
const eMailAddress = '666@qq.com' const eMailAddress = '666@qq.com'
const drawerUsername = '12802851701099' // 出票人账号
// 银行卡号码随机
const voucherNumber = (() => { const voucherNumber = (() => {
const $chars = '1234567890'; const $chars = '1234567890';
const maxPos = $chars.length; const maxPos = $chars.length;
@ -116,7 +122,7 @@ const sex = 2 // 1为男,2为女。
*/ */
// 因为要求是在任何业务中,电脑中所有其他业务的信息也要正常显示, // 因为要求是在任何业务中,电脑中所有其他业务的信息也要正常显示,所以所有信息都在这里,然后如果业务有区分的则写进dataFlow
const allDataFlow = { const allDataFlow = {
peopleNumber, peopleNumber,
userName, userName,
@ -155,6 +161,9 @@ const allDataFlow = {
staticPhone, staticPhone,
mailNumber, mailNumber,
eMailAddress, eMailAddress,
drawerUsername,
// 这个属性确认销户前是否结清
isSettle: false,
'corporateClient': false, 'corporateClient': false,
} }
@ -1226,10 +1235,68 @@ const myInitState = {
dataFlow: { dataFlow: {
} }
}, },
'业务三十': { // 同城提出
id: 567,
name: '同城提出',
data: [ 15, 13, 23, 411 ], //
needs: [ ],
isStamp: {
// '业务专用章': [ 411 ]
},
backPeople: [],
// backPeople: [ ],
cultureArr: [ ],
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
cultureIn: [], // 传票栏
sealBox: [], // 印章盒
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
dataFlow: {
collectingCompany: '康恩备集团',
transMoney: 200000,
assignDate: '2022-12-29'
} }
},
'业务三十一': { // 同城提入
id: 576,
name: '同城提入',
data: [ 15, 13, 23, 411 ], //
needs: [ ],
isStamp: {
// '业务专用章': [ 411 ]
},
backPeople: [],
// backPeople: [ ],
cultureArr: [ ],
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
cultureIn: [], // 传票栏
sealBox: [], // 印章盒
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
dataFlow: {
collectingCompany: '开卷教育有限公司',
transMoney: 200000,
assignDate: '2022-12-29'
}
},
}
// 有些地方需要盖两个章,而后端判分是按照顺序判断的,比如 '收讫章','私章'给分,'私章','收讫章'就不给分,然后前端这就只能调整顺序再提交。
const sealArray = [/* 印章盒物品默认排序 */ const sealArray = [/* 印章盒物品默认排序 */
'收讫章', '销户章','私章','附件章','付讫章','业务专用章', '转讫章' '收讫章', '销户章','私章','附件章','付讫章','业务专用章', '转讫章'
] ]
@ -1246,12 +1313,12 @@ export default {
popText:'', popText:'',
fullScreen:false,// 银行系统是否全屏 fullScreen:false,// 银行系统是否全屏
showGoods: false, // 物品栏的展开和关闭 showGoods: false, // 物品栏的展开和关闭
// 业务选择表: (要保存的) // 当前的业务选择
businessKey: '', businessKey: '',
// 业务选择表是否展示: // 业务选择表是否展示:
showBusiness: false, showBusiness: false,
// 下拉框的数据: // 下拉框的数据,在电脑中的下拉框有许多相同的,不用每次都请求服务器,可以在这里拿数据:
selectList: { selectList: {
currencySelectList: [], currencySelectList: [],
goldLogoSelectList: [], goldLogoSelectList: [],
@ -1262,7 +1329,7 @@ export default {
idTypeList: [] // 身份证选项 idTypeList: [] // 身份证选项
}, },
// (要保存的) // (要保存的业务数据:
businessSelect: { businessSelect: {
'业务一': { '业务一': {
id: 489, id: 489,
@ -1298,6 +1365,8 @@ export default {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
// 这里后面会通过Object.assign(allDataFlow, 这个dataFlow)的方式,用来将当前业务信息和其他业务信息覆盖掉。这样当前信息就是该业务独有的信息。
// 后面如果业务案例有变化,直接在这里改就行了。其他许多依赖的组件的数据都是从这里拿的。
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: '身份证', idType: '身份证',
@ -2329,6 +2398,64 @@ export default {
dataFlow: { dataFlow: {
} }
}, },
'业务三十': { // 同城提出
id: 567,
name: '同城提出',
data: [ 15, 13, 23, 411 ], //
needs: [ ],
isStamp: {
// '业务专用章': [ 411 ]
},
backPeople: [],
// backPeople: [ ],
cultureArr: [ ],
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
cultureIn: [], // 传票栏
sealBox: [], // 印章盒
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
dataFlow: {
collectingCompany: '康恩备集团',
transMoney: 200000,
assignDate: '2022-12-29'
}
},
'业务三十一': { // 同城提入
id: 576,
name: '同城提入',
data: [ 15, 13, 23, 411 ], //
needs: [ ],
isStamp: {
// '业务专用章': [ 411 ]
},
backPeople: [],
// backPeople: [ ],
cultureArr: [ ],
moneyBox: [ ], // 钱箱
needBackMoney: false, // 需要钱箱取钱
peopleSign: [ ], // 客户签字
cultureIn: [], // 传票栏
sealBox: [], // 印章盒
currencyDetector: [], // 验钞机
printer: [], // 打印机
resource: [], // 资料
importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱
dataFlow: {
collectingCompany: '开卷教育有限公司',
transMoney: 200000,
assignDate: '2022-12-29'
}
},
}, },
goods:[// 物品栏的物品 goods:[// 物品栏的物品
{ {
@ -2365,9 +2492,12 @@ export default {
], ],
}, },
mutations: { mutations: {
// 设置tipDialog组件提示的信息。这个组件是根据UI设计的。
setTipsOperate(state, tipsOperate) { setTipsOperate(state, tipsOperate) {
state.tipsOperate = tipsOperate state.tipsOperate = tipsOperate
}, },
// 页面开始的时候请求电脑录入的下拉框的数据 以供电脑中的下拉框使用
startPlay(state) { startPlay(state) {
// 开始时调用,获取下拉框的东西。 // 开始时调用,获取下拉框的东西。
@ -2436,29 +2566,20 @@ export default {
setPopId(state, id) { setPopId(state, id) {
state.id = id state.id = id
}, },
// 改变所需模块的状态,完成前面的模块,后面的模块就不会提示。
setNeedsModule(state, name) { setNeedsModule(state, name) {
state.businessSelect[state.businessKey].needsModule[name] = true state.businessSelect[state.businessKey].needsModule[name] = true
}, },
// 数据流动,当前面模块的信息被后面的模块需要时,用这个方法可以将前面模块的数据存到后面去,毕竟服务器接口少。比如模块1 -> 模块2 模块1完成的数据可以流到模块2
setDataFlow(state, obj) { setDataFlow(state, obj) {
for(let key in obj) { for(let key in obj) {
state.businessSelect[state.businessKey].dataFlow[key] = obj[key] state.businessSelect[state.businessKey].dataFlow[key] = obj[key]
} }
}, },
// 重置业务状态中的数据,用于重新开始。
initState(state) { initState(state) {
state.businessSelect = JSON.parse(JSON.stringify(myInitState)) state.businessSelect = JSON.parse(JSON.stringify(myInitState))
// function deepClone(obj) {
// let objClone = Array.isArray(obj)? []: {}
// if(obj && typeof obj === 'object') {
// for(let key in obj) {
// if(obj[key] && typeof obj[key] === object) {
// objClone[key] = deepClone(obj[key])
// }else {
// objClone[key] = obj[key]
// }
// }
// }
// return objClone
// }
state.businessKey = '' state.businessKey = ''
}, },
setShowBusiness(state, isShow) { setShowBusiness(state, isShow) {
@ -2508,7 +2629,6 @@ export default {
} }
}, },
outThings2(state, { name, index}) { outThings2(state, { name, index}) {
// 神奇地解决了bug
if(state.businessSelect[state.businessKey][name].length > index) { if(state.businessSelect[state.businessKey][name].length > index) {
state.businessSelect[state.businessKey][name].splice(index, 1) state.businessSelect[state.businessKey][name].splice(index, 1)
} }
@ -2642,6 +2762,7 @@ export default {
} }
}else if(seal === '私章') { }else if(seal === '私章') {
if(id === 439) { if(id === 439) {
stampSuccess = '454' stampSuccess = '454'
} }
} }

Loading…
Cancel
Save