修改柜台页面父级ID

20240205
e 3 years ago
parent 3292ceb87c
commit 55c4ff30d5
  1. 48
      src/pages/counter/list/index.vue

@ -879,25 +879,25 @@ export default {
this.goodsShelfTotalData = this.systemInputGoodsShelf
let parentId = ''
if(type == '普通凭证箱'){
parentId = '0,3'
parentId = '287,3'
}
if(type == '系统'){
parentId = '0,5'
parentId = '287,5'
}
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱'){
this.goodsShelfTotalData = this.auditGoodsShelf
let parentId = ''
if(type == '重要空白凭证箱'){
parentId = '0,2'
parentId = '287,2'
}
if(type == '资料'){
parentId = '0,11'
parentId = '287,11'
}
if(type == '验钞机'){
parentId = '0,9'
parentId = '287,9'
}
if(type == '身份证扫描仪'){
parentId = '0,7'
parentId = '287,7'
}
let param= {
parentId: parentId
@ -906,18 +906,18 @@ export default {
this.goodsShelfTotalData = this.printoutGoodsShelf
let parentId = ''
if(type == '打印机'){
parentId = '0,10'
parentId = '287,10'
}
if(type == '客户签字'){
parentId = '0,12'
parentId = '287,12'
}
if(type == '印章盒'){
parentId = '0,8'
parentId = '287,8'
}
}else if(type == '钱箱'){
this.goodsShelfTotalData = this.cashboxGoodsShelf;
let param= {
parentId: '0,1'
parentId: '287,1'
}
getOperation(param).then((data)=> {
if (data.data.status == 200) {
@ -1170,7 +1170,7 @@ export default {
let formList = []
let ruleReqs = sessionStorage.getItem('ruleReqs')
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []}
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "0,282,"+this.receptionList[i].id,"type": "3"})}
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "287,282,"+this.receptionList[i].id,"type": "3"})}
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
}
if(this.passwordForm.password && this.passwordForm.passwordAgain){
@ -1192,9 +1192,9 @@ export default {
}else if (this.nbm == 1){ //
let projectId = sessionStorage.getItem('projectId')
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,4,"+this.receptionList[i].id,"type": ""})}
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})}
let params= {
parentId:'0,4',
parentId:'287,4',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1209,9 +1209,9 @@ export default {
}else if (this.nbm == 2){ //
let projectId = sessionStorage.getItem('projectId')
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,3,"+this.receptionList[i].id, "type": "" })}
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })}
let params= {
parentId:'0,3',
parentId:'287,3',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1226,9 +1226,9 @@ export default {
}else if (this.nbm == 3){ //
let projectId = sessionStorage.getItem('projectId')
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,2,"+this.receptionList[i].id, "type": "" })}
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })}
let params= {
parentId:'0,2',
parentId:'287,2',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1248,10 +1248,10 @@ export default {
"answerId":this.receptionList[i].id,
"emptyOne": "",
"emptyTwo": "",
"operationIds": "0,1,"+this.receptionList[i].id,
"operationIds": "287,1,"+this.receptionList[i].id,
"type": "" })}
let params= {
parentId:'0,1',
parentId:'287,1',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1266,9 +1266,9 @@ export default {
}else if (this.nbm == 5){ //
let projectId = sessionStorage.getItem('projectId')
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,8,"+this.receptionList[i].id,"type": ""})}
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})}
let params= {
parentId:'0,8',
parentId:'287,8',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1283,9 +1283,9 @@ export default {
}else if (this.nbm == 6){ //
let projectId = sessionStorage.getItem('projectId')
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,9,"+this.receptionList[i].id,"type": ""})}
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})}
let params= {
parentId:'0,9',
parentId:'287,9',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,
@ -1300,7 +1300,7 @@ export default {
}else if (this.nbm == 7){ //
let projectId = sessionStorage.getItem('projectId')
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,10,"+this.receptionList[i].id,"type": ""})}
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})}
let params= {
parentId:'0,10',
lcJudgmentRuleReq:formList,

Loading…
Cancel
Save