|
|
@ -161,6 +161,7 @@ |
|
|
|
:title="item.name" |
|
|
|
:title="item.name" |
|
|
|
:alt="item.name"></el-image> |
|
|
|
:alt="item.name"></el-image> |
|
|
|
<p>{{item.name}}</p> |
|
|
|
<p>{{item.name}}</p> |
|
|
|
|
|
|
|
<img src="@/assets/img/seal/sealed.png" alt="" style="width: 50%; right: -40px;top: 40px;" class="absolute" v-if="finishSealedArr.includes(item.id)"> |
|
|
|
<!-- <el-image |
|
|
|
<!-- <el-image |
|
|
|
style="width: 100px; height: 70px;margin-top: 10px;" |
|
|
|
style="width: 100px; height: 70px;margin-top: 10px;" |
|
|
|
:src="item.src" |
|
|
|
:src="item.src" |
|
|
@ -415,8 +416,13 @@ |
|
|
|
</template> --> |
|
|
|
</template> --> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> --> |
|
|
|
<!-- <img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> --> |
|
|
|
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" /> |
|
|
|
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName"> |
|
|
|
|
|
|
|
<!-- <div name="" /> --> |
|
|
|
|
|
|
|
<div class="absolute flex justify-end w-full flex-wrap" style="bottom:7vh; right: 4vw"> |
|
|
|
|
|
|
|
<seal-name v-for="item in isSeal(imgSrcId)" :key="item.id" :item="item"> |
|
|
|
|
|
|
|
</seal-name> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</check-photo> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <tip-dialog /> --> |
|
|
|
<!-- <tip-dialog /> --> |
|
|
@ -737,6 +743,7 @@ export default { |
|
|
|
checkMoneyMechine: false, |
|
|
|
checkMoneyMechine: false, |
|
|
|
printMechine: false |
|
|
|
printMechine: false |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
finishSealedArr: [], |
|
|
|
sealChecked:[],/* 印章盒选中 */ |
|
|
|
sealChecked:[],/* 印章盒选中 */ |
|
|
|
importantChecked:[],// 重要凭证选中 |
|
|
|
importantChecked:[],// 重要凭证选中 |
|
|
|
commonChecked:[],// 普通凭证选中 |
|
|
|
commonChecked:[],// 普通凭证选中 |
|
|
@ -796,6 +803,25 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
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 印章盒选中的印章盖上去 |
|
|
|
// sealChecked 印章盒选中的印章盖上去 |
|
|
|
sealCoverIt() { |
|
|
|
sealCoverIt() { |
|
|
|
return this.sealChecked.reduce((all, item) => { |
|
|
|
return this.sealChecked.reduce((all, item) => { |
|
|
@ -989,8 +1015,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
id(newVal) { |
|
|
|
id(newVal) { |
|
|
|
console.log('新的id值') |
|
|
|
|
|
|
|
console.log(newVal) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
// 'passwordForm.password'(newVal) { |
|
|
|
// 'passwordForm.password'(newVal) { |
|
|
|
// // passwordForm:{ |
|
|
|
// // passwordForm:{ |
|
|
@ -1100,10 +1124,22 @@ export default { |
|
|
|
456:{ add: [473, 472], delete: [411]}, |
|
|
|
456:{ add: [473, 472], delete: [411]}, |
|
|
|
457:{ add: [476, 474], delete: [412]} |
|
|
|
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) { |
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
console.log('印章盒的信息') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
const allKeys = Object.keys(stampJudge) |
|
|
|
const allKeys = Object.keys(stampJudge) |
|
|
|
if(list.length) { |
|
|
|
if(list.length) { |
|
|
@ -1112,7 +1148,7 @@ export default { |
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishSealedArr.push(stampMap[list[i]]) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1437,7 +1473,6 @@ export default { |
|
|
|
if(!(judge)) { |
|
|
|
if(!(judge)) { |
|
|
|
this.clickNum2 = 0; |
|
|
|
this.clickNum2 = 0; |
|
|
|
this.showImg = true |
|
|
|
this.showImg = true |
|
|
|
console.log(item) |
|
|
|
|
|
|
|
this.magnifyData = item |
|
|
|
this.magnifyData = item |
|
|
|
this.imgSrc = item.src |
|
|
|
this.imgSrc = item.src |
|
|
|
this.imgSrcId = item.id |
|
|
|
this.imgSrcId = item.id |
|
|
@ -1985,6 +2020,55 @@ export default { |
|
|
|
this.sealChecked = [] |
|
|
|
this.sealChecked = [] |
|
|
|
// this.sealChecked = [] |
|
|
|
// this.sealChecked = [] |
|
|
|
// this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
// 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<list.length; i++) { |
|
|
|
|
|
|
|
if(allKeys.includes(list[i])) { |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishSealedArr.push(stampMap[list[i]]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
if(this.goodState.length === 0 || this.goodState[0].id !== 15) { |
|
|
|
if(this.goodState.length === 0 || this.goodState[0].id !== 15) { |
|
|
|
this.setTipsOperate('请放入现金!') |
|
|
|
this.setTipsOperate('请放入现金!') |
|
|
|