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