|
|
@ -82,7 +82,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="sth currency-detector cp" @click="showData('验钞机',6)"> |
|
|
|
<div class="sth currency-detector cp" @click="showData('验钞机',6)"> |
|
|
|
<img v-lazy="lazyImg[16]" alt="" /> |
|
|
|
<img v-lazy="lazyImg[16]" alt="" /> |
|
|
|
<img v-lazy="finishPng" class="absolute" style="top: 0px;left: 0px;" v-if="finishGoods.checkMoneyMechine"> |
|
|
|
<img v-lazy="finishPng" class="absolute" style="top: 0px;left: 0px;" v-if="finishGoods.currencyDetector"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</el-tooltip> |
|
|
|
</el-tooltip> |
|
|
@ -93,7 +93,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="sth printer cp" @click="showData('打印机',7)"> |
|
|
|
<div class="sth printer cp" @click="showData('打印机',7)"> |
|
|
|
<img v-lazy="lazyImg[18]" alt="" /> |
|
|
|
<img v-lazy="lazyImg[18]" alt="" /> |
|
|
|
<img v-lazy="finishPng" class="absolute" style="top: 0px;left: 0px;" v-if="finishGoods.printMechine"> |
|
|
|
<img v-lazy="finishPng" class="absolute" style="top: 0px;left: 0px;" v-if="finishGoods.printer"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</el-tooltip> |
|
|
|
</el-tooltip> |
|
|
@ -402,6 +402,18 @@ |
|
|
|
<router-view></router-view> |
|
|
|
<router-view></router-view> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div v-show="showImg" v-drag style="background-color: blur;width: 100vw; height: 100vh;"> |
|
|
|
|
|
|
|
<div class="dia-header"> |
|
|
|
|
|
|
|
<check-photo :imgSrc="imgSrc" :imgSrcId='imgSrcId' :imgSrcName="imgSrcName" :showImg.sync="showImg" style="width: 850px;z-index: 9999;" ref="photoCheck"> |
|
|
|
|
|
|
|
<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> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 图片查看器 --> |
|
|
|
<!-- 图片查看器 --> |
|
|
|
<el-dialog |
|
|
|
<el-dialog |
|
|
@ -410,14 +422,7 @@ |
|
|
|
:visible.sync="showImg" |
|
|
|
:visible.sync="showImg" |
|
|
|
width="850px" |
|
|
|
width="850px" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- <p style="position: absolute;top: 350px; left: 90px;">test</p> --> |
|
|
|
|
|
|
|
<!-- <template v-if="428"> |
|
|
|
|
|
|
|
<h3 class="subpixel-antialiased text-4xl text-center" style="position: absolute;top: 10px;">你可能需要的信息: xxx</h3> |
|
|
|
|
|
|
|
</template> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <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"> |
|
|
|
<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 v-for="item in isSeal(imgSrcId)" :key="item.id" :item="item"> |
|
|
|
</seal-name> |
|
|
|
</seal-name> |
|
|
@ -732,7 +737,7 @@ export default { |
|
|
|
peopleSign: false, |
|
|
|
peopleSign: false, |
|
|
|
cultureIn: false, |
|
|
|
cultureIn: false, |
|
|
|
sealBox: false, |
|
|
|
sealBox: false, |
|
|
|
currencyDetector: false, |
|
|
|
// currencyDetector: false, |
|
|
|
printer: false, |
|
|
|
printer: false, |
|
|
|
resource: false, |
|
|
|
resource: false, |
|
|
|
backPeople: false, |
|
|
|
backPeople: false, |
|
|
@ -740,8 +745,8 @@ export default { |
|
|
|
proofImportantBox: false, |
|
|
|
proofImportantBox: false, |
|
|
|
swipingCard: false, |
|
|
|
swipingCard: false, |
|
|
|
idCard: false, |
|
|
|
idCard: false, |
|
|
|
checkMoneyMechine: false, |
|
|
|
currencyDetector: false, |
|
|
|
printMechine: false |
|
|
|
printer: false |
|
|
|
}, |
|
|
|
}, |
|
|
|
finishSealedArr: [], |
|
|
|
finishSealedArr: [], |
|
|
|
sealChecked:[],/* 印章盒选中 */ |
|
|
|
sealChecked:[],/* 印章盒选中 */ |
|
|
@ -819,14 +824,17 @@ export default { |
|
|
|
439: '销户章' |
|
|
|
439: '销户章' |
|
|
|
} |
|
|
|
} |
|
|
|
return (id) => { |
|
|
|
return (id) => { |
|
|
|
// finishSealedArr |
|
|
|
if(!this.finishSealedArr.includes(id)) { |
|
|
|
return this.sealArr.filter(item => { |
|
|
|
return [] |
|
|
|
// && this.finishSealedArr.includes(item.id) |
|
|
|
}else { |
|
|
|
if(item.name.includes(stampMap2[id])) { |
|
|
|
return this.sealArr.filter(item => { |
|
|
|
console.log(item.id) |
|
|
|
// && this.finishSealedArr.includes(item.id) |
|
|
|
return item |
|
|
|
if(item.name.includes(stampMap2[id])) { |
|
|
|
} |
|
|
|
return item |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// sealChecked 印章盒选中的印章盖上去 |
|
|
|
// sealChecked 印章盒选中的印章盖上去 |
|
|
@ -946,7 +954,10 @@ export default { |
|
|
|
peopleSign: 'system/peopleSign', |
|
|
|
peopleSign: 'system/peopleSign', |
|
|
|
goodState: 'system/goodState', |
|
|
|
goodState: 'system/goodState', |
|
|
|
getSelectList: 'system/getSelectList', |
|
|
|
getSelectList: 'system/getSelectList', |
|
|
|
needBackMoney: 'system/needBackMoney' |
|
|
|
needBackMoney: 'system/needBackMoney', |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
...mapState({ |
|
|
|
|
|
|
|
businessKey: state => state.system.businessKey |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
@ -1023,6 +1034,12 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
id(newVal) { |
|
|
|
id(newVal) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
businessKey: { |
|
|
|
|
|
|
|
handler(newVal) { |
|
|
|
|
|
|
|
this.getThingsCache() |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
immediate: true |
|
|
|
|
|
|
|
}, |
|
|
|
// 'passwordForm.password'(newVal) { |
|
|
|
// 'passwordForm.password'(newVal) { |
|
|
|
// // passwordForm:{ |
|
|
|
// // passwordForm:{ |
|
|
|
// // password:'', |
|
|
|
// // password:'', |
|
|
@ -1071,168 +1088,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.startPlay() |
|
|
|
this.startPlay() |
|
|
|
|
|
|
|
|
|
|
|
// 传票栏 |
|
|
|
this.getThingsCache(); |
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'cultureIn'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.cultureIn = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
// 重要空白凭证箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,2' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
// this.pushThings({ idArr: [...list], name: 'cultureIn'}) |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.proofImportantBox = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 普通凭证箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,3' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.proofBox = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 印章盒 暂时得等Obj对应 |
|
|
|
|
|
|
|
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])) { |
|
|
|
|
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
|
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishSealedArr.push(stampMap[list[i]]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.finishGoods.sealBox = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 钱箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
if(this.needBackMoney) { |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
this.outThings2({ name: 'moneyBox', index: 0 }) |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'moneyBox'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.moneyBox = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 返还资料 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,556' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'backPeople'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.backPeople = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 刷卡器 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,6' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.swipingCard = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 身份证 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,7' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.idCard = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 验钞机 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,9' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.checkMoneyMechine = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 打印机 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,10' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
console.log(data) |
|
|
|
|
|
|
|
this.finishGoods.printMechine = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted(){ |
|
|
|
mounted(){ |
|
|
@ -1371,6 +1227,191 @@ export default { |
|
|
|
outThingsGoods: 'system/outThingsGoods', |
|
|
|
outThingsGoods: 'system/outThingsGoods', |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
getThingsCache() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 初始化印章缓存 |
|
|
|
|
|
|
|
this.finishSealedArr.splice(0, this.finishSealedArr.length) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 传票栏 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'cultureIn'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.cultureIn = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.cultureIn = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
// 重要空白凭证箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,2' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
// this.pushThings({ idArr: [...list], name: 'cultureIn'}) |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.proofImportantBox = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.proofImportantBox = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 普通凭证箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,3' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.proofBox = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.proofBox = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 印章盒 暂时得等Obj对应 |
|
|
|
|
|
|
|
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])) { |
|
|
|
|
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
|
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishSealedArr.push(stampMap[list[i]]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.finishGoods.sealBox = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.sealBox = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 钱箱 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
if(this.needBackMoney) { |
|
|
|
|
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
|
|
|
|
this.outThings2({ name: 'moneyBox', index: 0 }) |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'moneyBox'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.moneyBox = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.moneyBox = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 返还资料 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,556' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
|
|
|
if(list.length) { |
|
|
|
|
|
|
|
this.outThingsGoods([...list]) |
|
|
|
|
|
|
|
this.pushThings({ idArr: [...list], name: 'backPeople'}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.finishGoods.backPeople = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 刷卡器 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,6' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.swipingCard = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.swipingCard = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 身份证 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,7' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.idCard = true |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.finishGoods.idCard = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 验钞机 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,9' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.currencyDetector = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.currencyDetector = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 打印机 |
|
|
|
|
|
|
|
getOperation({ |
|
|
|
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,10' |
|
|
|
|
|
|
|
}).then((data)=>{ |
|
|
|
|
|
|
|
if(data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
|
|
|
|
this.finishGoods.printer = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.finishGoods.printer = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
voucherCardGetIt(number) { |
|
|
|
voucherCardGetIt(number) { |
|
|
|
if(number === 2) { |
|
|
|
if(number === 2) { |
|
|
|
|
|
|
|
|
|
|
@ -2019,59 +2060,13 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
// 进去会排序 多的不用管 |
|
|
|
// 进去会排序 多的不用管 |
|
|
|
const sealArr = [...this.sealChecked] |
|
|
|
const sealArr = [...this.sealChecked] |
|
|
|
this.stampJudge(sealArr) |
|
|
|
this.stampJudge({ |
|
|
|
this.sealChecked = [] |
|
|
|
sealArr, |
|
|
|
// this.sealChecked = [] |
|
|
|
cb: (successId) => { |
|
|
|
// this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
this.finishSealedArr.push(successId) |
|
|
|
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]]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
this.sealChecked = [] |
|
|
|
}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('请放入现金!') |
|
|
|