|
|
|
@ -76,15 +76,10 @@ |
|
|
|
|
<img v-lazy="this.lazyImg[29]" alt="" /> |
|
|
|
|
</div> |
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="setShowBusiness(true)" alt="" /> |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
</el-tooltip> --> |
|
|
|
|
|
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" alt="" /> |
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
</el-tooltip> |
|
|
|
|
<!-- 点击打开资料--> |
|
|
|
|
>>>>>>> 8498f8e3a48d5889580b43697701a1ef33281d85 |
|
|
|
|
<el-tooltip placement="top" popper-class="sth-popper" offset="-50"> |
|
|
|
|
<div slot="content"> |
|
|
|
|
<img v-lazy="lazyImg[22]" alt="" /> |
|
|
|
@ -673,7 +668,7 @@ export default { |
|
|
|
|
this.passwordForm.password = accountPassword |
|
|
|
|
this.passwordForm.passwordAgain = accountPassword |
|
|
|
|
} |
|
|
|
|
}else if(this.$store.state.system.id == '64'){ |
|
|
|
|
}else if(this.$store.state.system.id == '64,2'){ |
|
|
|
|
let nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword'); |
|
|
|
|
if(nomCurrentWithdrawalPassword){ |
|
|
|
|
this.passwordForm.password = nomCurrentWithdrawalPassword |
|
|
|
@ -685,7 +680,7 @@ export default { |
|
|
|
|
this.passwordForm.password = nomCurrentTransferPassword |
|
|
|
|
this.passwordForm.passwordAgain = nomCurrentTransferPassword |
|
|
|
|
} |
|
|
|
|
}else if(this.$store.state.system.id == '66'){ |
|
|
|
|
}else if(this.$store.state.system.id == '66,2'){ |
|
|
|
|
let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword'); |
|
|
|
|
if(nomCurrentSettlePassword){ |
|
|
|
|
this.passwordForm.password = nomCurrentSettlePassword |
|
|
|
@ -699,6 +694,7 @@ export default { |
|
|
|
|
this.passwordForm.passwordAgain = nomCurrentSettlePassword |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
|
|
|
|
|
let accountPasswordAll = sessionStorage.getItem('accountPasswordAll'); |
|
|
|
|
if(accountPasswordAll){ |
|
|
|
|
this.passwordForm.password = accountPasswordAll |
|
|
|
@ -1333,162 +1329,156 @@ export default { |
|
|
|
|
this.callChangePassword() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
console.log('mxx') |
|
|
|
|
console.log(this.id) |
|
|
|
|
console.log(this.$store.state.system.id) |
|
|
|
|
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)) |
|
|
|
|
} |
|
|
|
|
console.log(sessionStorage.getItem('nomClientIdentity')) |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '63'){ |
|
|
|
|
this.nbm = 63 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '64'){ |
|
|
|
|
this.nbm = 64 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '65'){ |
|
|
|
|
this.nbm = 65 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '66'){ |
|
|
|
|
this.nbm = 66 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,1'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,2'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '63'){ |
|
|
|
|
this.nbm = 63 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '64'){ |
|
|
|
|
this.nbm = 64 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
|
this.nbm = nbm |
|
|
|
|
if(!isPassword) { |
|
|
|
|
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(name, JSON.stringify(this.receptionList)) |
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
console.log(sessionStorage.getItem('nomClientIdentity')) |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 64 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
// 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('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
// 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 accountPasswordTwo = '' |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}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] |
|
|
|
|
this.nbm = nbm |
|
|
|
|
if(!isPassword) { |
|
|
|
|
if (this.receptionList.length >0 && machine === this.popText){ |
|
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordThree = '' |
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,2' && this.popText === '刷卡器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordTwo = '' |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
} |
|
|
|
|
}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)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordThree = '' |
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
let formList = [] |
|
|
|
|
// this.toggleGoods() |
|
|
|
|