Commit 62fb3d89 by xionglin

暂存参数修改

parent 2b1b9138
......@@ -22,8 +22,11 @@ export default {
...limitbody,
...doctre,
async init () {
localStorage.removeItem('row_'+ this.trnName)
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/brtlat/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
......
......@@ -4,12 +4,6 @@ export default class Brtlat{
constructor () {
this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
gidgrp:{
rec:{
branchinr:""
}
},
gitp:{},
brdgrp:{
shp:{
pts:new Pts().data,
......
......@@ -21,8 +21,14 @@ export default {
...limitbody,
...doctre,
async init () {
localStorage.removeItem('row_'+ this.trnName)
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
if( this.$route.query.inr !='') {
localStorage.removeItem('row_'+this.trnName)
}
const res = await Api.post('/service/brtsnd/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
......
......@@ -21,6 +21,7 @@ export default {
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
......
......@@ -162,10 +162,21 @@ export default {
setglg: this.model.setmod.setglg,
doceot: this.model.docpan.doceot,
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) || {},
gidgrp: this.model.gidgrp,
gitp: this.model.gitp,
lidgrp: this.model.lidgrp,
// branchinr:this.model.gidgrp.rec.branchinr,
}
if( this.model.hasOwnProperty('brdgrp')){
this.$set(params,'brdgrp',this.model.brdgrp)
}
if( this.model.hasOwnProperty('gidgrp')){
this.$set(params,'gidgrp',this.model.gidgrp)
}
if( this.model.hasOwnProperty('gitp')){
this.$set(params,'gitp',this.model.gitp)
}
if( this.model.hasOwnProperty('lidgrp')){
this.$set(params,'lidgrp',this.model.lidgrp)
}
if( this.model.hasOwnProperty('litp')){
this.$set(params,'litp',this.model.litp)
}
const res = await Api.post(`/service/${this.trnName}/txnHold`, params);
if (res.respCode === SUCCESS) {
......
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