Commit 93efed93 by WF1020

litopn,letopn修改

parent e3936a8a
...@@ -63,6 +63,13 @@ export default { ...@@ -63,6 +63,13 @@ export default {
} }
let name = tab.name; let name = tab.name;
switch (name) { switch (name) {
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'ccvpan': case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName); let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest); this.processLiaccv(ccvpanRequest);
...@@ -71,13 +78,13 @@ export default { ...@@ -71,13 +78,13 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName); let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest); this.processLiaall(engpRequest);
break; break;
case 'setpan': // case 'setpan':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName); // let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值 // // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => { // this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName); // return buildFn.buildSetglg(this.model, this.trnName);
}); // });
break; // break;
case 'docpan': case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName); let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest); this.processTrndoc(docpanRequest);
......
...@@ -85,7 +85,7 @@ export default class Litopn { ...@@ -85,7 +85,7 @@ export default class Litopn {
}, },
blk: { blk: {
insbnk: '', insbnk: '',
feetxt: '', feetxt: 'ALL BANKING CHARGES OUTSIDE THE ISSUING BANK ARE FOR BENEFICIARYS ACCOUNT',
mixdet: '', mixdet: '',
shpper: '', shpper: '',
adlcnd: '', adlcnd: '',
...@@ -117,7 +117,7 @@ export default class Litopn { ...@@ -117,7 +117,7 @@ export default class Litopn {
nam: '', nam: '',
prepertxts18: '', prepertxts18: '',
redclsflg: '', redclsflg: '',
nomspc: '', nomspc: 'x',
shptrss18: '', shptrss18: '',
spcrcbflg: '', spcrcbflg: '',
shpfro: '', shpfro: '',
...@@ -127,13 +127,13 @@ export default class Litopn { ...@@ -127,13 +127,13 @@ export default class Litopn {
avbby: '', avbby: '',
pordis: '', pordis: '',
shppar: '', shppar: '',
apprul: '', apprul: 'UCP LATEST VERSION',
prepers18: '', prepers18: '21',
guaflg: '', guaflg: '0',
expdat: '', expdat: '',
shpto: '', shpto: '',
rptref: '', rptref: '',
cnfdet: '', cnfdet: 'W',
regref: '', regref: '',
porloa: '', porloa: '',
apprultxt: '', apprultxt: '',
......
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