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 { ...@@ -21,21 +21,29 @@ export default {
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init () {
const params = { let inr = this.$route.query.trn
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), let curReviewSpt = null
trnmod:{ if (inr) {
trn:JSON.parse(localStorage.getItem('review_'+this.trnName)) 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', { const res = await Api.post('/service/brtset/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
lidgrp:{ brdgrp:{
rec:{ rec:{
inr:this.$route.query.inr inr:this.$route.query.inr
} }
......
...@@ -24,6 +24,7 @@ export default class Bctset { ...@@ -24,6 +24,7 @@ export default class Bctset {
nam: '', nam: '',
docprbrol: '', docprbrol: '',
frepayflg: '', frepayflg: '',
inr:'',
}, },
cbs: { cbs: {
opn1: { opn1: {
......
...@@ -50,10 +50,12 @@ export default { ...@@ -50,10 +50,12 @@ export default {
this.$router.push({ path: 'business-new/sptpopup', query: { inr: inr } }); this.$router.push({ path: 'business-new/sptpopup', query: { inr: inr } });
}, },
async continueEdit(row, scope) { async continueEdit(row, scope) {
localStorage.setItem(`row_${row.frm.toLowerCase()}`, JSON.stringify(row))
let trnName = row.frm.toLowerCase(); let trnName = row.frm.toLowerCase();
this.$router.push({ this.$router.push({
path: 'business-new/' + trnName, path: 'business-new/' + trnName,
query: {
trn: row.inr
}
}); });
}, },
// pageSize改变 // pageSize改变
......
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
query: { trn: row['inr'], operateId: operateId }, query: { trn: row['inr'], operateId: operateId },
params: { prePageId: this.model.pageId }, 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