Commit 2125c28d by panziyi

letame修改

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