Commit 74d3c3b4 by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents f447f662 f21937a5
......@@ -21,21 +21,29 @@ export default {
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
let inr = this.$route.query.trn
let curReviewSpt = null
if (inr) {
curReviewSpt = sessionStorage.getItem('review_' + inr)
}
let params = {}
if (curReviewSpt) {
params = {
spt: JSON.parse(curReviewSpt)
}
} else {
params = {
spt: {
inr: this.$route.query.trn
}
}
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
}
const loading = this.loading();
const res = await Api.post('/service/brtset/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
brdgrp:{
rec:{
inr:this.$route.query.inr
}
......
......@@ -24,6 +24,7 @@ export default class Bctset {
nam: '',
docprbrol: '',
frepayflg: '',
inr:'',
},
cbs: {
opn1: {
......
......@@ -50,10 +50,12 @@ export default {
this.$router.push({ path: 'business-new/sptpopup', query: { inr: inr } });
},
async continueEdit(row, scope) {
localStorage.setItem(`row_${row.frm.toLowerCase()}`, JSON.stringify(row))
let trnName = row.frm.toLowerCase();
this.$router.push({
path: 'business-new/' + trnName,
query: {
trn: row.inr
}
});
},
// pageSize改变
......
......@@ -136,7 +136,7 @@ export default {
query: { trn: row['inr'], operateId: operateId },
params: { prePageId: this.model.pageId },
});
localStorage.setItem(`review_${row.inifrm.toLowerCase()}`, JSON.stringify(row))
sessionStorage.setItem(`review_${row.inr}`, JSON.stringify(row))
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment