|
|
|
@ -115,11 +115,14 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 硬件交互--弹框 --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-show="showPop" width="900px" class="data-dia" ref="dataDia" v-drag> |
|
|
|
|
<div class="dia-header"> |
|
|
|
|
<div class="data-title">{{ popText }}</div> |
|
|
|
|
<img class="close" v-lazy="lazyImg[28]" alt="" @click="closePop" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<p v-if="popText=='密码器'" class="tips"></p> |
|
|
|
|
<p v-else-if="popText=='重要空白凭证箱'||popText=='普通凭证箱'" class="tips">- 请从以下物品中选取所需材料 -</p> |
|
|
|
|
<p v-else class="tips">- 请从物品栏选中或拖拽所需材料 -</p> |
|
|
|
@ -186,12 +189,15 @@ |
|
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-else-if="popText==='刷卡器'" class="list" ref="popUp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-else-if="popText==='刷卡器'" ref="popUp" class="list"> |
|
|
|
|
<div class="img-wrap" v-for="(item, index) in receptionList" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' :key="item.id"> |
|
|
|
|
<img :src="item.src" class="file" alt="" /> |
|
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 客户签字 --> |
|
|
|
|
<div v-else-if="popText==='客户签字'" class="list" ref="popUp"> |
|
|
|
@ -215,17 +221,24 @@ |
|
|
|
|
<p class="text">{{item.name }}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="dia-footer"> |
|
|
|
|
<button v-throttle @click="popSure" type="button">确定</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 蒙版 --> |
|
|
|
|
<div v-show="showPop" class="masking"></div> |
|
|
|
|
|
|
|
|
|
<!-- 商业银行系统的全屏功能实现 --> |
|
|
|
|
<div :class="full ? 'fullScreenSystem' : 'system'" class="systemconfig" v-if="manageVisible"> |
|
|
|
|
<router-view></router-view> |
|
|
|
|
<!-- 商业银行系统的全屏功能实现 v-if="manageVisible" --> |
|
|
|
|
<div :class="full ? 'fullScreenSystem' : 'system'" class="systemconfig"> |
|
|
|
|
<transition name='systemComputer' enter-active-class="animate__animated animate__bounceInDown" leave-active-class="animate__animated animate__bounceOutDown"> |
|
|
|
|
<router-view></router-view> |
|
|
|
|
</transition> |
|
|
|
|
</div> |
|
|
|
|
<el-dialog |
|
|
|
|
custom-class="data-dia" |
|
|
|
@ -265,6 +278,8 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<tip-dialog /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -291,12 +306,14 @@ import { addOperation, getOperation } from '@/api/http'; |
|
|
|
|
import backButton from '@/components/backButton' |
|
|
|
|
import { myConfig } from './myConfig.js' |
|
|
|
|
import saveSystemModule from '@/mixins/saveSystemModule' |
|
|
|
|
import TipDialog from '@/components/tipDialog' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: 'index', |
|
|
|
|
components: { |
|
|
|
|
manage: manage, |
|
|
|
|
backButton |
|
|
|
|
backButton, |
|
|
|
|
TipDialog |
|
|
|
|
}, |
|
|
|
|
mixins: [saveSystemModule], |
|
|
|
|
data() { |
|
|
|
@ -1071,7 +1088,6 @@ export default { |
|
|
|
|
// } |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
|
|
|
|
|
if(!sessionStorage.getItem('firstLoad')) { |
|
|
|
|
const loading = this.$loading({ |
|
|
|
|
lock: true, |
|
|
|
@ -1242,6 +1258,7 @@ export default { |
|
|
|
|
outThings: 'system/outThings', |
|
|
|
|
outThings2: 'system/outThings2', |
|
|
|
|
outThingsGoods: 'system/outThingsGoods', |
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
}), |
|
|
|
|
changePeopleJudge() { |
|
|
|
|
this.peopleJudge = true; |
|
|
|
@ -1508,29 +1525,36 @@ export default { |
|
|
|
|
|
|
|
|
|
if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') { |
|
|
|
|
if (this.$store.state.system.id == '33' && this.popText === '身份证扫描仪'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 33 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
console.log(sessionStorage.getItem('nomClientIdentity')) |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){ |
|
|
|
|
|
|
|
|
|
this.nbm = 34 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 63 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 64 |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 64 |
|
|
|
@ -1539,60 +1563,70 @@ export default { |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '65' && this.popText === '刷卡器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 65 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
// if (this.passwordForm.passwordAgain){ |
|
|
|
|
// let accountPassword = ''; |
|
|
|
|
// accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
// sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
|
// } |
|
|
|
|
}else if (this.$store.state.system.id == '66' && this.popText === '刷卡器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 66 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
// if (this.passwordForm.passwordAgain){ |
|
|
|
|
// let accountPassword = ''; |
|
|
|
|
// accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
// sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
// } |
|
|
|
|
}else if (this.$store.state.system.id == '66,2' && this.popText === '密码器'){ |
|
|
|
|
|
|
|
|
|
this.nbm = 66 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '67,1' && this.popText === '刷卡器'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '33'){ |
|
|
|
|
this.nbm = 33 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '34'){ |
|
|
|
|
this.nbm = 34 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword, machine } = myConfig[this.$store.state.system.id] |
|
|
|
@ -1608,7 +1642,7 @@ export default { |
|
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.showManage() |
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
@ -1617,11 +1651,13 @@ export default { |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
@ -1629,6 +1665,7 @@ export default { |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,2' && this.popText === '刷卡器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
@ -1636,6 +1673,7 @@ export default { |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
@ -1643,12 +1681,14 @@ export default { |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,3' && this.popText === '刷卡器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
}else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
@ -1656,6 +1696,7 @@ export default { |
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
} |
|
|
|
|
this.showManage() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1671,7 +1712,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('成功刷银行卡!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if (this.popText === '身份证扫描仪'){ //身份证扫描仪 |
|
|
|
@ -1686,9 +1727,15 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
this.setTipsOperate('成功刷身份证!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if (this.popText === '密码器') { |
|
|
|
|
this.setTipsOperate('输入密码成功!') |
|
|
|
|
} |
|
|
|
|
// this.showGoods = false |
|
|
|
|
this.changeShowGoods(false) |
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
|
let formList = [] |
|
|
|
|
// this.toggleGoods() |
|
|
|
@ -1698,24 +1745,35 @@ export default { |
|
|
|
|
|
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,12,"+this.goodState[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,12', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
console.log(this.goodState) |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果是在签字,返还资料。 |
|
|
|
|
if(this.peopleDo === 1) { |
|
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,555,"+this.goodState[i].id,"type": ""})} |
|
|
|
|
const tmpGoods = this.goodState.map(item => item.id) |
|
|
|
|
this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) |
|
|
|
|
this.pushThingsGoods([...tmpGoods]) |
|
|
|
|
// this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) |
|
|
|
|
// this.pushThingsGoods([...tmpGoods]) |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,555', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
this.setTipsOperate('签字成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,556,"+this.goodState[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,556', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
this.setTipsOperate('返还资料成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}else if (this.nbm == 1){ //传票栏 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
@ -1728,7 +1786,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('成功入库') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
@ -1746,7 +1804,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('成功取货') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
clickList = [] |
|
|
|
@ -1765,7 +1823,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('成功取货') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
clickList = [] |
|
|
|
@ -1774,25 +1832,30 @@ export default { |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
let formList = []; |
|
|
|
|
if(this.needBackMoney && this.goodState.length === 0) { |
|
|
|
|
// 如果需要钱箱取钱并且满足了 |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', |
|
|
|
|
lcJudgmentRuleReq: [ |
|
|
|
|
{ |
|
|
|
|
"answerId":15, |
|
|
|
|
"emptyOne": "", |
|
|
|
|
"emptyTwo": "", |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,1,"+15, |
|
|
|
|
"type": "" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
if(this.goodState.length === 0) { |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', |
|
|
|
|
lcJudgmentRuleReq: [ |
|
|
|
|
{ |
|
|
|
|
"answerId":15, |
|
|
|
|
"emptyOne": "", |
|
|
|
|
"emptyTwo": "", |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,1,"+15, |
|
|
|
|
"type": "" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
this.setTipsOperate('钱箱的钱被你拿走啦!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
|
this.setTipsOperate('你的钱还在钱箱里!') |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
// 如果需要钱箱取钱并且满足了 |
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
|
for (var i=0;i<this.goodState.length;i++){ |
|
|
|
|
if(this.goodState[i].id !== 15) { |
|
|
|
@ -1814,30 +1877,28 @@ export default { |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
if(this.goodState.length > 0) { |
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,1', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
this.setTipsOperate('你的钱在钱箱里啦!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
|
this.setTipsOperate('钱箱的钱还在你手里!') |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
|
if(this.goodState.length === 0) { |
|
|
|
|
this.$message({ |
|
|
|
|
message: '请放入证件进行盖章!', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
this.setTipsOperate('请放入证件进行盖章!') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if(this.sealChecked.length === 0) { |
|
|
|
|
this.$message({ |
|
|
|
|
message: '请选择印章!', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
this.setTipsOperate('请选择印章!') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1858,7 +1919,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('验钞成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
@ -1874,7 +1935,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('打印成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if(this.nbm == 8){ // 密码器 |
|
|
|
@ -1889,11 +1950,11 @@ export default { |
|
|
|
|
if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){ |
|
|
|
|
if(this.passwordForm.password == this.passwordForm.passwordAgain) { |
|
|
|
|
this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
this.setTipsOperate('成功输入密码!') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
|
this.setTipsOperate('您输入的密码和确认密码不一致!') |
|
|
|
|
} |
|
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
@ -1906,7 +1967,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('成功审核资料!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if (this.nbm == 10){ //刷卡器 |
|
|
|
@ -1920,7 +1981,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('刷卡成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else if (this.nbm == 11){ //身份证扫描仪 |
|
|
|
@ -1934,7 +1995,7 @@ export default { |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
|
|
this.setTipsOperate('验证身份成功!') |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
@ -1942,23 +2003,26 @@ export default { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
// 如果不是钱箱或传票栏或印章盒或传票栏或客户,刷卡后返回 |
|
|
|
|
if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5 && this.nbm!== 1 && this.nbm!== 0) { |
|
|
|
|
if(this.nbm !== 4 && this.nbm!== 1 && this.nbm!== 5 && this.nbm!== 1 && (this.nbm!== 0 && this.peopleDo === 1)) { |
|
|
|
|
|
|
|
|
|
const tmpGoods = this.goodState.map(item => item.id) |
|
|
|
|
this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) |
|
|
|
|
this.pushThingsGoods([...tmpGoods]) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
// this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
|
} |
|
|
|
|
// this.closePop() |
|
|
|
|
this.closePop() |
|
|
|
|
// } |
|
|
|
|
if(this.nbm !== 5) { |
|
|
|
|
// 印章盒特殊处理 |
|
|
|
|
this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
|
} |
|
|
|
|
this.$message({ |
|
|
|
|
message: '提交成功', |
|
|
|
|
type: 'success' |
|
|
|
|
}); |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
toPart(){ |
|
|
|
|
this.$router.push('/index') |
|
|
|
|