|
|
|
@ -323,6 +323,7 @@ export default { |
|
|
|
|
commonChecked:[],// 普通凭证选中 |
|
|
|
|
passwordForm:{ |
|
|
|
|
password:'', |
|
|
|
|
passwordAgain: '' |
|
|
|
|
}, |
|
|
|
|
passwordRules:{ |
|
|
|
|
password:[ |
|
|
|
@ -454,7 +455,6 @@ export default { |
|
|
|
|
parentId: '0,5,26,57,65,94' |
|
|
|
|
} |
|
|
|
|
getOperation(param).then((data)=> { |
|
|
|
|
console.log(data) |
|
|
|
|
if (data.data.status == 200) { |
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
@ -479,7 +479,6 @@ export default { |
|
|
|
|
parentId: '0,5,26,57,66,103' |
|
|
|
|
} |
|
|
|
|
getOperation(param).then((data)=> { |
|
|
|
|
console.log(data) |
|
|
|
|
if (data.data.status == 200) { |
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
@ -504,7 +503,6 @@ export default { |
|
|
|
|
parentId: '0,5,26,57,67,113' |
|
|
|
|
} |
|
|
|
|
getOperation(param).then((data)=> { |
|
|
|
|
console.log(data) |
|
|
|
|
if (data.data.status == 200) { |
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
@ -516,7 +514,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1') |
|
|
|
|
console.log(nomCurrentCancellCard1) |
|
|
|
|
this.receptionList = JSON.parse(nomCurrentCancellCard1); |
|
|
|
|
if(this.receptionList == null){ |
|
|
|
|
this.receptionList = [] |
|
|
|
@ -526,18 +523,13 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
|
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] |
|
|
|
|
console.log(nbm) |
|
|
|
|
console.log(sessionStorage.getItem(name)) |
|
|
|
|
this.nbm = nbm |
|
|
|
|
let param= { |
|
|
|
|
parentId |
|
|
|
|
} |
|
|
|
|
getOperation(param).then((data)=> { |
|
|
|
|
console.log(data) |
|
|
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
|
console.log(tmpName) |
|
|
|
|
if(tmpName) { |
|
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
|
}else { |
|
|
|
@ -595,7 +587,7 @@ export default { |
|
|
|
|
this.passwordForm.password = nomCurrentSettlePassword |
|
|
|
|
this.passwordForm.passwordAgain = nomCurrentSettlePassword |
|
|
|
|
} |
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
|
}else if(myConfig[this.$store.state.system.id]){ |
|
|
|
|
const { name } = myConfig[this.$store.state.system.id] |
|
|
|
|
let nomCurrentSettlePassword = sessionStorage.getItem(name); |
|
|
|
|
if(nomCurrentSettlePassword){ |
|
|
|
@ -687,18 +679,13 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
|
const { nbm, parentId, name } = myConfig[this.$store.state.system.id] |
|
|
|
|
console.log(nbm) |
|
|
|
|
console.log(sessionStorage.getItem(name)) |
|
|
|
|
this.nbm = nbm |
|
|
|
|
let param= { |
|
|
|
|
parentId |
|
|
|
|
} |
|
|
|
|
getOperation(param).then((data)=> { |
|
|
|
|
console.log(data) |
|
|
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
|
console.log(tmpName) |
|
|
|
|
if(tmpName) { |
|
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
|
}else { |
|
|
|
@ -1097,15 +1084,22 @@ export default { |
|
|
|
|
|
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
const { nbm, name } = myConfig[this.$store.state.system.id] |
|
|
|
|
console.log(nbm) |
|
|
|
|
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)) |
|
|
|
|
console.log(sessionStorage.getItem(name)) |
|
|
|
|
} |
|
|
|
|
}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){ |
|
|
|
@ -1113,8 +1107,7 @@ export default { |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
@ -1125,8 +1118,7 @@ export default { |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
@ -1137,8 +1129,7 @@ export default { |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|