diff --git a/src/components/checkPhoto/index.vue b/src/components/checkPhoto/index.vue index d142185..cabcc3e 100644 --- a/src/components/checkPhoto/index.vue +++ b/src/components/checkPhoto/index.vue @@ -22,6 +22,7 @@

身份证号码:{{ dataFlow.idNumber }}

+ diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index c91fa2e..74a926c 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -161,6 +161,7 @@ :title="item.name" :alt="item.name">

{{item.name}}

+ - - + + +
+ + +
+
@@ -737,6 +743,7 @@ export default { checkMoneyMechine: false, printMechine: false }, + finishSealedArr: [], sealChecked:[],/* 印章盒选中 */ importantChecked:[],// 重要凭证选中 commonChecked:[],// 普通凭证选中 @@ -796,6 +803,25 @@ export default { }; }, computed: { + isSeal() { + const stampMap2 = { + 429: '业务专用章', + 428: '业务专用章', + 432: '业务专用章', + 438: '业务专用章', + 467: '业务专用章', + 23: '附件章', + 435: '附件章', + 437: '附件章', + 431: '附件章', + 468: '附件章', + 430: '销户章', + 439: '销户章' + } + return (id) => { + return this.sealArr.filter(item => item.name.includes(stampMap2[id])) + } + }, // sealChecked 印章盒选中的印章盖上去 sealCoverIt() { return this.sealChecked.reduce((all, item) => { @@ -989,8 +1015,6 @@ export default { } }, id(newVal) { - console.log('新的id值') - console.log(newVal) }, // 'passwordForm.password'(newVal) { // // passwordForm:{ @@ -1100,10 +1124,22 @@ export default { 456:{ add: [473, 472], delete: [411]}, 457:{ add: [476, 474], delete: [412]} } + const stampMap = { + 449: 429, + 19: 428, + 452: 432, + 465: 438, + 461: 467, + 20: 23, + 435: 435, + 436: 437, + 484: 431, + 462: 468, + 448: 430, + 454: 439 + } if(data.status == 200 && data.data.judgmentRuleReqs) { - console.log('印章盒的信息') - const list = data.data.judgmentRuleReqs.map(item => item.answerId) const allKeys = Object.keys(stampJudge) if(list.length) { @@ -1112,7 +1148,7 @@ export default { this.outThingsGoods([...stampJudge[list[i]].delete]) this.pushThingsGoods([...stampJudge[list[i]].add]) }else { - + this.finishSealedArr.push(stampMap[list[i]]) } } } @@ -1437,7 +1473,6 @@ export default { if(!(judge)) { this.clickNum2 = 0; this.showImg = true - console.log(item) this.magnifyData = item this.imgSrc = item.src this.imgSrcId = item.id @@ -1985,6 +2020,55 @@ export default { this.sealChecked = [] // this.sealChecked = [] // this.$store.commit('system/changePop', {show: false, text: ''}) + this.$nextTick(() => { + getOperation({ + parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,8' + }).then((data)=>{ + const stampJudge = { + 18: {add:[24, 21], delete: [14]}, + 452:{ add: [432, 433] }, + 458:{ add: [419, 418], delete: [426]}, + 459:{ add: [478, 477], delete: [407]}, + 460:{ add: [466,468,467], delete: [406]}, + 463:{ add: [480, 488], delete: [413]}, + 464:{ add: [482, 481], delete: [479]}, + 444:{ add: [420, 421], delete: [425]}, + 445:{ add: [422, 424], delete: [427]}, + 446:{ add: [419, 418], delete: [426]}, + 447:{ add: [269, 22], delete: [17]}, + 455:{ add: [487, 441], delete: [409]}, + 456:{ add: [473, 472], delete: [411]}, + 457:{ add: [476, 474], delete: [412]} + } + const stampMap = { + 449: 429, + 19: 428, + 452: 432, + 465: 438, + 461: 467, + 20: 23, + 435: 435, + 436: 437, + 484: 431, + 462: 468, + 448: 430, + 454: 439 + } + + if(data.status == 200 && data.data.judgmentRuleReqs) { + const list = data.data.judgmentRuleReqs.map(item => item.answerId) + const allKeys = Object.keys(stampJudge) + if(list.length) { + for(let i=0; i