|
|
@ -1724,10 +1724,12 @@ export default { |
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
|
|
|
|
console.log('xxxxxssss') |
|
|
|
|
|
|
|
console.log(this.goodState) |
|
|
|
let formList = [] |
|
|
|
let formList = [] |
|
|
|
this.toggleGoods() |
|
|
|
this.toggleGoods() |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
|
|
|
|
if (this.nbm == 0){ //用户 |
|
|
|
if (this.nbm == 0){ //用户 |
|
|
|
}else if (this.nbm == 1){ //传票栏 |
|
|
|
}else if (this.nbm == 1){ //传票栏 |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
@ -1781,14 +1783,15 @@ export default { |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if (this.nbm == 4){ //钱箱 |
|
|
|
}else if (this.nbm == 4){ //钱箱 |
|
|
|
|
|
|
|
console.log(this.goodState) |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let formList = []; |
|
|
|
let formList = []; |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ |
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({ |
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
"answerId":this.goodState[i].id, |
|
|
|
"emptyOne": "", |
|
|
|
"emptyOne": "", |
|
|
|
"emptyTwo": "", |
|
|
|
"emptyTwo": "", |
|
|
|
"operationIds": "285,287,1,"+this.receptionList[i].id, |
|
|
|
"operationIds": "285,287,1,"+this.goodState[i].id, |
|
|
|
"type": "" })} |
|
|
|
"type": "" })} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'285,287,1', |
|
|
|
parentId:'285,287,1', |
|
|
@ -1806,7 +1809,7 @@ export default { |
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+this.goodState[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'285,287,8', |
|
|
|
parentId:'285,287,8', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
@ -1823,7 +1826,7 @@ export default { |
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.goodState[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'285,287,9', |
|
|
|
parentId:'285,287,9', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
@ -1840,7 +1843,7 @@ export default { |
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.goodState[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'0,10', |
|
|
|
parentId:'0,10', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
@ -1857,7 +1860,7 @@ export default { |
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.goodState[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'0,11', |
|
|
|
parentId:'0,11', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
@ -1871,7 +1874,8 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if (this.nbm == 10){ //刷卡器 |
|
|
|
} |
|
|
|
|
|
|
|
else if (this.nbm == 10){ //刷卡器 |
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
@ -1909,6 +1913,7 @@ export default { |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
} |
|
|
|
} |
|
|
|
this.closePop() |
|
|
|
this.closePop() |
|
|
|
} |
|
|
|
} |
|
|
|