Commit e99e62c4 by xionglin

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents d18d585c 53c75ed2
......@@ -19,42 +19,42 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
liduil: model.lidgrp.rec.liduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
MAX: model.lidgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -67,7 +67,7 @@ export default {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
// doceot: model.trnmod.trndoc.doceot,
};
return params
},
......@@ -117,9 +117,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
......@@ -128,9 +128,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
......
......@@ -28,9 +28,11 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
// lidInr:'00000013',
// lidInr:'00006821',
brtinr:this.$route.query.inr
brdgrp:{
rec:{
inr:this.$route.query.inr
}
}
});
if (!res.data) {
......@@ -91,6 +93,7 @@ export default {
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
......
export default {
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -103,7 +121,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.disdat":[
{type: "date", required: true, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -265,24 +283,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
}
\ No newline at end of file
......@@ -7,151 +7,21 @@ export default class Brtacp {
swiftflg: '',
},
gidgrp: {
shp: {
pts: new Pts().data,
},
rec: {
branchinr: '',
ownref: '', // Reference .gidgrp.rec.ownref
purposin: '', // Incoming Purpose .gidgrp.rec.purposin
purpos: '', // Outgoing Purpose .gidgrp.rec.purpos
hndtyp: '', // Handling Type .gidgrp.rec.hndtyp
gartyp: '', // Type of Undertaking .gidgrp.rec.gartyp
legfrm: '', // Form of Undertaking .gidgrp.rec.legfrm
demand: '', // Demand Indicator .gidgrp.rec.demand
fingua: '', // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp: '', // 对外担保类型 .gidgrp.rec.cfaguatyp
cmtflg: '', // 跨境人民币保函 .gidgrp.rec.cmtflg
giduil: '', // Language of Undertak. .gidgrp.rec.giduil
vrfdat: '', // 核销日期 .gidgrp.rec.vrfdat
gtxinr: '', // Choice of Text .gidgrp.rec.gtxinr
fenlishi: '', // 是否分离式保函 .gidgrp.rec.fenlishi
atxinr: '', // Choice of Text .gidgrp.rec.atxinr
orddat: '', // Order Date .gidgrp.rec.orddat
expflg: '', // Unlimited Guarantee .gidgrp.rec.expflg
expdat: '', // Valid until .gidgrp.rec.expdat
liaflg: '', // Unlimited Liability .gidgrp.rec.liaflg
liadat: '', // Our Liability until .gidgrp.rec.liadat
inudat: '', // Inure Date .gidgrp.rec.inudat
nam: '', // Name .gidgrp.rec.nam
liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
delori: '', // Delivery of Undertak. .gidgrp.rec.delori
deloritxt: '', // Delivery of Undertak. .gidgrp.rec.deloritxt
sndto: '', // Undertaking Send to .gidgrp.rec.sndto
delto: '', // Deliv. To/Collection By .gidgrp.rec.delto
chato: '', // Own Charges Borne by .gidgrp.rec.chato
orcref: '', // Contract Reference .gidgrp.rec.orcref
orcdat: '', // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat: '', // Closing Date .gidgrp.rec.tenclsdat
orccur: '', // Contract Amount .gidgrp.rec.orccur
orcamt: '0.00', // Contract Amount .gidgrp.rec.orcamt
acc: '', // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20: '', // Governing Law .gidgrp.rec.jurlaws20
jurlaw: '', // Law of Jurisdiction .gidgrp.rec.jurlaw
tenref: '', // Tender Reference .gidgrp.rec.tenref
tendat: '', // Tender Date .gidgrp.rec.tendat
trmdat: '', // Latest Transmiss. Date .gidgrp.rec.trmdat
mannum: '', // 手册号码 .gidgrp.rec.mannum
bngcod: '', // 企业海关编码 .gidgrp.rec.bngcod
juscod: '', // 组织机构代码 .gidgrp.rec.juscod
cunqii: '', // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv: 0, // 上浮比率 .gidgrp.rec.bilvvv
jurplc: '', // Place of Jurisdiction .gidgrp.rec.jurplc
reccnfdet: '', // Confirm. Instr. .gidgrp.rec.reccnfdet
cnfdet: '',
cnfsta: '', // Confirmation Status .gidgrp.rec.cnfsta
partcon: 0, // Partial Confirmation .gidgrp.rec.partcon
cnfdat: '', // Confirmation Date .gidgrp.rec.cnfdat
opndat: '',
opndatc: '', // Requested Issue Date .gidgrp.rec.opndatc
gartypc: '', // Undertaking Type .gidgrp.rec.gartypc
gartyptxtc: '', // Undertaking Type .gidgrp.blk.gartyptxtc
legfrmc: '', // Form of Undertaking .gidgrp.rec.legfrmc
demandc: '', // Demand Indicator .gidgrp.rec.demandc
stdwrduilc: '', // Requested Language .gidgrp.rec.stdwrduilc
gtxinrc: '', // Choice of Text .gidgrp.rec.gtxinrc
exptyp: '', // Expiry Type .gidgrp.rec.exptyp
deloritxtc: '', // Delivery of Undertak. .gidgrp.rec.deloritxtc
orcrefc: '', // Contract Reference .gidgrp.rec.orcrefc
tenclsdatc: '', // Closing Date .gidgrp.rec.tenclsdatc
orccurc: '', // Contract Amount .gidgrp.rec.orccurc
orcamtc: '', // Contract Amount .gidgrp.rec.orcamtc
accc: '', // A/c Adv. Paym. Guar. .gidgrp.rec.accc
jurlawc: '', // Governing Law .gidgrp.rec.jurlawc
jurlawtxtc: '', // Governing Law .gidgrp.rec.jurlawtxtc
jurplcc: '', // Place of Jurisdiction .gidgrp.rec.jurplcc
tenrefc: '', // Tender Reference .gidgrp.rec.tenrefc
tendatc: '', // Tender Date .gidgrp.rec.tendatc
trmdatc: '', // Latest Transmission .gidgrp.rec.trmdatc
orcratc: '', // Original Perc./ Rate .gidgrp.rec.orcratc
branchinr: '',
ownref: '',
},
cbs: {
cnf: {
cur: '', // Confirmation Amount .gidgrp.cbs.cnf.cur
amt: '0.00', // Balance .gidgrp.cbs.cnf.amt
},
mac2: {
cur: '',
amt: '0.00',
},
mac: {
cur: '',
amt: '0.00',
},
max: {
cur: '', // Guarantee Amount .gidgrp.cbs.max.cur
amt: '0.00', // Guarantee Amount .gidgrp.cbs.max.amt
},
max2: {
cur: '',
amt: '0.00',
},
opc2: {
cur: '',
amt: '0.00',
},
opn1: {
cur: '', // Open Amount .gidgrp.cbs.opn1.cur
amt: '0.00', // Balance .gidgrp.cbs.opn1.amt
},
},
blk: {
apprul: '', // Applicable Rules .gidgrp.blk.apprul
apprultxt: '', // Applicable Rules .gidgrp.blk.apprultxt
exptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.exptxt
atxexptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
atxliatxtc: '', // Liability Condition .gidgrp.blk.atxliatxtc
deltoadr: '', // Delivery to Address .gidgrp.blk.deltoadr
trfcond: '', // Transfer Conditions .gidgrp.blk.trfcond
feetxt: '', // Additional Details to Code for Charges .gidgrp.blk.feetxt
preper: '',
atxpreper: '', // Presentation Instr. .gidgrp.blk.atxpreper
covgodsrv: '', // Object of Contract .gidgrp.blk.covgodsrv
orcplc: '', // Original Contract Place .gidgrp.blk.orcplc
addinf: '', // Additional Info .gidgrp.blk.addinf
gidtxt: '', // Guarantee Text with Variables .gidgrp.blk.gidtxt
gtxgidtxt: '', // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
apprulc: '', // Applicable Rules .gidgrp.blk.apprulc
feetxtc: '', // Additional Details to Code for Charges .gidgrp.blk.feetxtc
preperc: '', // Presentation Instr. .gidgrp.blk.preperc
orcplcc: '', // Original Contract Place - Local Undertaking Seq. C .gidgrp.blk.orcplcc
addinfc: '', // Additional Info - Local Undertaking Seq. C .gidgrp.blk.addinfc
gtxgidtxtc: '', // Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc
addamtcovc: '', // Covered .gidgrp.blk.addamtcovc
covgodsrvc: '', // Object of Contract - Local Undertaking Seq. C .gidgrp.blk.covgodsrvc
atxcovgodsrv: '',
atxcovgodsrvc: '', // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrvc
max: {
cur: '',
amt: '0.00',
},
},
ghd: {
segtyp: '', // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp: '', // 业务类型 .gidgrp.ghd.bustyp
remark: '', // 备注 .gidgrp.ghd.remark
segtyp: '',
},
gidcxm: {
warran: '', // 被保证人 .gidgrp.gidcxm.warran
cxmflg: '', // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
shp: {
pts: new Pts().data,
},
apc: {
pts: new Pts().data,
......@@ -194,7 +64,6 @@ export default class Brtacp {
},
},
brdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
......@@ -227,6 +96,7 @@ export default class Brtacp {
docdis: ''
},
rec: {
inr:'',
branchinr: '',
totcur: '',
ownref: '',
......@@ -282,10 +152,20 @@ export default class Brtacp {
}
},
lidgrp: {
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
rec: {
branchinr: '',
expdat: '',
ownref: ''
ownref: '',
inr:'',
},
cbs: {
opn1: {
......@@ -293,99 +173,13 @@ export default class Brtacp {
amt: 0
}
},
ben: {
modifySet: [],
ptsinr: '',
rol: '',
nam: '',
ptanam1: '',
ptyinr: '',
ptainr: '',
extkey: '',
dftdsp: '',
dftcur: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
dftselrol: '',
glggrpflg: '',
pansta: '',
ptytyp: '',
ptyextkey: '',
adrblk: '',
rolsetflg: '',
mdtflg: '',
chnguaflg: '',
namelc: '',
adrelc: '',
ref: '',
dbfadrblkcn: '',
rskcty: '',
dbfadrblk: '',
pts: {
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
dftsetrol: '',
glggrpflg: '',
extact: '',
ver: '',
ptcnam: '',
ptcoe: '',
issbaninf: '',
bankno: '',
jigomc: '',
dizhii: '',
youzbm: '',
dihdig: ''
},
maps: {}
ghd: {
segtyp: '',
bustyp: '',
remark: '',
},
},
gcdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
branchinr: '',
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
oth: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
......
......@@ -11,6 +11,14 @@
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
......@@ -19,6 +27,13 @@
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
......@@ -76,6 +91,7 @@
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glepan from "~/components/business/glentry/views";
export default {
......@@ -84,7 +100,6 @@
"m-acpp" : Acpp,
"m-mt750p" : Mt750p,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
"m-engp": Engp,
......@@ -94,6 +109,7 @@
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
......
......@@ -94,7 +94,7 @@ export default {
mounted(){
this.init()
}
},
}
</script>
......
......@@ -30,31 +30,31 @@ export default {
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
objtyp: 'LID',
ownref: model.brdgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr,
hndtyp: model.brdgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua,
// segtyp: model.brdgrp.ghd.segtyp,
fromflg: model.brdgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.brdgrp.rec.giduil,
purpos: model.brdgrp.rec.purpos,
revflg: model.brdgrp.rec.revflg,
cnfsta: model.brdgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
MAX: model.brdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -67,7 +67,7 @@ export default {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
// doceot: model.trnmod.trndoc.doceot,
};
return params
},
......@@ -117,9 +117,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
},
};
return params
......@@ -128,10 +128,10 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
......
......@@ -28,6 +28,11 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr: '00000030'
}
},
});
if (!res.data) {
return
......@@ -64,7 +69,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......
......@@ -18,11 +18,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.rec.shgref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -43,11 +43,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -56,11 +56,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.opn1.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......@@ -122,11 +122,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
......
......@@ -84,6 +84,7 @@ export default class Brtcsg {
brdgrp: {
rec: {
inr:'',
shgref: '',
ownref: '',
nam: ''
......@@ -138,8 +139,10 @@ export default class Brtcsg {
lidgrp: {
rec: {
inr:'',
expdat: '',
ownref: ''
ownref: '',
branchinr: "00000047",
},
cbs: {
opn1: {
......
......@@ -129,7 +129,9 @@ export default {
}
},
methods: {},
created: async function () {
mounted () {
this.init()
// this.queryHndtypCodeTableList(this.trnName)
},
}
</script>
......
......@@ -28,7 +28,20 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidinr: this.$route.query.inr
// lidinr: this.$route.query.inr
brdgrp:{
rec:{
inr:"00000049",
},
},
lidgrp:{
rec:{
inr:"00000072",
}
},
liaccv:{
concur:"CNY"
}
});
if (!res.data) {
return
......
......@@ -27,7 +27,12 @@ export default {
const res = await Api.post('/service/brtdcr/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidinr: this.$route.query.inr
// brdinr: this.$route.query.inr,
brdgrp:{
rec:{
inr: this.$route.query.inr
}
},
});
if (!res.data) {
return
......
......@@ -64,7 +64,7 @@ export default {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
// doceot: model.trnmod.trndoc.doceot,
};
return params
},
......@@ -128,7 +128,7 @@ export default {
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
swiftflg: model.brtp.swiftflg,
// swiftflg: model.brtp.swiftflg,
},
};
return params
......
......@@ -30,9 +30,9 @@ export default {
userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
rec:{
inr:'00000342',
inr: this.$route.query.inr
}
}
},
});
// debugger
if (!res.data) {
......
......@@ -329,12 +329,12 @@ let checkObj = {
],
'setmod.redamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
// { type: 'number', required: false, message: '必输项' },
// { max: 18, message: '整数位不能超过14位' },
// {
// pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
// message: '小数位不能超过3位',
// },
],
'setmod.docamt': [
......@@ -641,22 +641,22 @@ let checkObj = {
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
// { type: 'string', required: true, message: '必输项' },
// { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
// { type: 'string', required: true, message: '必输项' },
// { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
// //{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
// { type: 'string', required: false, message: '必输项' },
// { max: 8, message: '长度不能超过8' },
],
'trnmod.trndoc.advnam': [
......@@ -1575,24 +1575,16 @@ let checkObj = {
{ max: 20, message: '长度不能超过20' },
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
// 'mtabut.coninf.conexedat': [
// //{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
// ],
// 'mtabut.coninf.usr.extkey': [
// { type: 'string', required: false, message: '必输项' },
// { max: 8, message: '长度不能超过8' },
// ],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
......@@ -1660,436 +1652,11 @@ let checkObj = {
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'trtcre.trdgrp.rec.recdistrictcode': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' },
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'dftcre.dfdgrp.rec.pntref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.rec.pntnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'dftcre.dfdgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'dftcre.oriamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'dftcre.dfdgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.cbs.max.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'dftcre.dfdgrp.cbs.opn1.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'dftcre.dftp.aplp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.apl.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dftp.aplp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'dftcre.dfdgrp.apl.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.apl.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.apl.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.apl.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.rec.stttendat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
],
'dftcre.dfdgrp.dff.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.rec.matdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
],
'dftcre.dftp.dffp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.dff.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dftp.dffp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'dftcre.dfdgrp.rec.tenday': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'dftcre.dfdgrp.dff.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.dff.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.dff.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.rec.actrat': [
{ type: 'string', required: false, message: '必输项' },
{ max: 12, message: '长度不能超过12' },
],
'dftcre.dfdgrp.dff.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'dftcre.dfdgrp.rec.fltval': [
{ type: 'string', required: false, message: '必输项' },
{ max: 9, message: '长度不能超过9' },
],
'dftcre.dfdgrp.rec.bankno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'dftcre.dfdgrp.rec.bankcn': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'dftcre.dfuamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'dftcre.dfdgrp.rec.resamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 12, message: '整数位不能超过8位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'dftcre.dfdgrp.rec.bnkact': [
{ type: 'string', required: false, message: '必输项' },
{ max: 32, message: '长度不能超过32' },
],
'financ.acc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'financ.ref2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'financ.ref5': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'financ.ref3': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'financ.ref4': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'trtcre.trdgrp.rec.recaccount': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'trtcre.trtp.recname': [
{ type: 'string', required: false, message: '必输项' },
{ max: 80, message: '长度不能超过80' },
],
'trtcre.trdgrp.rec.reccountrycode': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'trtcre.trdgrp.rec.recdistrictcode': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' },
],
'trtcre.trtmod.finmod.accbch': Utils.defaultFunction,
'bopmod.dbcgrp.bas.buscode': Utils.defaultFunction,
'trtcre.trdgrp.fip.pts.extkey': Utils.defaultFunction,
'trtcre.trdgrp.fip.adrelc': Utils.defaultFunction,
'trtcre.trdgrp.fip.namelc': Utils.defaultFunction,
'trtcre.trdgrp.fip.dbfadrblkcn': Utils.defaultFunction,
'trtcre.trdgrp.fip.pts.adrblk': Utils.defaultFunction,
'dftcre.dfdgrp.rec.dfuflg': Utils.defaultFunction,
'dftcre.dfdgrp.rec.fintyp': Utils.defaultFunction,
'bcdgrp.co2.pts.extkey': Utils.defaultFunction,
'trtcre.trtp.flowflag': Utils.defaultFunction,
'liaall.limmod.limpts.oth.pts.extkey': Utils.defaultFunction,
'trtcre.trdgrp.rec.pntref': Utils.defaultFunction,
'setmod.doccur': Utils.defaultFunction,
'bopmod.dbcgrp.bas.rptno': Utils.defaultFunction,
'bopmod.dbfgrp.bas.rptno': Utils.defaultFunction,
'trnmod.cipmod.ddbhao': Utils.defaultFunction,
'trtcre.trdgrp.rec.issdat': Utils.defaultFunction,
'cnybop.libflg': Utils.defaultFunction,
'trtcre.trdgrp.cbs.max.cur': Utils.defaultFunction,
'trtcre.trdgrp.rec.fintyp': Utils.defaultFunction,
'trtcre.trdgrp.cbs.max.amt': Utils.defaultFunction,
'bopmod.dbcgrp.bas.methods': Utils.defaultFunction,
'trtcre.crefinflg': Utils.defaultFunction,
'trtcre.trtmod.finmod.acttyp': Utils.defaultFunction,
'trtcre.trtmod.finmod.act3': Utils.defaultFunction,
'trtcre.trtmod.finmod.inttyp': Utils.defaultFunction,
'bcdgrp.rmi.pts.extkey': Utils.defaultFunction,
'bcdgrp.rmi.adrelc': Utils.defaultFunction,
'bcdgrp.rmi.namelc': Utils.defaultFunction,
'bcdgrp.rmi.dbfadrblkcn': Utils.defaultFunction,
'trtcre.trtmod.finmod.dinjdm': Utils.defaultFunction,
'trtcre.trdgrp.rec.stttendat': Utils.defaultFunction,
'trtcre.trdgrp.rec.matdat': Utils.defaultFunction,
'trtcre.trdgrp.rec.actrat': Utils.defaultFunction,
'trtcre.trtmod.finmod.intprd': Utils.defaultFunction,
'setmod.dspflg': Utils.defaultFunction,
'setmod.docamt': Utils.defaultFunction,
'bcdgrp.rec.predat': Utils.defaultFunction,
'bcdgrp.rec.doctypcod': Utils.defaultFunction,
'bcdgrp.rec.focflg': Utils.defaultFunction,
'trnmod.trndoc.condocstm': Utils.defaultFunction,
'trnmod.trndoc.shwinc': Utils.defaultFunction,
'trnmod.trndoc.shwout': Utils.defaultFunction,
'cfatrt.cdaflg': Utils.defaultFunction,
'dftcre.dfdgrp.dff.pts.extkey': Utils.defaultFunction,
'dftcre.dfdgrp.dff.adrelc': Utils.defaultFunction,
'dftcre.dfdgrp.dff.namelc': Utils.defaultFunction,
'dftcre.dfdgrp.dff.dbfadrblkcn': Utils.defaultFunction,
'bcdgrp.rmi.pts.adrblk': Utils.defaultFunction,
'bcdgrp.dre.pts.extkey': Utils.defaultFunction,
'bcdgrp.dre.adrelc': Utils.defaultFunction,
'bcdgrp.dre.namelc': Utils.defaultFunction,
'bcdgrp.dre.dbfadrblkcn': Utils.defaultFunction,
'bcdgrp.dre.pts.adrblk': Utils.defaultFunction,
'bopmod.szflg': Utils.defaultFunction,
'bopmod.basflg': Utils.defaultFunction,
'trnmod.commen': Utils.defaultFunction,
'mtabut.coninf.usr.extkey': Utils.defaultFunction,
'bcdgrp.co2.adrelc': Utils.defaultFunction,
'bcdgrp.co2.namelc': Utils.defaultFunction,
'bcdgrp.co2.dbfadrblkcn': Utils.defaultFunction,
'liaall.limmod.limpts.wrk.pts.extkey': Utils.defaultFunction,
'dftcre.dfdgrp.apl.pts.adrblk': Utils.defaultFunction,
'dftcre.dfdgrp.apl.pts.extkey': Utils.defaultFunction,
'bopmod.dbcgrp.bas.ownextkey': Utils.defaultFunction,
'liaall.limmod.limpts.nonrevflg2': Utils.defaultFunction,
'liaall.limmod.limpts.nonrevflg1': Utils.defaultFunction,
'dftcre.dfdgrp.rec.trntyp': Utils.defaultFunction,
'trnmod.cipmod.feecod': Utils.defaultFunction,
'bcdgrp.rmi.pts.nam': Utils.defaultFunction,
'bcdgrp.rec.ownref': Utils.defaultFunction,
'dftcre.dfdgrp.dff.pts.adrblk': Utils.defaultFunction,
'bopmod.vrfflg': Utils.defaultFunction,
'bopmod.dclflg': Utils.defaultFunction,
'bopmod.dbfgrp.bas.tmpref': Utils.defaultFunction,
'bcdgrp.drr.pts.adrblk': Utils.defaultFunction,
'trtcre.trtp.usr.extkey': Utils.defaultFunction,
'bcdgrp.drr.pts.extkey': Utils.defaultFunction,
'bcdgrp.drr.adrelc': Utils.defaultFunction,
'bcdgrp.drr.namelc': Utils.defaultFunction,
'bcdgrp.drr.dbfadrblkcn': Utils.defaultFunction,
'dftcre.dfdgrp.rec.ownref': Utils.defaultFunction,
'dftcre.dfdgrp.rec.flttyp': Utils.defaultFunction,
'dftcre.dfdgrp.apl.adrelc': Utils.defaultFunction,
'dftcre.dfdgrp.apl.namelc': Utils.defaultFunction,
'dftcre.dfdgrp.apl.dbfadrblkcn': Utils.defaultFunction,
'cnybop.vouflg': Utils.defaultFunction,
'liaall.limmod.limpts.oth.pts.nam': Utils.defaultFunction,
'trtcre.trtmod.finmod.flttyp': Utils.defaultFunction,
'bcdgrp.co2.pts.adrblk': Utils.defaultFunction,
'trtcre.trdgrp.rec.pctfin': Utils.defaultFunction,
'trtcre.oriamt': Utils.defaultFunction,
'trtcre.oricur': Utils.defaultFunction,
'setmod.redamt': Utils.defaultFunction,
'trtcre.trtmod.finmod.act1': Utils.defaultFunction,
'cnybop.traflg': Utils.defaultFunction,
'dftcre.dfdgrp.cbs.max.cur': Utils.defaultFunction,
'dftcre.dfdgrp.cbs.max.amt': Utils.defaultFunction,
'trtcre.trtmod.finmod.ovdinttyp': Utils.defaultFunction,
'bopmod.dbfgrp.bas.methods': Utils.defaultFunction,
'bopmod.dbcgrp.bas.tmpref': Utils.defaultFunction,
'trtcre.trdgrp.rec.flowflag': Utils.defaultFunction,
'cnybop.cnyflg': Utils.defaultFunction,
'trtcre.trtmod.finmod.wjdkfl': Utils.defaultFunction,
'cfatrt.basflg': Utils.defaultFunction,
'trtcre.trdgrp.rec.ownref': Utils.defaultFunction,
'trtcre.trtmod.finmod.fincod': Utils.defaultFunction,
'dftcre.oricur': Utils.defaultFunction,
'bopmod.dbcgrp.bas.custype': Utils.defaultFunction,
'liaall.limmod.comamt': Utils.defaultFunction,
'liaall.limmod.ccvamt': Utils.defaultFunction,
'cfatrt.cfaflg': Utils.defaultFunction,
'trtcre.extrat': Utils.defaultFunction,
'liaall.limmod.limpts.wrk.pts.nam': Utils.defaultFunction,
'trtcre.trtmod.finmod.ratchgtyp': Utils.defaultFunction,
'cfadft.basflg': Utils.defaultFunction,
'trtcre.trtmod.finmod.dinmod.rmbsbs': Utils.defaultFunction,
'bopmod.dbfgrp.bas.custype': Utils.defaultFunction,
'bopmod.dbfgrp.bas.custcod': Utils.defaultFunction,
'cfadft.cfaflg': Utils.defaultFunction,
'setmod.glemod.gleshwstm': Utils.defaultFunction,
'trnmod.cipmod.ddmisu': Utils.defaultFunction,
'bcdgrp.cbs.max.amt': Utils.defaultFunction,
'bcdgrp.dre.pts.nam': Utils.defaultFunction,
'bcdgrp.cbs.max.cur': Utils.defaultFunction,
'bopmod.dbcgrp.bas.custcod': Utils.defaultFunction,
'liaall.misamt': Utils.defaultFunction,
'bopmod.dbfgrp.bas.buscode': Utils.defaultFunction,
'dftcre.dfdgrp.rec.resamt': Utils.defaultFunction,
'trnmod.bustyp': Utils.defaultFunction,
'cnybop.cnyout.spayercountrycode': Utils.defaultFunction,
'mtabut.coninf.oitinf.oit.inftxt': Utils.defaultFunction,
'mtabut.coninf.oitinf.oit.inflev': Utils.defaultFunction,
'bcdgrp.cbs.opn1.amt': Utils.defaultFunction,
'mtabut.clsflg': Utils.defaultFunction,
'mtabut.coninf.conexedat': Utils.defaultFunction,
'cnybop.outflg': Utils.defaultFunction,
'trtcre.trtp.act': Utils.defaultFunction,
'trnmod.cipmod.covflg': Utils.defaultFunction,
'bopmod.dbfgrp.bas.ownextkey': Utils.defaultFunction,
'bcdgrp.drr.pts.nam': Utils.defaultFunction,
'dftcre.dfdgrp.rec.matdat': Utils.defaultFunction,
'dftcre.dfdgrp.rec.stttendat': Utils.defaultFunction,
'mtabut.coninf.oitset.oit.inftxt': Utils.defaultFunction,
'mtabut.coninf.oitset.oit.inflev': Utils.defaultFunction,
'trtcre.trtmod.finmod.dinmod.jzllgz': Utils.defaultFunction,
'trtcre.trtmod.finmod.intdat': Utils.defaultFunction,
'trtcre.trdgrp.rec.reccountrycode': Utils.defaultFunction,
};
for (const key in checkObj) {
......
......@@ -14,7 +14,7 @@
<script>
import Api from "~/service/Api";
import event from "../event"
import Coninfp from "~/views/Public/Coninfp";
import Coninfp from "~/components/business/coninfp/views";
export default {
components: {
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="2122跨境担保登记业务信息" name="voup" v-if="model.cnybop.vouflg == '1'">
<m-voup :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event';
import Cnyp1 from "./Cnyp1";
import Voup from "./Voup";
export default {
components: {
"m-cnyp1": Cnyp1,
"m-voup": Voup,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["cnyp1"],
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
......@@ -34,9 +34,7 @@
v-model="model.trtcre.trdgrp.rec.reccountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')
"
@keyup.enter.native="queryGridEtyPromptDialogData('PRB', 'B')"
></c-input>
<template slot="footer">
<c-button
......
......@@ -512,9 +512,7 @@
<c-input
:disabled="true"
v-model="model.trtcre.trdgrp.fip.pts.extkey"
@keyup.enter.native="
showGridPromptDialog(`trtcre.trdgrp.fip.pts.extkey`)
"
@keyup.enter.native="queryGridEtyPromptDialogData('PRB', 'B')"
></c-input>
<template slot="footer">
<c-button
......
......@@ -639,9 +639,7 @@
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
@keyup.enter.native="queryGridEtyPromptDialogData('PRB', 'B')"
></c-input>
<template slot="footer">
<c-button
......
......@@ -71,18 +71,17 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000009 -->
<el-tab-pane label="申报信息" name="cfactlp,cnyp1">
<!-- <el-tab-pane label="申报信息" name="cfactlp,cnyp1">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
......
......@@ -520,10 +520,6 @@ export default {
route: '/business-new/brtdcr'
},
{
label:'接收不符点',
route:'/business-new/brtacp'
},
{
label:'承兑',
route:'/business-new/brtudp'
},
......@@ -551,6 +547,10 @@ export default {
label:'单据注销',
route:'/business-new/brtcan'
},
{
label:'接受不符点',
route:'/business-new/brtacp'
},
],
currentHandleRow: {},
};
......
......@@ -357,7 +357,7 @@ export default {
handlerDataList: [],
btnRouteMap: [
{
label: '注销',
label: '信用证注销',
route: '/business-new/litcan'
},
{
......
export default {
buildPtspta(ptsptaObj) {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
......@@ -13,149 +13,113 @@ export default {
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData(model, trnName) {
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
segtyp: model.gidgrp.rec.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
liduil: model.lidgrp.rec.liduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
MAX: model.lidgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId
? window.sessionStorage.userId
: 'ZL',
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj;
return dataObj
},
buildSetfeg(model, trnName) {
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
// doceot: model.trnmod.trndoc.doceot,
};
return params;
return params
},
buildSetglg(model, trnName) {
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params;
return params
},
buildGlentry(model, trnName) {
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
segtyp: model.gidgrp.rec.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
},
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
transName: trnName,
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params;
return params
},
buildEngp(model, trnName) {
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
cbsMap: {
CNF: model.gidgrp.cbs.cnf,
},
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
transName: trnName,
liaallg: model.liaall.liaallg,
};
params.rec = {
...params.rec,
opndat: model.gidgrp.rec.opndat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
};
return params;
return params
},
buildDocpan(model, trnName) {
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
cnfsta: model.gidgrp.rec.cnfsta,
revflg: model.gidgrp.rec.revflg,
},
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
transName: trnName,
};
return params;
return params
},
buildCcvpan(model, trnName) {
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
params.rec = {
...params.rec,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params;
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
......@@ -164,9 +128,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
......@@ -180,4 +144,4 @@ export default {
};
return params
}
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -6,7 +6,10 @@ import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
......@@ -15,18 +18,22 @@ export default {
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/litcan/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr,
// lidInr:'00006832',
lidgrp:{
rec:{
// inr:this.$route.query.inr
inr:'00006829'
inr:this.$route.query.inr
}
}
});
if (!res.data) {
return
......@@ -63,7 +70,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......@@ -79,22 +86,20 @@ export default {
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(
this.model,
this.trnName
);
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
......@@ -111,7 +116,7 @@ export default {
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
// 获取litcan弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
......@@ -125,7 +130,7 @@ export default {
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
// 选中litcan弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
......@@ -194,5 +199,5 @@ export default {
return
}
}
}
}
\ No newline at end of file
},
};
......@@ -3,13 +3,22 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litcan {
constructor() {
this.data = {
sndmsg: 'X',
litapll1blk: '',
litrmbl3blk: '',
litcanl1blk: '',
cbsMap:{
MAX:{
cur:''
}
},
gitp:{
swiftflg:'',
},
sndmsg: '',
lidgrp: {
ghd:{
segtyp:'',
},
rec: {
branchinr: '00000047',
inr:'',
branchinr: '',
ownref: '', // 参考号 .lidgrp.rec.ownref
nam: '', // 名称 .lidgrp.rec.nam
avbby: '', // 兑付方式 .lidgrp.rec.avbby
......@@ -31,15 +40,29 @@ export default class Litcan {
cur: '', // 信用证余额 .lidgrp.cbs.opn1.cur
amt: '', // Balance .lidgrp.cbs.opn1.amt
},
max: {
cur: '', // 信用证余额 .lidgrp.cbs.opn1.cur
amt: '', // Balance .lidgrp.cbs.opn1.amt
},
},
apl: {
pts: new Pts().data,
pts: {
ref:'',
nam:'',
}
},
ben: {
pts: new Pts().data,
pts: {
ref:'',
nam:'',
}
},
adv: {
pts: new Pts().data,
pts: {
ref:'',
nam:'',
}
},
avbnam: '', // 指定银行 .lidgrp.avbnam
},
......@@ -52,25 +75,7 @@ export default class Litcan {
strinf: '', // Narrative .litcanf.strinf
},
gcdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
oth: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
......@@ -95,23 +100,8 @@ export default class Litcan {
},
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
gartyp: ''
},
ghd: {
wahnum: '',
remark: '',
bustyp: '',
segtyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
rec:{
objinr:'',
},
ctr: {
pts: new Pts().data,
......@@ -137,41 +127,11 @@ export default class Litcan {
apl: {
pts: new Pts().data,
},
cbs: {
max: '',
}
},
liaall: {
concur: '',
liaccv: {
concur: '',
newamt: '',
dnfmod: {
zhruzh: '',
kehuzh: '',
intdsp: '',
lxzyzh: '',
pridsp: '',
yewudh: '',
qicuje: '',
ccvtyp: '',
tizamt: '',
zhqtyp: '',
stm8023: '',
zhhuye: '',
zhqucs: ''
},
relcshpct: '',
gleflg: '',
addinf: '',
newresamt: '',
chgcurflg: '',
pctresamt: '',
cshpct: '',
totcovamt: ''
},
outpct: '',
exttotamt: '',
exttotoldamt: '',
outamt: '',
misamt: '',
con: {
pts: new Pts().data,
},
......@@ -189,69 +149,6 @@ export default class Litcan {
},
},
trnmod: {
trndia: {
usrget: {
sdamod: {
seainf: ''
}
},
atpget: {
sdamod: {
seainf: '',
dadsnd: ''
}
},
usr: {
extkey: ''
},
diamodflg: '',
dspstm: '',
atp: {
cod: ''
},
diarec: {
prechkdat: '',
inftxt: '',
usr: '',
ptyextkey: '',
paycur: '',
dat: '',
ownusg: '',
cod: '',
donflg: '',
nam: '',
payamt: '',
ptynam: ''
},
atptxt: ''
},
ptsmod: {
adrp: {
prtpanblk: ''
}
},
trndoc: {
condocstm: '',
filrecv: '',
amdapl: '',
doclbl: '',
doctrestm: '',
shwout: '',
shwinc: '',
amdnam: '',
advnam: '',
advdoc: '',
advlabel: '',
rcvatt: {
seainf: ''
}
},
docimm: {
xmldocblk: '',
prtswtpblk: '',
ascin: '',
prtswtrpblk: ''
},
ctr: {
pts: new Pts().data,
},
......
......@@ -20,11 +20,29 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
......@@ -70,6 +88,9 @@ import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Setpan from "~/components/business/setmod/views";
import Engp from "~/components/business/engp/views";
import Glentry from "~/components/business/glentry/views";
import Glepan from "~/components/business/glentry/views";
export default {
name: "Litcan",
......@@ -85,6 +106,9 @@ export default {
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glentry": Glentry,
"m-glepan": Glepan,
},
provide() {
return {
......
......@@ -19,42 +19,47 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
MAX: model.lidgrp.cbs.max,
OLDMAX: model.lidgrp.cbs.oldmax,
MAX2: model.lidgrp.cbs.max2,
NOM1: model.lidgrp.cbs.nom1,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -117,7 +122,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objtyp: 'LID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
......@@ -128,7 +133,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objtyp: 'LID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
......
......@@ -25,9 +25,16 @@ export default {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/litdav/init', {
...params,
// ...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
rec:{
inr:'00000122',
}
}
});
if (!res.data) {
return
......@@ -64,7 +71,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......
......@@ -145,32 +145,32 @@ export default {
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
// "setmod.zmqacc":[
// {type: "string", required: false, message: "必输项"},
// {max: 20,message:"长度不能超过20"}
// ],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
// "mtabut.coninf.oitinf.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
// "mtabut.coninf.oitset.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
"mtabut.coninf.conexedat":[
{type: "string", required: false, message: "输入正确的日期"}
......
......@@ -71,6 +71,7 @@ export default class Litdav {
pts: new Pts().data,
},
rec: {
cur:'',
totcur: '',
advtyp: '',
ownref: '',
......@@ -113,6 +114,7 @@ export default class Litdav {
},
lidgrp: {
rec: {
branchinr:'00000047',
revflg: '',
expdat: '',
expplc: '',
......@@ -134,37 +136,18 @@ export default class Litdav {
amt: ''
}
},
avbnam: ''
avbnam: '',
apl:{
pts: new Pts().data,
},
adv:{
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
},
// liaall: {
// limmod: {
// ownref: '',
// dggrd: '',
// limpts: {
// wrk: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// oth: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// pfcod1: '',
// pfcod2: '',
// nonrevflg1: '',
// nonrevflg2: ''
// },
// comamt: '',
// ccvamt: '',
// limgrd: '',
// lmegrd: '',
// tygrd: ''
// }
// },
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -197,7 +197,9 @@ export default {
};
},
methods: {},
created: async function () {},
mounted () {
this.init()
},
};
</script>
<style>
......
......@@ -28,7 +28,11 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidinr: this.$route.query.inr
lidgrp:{
rec:{
inr: this.$route.query.inr
}
},
});
if (!res.data) {
......
......@@ -99,6 +99,7 @@ export default class Litdck {
utlnbr: '',
opndat: '',
redclsflg: '',
inr: '',
},
cbs: {
opn1: {
......
......@@ -21,13 +21,15 @@ export default {
...doctre,
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('review_' + this.trnName))
}
const loading = this.loading();
const res = await Api.post('/service/litopn/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
loading.close();
if (!res.data) {
return
}
......@@ -157,5 +159,6 @@ export default {
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
},
};
......@@ -133,9 +133,10 @@ export default {
this.$router.push({
// name: 'Review-new' + trnName.charAt(0).toUpperCase() + trnName.substring(1),
path: 'review-new/' + row['inifrm'].toLowerCase(),
query: { trn: row['inr'], operateId: 'operateId' },
query: { trn: row['inr'], operateId: operateId },
params: { prePageId: this.model.pageId },
});
localStorage.setItem(`review_${row.inifrm.toLowerCase()}`, JSON.stringify(row))
},
async onRelrow(idx) {
......@@ -144,20 +145,21 @@ export default {
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
const selIds = [idx + 1]; //rowno选中行
const selDst = 'trncorco.trnstm'; //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule('relrow', params);
if (rtnmsg.respCode == SUCCESS) {
let params = {
transName: 'trnrel',
userId: window.sessionStorage.userId || 'ZL',
selirn: [this.$route.query.trn]
}
let rtnmsg = await Api.post('/service/trnrel/relrow', params);
if (rtnmsg.respCode === SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag = !rtnmsg.data.fieldErrors;
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
for (const key in rtnmsg.data.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsgVal = rtnmsg.data.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
......@@ -170,27 +172,22 @@ export default {
message: '复核成功',
type: 'success',
});
// const that = this.root;
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch();
// 刷新表格
this.$store.commit('setLoadingFreshReview', true);
});
}
} else {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag = !rtnmsg.data.fieldErrors;
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
for (const key in rtnmsg.data.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsgVal = rtnmsg.data.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
} else if (rtnmsg.respMsg) {
......@@ -211,15 +208,21 @@ export default {
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
const selIds = [idx + 1]; //rowno选中行
const selDst = 'trncorco.trnstm'; //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await reprow(this.wrapper(params));
let params = {
trninr: this.$route.query.trn,
transName: 'trnrel',
userId: sessionStorage.getItem('userId') || 'ZL',
pageId: this.model.pageId || '1',
dflg: '',
relflg: '',
inidatfro: '',
inidattol: '',
};
let rtnmsg = await Api.post('/service/trnrel/reprow', params);
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag =
!rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
......@@ -241,12 +244,14 @@ export default {
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch();
// 刷新表格
this.$store.commit('setLoadingFreshReview', true);
});
}
} else {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
let fieldErrorsFlag =
!rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
......
......@@ -142,19 +142,19 @@ export default {
},
},
watch: {
'model.trnmod.trndoc.doceot': {
handler(val, oldVal) {
var arr = [];
let k = 0;
for (let i = 0; i < val.length; i++) {
if (val[i].role != '') {
arr[k++] = val[i];
}
}
this.data1 = arr;
},
immediate: true,
},
// 'model.trnmod.trndoc.doceot': {
// handler(val, oldVal) {
// var arr = [];
// let k = 0;
// for (let i = 0; i < val.length; i++) {
// if (val[i].role != '') {
// arr[k++] = val[i];
// }
// }
// this.data1 = arr;
// },
// immediate: true,
// },
model: {
handler (newVal) {
console.log('model', newVal)
......
......@@ -178,5 +178,11 @@ export default {
}
loading.close();
},
async handlePass(data) {
this.$store.state.Transaction.operateFuns[data.operateId]["pass"]()
},
async handleRefuse(data) {
this.$store.state.Transaction.operateFuns[data.operateId]["refuse"]()
},
}
}
\ No newline at end of file
<template>
<ReviewWrapper>
<Litopn></Litopn>
</ReviewWrapper>
</template>
<script>
import Litopn from "~/business/litopn/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitopn",
components: { ReviewWrapper, Litopn },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -32,7 +32,6 @@ const Business = [
{ path: 'gitcom', component: () => import('~/business/gitcom/views'), name: 'gitcom', meta: { title: '进口保函定期收费' } },
{ path: 'brtdck', component: () => import('~/business/brtdck/views'), name: 'brtdck', meta: { title: '进口信用证单据单据改单/二次到单' } },
{ path: 'brtlat', component: () => import('~/business/brtlat/views'), name: 'brtlat', meta: { title: '进口信用证单据偿还垫款' } },
{ path: 'brtacp', component: () => import('~/business/brtacp/views'), name: 'brtacp', meta: { title: '进口信用证单据接受不符点' } },
{ path: 'litsel', component: () => import('~/business/litsel/views'), name: 'litsel', meta: { title: '进口信用证入口交易' } },
{ path: 'litcan', component: () => import('~/business/litcan/views'), name: 'litcan', meta: { title: '进口信用证注销' } },
{ path: 'brtset', component: () => import('~/business/brtset/views'), name: 'brtset', meta: { title: '进口信用证单据进口付汇' } },
......
const Business = [
{ path: 'gitopn', component: () => import('~/review/gitopn/views'), name: 'gitopn', meta: { title: '复核-Gitopn' } },
{ path: 'litopn', component: () => import('~/review/ReviewLitopn.vue'), name: 'litopn', meta: { title: '复核-Litopn' } },
]
export default Business
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