Commit b13edddc by WF1020

公共页面字段修改

parent 4596fbd7
...@@ -3,6 +3,7 @@ import Pub from '~/components/business/commonModel/index.js'; ...@@ -3,6 +3,7 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Gitopn { export default class Gitopn {
constructor() { constructor() {
this.data = { this.data = {
busType: 'gid',
addbcb: { addbcb: {
label1: '', // 国际部意见 .addbcb.label1 label1: '', // 国际部意见 .addbcb.label1
label2: '', // 国际部意见 .addbcb.label2 label2: '', // 国际部意见 .addbcb.label2
......
...@@ -28,7 +28,6 @@ export default { ...@@ -28,7 +28,6 @@ export default {
let rtnmsg = await Api.post('/service/infbrd/getList', params); let rtnmsg = await Api.post('/service/infbrd/getList', params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = []; this.stmData.data = [];
// debugger
this.stmData.data = rtnmsg.data.list; this.stmData.data = rtnmsg.data.list;
// debugger // debugger
this.pagination.total = rtnmsg.data.total; this.pagination.total = rtnmsg.data.total;
...@@ -55,7 +54,6 @@ export default { ...@@ -55,7 +54,6 @@ export default {
this.model.infcon.nam = ''; this.model.infcon.nam = '';
this.model.infcon.seapty = ''; this.model.infcon.seapty = '';
this.model.infcon.searef = ''; this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = ''; this.model.brdgrp.rec.inr = '';
this.model.seagodcod = ''; this.model.seagodcod = '';
this.model.seadocflg = ''; this.model.seadocflg = '';
......
...@@ -3,59 +3,60 @@ import Pub from '~/components/business/commonModel/index.js'; ...@@ -3,59 +3,60 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litopn { export default class Litopn {
constructor() { constructor() {
this.data = { this.data = {
gidgrp:{ busType: 'lid',
rec:{ gidgrp: {
purpos:'' rec: {
} purpos: '',
},
}, },
gitp:{ gitp: {
swiftflg:'' swiftflg: '',
}, },
litp: { litp: {
avblab: '', avblab: '',
usr: { usr: {
extkey: '' extkey: '',
}, },
aamp: { aamp: {
aammod: { aammod: {
addamtflg: '' addamtflg: '',
} },
} },
}, },
bccls5: '', bccls5: '',
godnam: '', godnam: '',
label4: '', label4: '',
bccls6: '', bccls6: '',
number: '', number: '',
label5: '', label5: '',
bccls7: '', bccls7: '',
label6: '', label6: '',
hmdmod2: { hmdmod2: {
bennam: '' bennam: '',
}, },
bccls1: '', bccls1: '',
bccls2: '', bccls2: '',
bccls3: '', bccls3: '',
bccls4: '', bccls4: '',
bcbtyp6: '', bcbtyp6: '',
cnybop: { cnybop: {
cnylib: { cnylib: {
doccurdate: '', doccurdate: '',
stermtype: '', stermtype: '',
sorgcode: '', sorgcode: '',
dcreditenddate: '', dcreditenddate: '',
dexchangeenddate: '', dexchangeenddate: '',
sbankorgcode: '', sbankorgcode: '',
sbanktrano: '', sbanktrano: '',
currencycode: '', currencycode: '',
stranstype: '', stranstype: '',
famt: '', famt: '',
sforbankswiftbic: '', sforbankswiftbic: '',
spk: '', spk: '',
denddate: '', denddate: '',
dexchangedate: '', dexchangedate: '',
stransattr: '', stransattr: '',
sforeigncountrycode: '' sforeigncountrycode: '',
}, },
fexchangeamt: '', fexchangeamt: '',
sbankname: '', sbankname: '',
...@@ -66,75 +67,75 @@ export default class Litopn { ...@@ -66,75 +67,75 @@ export default class Litopn {
saddwordlib: '', saddwordlib: '',
vouflg: '', vouflg: '',
libflg: '', libflg: '',
sorgname: '' sorgname: '',
}, },
bcbtyp7: '', bcbtyp7: '',
bcbtyp4: '', bcbtyp4: '',
bcbtyp5: '', bcbtyp5: '',
bcbtyp2: '', bcbtyp2: '',
bcbtyp3: '', bcbtyp3: '',
bcbtyp1: '', bcbtyp1: '',
bcbdat: '', bcbdat: '',
label1: '', label1: '',
label2: '', label2: '',
label3: '', label3: '',
lidgrp: { lidgrp: {
a2b: { a2b: {
pts: new Pts().data, pts: new Pts().data,
}, },
blk: { blk: {
insbnk: '', insbnk: '',
feetxt: '', feetxt: '',
mixdet: '', mixdet: '',
shpper: '', shpper: '',
adlcnd: '', adlcnd: '',
addamtcov: '', addamtcov: '',
avbwthtxt: '', avbwthtxt: '',
defdet: '', defdet: '',
lcrdoc: '', lcrdoc: '',
lcrgod: '', lcrgod: '',
spcben: '', spcben: '',
dftat: '', dftat: '',
spcrcb: '' spcrcb: '',
}, },
rec: { rec: {
tenmaxday: '', tenmaxday: '',
expplc: '', expplc: '',
nomton: '', nomton: '',
stacty: '', stacty: '',
dkflg: '', dkflg: '',
rmbflg: '', rmbflg: '',
avbwth: '', avbwth: '',
opndat: '', opndat: '',
nomtop: '', nomtop: '',
revflg: '', revflg: '',
stagod: '', stagod: '',
spcbenflg: '', spcbenflg: '',
shpdat: '', shpdat: '',
oppbnk: '', oppbnk: '',
nam: '', nam: '',
prepertxts18: '', prepertxts18: '',
redclsflg: '', redclsflg: '',
nomspc: '', nomspc: '',
shptrss18: '', shptrss18: '',
spcrcbflg: '', spcrcbflg: '',
shpfro: '', shpfro: '',
lcrtyp: '', lcrtyp: '',
ownref: '', ownref: '',
preadvdt: '', preadvdt: '',
avbby: '', avbby: '',
pordis: '', pordis: '',
shppar: '', shppar: '',
apprul: '', apprul: '',
prepers18: '', prepers18: '',
guaflg: '', guaflg: '',
expdat: '', expdat: '',
shpto: '', shpto: '',
rptref: '', rptref: '',
cnfdet: '', cnfdet: '',
regref: '', regref: '',
porloa: '', porloa: '',
apprultxt: '' apprultxt: '',
}, },
adv: { adv: {
pts: new Pts().data, pts: new Pts().data,
...@@ -146,22 +147,22 @@ export default class Litopn { ...@@ -146,22 +147,22 @@ export default class Litopn {
pts: new Pts().data, pts: new Pts().data,
}, },
cbs: { cbs: {
opn2: { opn2: {
cur: '', cur: '',
amt: '0.00' amt: '0.00',
}, },
max: { max: {
cur: '', cur: '',
amt: '0.00' amt: '0.00',
}, },
nom1: { nom1: {
cur: '', cur: '',
amt:'0.00' amt: '0.00',
}, },
max2: { max2: {
cur: '', cur: '',
amt: '0.00' amt: '0.00',
} },
}, },
rmb: { rmb: {
pts: new Pts().data, pts: new Pts().data,
...@@ -177,8 +178,8 @@ export default class Litopn { ...@@ -177,8 +178,8 @@ export default class Litopn {
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
statusInfo: '', statusInfo: '',
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -501,15 +501,6 @@ export default { ...@@ -501,15 +501,6 @@ export default {
columns: [], columns: [],
data: [], data: [],
}, },
gitopn: {
gidgrp: {},
gitp: {},
trnmodVo: {},
addbcb: {},
cnybop: {},
codcny: {},
doceot: {},
},
suppress: false, suppress: false,
}; };
}, },
...@@ -562,6 +553,8 @@ export default { ...@@ -562,6 +553,8 @@ export default {
); );
}, },
async handleDisplay(index, row) { async handleDisplay(index, row) {
console.log('row', row)
console.log('ind', index)
//后续要根据快照模式切换请求方式 //后续要根据快照模式切换请求方式
let cortyp = row.cortyp; let cortyp = row.cortyp;
let docnam = row.docnam; let docnam = row.docnam;
...@@ -580,17 +573,16 @@ export default { ...@@ -580,17 +573,16 @@ export default {
// } // }
let params = { let params = {
docVo: row, 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( rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`, `${this.requestPrefix}/executeDocpan`,
this.gitopn params
); );
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { 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