Commit 2125c28d by panziyi

letame修改

parent 1ac2e351
...@@ -55,6 +55,9 @@ export default { ...@@ -55,6 +55,9 @@ export default {
}, },
cbsMap: { cbsMap: {
MAX: model.ledgrp.cbs.max, MAX: model.ledgrp.cbs.max,
MAX2: model.ledgrp.cbs.max2,
MAX: model.oldledgrp.cbs.max,
MAX2: model.oldledgrp.cbs.max2,
OPN1: model.ledgrp.cbs.opn1, OPN1: model.ledgrp.cbs.opn1,
NOM1: model.ledgrp.cbs.nom1, NOM1: model.ledgrp.cbs.nom1,
MAC: model.ledgrp.cbs.mac, MAC: model.ledgrp.cbs.mac,
......
...@@ -4,28 +4,29 @@ export default class Litamc { ...@@ -4,28 +4,29 @@ export default class Litamc {
constructor() { constructor() {
this.data = { this.data = {
number: '', number: '',
oldledgrp: { oldledgrp:{
blk: { cbs:{
narhis: '' nom1:{
}, amt:"", // Original Data .oldledgrp.cbs.nom1.amt
rec: { },
expdat: '', max:{
nomton: '', cur:"", // Currency .oldledgrp.cbs.max.cur
shpdat: '', amt:"", // Balance .oldledgrp.cbs.max.amt
nomtop: '', },
prepertxts18: '', max2:{
prepers18: '' cur:"",
}, amt:"",
cbs: { },
max: { },
cur: '', rec:{
amt: '' nomtop:"", // Amount Tolerance - Positive .oldledgrp.rec.nomtop
}, nomton:"", // Amount Tolerance - Negative .oldledgrp.rec.nomton
nom1: { expdat:"", // Date of Expiry .oldledgrp.rec.expdat
amt: '' shpdat:"", // Shipment Date .oldledgrp.rec.shpdat
} prepers18:"", // Days of presentation period .oldledgrp.rec.prepers18
} prepertxts18:"", // Presentation period text .oldledgrp.rec.prepertxts18
}, },
},
ledgrp: { ledgrp: {
blk: { blk: {
addamtcov: '' addamtcov: ''
......
...@@ -62,6 +62,7 @@ export default { ...@@ -62,6 +62,7 @@ export default {
let dataObj = { let dataObj = {
rec: { rec: {
objinr:model.ledgrp.rec.inr,
objtyp: 'LED', objtyp: 'LED',
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat, opndat: model.ledgrp.rec.opndat,
...@@ -118,8 +119,6 @@ export default { ...@@ -118,8 +119,6 @@ export default {
liaall: model.liaall, liaall: model.liaall,
liaccv: model.liaccv, liaccv: model.liaccv,
// doceot: model.trnmod.trndoc.doceot, // doceot: model.trnmod.trndoc.doceot,
maxamt: model.letamep.maxamt,
trnmod: model.trnmod,
}; };
return params return params
}, },
...@@ -146,6 +145,10 @@ export default { ...@@ -146,6 +145,10 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg, liaallg: model.liaall.liaallg,
amdRec:{
maxamt: model.letamep.maxamt,
engamt: model.letamep.engamt,
}
}; };
return params return params
}, },
......
...@@ -16,10 +16,16 @@ export default class Letame { ...@@ -16,10 +16,16 @@ export default class Letame {
}, },
cbs: { cbs: {
max: { max: {
amt: '' cur:"",
amt:"",
},
max2: {
cur:"",
amt:"",
}, },
nom1: { nom1: {
amt: '' cur:"",
amt:"",
} }
} }
}, },
...@@ -102,6 +108,10 @@ export default class Letame { ...@@ -102,6 +108,10 @@ export default class Letame {
pts: new Pts().data, pts: new Pts().data,
}, },
cbs: { cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: { opn2: {
cur: '', cur: '',
amt: '' 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