|
|
@ -104,7 +104,7 @@ |
|
|
|
<!-- 物品栏 --> |
|
|
|
<!-- 物品栏 --> |
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
<!-- goodsShelfTotalData goods2 --> |
|
|
|
<!-- goodsShelfTotalData goods2 --> |
|
|
|
<div :id="item.name" v-for="(item, index) in goods2" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
<div :id="item.name" v-for="(item, index) in goodsShelfTotalData" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
<img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> |
|
|
|
<img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> |
|
|
|
<p>{{item.name}}</p> |
|
|
|
<p>{{item.name}}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -1297,7 +1297,7 @@ export default { |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
console.log('...') |
|
|
|
console.log('-刷卡确认') |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
this.nbm = 33 |
|
|
|
this.nbm = 33 |
|
|
@ -1366,223 +1366,25 @@ export default { |
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
}else if (this.$store.state.system.id == '33'){ |
|
|
|
|
|
|
|
|
|
|
|
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 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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,4', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,3', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,2', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({ |
|
|
|
|
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
|
|
|
|
"emptyOne": "", |
|
|
|
|
|
|
|
"emptyTwo": "", |
|
|
|
|
|
|
|
"operationIds": "285,287,1,"+this.receptionList[i].id, |
|
|
|
|
|
|
|
"type": "" })} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,1', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,8', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'285,287,9', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,10', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,11', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,6', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
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.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
|
|
|
let params= { |
|
|
|
|
|
|
|
parentId:'0,7', |
|
|
|
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
|
|
|
projectId:+projectId, |
|
|
|
|
|
|
|
startTime:startTime, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: 'success' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
|
|
|
this.nbm = 33 |
|
|
|
this.nbm = 33 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '34'){ |
|
|
|
if (this.$store.state.system.id == '34'){ |
|
|
|
|
|
|
|
this.nbm = 34 |
|
|
|
this.nbm = 34 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '63'){ |
|
|
|
if (this.$store.state.system.id == '63'){ |
|
|
|
|
|
|
|
this.nbm = 63 |
|
|
|
this.nbm = 63 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '64'){ |
|
|
|
if (this.$store.state.system.id == '64'){ |
|
|
|
|
|
|
|
this.nbm = 64 |
|
|
|
this.nbm = 64 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
@ -1593,41 +1395,6 @@ export default { |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
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] |
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
@ -1655,24 +1422,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
this.nbm = 62 |
|
|
|
this.nbm = 62 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
console.log('62,11111111111111111111') |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
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 |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
if (this.receptionList.length >0){ |
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
@ -1685,6 +1435,7 @@ export default { |
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
}else 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){ |
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
} |
|
|
|
} |
|
|
@ -1708,7 +1459,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
|
|
|
let formList = [] |
|
|
|
let formList = [] |
|
|
|
this.toggleGoods() |
|
|
|
this.toggleGoods() |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
@ -1718,9 +1469,9 @@ export default { |
|
|
|
}else if (this.nbm == 1){ //传票箱 |
|
|
|
}else if (this.nbm == 1){ //传票箱 |
|
|
|
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": "287,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": "285,287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,4', |
|
|
|
parentId:'285,287,4', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1735,9 +1486,9 @@ export default { |
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
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": "287,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": "285,287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,3', |
|
|
|
parentId:'285,287,3', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1752,9 +1503,9 @@ export default { |
|
|
|
}else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
}else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
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": "287,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": "285,287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,2', |
|
|
|
parentId:'285,287,2', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1774,10 +1525,10 @@ export default { |
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
"emptyOne": "", |
|
|
|
"emptyOne": "", |
|
|
|
"emptyTwo": "", |
|
|
|
"emptyTwo": "", |
|
|
|
"operationIds": "287,1,"+this.receptionList[i].id, |
|
|
|
"operationIds": "285,287,1,"+this.receptionList[i].id, |
|
|
|
"type": "" })} |
|
|
|
"type": "" })} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,1', |
|
|
|
parentId:'285,287,1', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1792,9 +1543,9 @@ 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": "287,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": "285,287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,8', |
|
|
|
parentId:'285,287,8', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1809,9 +1560,9 @@ 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": "287,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": "285,287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'287,9', |
|
|
|
parentId:'285,287,9', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
projectId:+projectId, |
|
|
|
projectId:+projectId, |
|
|
|
startTime:startTime, |
|
|
|
startTime:startTime, |
|
|
@ -1826,7 +1577,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": "287,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": "285,287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
let params= { |
|
|
|
let params= { |
|
|
|
parentId:'0,10', |
|
|
|
parentId:'0,10', |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
lcJudgmentRuleReq:formList, |
|
|
@ -1891,15 +1642,13 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// this.toggleGoods() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
toPart(){ |
|
|
|
toPart(){ |
|
|
|
this.$router.push('/index') |
|
|
|
this.$router.push('/index') |
|
|
|