Commit ed570db2 by panziyi

brtdck

parent bc08b704
...@@ -22,16 +22,22 @@ export default { ...@@ -22,16 +22,22 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
}
if ( this.$route.query.inr != '' ) {
localStorage.set('row_brtdck',null)
} }
const res = await Api.post('/service/brtdck/init', { const res = await Api.post('/service/brtdck/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
// lidinr: this.$route.query.inr
trnmod:{ brdgrp:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName)) rec:{
} inr: this.$route.query.inr
}
},
}); });
if (!res.data) { if (!res.data) {
return return
......
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