Commit b13edddc by WF1020

公共页面字段修改

parent 4596fbd7
......@@ -3,6 +3,7 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Gitopn {
constructor() {
this.data = {
busType: 'gid',
addbcb: {
label1: '', // 国际部意见 .addbcb.label1
label2: '', // 国际部意见 .addbcb.label2
......
......@@ -28,7 +28,6 @@ export default {
let rtnmsg = await Api.post('/service/infbrd/getList', params);
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
// debugger
this.stmData.data = rtnmsg.data.list;
// debugger
this.pagination.total = rtnmsg.data.total;
......@@ -55,7 +54,6 @@ export default {
this.model.infcon.nam = '';
this.model.infcon.seapty = '';
this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = '';
this.model.seagodcod = '';
this.model.seadocflg = '';
......
......@@ -14,13 +14,13 @@ export default class Litame {
bcbdat: '',
litp: {
usr: {
extkey: ''
extkey: '',
},
aamp: {
aammod: {
addamtflg: ''
}
}
addamtflg: '',
},
},
},
bgftktyp: '',
litamep: {
......@@ -31,37 +31,37 @@ export default class Litame {
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
spcbenamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
spcrcbamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
engamt: ''
engamt: '',
},
number: '',
litameadv: '',
ameadvrmk: '',
oldlidgrp: {
blk: {
narhis: ''
narhis: '',
},
rec: {
expdat: '',
......@@ -69,17 +69,17 @@ export default class Litame {
shpdat: '',
nomtop: '',
prepertxts18: '',
prepers18: ''
prepers18: '',
},
cbs: {
max: {
cur: '',
amt: ''
amt: '',
},
nom1: {
amt: ''
}
}
amt: '',
},
},
},
lidgrp: {
a2b: {
......@@ -103,7 +103,7 @@ export default class Litame {
spcbename: '',
spcrcbame: '',
spcrcb: '',
lcrgodame: ''
lcrgodame: '',
},
rec: {
tenmaxday: '',
......@@ -156,20 +156,20 @@ export default class Litame {
cbs: {
opn2: {
cur: '',
amt: ''
amt: '',
},
max: {
cur: '',
amt: ''
amt: '',
},
nom1: {
cur: '',
amt: ''
amt: '',
},
max2: {
cur: '',
amt: ''
}
amt: '',
},
},
rmb: {
pts: new Pts().data,
......@@ -185,7 +185,7 @@ export default class Litame {
},
avb: {
pts: new Pts().data,
}
},
},
liaall: {
limmod: {
......@@ -201,14 +201,14 @@ export default class Litame {
pfcod1: '',
pfcod2: '',
nonrevflg1: '',
nonrevflg2: ''
nonrevflg2: '',
},
comamt: '',
ccvamt: '',
limgrd: '',
lmegrd: '',
tygrd: ''
}
tygrd: '',
},
},
trnmod: {
swiadd: {
......@@ -231,8 +231,8 @@ export default class Litame {
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
}
reqcan: '',
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -3,24 +3,25 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litopn {
constructor() {
this.data = {
gidgrp:{
rec:{
purpos:''
}
busType: 'lid',
gidgrp: {
rec: {
purpos: '',
},
},
gitp:{
swiftflg:''
gitp: {
swiftflg: '',
},
litp: {
avblab: '',
usr: {
extkey: ''
extkey: '',
},
aamp: {
aammod: {
addamtflg: ''
}
}
addamtflg: '',
},
},
},
bccls5: '',
godnam: '',
......@@ -31,7 +32,7 @@ export default class Litopn {
bccls7: '',
label6: '',
hmdmod2: {
bennam: ''
bennam: '',
},
bccls1: '',
bccls2: '',
......@@ -55,7 +56,7 @@ export default class Litopn {
denddate: '',
dexchangedate: '',
stransattr: '',
sforeigncountrycode: ''
sforeigncountrycode: '',
},
fexchangeamt: '',
sbankname: '',
......@@ -66,7 +67,7 @@ export default class Litopn {
saddwordlib: '',
vouflg: '',
libflg: '',
sorgname: ''
sorgname: '',
},
bcbtyp7: '',
bcbtyp4: '',
......@@ -95,7 +96,7 @@ export default class Litopn {
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: ''
spcrcb: '',
},
rec: {
tenmaxday: '',
......@@ -134,7 +135,7 @@ export default class Litopn {
cnfdet: '',
regref: '',
porloa: '',
apprultxt: ''
apprultxt: '',
},
adv: {
pts: new Pts().data,
......@@ -148,20 +149,20 @@ export default class Litopn {
cbs: {
opn2: {
cur: '',
amt: '0.00'
amt: '0.00',
},
max: {
cur: '',
amt: '0.00'
amt: '0.00',
},
nom1: {
cur: '',
amt:'0.00'
amt: '0.00',
},
max2: {
cur: '',
amt: '0.00'
}
amt: '0.00',
},
},
rmb: {
pts: new Pts().data,
......@@ -177,7 +178,7 @@ export default class Litopn {
},
apl: {
pts: new Pts().data,
}
},
},
statusInfo: '',
setmod: new Pub().data.Setmod,
......
......@@ -501,15 +501,6 @@ export default {
columns: [],
data: [],
},
gitopn: {
gidgrp: {},
gitp: {},
trnmodVo: {},
addbcb: {},
cnybop: {},
codcny: {},
doceot: {},
},
suppress: false,
};
},
......@@ -562,6 +553,8 @@ export default {
);
},
async handleDisplay(index, row) {
console.log('row', row)
console.log('ind', index)
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp;
let docnam = row.docnam;
......@@ -580,17 +573,16 @@ export default {
// }
let params = {
docVo: row,
[this.model.busType + 'grp']: this.model[this.model.busType + 'grp'],
[this.model.busType + 'p']: this.model[this.model.busType + 'p'],
trnmodVo: this.model.trnmod,
addbcb: this.model.addbcb,
cnybop: this.model.cnybop,
doceot: this.model.doceot,
};
this.gitopn.gidgrp = this.model.gidgrp;
this.gitopn.gitp = this.model.gitp;
this.gitopn.trnmodVo = this.model.trnmod;
this.gitopn.addbcb = this.model.addbcb;
this.gitopn.cnybop = this.model.cnybop;
this.gitopn.doceot = this.model.docpan.doceot;
console.log(this.gitopn);
rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`,
this.gitopn
params
);
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
......
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