Commit 162e1755 by panziyi

letdrv修改

parent 019ab34b
......@@ -46,10 +46,12 @@ export default {
purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta,
sndmsg: model.sndmsg,
},
cbsMap: {
MAX: model.ledgrp.cbs.max,
OPN1: model.ledgrp.cbs.opn1,
OPN2: model.ledgrp.cbs.opn1,
MAC: model.ledgrp.cbs.mac,
MAC2: model.ledgrp.cbs.mac2,
OPC2: model.ledgrp.cbs.opc2,
......
......@@ -52,6 +52,10 @@ export default class Letcan {
cur: '',
amt: '',
},
opn2: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: '',
......
......@@ -34,27 +34,31 @@ export default {
let dataObj = {
rec: {
objtyp: 'BED',
ownref: model.bedgrp.rec.ownref,
opndat: model.bedgrp.rec.opndat,
expdat: model.bedgrp.rec.expdat,
branchInr: model.bedgrp.rec.branchInr,
hndtyp: model.bedgrp.rec.hndtyp,
gartyp: model.bedgrp.rec.gartyp,
fingua: model.bedgrp.rec.fingua,
objtyp: 'LED',
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr,
hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
// segtyp: model.bedgrp.ghd.segtyp,
fromflg: model.bedgrp.rec.fromflg,
othersno: model.bedgrp.rec.othersno,
sndto: model.bedgrp.rec.sndto,
fromflg: model.ledgrp.rec.fromflg,
othersno: model.ledgrp.rec.othersno,
sndto: model.ledgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.bedgrp.rec.giduil,
purpos: model.bedgrp.rec.purpos,
revflg: model.bedgrp.rec.revflg,
cnfsta: model.bedgrp.rec.cnfsta,
giduil: model.ledgrp.rec.giduil,
purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta,
doctypcod: model.bedgrp.rec.doctypcod,
},
cbsMap: {
MAX: model.bedgrp.cbs.max,
OLDMAX: model.oldbedgrp.cbs.max,
OLDMAX2: model.oldbedgrp.cbs.max,
OPN1: model.bedgrp.cbs.opn1,
OPN2: model.bedgrp.cbs.opn2,
MAC: model.bedgrp.cbs.mac,
MAC2: model.bedgrp.cbs.mac2,
OPC2: model.bedgrp.cbs.opc2,
......@@ -121,7 +125,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'BED',
objtyp: 'LED',
objinr: model.bedgrp.rec.objinr,
ownref: model.bedgrp.rec.ownref,
},
......@@ -132,7 +136,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'BED',
objtyp: 'LED',
objinr: model.bedgrp.rec.objinr,
ownref: model.bedgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
......
......@@ -26,6 +26,11 @@ export default {
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
bedgrp:{
rec:{
inr: this.$route.query.inr
}
},
}
if ( typeof(this.$route.query.inr) == 'string'){
......@@ -36,7 +41,7 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
bedgrp:{
ledgrp:{
rec:{
inr: this.$route.query.inr
}
......
......@@ -21,6 +21,18 @@ export default class Letdrv {
},
},
oldbedgrp: {
cbs: {
max: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
}
}
},
number: '',
ledgrp: {
rec: {
......@@ -71,6 +83,10 @@ export default class Letdrv {
docprbrol: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
cur: '',
amt: ''
......
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