|
|
@ -323,6 +323,7 @@ export default { |
|
|
|
commonChecked:[],// 普通凭证选中 |
|
|
|
commonChecked:[],// 普通凭证选中 |
|
|
|
passwordForm:{ |
|
|
|
passwordForm:{ |
|
|
|
password:'', |
|
|
|
password:'', |
|
|
|
|
|
|
|
passwordAgain: '' |
|
|
|
}, |
|
|
|
}, |
|
|
|
passwordRules:{ |
|
|
|
passwordRules:{ |
|
|
|
password:[ |
|
|
|
password:[ |
|
|
@ -454,7 +455,6 @@ export default { |
|
|
|
parentId: '0,5,26,57,65,94' |
|
|
|
parentId: '0,5,26,57,65,94' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
if (data.data.status == 200) { |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
@ -479,7 +479,6 @@ export default { |
|
|
|
parentId: '0,5,26,57,66,103' |
|
|
|
parentId: '0,5,26,57,66,103' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
if (data.data.status == 200) { |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
@ -504,7 +503,6 @@ export default { |
|
|
|
parentId: '0,5,26,57,67,113' |
|
|
|
parentId: '0,5,26,57,67,113' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
if (data.data.status == 200) { |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
|
for(var j=0;j<list.length;j++){ |
|
|
@ -516,7 +514,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1') |
|
|
|
let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1') |
|
|
|
console.log(nomCurrentCancellCard1) |
|
|
|
|
|
|
|
this.receptionList = JSON.parse(nomCurrentCancellCard1); |
|
|
|
this.receptionList = JSON.parse(nomCurrentCancellCard1); |
|
|
|
if(this.receptionList == null){ |
|
|
|
if(this.receptionList == null){ |
|
|
|
this.receptionList = [] |
|
|
|
this.receptionList = [] |
|
|
@ -526,18 +523,13 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
const { nbm, parentId, name } = 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 |
|
|
|
this.nbm = nbm |
|
|
|
let param= { |
|
|
|
let param= { |
|
|
|
parentId |
|
|
|
parentId |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
if (data.data.status == 200) { |
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
console.log(tmpName) |
|
|
|
|
|
|
|
if(tmpName) { |
|
|
|
if(tmpName) { |
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
}else { |
|
|
|
}else { |
|
|
@ -595,7 +587,7 @@ export default { |
|
|
|
this.passwordForm.password = nomCurrentSettlePassword |
|
|
|
this.passwordForm.password = nomCurrentSettlePassword |
|
|
|
this.passwordForm.passwordAgain = 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] |
|
|
|
const { name } = myConfig[this.$store.state.system.id] |
|
|
|
let nomCurrentSettlePassword = sessionStorage.getItem(name); |
|
|
|
let nomCurrentSettlePassword = sessionStorage.getItem(name); |
|
|
|
if(nomCurrentSettlePassword){ |
|
|
|
if(nomCurrentSettlePassword){ |
|
|
@ -687,18 +679,13 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ |
|
|
|
const { nbm, parentId, name } = 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 |
|
|
|
this.nbm = nbm |
|
|
|
let param= { |
|
|
|
let param= { |
|
|
|
parentId |
|
|
|
parentId |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
getOperation(param).then((data)=> { |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.data.status == 200) { |
|
|
|
if (data.data.status == 200) { |
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
let tmpName = sessionStorage.getItem(name) |
|
|
|
console.log(tmpName) |
|
|
|
|
|
|
|
if(tmpName) { |
|
|
|
if(tmpName) { |
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
this.receptionList = JSON.parse(tmpName); |
|
|
|
}else { |
|
|
|
}else { |
|
|
@ -1097,15 +1084,22 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
}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 } = myConfig[this.$store.state.system.id] |
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
console.log(nbm) |
|
|
|
|
|
|
|
this.nbm = nbm |
|
|
|
this.nbm = nbm |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if(!isPassword) { |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
console.log(sessionStorage.getItem(name)) |
|
|
|
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'){ |
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
this.nbm = 67 |
|
|
|
this.nbm = 67 |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
@ -1113,8 +1107,7 @@ export default { |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
|
|
|
this.nbm = 62 |
|
|
|
this.nbm = 62 |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
@ -1125,8 +1118,7 @@ export default { |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
|
|
|
this.nbm = 62 |
|
|
|
this.nbm = 62 |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
@ -1137,8 +1129,7 @@ export default { |
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
|
|
|
this.nbm = 62 |
|
|
|
this.nbm = 62 |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
@ -1149,7 +1140,7 @@ export default { |
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// this.toggleGoods() |
|
|
|
// this.toggleGoods() |
|
|
|
if(this.popText == '密码器'){ |
|
|
|
if(this.popText == '密码器'){ |
|
|
@ -1161,12 +1152,12 @@ export default { |
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.passwordForm.password && this.passwordForm.passwordAgain){ |
|
|
|
if(this.passwordForm.password && this.passwordForm.passwordAgain){ |
|
|
|
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.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
} |
|
|
|
} |
|
|
|