@@ -96,7 +103,8 @@
-
+
+
{{item.name}}
@@ -111,7 +119,7 @@
ko
+
- 请从以下物品中选取所需材料 -
- 请从物品栏选中或拖拽所需材料 -
@@ -186,6 +194,31 @@
+
+
+
+ - 请单击选中复印材料、双击可放大预览 -
+
+ -
+
+
身份证
+
+
+ -
+
+
开户申请书
+
+
+
+
@@ -228,6 +261,7 @@ export default {
}
};
return {
+ showBusiness: false,
manageVisible: false, // 显示系统录入
checkList: [],// 物品栏选中
elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */
@@ -743,7 +777,10 @@ export default {
},
showGoods:function() {
return this.$store.state.system.showGoods
- }
+ },
+ goodsOpen:function () {/* 物品栏的物品 */
+ return this.$store.state.system.goodsOpen
+ },
},
watch: {
'$route.path': function (val) {
@@ -762,39 +799,40 @@ export default {
},
showPop(newVal) {
if(newVal) {
- this.$nextTick(() => {
- const importanceArrClassArr = document.getElementsByClassName('importanceArrClass')
- for(let i=0;i
{ // 结束拖拽
- if(this.judgePosition(evt)){
- const getIt = evt.target.textContent
- for(var i=0;i {
+ const importanceArrClassArr = document.getElementsByClassName('importanceArrClass')
+ for(let i=0;i { // 结束拖拽
+ if(this.judgePosition(evt)){
+ const getIt = evt.target.textContent
+ for(var i=0;i0){
- sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList))
- }
- }
- 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))
- }
- }
- 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))
- }
- }
- 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 (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) {
- this.goodsShelfTotalData = this.auditGoodsShelf
- if (this.receptionList.length >0){
- 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 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
- this.goodsShelfTotalData = this.auditGoodsShelf
- if (this.receptionList.length >0){
- sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList))
- }
- if (this.passwordForm.passwordAgain){
- let accountPasswordTwo = ''
- accountPasswordTwo = this.passwordForm.passwordAgain
- sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo)
- }
- }else if (this.$store.state.system.id == '62,3'){
- this.nbm = 62
- this.goodsShelfTotalData = this.auditGoodsShelf
- if (this.receptionList.length >0){
- sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList))
- }
- if (this.passwordForm.passwordAgain){
- let accountPasswordThree = ''
- accountPasswordThree = this.passwordForm.passwordAgain
- sessionStorage.setItem('accountPasswordThree', accountPasswordThree)
- }
- }
- }
- // this.toggleGoods()
- // else if(this.popText == '密码器'){
- // if (this.nbm == 8){
- // let formList = []
- // let ruleReqs = sessionStorage.getItem('ruleReqs')
- // if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []}
- // for (var i=0;i=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}操作成功!`)
- // }
- // }
- // }else{
- // this.$message.error('请输入密码和确认密码');
- // }
- // }else{
- // if (this.receptionList.length >0){
- // let formList = []
- // this.toggleGoods()
- // this.$message.success(`${this.popText}操作成功!`)
- // if (this.nbm == 0){ //用户
- // }else if (this.nbm == 1){ //传票箱
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 2){ //普通凭证箱
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 3){ //重要空白凭证箱
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 4){ //钱箱
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // let formList = [];
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 5){ //印章盒
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 6){ //验钞机
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 7){ //打印机
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 9){//资料
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 10){ //刷卡器
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else if (this.nbm == 11){ //身份证扫描仪
- // let projectId = sessionStorage.getItem('projectId')
- // let startTime = sessionStorage.getItem('startTime')
- // for (var i=0;i{
- // this.$message({
- // message: '提交成功',
- // type: 'success'
- // });
- // }).catch((error)=>{
- // })
- // }else{
- if(this.popText == '密码器'){
+ }else if(this.popText == '密码器'){
if (this.nbm == 8){
let formList = []
let ruleReqs = sessionStorage.getItem('ruleReqs')
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []}
- for (var i=0;i0){
- let formList = []
- this.toggleGoods()
- this.$message.success(`${this.popText}操作成功!`)
- if (this.nbm == 0){ //用户
- }else if (this.nbm == 1){ //传票箱
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 2){ //普通凭证箱
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 3){ //重要空白凭证箱
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 4){ //钱箱
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- let formList = [];
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 5){ //印章盒
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 6){ //验钞机
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 7){ //打印机
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 9){//资料
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 10){ //刷卡器
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i0){
+ let formList = []
+ this.toggleGoods()
+ this.$message.success(`${this.popText}操作成功!`)
+ this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗
+ console.log('---关闭弹窗')
+ if (this.nbm == 0){ //用户
+ }else if (this.nbm == 1){ //传票箱
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 2){ //普通凭证箱
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 3){ //重要空白凭证箱
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 4){ //钱箱
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ let formList = [];
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 5){ //印章盒
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 6){ //验钞机
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 7){ //打印机
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 9){//资料
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 10){ //刷卡器
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else if (this.nbm == 11){ //身份证扫描仪
+ let projectId = sessionStorage.getItem('projectId')
+ let startTime = sessionStorage.getItem('startTime')
+ for (var i=0;i{
+ this.$message({
+ message: '提交成功',
+ type: 'success'
+ });
+ }).catch((error)=>{
+ })
+ }else{
+ this.goodsShelfTotalData = this.auditGoodsShelf
+ 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))
+ }
+ }
+ 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))
+ }
+ }
+ 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))
+ }
+ }
+ 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 (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) {
+ // this.goodsShelfTotalData = this.auditGoodsShelf
+ if (this.receptionList.length >0){
+ 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 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
+ // this.goodsShelfTotalData = this.auditGoodsShelf
+ if (this.receptionList.length >0){
+ sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList))
+ }
+ if (this.passwordForm.passwordAgain){
+ let accountPasswordTwo = ''
+ accountPasswordTwo = this.passwordForm.passwordAgain
+ sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo)
+ }
+ }else if (this.$store.state.system.id == '62,3'){
+ this.nbm = 62
+ // this.goodsShelfTotalData = this.auditGoodsShelf
+ if (this.receptionList.length >0){
+ sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList))
+ }
+ if (this.passwordForm.passwordAgain){
+ let accountPasswordThree = ''
+ accountPasswordThree = this.passwordForm.passwordAgain
+ sessionStorage.setItem('accountPasswordThree', accountPasswordThree)
+ }
}
- addOperation(params).then((data)=>{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else if (this.nbm == 11){ //身份证扫描仪
- let projectId = sessionStorage.getItem('projectId')
- let startTime = sessionStorage.getItem('startTime')
- for (var i=0;i{
- this.$message({
- message: '提交成功',
- type: 'success'
- });
- }).catch((error)=>{
- })
- }else{}
- // }
- // this.$store.commit('system/changePop',{show:false,text:''})
- // this.receptionList = [];
- // }else{
- // this.$message.error('请从物品栏中拖拽所需资料');
- // }
- // }
- }
- }
+ }
+ }
+ // this.toggleGoods()
+
+
},
toPart(){
this.$router.push('/index')
@@ -1617,12 +1458,22 @@ export default {
judgePosition(evt) {
const targetDom = this.$refs.goods.getBoundingClientRect()
return evt.originalEvent.pageXtargetDom.left && evt.originalEvent.pageYtargetDom.top
- }
+ },
+
}
};