Commit 14292813 by WH

修复前端letame前端缺陷问题

parent 37a0e5e9
...@@ -19,15 +19,47 @@ export default { ...@@ -19,15 +19,47 @@ export default {
}, },
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.ledgrp.apl.pts.extkey) { if (model.ledgrp.a2b.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apl)); ptsptaList.push(this.buildPtspta(model.ledgrp.a2b));
} }
if (model.ledgrp.iss.pts.extkey) { if (model.ledgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.iss)); ptsptaList.push(this.buildPtspta(model.ledgrp.adv));
}
if (model.ledgrp.rmb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.rmb));
}
if (model.ledgrp.apb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apb));
}
if (model.ledgrp.con.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.con));
}
if (model.ledgrp.drw.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.drw));
} }
if (model.ledgrp.ben.pts.extkey) { if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.ben)); ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
} }
if (model.ledgrp.iss.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.iss));
}
if (model.ledgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apl));
}
if (model.ledgrp.avb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.avb));
}
if (model.rmbclm.acwacw.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.rmbclm.acwacw));
}
if (model.rmbclm.rmbrmb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.rmbclm.rmbrmb));
}
if (model.rmbclm.bebbeb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.rmbclm.bebbeb));
}
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LED', objtyp: 'LED',
...@@ -46,20 +78,20 @@ export default { ...@@ -46,20 +78,20 @@ export default {
purpos: model.ledgrp.rec.purpos, purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg, revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta, cnfsta: model.ledgrp.rec.cnfsta,
advRolsetflg: model.ledgrp.Adv.Rolsetflg, // advRolsetflg: model.ledgrp.Adv.Rolsetflg,
advPtainr: model.ledgrp.Adv.pts.ptainr, // advPtainr: model.ledgrp.Adv.pts.ptainr,
advAdrblk: model.ledgrp.Adv.pts.adrblk, // advAdrblk: model.ledgrp.Adv.pts.adrblk,
a2bRolsetflg: model.ledgrp.a2b.Rolsetflg, // a2bRolsetflg: model.ledgrp.a2b.Rolsetflg,
a2bPtainr: model.ledgrp.a2b.pts.ptainr, // a2bPtainr: model.ledgrp.a2b.pts.ptainr,
benRolsetflg: model.ledgrp.ben.Rolsetflg, // benRolsetflg: model.ledgrp.ben.Rolsetflg,
benPtainr: model.ledgrp.ben.pts.ptainr, // benPtainr: model.ledgrp.ben.pts.ptainr,
issRolsetflg: model.ledgrp.iss.Rolsetflg, // issRolsetflg: model.ledgrp.iss.Rolsetflg,
issPtainr: model.ledgrp.iss.pts.ptainr, // issPtainr: model.ledgrp.iss.pts.ptainr,
issAdrblk: model.ledgrp.iss.pts.adrblk, // issAdrblk: model.ledgrp.iss.pts.adrblk,
newamt: model.letamep.Swiadd.newamt, // newamt: model.letamep.Swiadd.newamt,
engamt: model.letamep.engamt, // engamt: model.letamep.engamt,
opn1Amt: model.oldledgrp.cbs.opn1.Amt, // opn1Amt: model.oldledgrp.cbs.opn1.Amt,
opn2Amt: model.oldledgrp.cbs.opn2.Amt, // opn2Amt: model.oldledgrp.cbs.opn2.Amt,
}, },
cbsMap: { cbsMap: {
......
import Pts from '~/components/business/commonModel/Pts'; import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js'; import Pub from '~/components/business/commonModel/index.js';
export default class Letame { export default class Letame {
constructor() { constructor() {
this.data = { this.data = {
...@@ -14,110 +15,18 @@ export default class Letame { ...@@ -14,110 +15,18 @@ export default class Letame {
prepers18: '' prepers18: ''
}, },
cbs: { cbs: {
opn2: {
cur: '',
amt: ''
},
max: { max: {
cur: '',
amt: '' amt: ''
}, },
nom1: { nom1: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: '' amt: ''
} }
},
rol: {
pts: new Pts().data,
}
},
letp: {
swiftflg:'',
usr: {
extkey: ''
},
aamp: {
aammod: {
addamtflg: '',
addamtcov: '',
}
}
},
letamep: {
maxcur: '',
engcur: '',
amenbr: '',
cre707flg: '',
lcrdocame: {
buttxmsel: ''
},
benaccflg: '',
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
adlcndame: {
buttxmsel: ''
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
engamt: '',
lcrgodame: {
buttxmsel: ''
},
},
rmbclm: {
acwacw: {
pts: {
ref: ''
}
},
valdat: '',
rmbrmb: {
pts: {
ref: ''
}
},
bebbeb: {
pts: {
ref: ''
} }
}, },
rmbrol: ''
},
advdisflg: '',
ledgrp: { ledgrp: {
adv: {
pts: new Pts().data,
},
a2b: { a2b: {
pts: new Pts().data, pts: new Pts().data,
}, },
apb: {
pts: new Pts().data,
},
rmb: {
pts: {
ref: ''
}
},
con: {
pts: new Pts().data,
},
blk: { blk: {
insbnk: '', insbnk: '',
revnotes: '', revnotes: '',
...@@ -137,6 +46,7 @@ export default class Letame { ...@@ -137,6 +46,7 @@ export default class Letame {
lcrgodame: '' lcrgodame: ''
}, },
rec: { rec: {
inr:'',
tenmaxday: '', tenmaxday: '',
nomton: '', nomton: '',
expplc: '', expplc: '',
...@@ -180,8 +90,16 @@ export default class Letame { ...@@ -180,8 +90,16 @@ export default class Letame {
aplbnkdirsnd: '', aplbnkdirsnd: '',
advdat: '', advdat: '',
porloa: '', porloa: '',
apprultxt: '', apprultxt: ''
inr: '', },
con: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apb: {
pts: new Pts().data,
}, },
cbs: { cbs: {
opn2: { opn2: {
...@@ -201,64 +119,103 @@ export default class Letame { ...@@ -201,64 +119,103 @@ export default class Letame {
amt: '' amt: ''
} }
}, },
iss: { rmb: {
pts: { pts: new Pts().data,
ref: '',
nam: ''
}
}, },
drw: { drw: {
pts: { pts: new Pts().data,
extkey: '', },
adrblk: '' ben: {
} pts: new Pts().data,
}, },
preadvflg: '', preadvflg: '',
avb: { avb: {
pts: {
extkey: ''
}
},
prb: {
pts: new Pts().data, pts: new Pts().data,
}, },
apl:{ apl: {
pts: new Pts().data, pts: new Pts().data,
}, },
ben:{ iss: {
pts: new Pts().data, pts: new Pts().data,
}, },
oth:{ },
letp: {
usr: {
extkey: ''
},
aamp: {
aammod: {
addamtflg: ''
}
}
},
letamep: {
amenbr: '',
cre707flg: '',
lcrdocame: {
buttxmsel: ''
},
benaccflg: '',
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
adlcndame: {
buttxmsel: ''
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
engamt: '',
lcrgodame: {
buttxmsel: ''
}
},
rmbclm: {
acwacw: {
pts: new Pts().data, pts: new Pts().data,
}, },
acb:{ valdat: '',
rmbrmb: {
pts: new Pts().data, pts: new Pts().data,
}, },
bebbeb: {
pts: new Pts().data,
}, },
rejpenins: '', rmbrol: ''
advrefflg: '',
swiadd: {
trnchato: '',
newnomtop: '',
purpos: '',
amedat: '',
addamtcov: '',
newnomton: '',
prepers18: '',
amenbr: '',
nartxt: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
newexpdat: '',
trnfeetxt: '',
ameamt: '',
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
}, },
// trnmod: {
// swiadd: {
// newnomtop: '',
// shpfro: '',
// shpper: '',
// amedat: '',
// pordis: '',
// addamtcov: '',
// newnomton: '',
// amenbr: '',
// addamt: '',
// amecur: '',
// newshpdat: '',
// newamt: '',
// shpto: '',
// newexpdat: '',
// ameamt: '',
// newcur: '',
// porloa: '',
// nomspc: ''
// }
// },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
......
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