Commit 21dbde91 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 7a6c093e 937dcc16
...@@ -28,6 +28,9 @@ export default { ...@@ -28,6 +28,9 @@ export default {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
// lidInr:'00000013',
lidInr:'00006821',
}); });
if (!res.data) { if (!res.data) {
return return
......
...@@ -18,10 +18,10 @@ export default { ...@@ -18,10 +18,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "integer", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
], // ],
"brtp.recget.sdamod.dadsnd":[ "brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -39,11 +39,11 @@ export default { ...@@ -39,11 +39,11 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.cbs.max.amt":[ // "brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brdgrp.apl.pts.ref":[ "brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -52,11 +52,11 @@ export default { ...@@ -52,11 +52,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ // "brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
......
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 Brtacp{ export default class Brtacp {
constructor () { constructor() {
this.data = { this.data = {
gitp: { gitp: {
swiftflg: '', swiftflg: '',
}, },
gidgrp: { gidgrp: {
shp:{ shp: {
pts: new Pts().data, pts: new Pts().data,
}, },
rec: { rec: {
branchinr: '00000047', branchinr: '00000047',
ownref: '', // Reference .gidgrp.rec.ownref ownref: '', // Reference .gidgrp.rec.ownref
purposin: '', // Incoming Purpose .gidgrp.rec.purposin purposin: '', // Incoming Purpose .gidgrp.rec.purposin
purpos: '', // Outgoing Purpose .gidgrp.rec.purpos purpos: '', // Outgoing Purpose .gidgrp.rec.purpos
hndtyp: '', // Handling Type .gidgrp.rec.hndtyp hndtyp: '', // Handling Type .gidgrp.rec.hndtyp
gartyp: '', // Type of Undertaking .gidgrp.rec.gartyp gartyp: '', // Type of Undertaking .gidgrp.rec.gartyp
legfrm: '', // Form of Undertaking .gidgrp.rec.legfrm legfrm: '', // Form of Undertaking .gidgrp.rec.legfrm
demand: '', // Demand Indicator .gidgrp.rec.demand demand: '', // Demand Indicator .gidgrp.rec.demand
fingua: '', // 是否对外担保 .gidgrp.rec.fingua fingua: '', // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp: '', // 对外担保类型 .gidgrp.rec.cfaguatyp cfaguatyp: '', // 对外担保类型 .gidgrp.rec.cfaguatyp
cmtflg: '', // 跨境人民币保函 .gidgrp.rec.cmtflg cmtflg: '', // 跨境人民币保函 .gidgrp.rec.cmtflg
giduil: '', // Language of Undertak. .gidgrp.rec.giduil giduil: '', // Language of Undertak. .gidgrp.rec.giduil
vrfdat: '', // 核销日期 .gidgrp.rec.vrfdat vrfdat: '', // 核销日期 .gidgrp.rec.vrfdat
gtxinr: '', // Choice of Text .gidgrp.rec.gtxinr gtxinr: '', // Choice of Text .gidgrp.rec.gtxinr
fenlishi: '', // 是否分离式保函 .gidgrp.rec.fenlishi fenlishi: '', // 是否分离式保函 .gidgrp.rec.fenlishi
atxinr: '', // Choice of Text .gidgrp.rec.atxinr atxinr: '', // Choice of Text .gidgrp.rec.atxinr
orddat: '', // Order Date .gidgrp.rec.orddat orddat: '', // Order Date .gidgrp.rec.orddat
expflg: '', // Unlimited Guarantee .gidgrp.rec.expflg expflg: '', // Unlimited Guarantee .gidgrp.rec.expflg
expdat: '', // Valid until .gidgrp.rec.expdat expdat: '', // Valid until .gidgrp.rec.expdat
liaflg: '', // Unlimited Liability .gidgrp.rec.liaflg liaflg: '', // Unlimited Liability .gidgrp.rec.liaflg
liadat: '', // Our Liability until .gidgrp.rec.liadat liadat: '', // Our Liability until .gidgrp.rec.liadat
inudat: '', // Inure Date .gidgrp.rec.inudat inudat: '', // Inure Date .gidgrp.rec.inudat
nam: '', // Name .gidgrp.rec.nam nam: '', // Name .gidgrp.rec.nam
liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
delori: '', // Delivery of Undertak. .gidgrp.rec.delori delori: '', // Delivery of Undertak. .gidgrp.rec.delori
deloritxt: '', // Delivery of Undertak. .gidgrp.rec.deloritxt deloritxt: '', // Delivery of Undertak. .gidgrp.rec.deloritxt
sndto: '', // Undertaking Send to .gidgrp.rec.sndto sndto: '', // Undertaking Send to .gidgrp.rec.sndto
delto: '', // Deliv. To/Collection By .gidgrp.rec.delto delto: '', // Deliv. To/Collection By .gidgrp.rec.delto
chato: '', // Own Charges Borne by .gidgrp.rec.chato chato: '', // Own Charges Borne by .gidgrp.rec.chato
orcref: '', // Contract Reference .gidgrp.rec.orcref orcref: '', // Contract Reference .gidgrp.rec.orcref
orcdat: '', // Date from Original Contract .gidgrp.rec.orcdat orcdat: '', // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat: '', // Closing Date .gidgrp.rec.tenclsdat tenclsdat: '', // Closing Date .gidgrp.rec.tenclsdat
orccur: '', // Contract Amount .gidgrp.rec.orccur orccur: '', // Contract Amount .gidgrp.rec.orccur
orcamt: '0.00', // Contract Amount .gidgrp.rec.orcamt orcamt: '0.00', // Contract Amount .gidgrp.rec.orcamt
acc: '', // A/c for Adv. Paym. Guar. .gidgrp.rec.acc acc: '', // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20: '', // Governing Law .gidgrp.rec.jurlaws20 jurlaws20: '', // Governing Law .gidgrp.rec.jurlaws20
jurlaw: '', // Law of Jurisdiction .gidgrp.rec.jurlaw jurlaw: '', // Law of Jurisdiction .gidgrp.rec.jurlaw
tenref: '', // Tender Reference .gidgrp.rec.tenref tenref: '', // Tender Reference .gidgrp.rec.tenref
tendat: '', // Tender Date .gidgrp.rec.tendat tendat: '', // Tender Date .gidgrp.rec.tendat
trmdat: '', // Latest Transmiss. Date .gidgrp.rec.trmdat trmdat: '', // Latest Transmiss. Date .gidgrp.rec.trmdat
mannum: '', // 手册号码 .gidgrp.rec.mannum mannum: '', // 手册号码 .gidgrp.rec.mannum
bngcod: '', // 企业海关编码 .gidgrp.rec.bngcod bngcod: '', // 企业海关编码 .gidgrp.rec.bngcod
juscod: '', // 组织机构代码 .gidgrp.rec.juscod juscod: '', // 组织机构代码 .gidgrp.rec.juscod
cunqii: '', // 流动资金贷款利率档次 .gidgrp.rec.cunqii cunqii: '', // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv: 0, // 上浮比率 .gidgrp.rec.bilvvv bilvvv: 0, // 上浮比率 .gidgrp.rec.bilvvv
jurplc: '', // Place of Jurisdiction .gidgrp.rec.jurplc jurplc: '', // Place of Jurisdiction .gidgrp.rec.jurplc
reccnfdet: '', // Confirm. Instr. .gidgrp.rec.reccnfdet reccnfdet: '', // Confirm. Instr. .gidgrp.rec.reccnfdet
cnfdet: '', cnfdet: '',
cnfsta: '', // Confirmation Status .gidgrp.rec.cnfsta cnfsta: '', // Confirmation Status .gidgrp.rec.cnfsta
partcon: 0, // Partial Confirmation .gidgrp.rec.partcon partcon: 0, // Partial Confirmation .gidgrp.rec.partcon
cnfdat: '', // Confirmation Date .gidgrp.rec.cnfdat cnfdat: '', // Confirmation Date .gidgrp.rec.cnfdat
opndat: '', opndat: '',
opndatc: '', // Requested Issue Date .gidgrp.rec.opndatc opndatc: '', // Requested Issue Date .gidgrp.rec.opndatc
gartypc: '', // Undertaking Type .gidgrp.rec.gartypc gartypc: '', // Undertaking Type .gidgrp.rec.gartypc
gartyptxtc: '', // Undertaking Type .gidgrp.blk.gartyptxtc gartyptxtc: '', // Undertaking Type .gidgrp.blk.gartyptxtc
legfrmc: '', // Form of Undertaking .gidgrp.rec.legfrmc legfrmc: '', // Form of Undertaking .gidgrp.rec.legfrmc
demandc: '', // Demand Indicator .gidgrp.rec.demandc demandc: '', // Demand Indicator .gidgrp.rec.demandc
stdwrduilc: '', // Requested Language .gidgrp.rec.stdwrduilc stdwrduilc: '', // Requested Language .gidgrp.rec.stdwrduilc
gtxinrc: '', // Choice of Text .gidgrp.rec.gtxinrc gtxinrc: '', // Choice of Text .gidgrp.rec.gtxinrc
exptyp: '', // Expiry Type .gidgrp.rec.exptyp exptyp: '', // Expiry Type .gidgrp.rec.exptyp
deloritxtc: '', // Delivery of Undertak. .gidgrp.rec.deloritxtc deloritxtc: '', // Delivery of Undertak. .gidgrp.rec.deloritxtc
orcrefc: '', // Contract Reference .gidgrp.rec.orcrefc orcrefc: '', // Contract Reference .gidgrp.rec.orcrefc
tenclsdatc: '', // Closing Date .gidgrp.rec.tenclsdatc tenclsdatc: '', // Closing Date .gidgrp.rec.tenclsdatc
orccurc: '', // Contract Amount .gidgrp.rec.orccurc orccurc: '', // Contract Amount .gidgrp.rec.orccurc
orcamtc: '', // Contract Amount .gidgrp.rec.orcamtc orcamtc: '', // Contract Amount .gidgrp.rec.orcamtc
accc: '', // A/c Adv. Paym. Guar. .gidgrp.rec.accc accc: '', // A/c Adv. Paym. Guar. .gidgrp.rec.accc
jurlawc: '', // Governing Law .gidgrp.rec.jurlawc jurlawc: '', // Governing Law .gidgrp.rec.jurlawc
jurlawtxtc: '', // Governing Law .gidgrp.rec.jurlawtxtc jurlawtxtc: '', // Governing Law .gidgrp.rec.jurlawtxtc
jurplcc: '', // Place of Jurisdiction .gidgrp.rec.jurplcc jurplcc: '', // Place of Jurisdiction .gidgrp.rec.jurplcc
tenrefc: '', // Tender Reference .gidgrp.rec.tenrefc tenrefc: '', // Tender Reference .gidgrp.rec.tenrefc
tendatc: '', // Tender Date .gidgrp.rec.tendatc tendatc: '', // Tender Date .gidgrp.rec.tendatc
trmdatc: '', // Latest Transmission .gidgrp.rec.trmdatc trmdatc: '', // Latest Transmission .gidgrp.rec.trmdatc
orcratc: '', // Original Perc./ Rate .gidgrp.rec.orcratc orcratc: '', // Original Perc./ Rate .gidgrp.rec.orcratc
}, },
cbs: { cbs: {
cnf: { cnf: {
cur: '', // Confirmation Amount .gidgrp.cbs.cnf.cur cur: '', // Confirmation Amount .gidgrp.cbs.cnf.cur
amt: '0.00', // Balance .gidgrp.cbs.cnf.amt 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
},
ghd: {
segtyp: '', // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp: '', // 业务类型 .gidgrp.ghd.bustyp
remark: '', // 备注 .gidgrp.ghd.remark
},
gidcxm: {
warran: '', // 被保证人 .gidgrp.gidcxm.warran
cxmflg: '', // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
},
apc: {
pts: new Pts().data,
},
ctc: {
pts: new Pts().data,
},
bec: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
cnr: {
pts: new Pts().data,
},
at2: {
pts: new Pts().data,
},
},
brdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
}, },
acb: { mac2: {
adrelc: '', cur: '',
dbfadrblkcn: '', amt: '0.00',
namelc: '',
pts: new Pts().data,
}, },
ben: { mac: {
adrelc: '', cur: '',
dbfadrblkcn: '', amt: '0.00',
namelc: '',
pts: new Pts().data,
}, },
apl: { max: {
adrelc: '', cur: '', // Guarantee Amount .gidgrp.cbs.max.cur
dbfadrblkcn: '', amt: '0.00', // Guarantee Amount .gidgrp.cbs.max.amt
namelc: '',
pts: new Pts().data,
}, },
blk: { max2: {
chaded: '', cur: '',
docdisflg: '', amt: '0.00',
chaadd: '',
docdis: ''
}, },
rec: { opc2: {
totcur: '', cur: '',
ownref: '', amt: '0.00',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
}, },
cbs: { opn1: {
opn1: { cur: '', // Open Amount .gidgrp.cbs.opn1.cur
cur: '' amt: '0.00', // Balance .gidgrp.cbs.opn1.amt
}, },
opn2: { },
cur: '' blk: {
}, apprul: '', // Applicable Rules .gidgrp.blk.apprul
max: { apprultxt: '', // Applicable Rules .gidgrp.blk.apprultxt
cur: '', exptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.exptxt
amt: '' atxexptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
}, liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
max2: { atxliatxtc: '', // Liability Condition .gidgrp.blk.atxliatxtc
amt: '' 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
},
ghd: {
segtyp: '', // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp: '', // 业务类型 .gidgrp.ghd.bustyp
remark: '', // 备注 .gidgrp.ghd.remark
},
gidcxm: {
warran: '', // 被保证人 .gidgrp.gidcxm.warran
cxmflg: '', // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
},
apc: {
pts: new Pts().data,
},
ctc: {
pts: new Pts().data,
},
bec: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
cnr: {
pts: new Pts().data,
}, },
brtp: { at2: {
furide: '', pts: new Pts().data,
matp: { },
mattxtlab: '' },
brdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: ''
},
rec: {
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: '',
rcvdat:'',
advdat:'',
docflg:'',
tenmaxday:'',
docsta:'',
},
matp: {
mattxtlab:'',
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
},
}
},
brtp: {
furide: '',
matp: {
mattxtlab: ''
}
},
lidgrp: {
rec: {
expdat: '',
ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: 0
} }
}
},
gcdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
}, },
lidgrp: { oth: {
rec: { adrelc: '',
expdat: '', dbfadrblkcn: '',
ownref: '' namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
}, },
cbs: { max: {
opn1: { cur: '',
cur: '', amt: ''
amt: ''
}
} }
}, },
gcdgrp: { ben: {
prb: { pts: new Pts().data,
adrelc: '', },
dbfadrblkcn: '', apl: {
namelc: '', pts: new Pts().data,
pts: new Pts().data, },
}, adv: {
rec: { pts: new Pts().data,
clmdat: '', },
ownref: '', apl: {
payrol: '', pts: new Pts().data,
nam: '', },
docprbrol: '', },
}, setmod: new Pub().data.Setmod,
oth: { mtabut: new Pub().data.Mtabut,
adrelc: '', trnmod: new Pub().data.Trnmod,
dbfadrblkcn: '', liaall: new Pub().data.Liaall,
namelc: '', liaccv: new Pub().data.Liaccv,
pts: new Pts().data, docpan: new Pub().data.Docpan,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
}; };
} }
} }
...@@ -6,29 +6,17 @@ ...@@ -6,29 +6,17 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"
v-model="model.lidgrp.rec.ownref" disabled></c-input>
maxlength="16"
placeholder="请输入信用证编号"
disabled
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button style="
style="
margin: 0 10px 0 10px; margin: 0 10px 0 10px;
padding: 0 12px; padding: 0 12px;
" " size="small" type="primary">
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size:15px"></i> <i class="el-icon-info" style="font-size:15px"></i>
</c-button> </c-button>
<c-button <c-button style="margin: 0 0" size="small" type="primary"
style="margin: 0 0" :disabled="!this.flag && model.lidgrp.rec.ownref == '' ? false : true">
size="small"
type="primary"
:disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true"
>
获取 获取
</c-button> </c-button>
</template> </template>
...@@ -39,29 +27,17 @@ ...@@ -39,29 +27,17 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据编号" prop="brdgrp.rec.ownref"> <el-form-item label="单据编号" prop="brdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"
v-model="model.brdgrp.rec.ownref" disabled></c-input>
maxlength="16"
placeholder="请输入单据参考号"
disabled
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button style="
style="
margin: 0 10px 0 10px; margin: 0 10px 0 10px;
padding: 0 12px; padding: 0 12px;
" " size="small" type="primary">
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size:15px"></i> <i class="el-icon-info" style="font-size:15px"></i>
</c-button> </c-button>
<c-button <c-button style="margin: 0 0" size="small" type="primary"
style="margin: 0 0" :disabled="!this.flag && model.brdgrp.rec.ownref == '' ? false : true">
size="small"
type="primary"
:disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true"
>
获取 获取
</c-button> </c-button>
</template> </template>
...@@ -71,98 +47,61 @@ ...@@ -71,98 +47,61 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="生效日期" prop="lidgrp.rec.expdat"> <el-form-item label="生效日期" prop="lidgrp.rec.expdat">
<c-date-picker <c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width: 100%" placeholder="请选择日期"
type="date" disabled></c-date-picker>
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ---------------Right--------------- --> <!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="开证金额" prop="lidgrp.cbs.opn1.cur"> <el-form-item label="开证金额" prop="lidgrp.cbs.opn1.cur">
<c-select <c-select disabled v-model="model.lidgrp.cbs.opn1.cur" style="width: 100%" placeholder="请选择币种">
disabled <el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label"
v-model="model.lidgrp.cbs.opn1.cur" :value="item.value">
style="width: 100%" </el-option>
placeholder="请选择币种" </c-select>
> </el-form-item>
<el-option </c-col>
v-for="item in codes.curtxt1"
:key="item.value" <c-col :span="12">
:label="item.label" <el-form-item style="text-align: left" label-width="5px" prop="lidgrp.cbs.opn1.amt">
:value="item.value" <c-input disabled v-model="model.lidgrp.cbs.opn1.amt" style="text-align: left; width: 100%"
> placeholder=""></c-input>
</el-option> </el-form-item>
</c-select> </c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="5px"
prop="lidgrp.cbs.opn1.amt"
>
<c-input
disabled
v-model="model.lidgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
label="单据简略信息" <c-input v-model="model.brdgrp.rec.nam" placeholder="" disabled></c-input>
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
placeholder=""
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-litTemp <c-litTemp :model="model" :argadr="{
:model="model" title: '',
:argadr="{ trans: 'brdgrp',
title: '', trans1: 'brtp',
trans: 'brdgrp', }" :rol="[
trans1:'brtp', {
}" title: '申请人',
:rol="[ trans: 'apl',
{ },
title: '申请人', {
trans: 'apl', title: '受益人',
}, trans: 'ben',
{ },
title: '受益人', {
trans: 'ben', title: '寄单行',
}, trans: 'prb',
{ },
title: '寄单行', ]" :isAdvdat="true" :isMattxtlab="true" :isTenmaxday="true">
trans: 'prb',
},
]"
:isAdvdat="true"
:isMattxtlab="true"
:isTenmaxday="true"
>
</c-litTemp> </c-litTemp>
</c-col> </c-col>
...@@ -170,64 +109,30 @@ ...@@ -170,64 +109,30 @@
<!-- ---------------Left--------------- --> <!-- ---------------Left--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="进一步确认" prop="brtp.furide">
label="进一步确认" <c-select v-model="model.brtp.furide" style="width: 100%" placeholder="请选择内容">
prop="brtp.furide" <el-option v-for="item in furide" :key="item.value" :label="item.label" :value="item.value">
>
<c-select
v-model="model.brtp.furide"
style="width: 100%"
placeholder="请选择内容"
>
<el-option
v-for="item in furide"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
label="不符点通知日期" <c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width: 100%"
prop="brdgrp.rec.disdat" placeholder="请选择不符点通知日期"></c-date-picker>
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.disdat"
style="width: 100%"
placeholder="请选择不符点通知日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item label="通知金额总和" prop="brdgrp.rec.totcur">
label="通知金额总和" <c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请选择币种" disabled></c-input>
prop="brdgrp.rec.totcur"
>
<c-input
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item label="" prop="brdgrp.rec.totamt" label-width="5px">
label="" <c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入金额"></c-input>
prop="brdgrp.rec.totamt"
label-width="5px"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -236,37 +141,20 @@ ...@@ -236,37 +141,20 @@
<!-- ---------------Right--------------- --> <!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="交单行角色" prop="brdgrp.rec.docprbrol">
label="交单行角色" <c-select disabled v-model="model.brdgrp.rec.docprbrol" style="width: 100%" placeholder="请选择">
prop="brdgrp.rec.docprbrol" <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label"
> :value="item.value">
<c-select
disabled
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap1 :model="model" :argadr="{
:model="model" title: '',
:argadr="{ grp: 'brdgrp',
title: '', rol: 'prb',
grp: 'brdgrp', }" :disabled="true" :isAdrblk="false">
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1> </c-ptap1>
</c-col> </c-col>
</c-col> </c-col>
...@@ -301,8 +189,7 @@ export default { ...@@ -301,8 +189,7 @@ export default {
}; };
}, },
methods: {}, methods: {},
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb"> <!--el-collapse-item title="备查表" name="addbcb">
<c-addbcb :model="model" :codes="codes" /> <c-addbcb :model="model" :codes="codes" />
</el-collapse-item--> </el-collapse-item-->
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<c-coninfp :model="model" :codes="codes" /> <c-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse>
</el-collapse>
</div> </div>
</template> </template>
<script> <script>
...@@ -22,8 +22,8 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -22,8 +22,8 @@ import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"c-coninfp": Coninfp, "c-coninfp": Coninfp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
...@@ -35,9 +35,8 @@ export default { ...@@ -35,9 +35,8 @@ export default {
}, },
methods: {}, methods: {},
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style></style>
</style>
...@@ -4,37 +4,16 @@ ...@@ -4,37 +4,16 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
label="单据金额" <c-select v-model="model.brdgrp.cbs.max.cur" style="width: 100%" placeholder="请选择单据金额" disabled>
prop="brdgrp.cbs.max.cur" <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
>
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
label="" <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
label-width="5px"
prop="brdgrp.cbs.max.amt"
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -42,146 +21,78 @@ ...@@ -42,146 +21,78 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select v-model="model.brdgrp.cbs.opn2.cur" style="width: 100%" placeholder="请选择附加金额" disabled>
v-model="model.brdgrp.cbs.opn2.cur" <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
placeholder="请选择附加金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item label="" label-width="5px" prop="brdgrp.cbs.max2.amt">
label="" <c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额" disabled></c-input>
label-width="5px"
prop="brdgrp.cbs.max2.amt"
>
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item label="待支付金额" prop="brdgrp.rec.totcur">
label="待支付金额" <c-select v-model="model.brdgrp.rec.totcur" style="width: 100%" placeholder="请选择币种" disabled>
prop="brdgrp.rec.totcur" <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
>
<c-select
v-model="model.brdgrp.rec.totcur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item label="" label-width="5px" prop="brdgrp.rec.totamt">
label="" <c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入" disabled></c-input>
label-width="5px"
prop="brdgrp.rec.totamt"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap1 :model="model" :argadr="{
:model="model" title: '账户银行',
:argadr="{ grp: 'brdgrp',
title: '账户银行', rol: 'acb',
grp: 'brdgrp', }" :disabled="true" :disabled1="true">
rol: 'acb',
}"
:disabled="true"
:disabled1="true"
>
</c-ptap1> </c-ptap1>
</c-col> </c-col>
</c-col> </c-col>
<!-- ---------------Right--------------- --> <!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded"> <el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input <c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="210" :rows="4" show-word-limit
type="textarea" placeholder="请输入已扣除费用" disabled></c-input>
v-model="model.brdgrp.blk.chaded"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已扣除费用"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd"> <el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input <c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="210" :rows="4" show-word-limit
type="textarea" placeholder="请输入已添加费用" disabled></c-input>
v-model="model.brdgrp.blk.chaadd"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已添加费用"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis"> <el-form-item label="不符点信息" prop="brdgrp.blk.docdis">
<c-input <c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" :rows="8" show-word-limit
type="textarea" placeholder="请输入不符点" disabled></c-input>
v-model="model.brdgrp.blk.docdis"
maxlength="3500"
:rows="8"
show-word-limit
placeholder="请输入不符点"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="brdgrp.blk.docdisflg"> <el-form-item label="" prop="brdgrp.blk.docdisflg">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled <c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled>不符点修改</c-checkbox>
>不符点修改</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -199,8 +110,7 @@ export default { ...@@ -199,8 +110,7 @@ export default {
return {}; return {};
}, },
methods: {}, methods: {},
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="接受不符点" name="acpp"> <el-collapse-item title="接受不符点" name="acpp">
<c-acpp :model="model" :codes="codes" /> <c-acpp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p"> <el-collapse-item title="不符点通知" name="mt750p">
<c-mt750p :model="model" :codes="codes" /> <c-mt750p :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import event from '../event'
...@@ -26,18 +26,17 @@ export default { ...@@ -26,18 +26,17 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
components: { components: {
"c-acpp":Acpp, "c-acpp": Acpp,
"c-mt750p":Mt750p, "c-mt750p": Mt750p,
}, },
data() { data() {
return { return {
activeNames:["acpp"], activeNames: ["acpp"],
}; };
}, },
methods: {}, methods: {},
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="进口信用证单据接受不符点"> <c-page title="进口信用证单据接受不符点">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content> <el-tab-pane label="业务信息" name="ovwp">
<m-ovwp :model="model" :codes="codes"/> <c-content>
</c-content> <m-ovwp :model="model" :codes="codes"/>
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <!--PD000027 -->
<c-content> <el-tab-pane label="费用/账务" name="setmod">
<m-setmod <c-content>
:model="model" <m-setmod
:codes="codes" :model="model"
@changeSetmodModel="changeSetmodModel" :codes="codes"
/> @changeSetmodModel="changeSetmodModel"
</c-content> />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb"> <!--PD000510 -->
<c-content> <el-tab-pane label="备查/附言" name="addbcb">
<div class="eibs-tab"> <c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</div> </div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs> <!--PD000546 -->
</el-form> <el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn </c-tabs>
:handleSubmit="handleSubmit" </el-form>
:handleCheck="handleCheck"
:handleStash="handleStash" <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import event from '../event';
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import formRules from '../model/check' import formRules from '../model/check'
import Brtacp from "../model" import Brtacp from "../model"
import Acpp from "./Acpp" import Acpp from "./Acpp"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Mt750p from "./Mt750p" import Mt750p from "./Mt750p"
import Addbcb from "./Addbcb"; import Addbcb from "./Addbcb";
import Engp from "~/components/business/engp/views"; import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views"; import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views"; import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views"; import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
export default { export default {
name: "Brtacp", name: "Brtacp",
components:{ components:{
"m-acpp" : Acpp, "m-acpp" : Acpp,
"m-mt750p" : Mt750p, "m-mt750p" : Mt750p,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-addbcb": Addbcb, "m-addbcb": Addbcb,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
"m-setmod": Setmod, "m-setmod": Setmod,
"m-glentry": Glentry, "m-glentry": Glentry,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [event,commonFuncs], mixins: [event,commonFuncs],
data(){ data(){
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "brtacp", trnName: "brtacp",
model: new Brtacp().data, model: new Brtacp().data,
rules: formRules, rules: formRules,
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: ["setpan"], activeNames: ["setpan"],
} }
}, },
methods:{ methods:{
}, },
mounted () { mounted () {
this.init() this.init()
}, },
} }
</script> </script>
<style> <style>
......
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
chgamt: this.model.liaccv.chgamt, chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur, concur: this.model.liaccv.concur,
}; };
return params return params
}, },
// 公共组件setmod处理方式改变触发联动 // 公共组件setmod处理方式改变触发联动
......
...@@ -19,7 +19,14 @@ export default { ...@@ -19,7 +19,14 @@ export default {
const res = await Api.post('/service/litcan/init', { const res = await Api.post('/service/litcan/init', {
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr gidInr: this.$route.query.inr,
// lidInr:'00006832',
lidgrp:{
rec:{
// inr:this.$route.query.inr
inr:'00006829'
}
}
}); });
if (!res.data) { if (!res.data) {
return return
......
...@@ -3,9 +3,9 @@ import Pub from '~/components/business/commonModel/index.js'; ...@@ -3,9 +3,9 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litcan{ export default class Litcan{
constructor () { constructor () {
this.data = { this.data = {
litapll1blk:"", litapll1blk:'',
litrmbl3blk:"", litrmbl3blk:'',
litcanl1blk:"", litcanl1blk:'',
trnmod:new Pub().data.Trnmod, trnmod:new Pub().data.Trnmod,
liaccv: new Pub().data.Liaccv, liaccv: new Pub().data.Liaccv,
setmod:new Pub().data.Setmod, setmod:new Pub().data.Setmod,
...@@ -14,25 +14,26 @@ export default class Litcan{ ...@@ -14,25 +14,26 @@ export default class Litcan{
liaall:new Pub().data.Liaall, liaall:new Pub().data.Liaall,
lidgrp:{ lidgrp:{
rec:{ rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref ownref:'', // 参考号 .lidgrp.rec.ownref
nam:"", // 名称 .lidgrp.rec.nam nam:'', // 名称 .lidgrp.rec.nam
avbby:"", // 兑付方式 .lidgrp.rec.avbby avbby:'', // 兑付方式 .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg redclsflg:'', // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开立日期 .lidgrp.rec.opndat opndat:'', // 开立日期 .lidgrp.rec.opndat
shpdat:"", // Shipment Date .lidgrp.rec.shpdat shpdat:'', // Shipment Date .lidgrp.rec.shpdat
expdat:"", // 到期日 .lidgrp.rec.expdat expdat:'', // 到期日 .lidgrp.rec.expdat
expplc:"", // 到期日 .lidgrp.rec.expplc expplc:'', // 到期日 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp lcrtyp:'', // 信用证类型 .lidgrp.rec.lcrtyp
revflg:"", // Revolving Flag .lidgrp.rec.revflg revflg:'', // Revolving Flag .lidgrp.rec.revflg
advnam:'',
}, },
cbs:{ cbs:{
nom1:{ nom1:{
cur:"", // 开证金额 .lidgrp.cbs.nom1.cur cur:'', // 开证金额 .lidgrp.cbs.nom1.cur
amt:"", // 开证金额 .lidgrp.cbs.nom1.amt amt:'', // 开证金额 .lidgrp.cbs.nom1.amt
}, },
opn1:{ opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur cur:'', // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt amt:'', // Balance .lidgrp.cbs.opn1.amt
}, },
}, },
apl:{ apl:{
...@@ -44,18 +45,18 @@ export default class Litcan{ ...@@ -44,18 +45,18 @@ export default class Litcan{
adv:{ adv:{
pts:new Pts().data, pts:new Pts().data,
}, },
avbnam:"", // 指定银行 .lidgrp.avbnam avbnam:'', // 指定银行 .lidgrp.avbnam
}, },
litp0:{ litp0:{
aammod:{ aammod:{
addamtflg:"", // Add. Amount .litp0.aammod.addamtflg addamtflg:'', // Add. Amount .litp0.aammod.addamtflg
}, },
}, },
litcanf:{ litcanf:{
strinf:"", // Narrative .litcanf.strinf strinf:'', // Narrative .litcanf.strinf
}, },
byinst:"", // On Applicant instruction .byinst byinst:'', // On Applicant instruction .byinst
pageId: "" // ctx的key pageId: '' // ctx的key
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb"> <!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam"> <el-form-item label="可用银行" prop="lidgrp.rec.advnam">
<c-input disabled v-model="model.lidgrp.avbnam" maxlength="40" placeholder="请输入可用银行"></c-input> <c-input disabled v-model="model.lidgrp.rec.advnam" maxlength="40" placeholder="请输入可用银行"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp"> <el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select <c-select
disabled disabled
:code="codes.lcrtyp" :code="codes.lcrtyp1"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -145,7 +145,6 @@ ...@@ -145,7 +145,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onIlccanletButtxmsel"
></c-button> ></c-button>
</template> </template>
</c-fullbox> </c-fullbox>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="基本信息" name="canp"> <el-collapse-item title="基本信息" name="canp">
<m-canp :model="model" :codes="codes" /> <m-canp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
......
...@@ -13,37 +13,42 @@ ...@@ -13,37 +13,42 @@
<m-ccvpan :model="model" :codes="codes" /> <m-ccvpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes" /> <m-setmod :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -54,11 +59,13 @@ ...@@ -54,11 +59,13 @@
</template> </template>
<script> <script>
import event from '../event';
import operationFunc from '~/mixin/operationFunc';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Litcan from "../model" import Litcan from "../model"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "../model/check" import Check from "../model/check"
import event from "../event"
import Canp from "./Canp" import Canp from "./Canp"
import Shisuan from "./Shisuan" import Shisuan from "./Shisuan"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
...@@ -69,6 +76,8 @@ import Setmod from "~/components/business/setmod/views"; ...@@ -69,6 +76,8 @@ import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views"; import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
import Setpan from "~/components/business/setmod/views";
export default { export default {
name: "Litcan", name: "Litcan",
components: { components: {
...@@ -82,13 +91,14 @@ export default { ...@@ -82,13 +91,14 @@ export default {
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-addbcb": Addbcb, "m-addbcb": Addbcb,
"m-setpan": Setpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
computed: {}, computed: {},
data() { data() {
return { return {
...@@ -99,7 +109,7 @@ export default { ...@@ -99,7 +109,7 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: [""], activeNames: ["setpan"],
} }
}, },
......
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
chgamt: this.model.liaccv.chgamt, chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur, concur: this.model.liaccv.concur,
}; };
return params return params
}, },
// 公共组件setmod处理方式改变触发联动 // 公共组件setmod处理方式改变触发联动
...@@ -172,6 +172,5 @@ export default { ...@@ -172,6 +172,5 @@ export default {
return return
} }
}, },
onSeainf() {},
}, },
}; };
export default { import Utils from '~/utils';
'brtp.lidget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'}, /**
{max: 16,message:'长度不能超过16'} * Litdck Check规则
], */
'lidgrp.rec.ownref':[ let checkObj = {
{type: 'string', required: false, message: '必输项'}, invtyp: null,
{max: 16,message:'长度不能超过16'} 'outlen.acttyp': null,
], 'outlen.szflg': null,
'brtp.lidget.sdamod.seainf':[ 'liaall.misamt': null,
{type: 'string', required: false, message: '必输项'}, 'liaall.limmod.limpts.oth.pts.extkey': null,
{max: 3,message:'长度不能超过3'} 'liaall.limmod.ownref': null,
], 'liaall.limmod.ecifno': null,
'lidgrp.rec.nam':[ 'brdgrp.prb.adrelc': null,
{type: 'string', required: false, message: '必输项'}, 'brdgrp.rec.ownref': null,
{max: 40,message:'长度不能超过40'} 'brdgrp.cbs.max.amt': null,
], 'brdgrp.blk.docdis': null,
// 'lidgrp.cbs.nom1.amt':[ 'brdgrp.srm.djuref': null,
// {type: 'number', required: false, }, 'brtp.furide': null,
// {max: 18,message:'整数位不能超过14位'}, 'brdgrp.prb.pts.adrblk': null,
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'brdgrp.prb.namelc': null,
// ], 'liaall.limmod.limpts.oth.pts.nam': null,
'brdgrp.apl.pts.ref':[ 'setmod.dspflg': null,
{type: 'string', required: false, message: '必输项'}, 'brdgrp.rec.rcvdat': null,
{max: 16,message:'长度不能超过16'} 'brdgrp.rec.docflg': null,
], 'brdgrp.rec.disdat': null,
'lidgrp.cbs.opn1.cur':[ 'brdgrp.rec.orddat': null,
{type: 'string', required: false, message: '必输项'}, 'brdgrp.prb.pts.nam': null,
{max: 3,message:'长度不能超过3'} 'brdgrp.ben.pts.nam': null,
], 'liaall.limmod.limpts.wrk.pts.nam': null,
// 'lidgrp.cbs.opn1.amt':[ 'brdgrp.rec.predat': null,
// {type: 'number', required: false,}, 'brdgrp.prb.pts.extkey': null,
// {max: 18,message:'整数位不能超过14位'}, 'brdgrp.rec.matdat': null,
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'liaall.limmod.limpts.wrk.pts.extkey': null,
// ], 'brdgrp.srm.djudat': null,
'brdgrp.apl.pts.nam':[ 'mtabut.coninf.conexedat': null,
{type: 'string', required: false, message: '必输项'}, 'brdgrp.prb.pts.ref': null,
{max: 40,message:'长度不能超过40'} 'brdgrp.srm.djuusr': null,
], 'liaall.limmod.limpts.nonrevflg1': null,
'lidgrp.avbnam':[ 'brdgrp.apl.pts.nam': null,
{type: 'string', required: false, message: '必输项'}, 'setmod.docamt': null,
{max: 40,message:'长度不能超过40'} 'brdgrp.blk.setinsbr': null,
], 'brdgrp.rec.docprbrol': null,
'brdgrp.ben.pts.ref':[ 'brdgrp.blk.comcon': null,
{type: 'string', required: false, message: '必输项'}, 'brtp.lidget.sdamod.dadsnd': [
{max: 16,message:'长度不能超过16'} { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'brdgrp.ben.pts.nam':[ ],
{type: 'string', required: false, message: '必输项'}, 'lidgrp.rec.ownref': [
{max: 40,message:'长度不能超过40'} { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'lidgrp.rec.opndat':[ ],
{type: 'string', required: false, message: '输入正确的日期'} 'brtp.lidget.sdamod.seainf': [
], { type: 'string', required: false, message: '必输项' },
'lidgrp.rec.shpdat':[ { max: 3, message: '长度不能超过3' },
{type: 'string', required: false, message: '输入正确的日期'} ],
], 'lidgrp.rec.nam': [
'brdgrp.prb.pts.ref':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: true, message: '必输项'}, { max: 40, message: '长度不能超过40' },
{max: 16,message:'长度不能超过16'} ],
],
'lidgrp.rec.expdat':[ "lidgrp.cbs.nom1.amt":[
{type: 'string', required: false, message: '输入正确的日期'} // {type: "string", required: false, },
], // {max: 18,message:"整数位不能超过14位"},
'lidgrp.rec.expplc':[ // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: 'string', required: false, message: '必输项'}, ],
{max: 29,message:'长度不能超过29'} 'brdgrp.apl.pts.ref': [
], { type: 'string', required: false, message: '必输项' },
'brdgrp.prb.pts.nam':[ { max: 16, message: '长度不能超过16' },
{type: 'string', required: false, message: '必输项'}, ],
{max: 40,message:'长度不能超过40'}
], 'lidgrp.cbs.opn1.cur': [
'brtp.recget.sdamod.dadsnd':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: false, message: '必输项'}, { max: 3, message: '长度不能超过3' },
{max: 16,message:'长度不能超过16'} ],
], "lidgrp.cbs.opn1.amt":[
'brdgrp.rec.ownref':[ // {type: "string", required: false,},
{type: 'string', required: true, message: '必输项'}, // {max: 18,message:"整数位不能超过14位"},
{max: 16,message:'长度不能超过16'} // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
'brtp.recget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'}, 'brdgrp.apl.pts.nam': [
{max: 3,message:'长度不能超过3'} { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
'brdgrp.rec.nam':[ ],
{type: 'string', required: false, message: '必输项'}, 'lidgrp.avbnam': [
{max: 40,message:'长度不能超过40'} { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
// 'brdgrp.cbs.max.amt':[ ],
// {type: 'number', required: false}, 'brdgrp.ben.pts.ref': [
// {max: 18,message:'整数位不能超过14位'}, { type: 'string', required: false, message: '必输项' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { max: 16, message: '长度不能超过16' },
// ], ],
'brtp.prbp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'}, 'brdgrp.ben.pts.nam': [
{max: 16,message:'长度不能超过16'} { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
// 'brdgrp.cbs.max2.amt':[ ],
// {type: 'number', required: false}, 'lidgrp.rec.opndat': [
// {max: 18,message:'整数位不能超过14位'}, { type: 'string', required: false, message: '输入正确的日期' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } ],
// ], 'lidgrp.rec.shpdat': [
'brdgrp.prb.pts.extkey':[ { type: 'string', required: false, message: '输入正确的日期' },
{type: 'string', required: true, message: '必输项'}, ],
{max: 16,message:'长度不能超过16'} 'brdgrp.prb.pts.ref': [
], { type: 'string', required: true, message: '必输项' },
'brtp.prbp.ptsget.sdamod.seainf':[ { max: 16, message: '长度不能超过16' },
{type: 'string', required: false, message: '必输项'}, ],
{max: 3,message:'长度不能超过3'} 'lidgrp.rec.expdat': [
], { type: 'string', required: false, message: '输入正确的日期' },
'brdgrp.prb.namelc':[ ],
{type: 'string', required: false, message: '必输项'}, 'lidgrp.rec.expplc': [
{max: 35,message:'长度不能超过35'} { type: 'string', required: false, message: '必输项' },
], { max: 29, message: '长度不能超过29' },
'brdgrp.prb.pts.adrblk':[ ],
{type: 'string', required: true, message: '必输项'}, 'brdgrp.prb.pts.nam': [
{max: 300,message:'长度不能超过300'} { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
'brdgrp.prb.dbfadrblkcn':[ ],
{type: 'string', required: false, message: '必输项'},
{max: 35,message:'长度不能超过35'} 'brtp.recget.sdamod.dadsnd': [
], { type: 'string', required: false, message: '必输项' },
'brdgrp.rec.rcvdat':[ { max: 16, message: '长度不能超过16' },
{type: 'string', required: false, message: '输入正确的日期'} ],
], 'brdgrp.rec.ownref': [
'brdgrp.rec.predat':[ { type: 'string', required: true, message: '必输项' },
{type: 'string', required: true, message: '输入正确的日期'} { max: 16, message: '长度不能超过16' },
], ],
'brdgrp.prb.adrelc':[ 'brtp.recget.sdamod.seainf': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 35,message:'长度不能超过35'} { max: 3, message: '长度不能超过3' },
], ],
'brdgrp.rec.orddat':[ 'brdgrp.rec.nam': [
{type: 'string', required: false, message: '输入正确的日期'} { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
'brdgrp.rec.shpdat':[ ],
{type: 'string', required: false, message: '输入正确的日期'} "brdgrp.cbs.max.amt":[
], // {max: 18,message:"整数位不能超过14位"},
'brdgrp.rec.matdat':[ // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: 'string', required: false, message: '输入正确的日期'} ],
], 'brtp.prbp.ptsget.sdamod.dadsnd': [
'brdgrp.rec.docsta':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: false, message: '必输项'}, { max: 16, message: '长度不能超过16' },
{max: 1,message:'长度不能超过1'} ],
], "brdgrp.cbs.max2.amt":[
'brdgrp.blk.matper':[ {type: "string", required: false},
{type: 'string', required: false, message: '必输项'}, {max: 18,message:"整数位不能超过14位"},
{max: 65,message:'长度不能超过65'} {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
// 'lidgrp.rec.utlnbr':[ 'brdgrp.prb.pts.extkey': [
// {type: 'string', required: false, message: '必输项'}, { type: 'string', required: true, message: '必输项' },
// {max: 3,message:'长度不能超过3'} { max: 16, message: '长度不能超过16' },
// ], ],
'brdgrp.rec.docflg':[ 'brtp.prbp.ptsget.sdamod.seainf': [
{required: true, message: '必输项'} { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
' brdgrp.cbs.max.cur':[ ],
{required: true, message: '必输项'}
], 'brdgrp.prb.namelc': [
'brdgrp.blk.docdis':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: false, message: '必输项'}, { max: 35, message: '长度不能超过35' },
{max: 500,message:'长度不能超过500'} ],
], 'brdgrp.prb.pts.adrblk': [
'brdgrp.rec.totdat':[ { type: 'string', required: true, message: '必输项' },
{type: 'string', required: false, message: '输入正确的日期'} { max: 300, message: '长度不能超过300' },
], ],
'brdgrp.rec.disdat':[ 'brdgrp.prb.dbfadrblkcn': [
{type: 'string', required: false, message: '输入正确的日期'} { type: 'string', required: false, message: '必输项' },
], { max: 35, message: '长度不能超过35' },
'brdgrp.blk.comcon':[ ],
{type: 'string', required: false, message: '必输项'}, 'brdgrp.rec.rcvdat': [
{max: 65,message:'长度不能超过65'} { type: 'string', required: false, message: '输入正确的日期' },
], ],
'brdgrp.blk.setinsbr':[ 'brdgrp.rec.predat': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: true, message: '输入正确的日期' },
{max: 500,message:'长度不能超过500'} ],
], 'brdgrp.prb.adrelc': [
'liaall.outamt':[ { type: 'string', required: false, message: '必输项' },
{type: 'number', required: false, message: '必输项'}, { max: 35, message: '长度不能超过35' },
{max: 18,message:'整数位不能超过14位'}, ],
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'brdgrp.rec.orddat': [
], { type: 'string', required: false, message: '输入正确的日期' },
'liaall.outpct':[ ],
{type: 'string', required: false, message: '必输项'}, 'brdgrp.rec.shpdat': [
{max: 6,message:'长度不能超过6'} { type: 'string', required: false, message: '输入正确的日期' },
], ],
'liaall.concur':[ 'brdgrp.rec.matdat': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '输入正确的日期' },
{max: 3,message:'长度不能超过3'} ],
], 'brdgrp.rec.docsta': [
'liaall.misamt':[ { type: 'string', required: false, message: '必输项' },
{type: 'number', required: false, message: '必输项'}, { max: 1, message: '长度不能超过1' },
{max: 18,message:'整数位不能超过14位'}, ],
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'brdgrp.blk.matper': [
], { type: 'string', required: false, message: '必输项' },
'liaall.exttotoldamt':[ { max: 65, message: '长度不能超过65' },
{type: 'number', required: false, message: '必输项'}, ],
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } "lidgrp.rec.utlnbr":[
], // {type: "string", required: false, message: "必输项"},
'liaall.exttotamt':[ // {max: 3,message:"长度不能超过3"}
{type: 'number', required: false, message: '必输项'}, ],
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'brdgrp.rec.docflg': [{ required: true, message: '必输项' }],
], ' brdgrp.cbs.max.cur': [{ required: true, message: '必输项' }],
'setmod.ref':[ 'brdgrp.blk.docdis': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:'长度不能超过16'} { max: 500, message: '长度不能超过500' },
], ],
'setmod.docamt':[ 'brdgrp.rec.totdat': [
{type: 'number', required: false, message: '必输项'}, { type: 'string', required: false, message: '输入正确的日期' },
{max: 18,message:'整数位不能超过14位'}, ],
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } 'brdgrp.rec.disdat': [
], { type: 'string', required: false, message: '输入正确的日期' },
'setmod.zmqacc':[ ],
{type: 'string', required: false, message: '必输项'}, 'brdgrp.blk.comcon': [
{max: 20,message:'长度不能超过20'} { type: 'string', required: false, message: '必输项' },
], { max: 65, message: '长度不能超过65' },
'brdgrp.rec.rptref':[ ],
{ required: true, message: '必输项'},
], 'brdgrp.blk.setinsbr': [
// 'mtabut.coninf.oitinf.oit.inftxt':[ { type: 'string', required: false, message: '必输项' },
// {type: 'string', required: false, message: '必输项'}, { max: 500, message: '长度不能超过500' },
// {max: 60,message:'长度不能超过60'} ],
// ], 'liaall.outamt': [
// 'mtabut.coninf.oitset.oit.inftxt':[ { type: 'string', required: false, message: '必输项' },
// {type: 'string', required: false, message: '必输项'}, { max: 18, message: '整数位不能超过14位' },
// {max: 60,message:'长度不能超过60'} {
// ], pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
// 'mtabut.coninf.conexedat':[ message: '小数位不能超过3位',
// {type: 'string', required: false, message: '输入正确的日期'} },
// ], ],
// 'mtabut.coninf.usr.extkey':[ 'liaall.outpct': [
// {type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
// {max: 8,message:'长度不能超过8'} { max: 6, message: '长度不能超过6' },
// ], ],
'trnmod.trndoc.advnam':[ 'liaall.concur': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 50,message:'长度不能超过50'} { max: 3, message: '长度不能超过3' },
], ],
'trnmod.trndoc.amdapl':[ 'liaall.misamt': [
{type: 'string', required: false, message: '必输项'}, { type: 'number', required: false, message: '必输项' },
{max: 50,message:'长度不能超过50'} { max: 18, message: '整数位不能超过14位' },
], {
'trnmod.trndoc.advdoc':[ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{type: 'string', required: false, message: '必输项'}, message: '小数位不能超过3位',
{max: 1,message:'长度不能超过1'} },
], ],
'trnmod.trndoc.filrecv':[ 'liaall.exttotoldamt': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:'长度不能超过16'} { max: 18, message: '整数位不能超过14位' },
], {
'trnmod.trndoc.doctrestm':[ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{type: 'string', required: false, message: '必输项'}, message: '小数位不能超过3位',
{max: 1,message:'长度不能超过1'} },
], ],
'trnmod.trndoc.condocstm':[ 'liaall.exttotamt': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:'长度不能超过1'} { max: 18, message: '整数位不能超过14位' },
], {
'trnmod.trndoc.rcvatt.seainf':[ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{type: 'string', required: false, message: '必输项'}, message: '小数位不能超过3位',
{max: 3,message:'长度不能超过3'} },
], ],
'liaall.limmod.ecifno':[ 'setmod.ref': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 22,message:'长度不能超过22'} { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.ownref':[ 'setmod.docamt': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:'长度不能超过16'} { max: 18, message: '整数位不能超过14位' },
], {
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd':[ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{type: 'string', required: false, message: '必输项'}, message: '小数位不能超过3位',
{max: 16,message:'长度不能超过16'} },
], ],
'liaall.limmod.othp.ptsget.sdamod.dadsnd':[ 'setmod.zmqacc': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:'长度不能超过16'} { max: 20, message: '长度不能超过20' },
], ],
'liaall.limmod.limpts.wrk.pts.extkey':[ 'brdgrp.rec.rptref': [{ required: true, message: '必输项' }],
{type: 'string', required: false, message: '必输项'}, 'mtabut.coninf.oitinf.oit.inftxt': [
{max: 16,message:'长度不能超过16'} { type: 'string', required: false, message: '必输项' },
], { max: 60, message: '长度不能超过60' },
'liaall.limmod.wrkp.ptsget.sdamod.seainf':[ ],
{type: 'string', required: false, message: '必输项'}, 'mtabut.coninf.oitset.oit.inftxt': [
{max: 3,message:'长度不能超过3'} { type: 'string', required: false, message: '必输项' },
], { max: 60, message: '长度不能超过60' },
'liaall.limmod.limpts.oth.pts.extkey':[ ],
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'} 'mtabut.coninf.conexedat': [
], { type: 'string', required: false, message: '输入正确的日期' },
'liaall.limmod.othp.ptsget.sdamod.seainf':[ ],
{type: 'string', required: false, message: '必输项'}, 'mtabut.coninf.usr.extkey': [
{max: 3,message:'长度不能超过3'} { type: 'string', required: false, message: '必输项' },
], { max: 8, message: '长度不能超过8' },
'liaall.limmod.comamt':[ ],
{type: 'number', required: false, message: '必输项'}, 'trnmod.trndoc.advnam': [
{max: 18,message:'整数位不能超过14位'}, { type: 'string', required: false, message: '必输项' },
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { max: 50, message: '长度不能超过50' },
], ],
'liaall.limmod.limpts.wrk.pts.nam':[ 'trnmod.trndoc.amdapl': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 40,message:'长度不能超过40'} { max: 50, message: '长度不能超过50' },
], ],
'liaall.limmod.limpts.oth.pts.nam':[
{type: 'string', required: false, message: '必输项'}, 'trnmod.trndoc.advdoc': [
{max: 40,message:'长度不能超过40'} { type: 'string', required: false, message: '必输项' },
], { max: 1, message: '长度不能超过1' },
'liaall.limmod.ccvamt':[ ],
{type: 'number', required: false, message: '必输项'}, 'trnmod.trndoc.filrecv': [
{max: 18,message:'整数位不能超过14位'}, { type: 'string', required: false, message: '必输项' },
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.limpts.pfcod1':[ 'trnmod.trndoc.doctrestm': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 14,message:'长度不能超过14'} { max: 1, message: '长度不能超过1' },
], ],
'liaall.limmod.limpts.pfcod2':[
{type: 'string', required: false, message: '必输项'}, 'trnmod.trndoc.condocstm': [
{max: 14,message:'长度不能超过14'} { type: 'string', required: false, message: '必输项' },
], { max: 1, message: '长度不能超过1' },
'brdgrp.srm.djuusr':[ ],
{type: 'string', required: false,}, 'trnmod.trndoc.rcvatt.seainf': [
], { type: 'string', required: false, message: '必输项' },
'brdgrp.srm.djudat':[ { max: 3, message: '长度不能超过3' },
{type: 'string', required: false, } ],
], 'liaall.limmod.ecifno': [
'brdgrp.srm.djuref':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: false, }, { max: 22, message: '长度不能超过22' },
], ],
'invtyp':[ 'liaall.limmod.ownref': [
{type: 'string', required: true, message: '必输项'} { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'szflg':[ ],
{type: 'string', required: true, message: '必输项'} 'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
], { type: 'string', required: false, message: '必输项' },
'acttyp':[ { max: 16, message: '长度不能超过16' },
{type: 'string', required: false, message: '必输项'} ],
], 'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
'brdgrp.srm.djutyp':[ { type: 'string', required: false, message: '必输项' },
{type: 'string', required: true, message: '必输项'} { max: 16, message: '长度不能超过16' },
], ],
/** 'liaall.limmod.limpts.wrk.pts.extkey': [
* Litdck Check规则 { type: 'string', required: false, message: '必输项' },
*/ { max: 16, message: '长度不能超过16' },
'invtyp': null, ],
'acttyp': null, 'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
'szflg' : null, { type: 'string', required: false, message: '必输项' },
'liaall.misamt': null, { max: 3, message: '长度不能超过3' },
'liaall.limmod.limpts.oth.pts.extkey': null, ],
'liaall.limmod.ownref': null, 'liaall.limmod.limpts.oth.pts.extkey': [
'liaall.limmod.ecifno': null, { type: 'string', required: false, message: '必输项' },
'brdgrp.prb.adrelc': null, { max: 16, message: '长度不能超过16' },
'brdgrp.rec.ownref': null, ],
'brdgrp.srm.djutyp': null, 'liaall.limmod.othp.ptsget.sdamod.seainf': [
'brdgrp.cbs.max.amt': null, { type: 'string', required: false, message: '必输项' },
'brdgrp.blk.docdis': null, { max: 3, message: '长度不能超过3' },
'brdgrp.srm.djuref': null, ],
'brtp.furide': null,
'brdgrp.prb.pts.adrblk': null, 'liaall.limmod.comamt': [
'brdgrp.prb.namelc': null, { type: 'string', required: false, message: '必输项' },
'liaall.limmod.limpts.oth.pts.nam': null, { max: 18, message: '整数位不能超过14位' },
'setmod.dspflg': null, {
'brdgrp.rec.rcvdat': null, pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
'brdgrp.rec.docflg': null, message: '小数位不能超过3位',
'brdgrp.rec.disdat': null, },
'brdgrp.rec.orddat': null, ],
'brdgrp.prb.pts.nam': null, 'liaall.limmod.limpts.wrk.pts.nam': [
'brdgrp.ben.pts.nam': null, { type: 'string', required: false, message: '必输项' },
'liaall.limmod.limpts.wrk.pts.nam': null, { max: 40, message: '长度不能超过40' },
'brdgrp.rec.predat': null, ],
'brdgrp.prb.pts.extkey': null, 'liaall.limmod.limpts.oth.pts.nam': [
'brdgrp.rec.matdat': null, { type: 'string', required: false, message: '必输项' },
'liaall.limmod.limpts.wrk.pts.extkey': null, { max: 40, message: '长度不能超过40' },
'brdgrp.srm.djudat': null, ],
'mtabut.coninf.conexedat': null, 'liaall.limmod.ccvamt': [
'brdgrp.prb.pts.ref': null, { type: 'string', required: false, message: '必输项' },
'brdgrp.srm.djuusr': null, { max: 18, message: '整数位不能超过14位' },
'liaall.limmod.limpts.nonrevflg1': null, {
'brdgrp.apl.pts.nam': null, pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
'setmod.docamt': null, message: '小数位不能超过3位',
'brdgrp.blk.setinsbr': null, },
'brdgrp.rec.docprbrol': null, ],
'brdgrp.blk.comcon': null, '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' },
],
'brdgrp.srm.djuusr': [{ type: 'string', required: false }],
'brdgrp.srm.djudat': [{ type: 'string', required: false }],
'brdgrp.srm.djuref': [{ type: 'string', required: false }],
invtyp: [{ type: 'string', required: true, message: '必输项' }],
'outlen.szflg': [{ type: 'string', required: true, message: '必输项' }],
'outlen.acttyp': [{ type: 'string', required: false, message: '必输项' }],
'brdgrp.srm.djutyp': [{ type: 'string', required: true, message: '必输项' }],
};
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
}
} }
export default checkObj;
...@@ -3,13 +3,16 @@ import Pub from '~/components/business/commonModel/index.js'; ...@@ -3,13 +3,16 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litdck { export default class Litdck {
constructor() { constructor() {
this.data = { this.data = {
outlen:{
szflg: ''
},
brdgrp: { brdgrp: {
blk: { blk: {
matper: '', matper: '',
docdisflg: '', docdisflg: '',
setinsbr: '', setinsbr: '',
docdis: '', docdis: '',
comcon: '' comcon: '',
}, },
prb: { prb: {
pts: new Pts().data, pts: new Pts().data,
...@@ -34,19 +37,19 @@ export default class Litdck { ...@@ -34,19 +37,19 @@ export default class Litdck {
stadat: '', stadat: '',
dscinsflg: '', dscinsflg: '',
nam: '', nam: '',
docprbrol: '' docprbrol: '',
}, },
cbs: { cbs: {
opn2: { opn2: {
cur: '' cur: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max2: { max2: {
amt: '' amt: '',
} },
}, },
ben: { ben: {
pts: new Pts().data, pts: new Pts().data,
...@@ -58,69 +61,72 @@ export default class Litdck { ...@@ -58,69 +61,72 @@ export default class Litdck {
djuusr: '', djuusr: '',
djuref: '', djuref: '',
djudat: '', djudat: '',
djutyp: '' djutyp: '',
}
},
zcsdrq: '',
brtp: {
cre732flg: '',
prbp: {
ptsget: {
sdamod: {
seainf: ''
}
}
},
aammod: {
addamtflg: ''
}
},
acttyp: '',
szflg: '',
invtyp: '',
lidgrp: {
rec: {
branchinr:'00000047',
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
utlnbr: '',
opndat: '',
redclsflg: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}, },
nom1: {
cur: '',
amt: ''
}
}, },
avbnam: '', zcsdrq: '',
apl:{ brtp: {
pts: new Pts().data, docgrdm:{
}, docgrd: ''
adv:{ },
pts: new Pts().data, cre732flg: '',
prbp: {
ptsget: {
sdamod: {
seainf: '',
},
},
},
aammod: {
addamtflg: '',
},
}, },
ben: { acttyp: '',
pts: new Pts().data, szflg: '',
invtyp: '',
lidgrp: {
rec: {
branchinr: '00000047',
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
utlnbr: '',
opndat: '',
redclsflg: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: '',
},
},
avbnam: '',
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
}, },
},
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, liaall: new Pub().data.Liaall,
liaall: new Pub().data.Liaall, liaccv: new Pub().data.Liaccv,
liaccv: new Pub().data.Liaccv, docpan: new Pub().data.Docpan,
docpan: new Pub().data.Docpan,
}; };
} }
} }
\ No newline at end of file
<template>
<div class="eibs-tab" >
<el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Addbcb1 from "./Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-addbcb1": Addbcb1,
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more" icon="el-icon-more"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
:disabled="this.typ1" :disabled="this.typ1"
> >
...@@ -56,6 +57,7 @@ ...@@ -56,6 +57,7 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more" icon="el-icon-more"
@click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')"
> >
</c-button> </c-button>
...@@ -156,35 +158,37 @@ ...@@ -156,35 +158,37 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import Docpre from '~/views/Public/Docpre'; import CodeTable from "~/config/CodeTable";
import Docpre from "~/views/Public/Docpre";
import event from '../event'
export default { export default {
components: { components: {
'c-docpre': Docpre, "c-docpre": Docpre,
}, },
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
typ1: true, typ1: true,
}; };
}, },
watch: { // watch: {
'model.brdgrp.blk.docdisflg': { // "model.brdgrp.blk.docdisflg": {
immediate: true, // immediate: true,
handler(val, oldval) { // handler(val, oldval) {
if (this.model.brdgrp.blk.docdisflg != 'X') { // if (this.model.brdgrp.blk.docdisflg != "X") {
this.typ1 = true; // this.typ1 = true;
this.model.brdgrp.blk.docdis = ''; // this.model.brdgrp.blk.docdis = "";
this.changeFormItemRequired('brdgrp.blk.docdis', false); // this.changeFormItemRequired("brdgrp.blk.docdis", false);
} else { // } else {
this.typ1 = false; // this.typ1 = false;
this.changeFormItemRequired('brdgrp.blk.docdis', true); // this.changeFormItemRequired("brdgrp.blk.docdis", true);
} // }
}, // },
}, // },
}, // },
methods: { methods: {
}, },
created: function () {}, created: function () {},
......
<template>
<div class="eibs-tab">
<!-- 左边-->
<c-col :span="8">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
style="width: 100%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
:disabled="true"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg1Change"
:disabled="true"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
:disabled="true"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="8">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import event from '../event';
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
tableData: {},
same:false
};
},
methods: {
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') {
this.model.liaall.limmod.limpts.pfcod1 = '';
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') {
this.model.liaall.limmod.limpts.pfcod2 = '';
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd['rows'].length||[];
let len2 = this.model.liaall.limmod.dggrd['rows'].length||[];
if(len1>0&&len2>0){
this.same = true;
}
}
},
created: function () {},
};
</script>
<style>
</style>
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
size="small" size="small"
style="margin-left: 10px; padding: 0 10px" style="margin-left: 10px; padding: 0 10px"
type="primary" type="primary"
@click="onSeainf"
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
...@@ -139,7 +138,6 @@ ...@@ -139,7 +138,6 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到期地址" prop="lidgrp.rec.expplc"> <el-form-item label="到期地址" prop="lidgrp.rec.expplc">
<c-input <c-input
...@@ -176,7 +174,6 @@ ...@@ -176,7 +174,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
...@@ -184,7 +181,6 @@ ...@@ -184,7 +181,6 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="getBrdgrpOwnRef"
:disabled="model.brdgrp.rec.ownref !== ''" :disabled="model.brdgrp.rec.ownref !== ''"
> >
获取 获取
...@@ -215,9 +211,9 @@ ...@@ -215,9 +211,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="申报类型" prop="szflg"> <el-form-item label="申报类型" prop="outlen.szflg">
<c-select <c-select
v-model="model.szflg" v-model="model.outlen.szflg"
style="width: 100%" style="width: 100%"
:code="codes.szflg" :code="codes.szflg"
> >
...@@ -327,7 +323,7 @@ ...@@ -327,7 +323,7 @@
<el-form-item label="款项去向" prop="outlen.acttyp"> <el-form-item label="款项去向" prop="outlen.acttyp">
<c-select <c-select
:disabled="this.flag1" :disabled="this.flag1"
v-model="model.acttyp" v-model="model.outlen.acttyp"
:code="codes.acttyp" :code="codes.acttyp"
></c-select> ></c-select>
</el-form-item> </el-form-item>
...@@ -494,9 +490,6 @@ ...@@ -494,9 +490,6 @@
v-model="model.brdgrp.prb.pts.extkey" v-model="model.brdgrp.prb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入地址编码" placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'" :disabled="model.brdgrp.rec.docprbrol != 'PRB'"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -504,6 +497,7 @@ ...@@ -504,6 +497,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="model.brtp.prbp.ptsget.sdamod.seainf"
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
...@@ -562,11 +556,13 @@ ...@@ -562,11 +556,13 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default { export default {
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
...@@ -576,30 +572,30 @@ export default { ...@@ -576,30 +572,30 @@ export default {
}; };
}, },
watch: { watch: {
'model.szflg': { "model.outlen.szflg": {
immediate: true, immediate: true,
handler(val, oldval) { handler(val, oldval) {
if (this.model.szflg == '1') { if (this.model.outlen.szflg == "1") {
this.flag1 = false; this.flag1 = false;
} else { } else {
this.flag1 = true; this.flag1 = true;
} }
}, },
}, },
'model.brdgrp.rec.matdat': { "model.brdgrp.rec.matdat": {
immediate: true, immediate: true,
handler(val, oldval) { handler(val, oldval) {
if (this.model.brdgrp.rec.matdat != '') { if (this.model.brdgrp.rec.matdat != "") {
this.flag2 = true; this.flag2 = true;
} else { } else {
this.flag2 = false; this.flag2 = false;
} }
}, },
}, },
'model.brdgrp.rec.docflg': { "model.brdgrp.rec.docflg": {
immediate: true, immediate: true,
handler(val, oldval) { handler(val, oldval) {
if (this.model.brdgrp.rec.docflg == 'P') { if (this.model.brdgrp.rec.docflg == "P") {
this.flag3 = true; this.flag3 = true;
this.flag2 = true; this.flag2 = true;
} else { } else {
...@@ -608,10 +604,10 @@ export default { ...@@ -608,10 +604,10 @@ export default {
} }
}, },
}, },
'model.brdgrp.blk.matper': { "model.brdgrp.blk.matper": {
immediate: true, immediate: true,
handler(val, oldval) { handler(val, oldval) {
if (this.model.brdgrp.blk.matper != '') { if (this.model.brdgrp.blk.matper != "") {
this.flag3 = true; this.flag3 = true;
} else { } else {
this.flag3 = false; this.flag3 = false;
...@@ -619,15 +615,15 @@ export default { ...@@ -619,15 +615,15 @@ export default {
}, },
}, },
}, },
methods: {}, methods: { },
created: function () {}, created: function () {},
dscinsflgChang() { // dscinsflgChang() {
if (this.model.brdgrp.rec.dscinsflg === 'X') { // if (this.model.brdgrp.rec.dscinsflg === "X") {
this.model.brdgrp.rec.docsta = 'H'; // this.model.brdgrp.rec.docsta = "H";
} else { // } else {
this.model.brdgrp.rec.docsta = 'G'; // this.model.brdgrp.rec.docsta = "G";
} // }
}, // },
}; };
</script> </script>
<style> <style>
......
...@@ -14,26 +14,27 @@ ...@@ -14,26 +14,27 @@
</div> </div>
</template> </template>
<script> <script>
import event from '../event'; import Api from "~/service/Api";
import Litdckp from './Litdckp'; import CodeTable from "~/config/CodeTable";
import Docpre from './Docpre'; import Litdckp from "./Litdckp";
import Srmp from './Srmp'; import Docpre from "./Docpre";
import Srmp from "./Srmp";
import event from '../event'
export default { export default {
components:{ components:{
'm-litdckp': Litdckp, "m-litdckp": Litdckp,
'm-docpre': Docpre, "m-docpre": Docpre,
'm-srmp': Srmp, "m-srmp": Srmp,
}, },
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ['litdckp'], activeNames: ["litdckp"],
}; };
}, },
methods: {}, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -28,61 +28,54 @@ ...@@ -28,61 +28,54 @@
<c-input :disabled="this.typ1" v-model="model.brdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input> <c-input :disabled="this.typ1" v-model="model.brdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from '../event' import event from '../event'
import commonProcess from '~/mixin/commonProcess';
export default { export default {
inject: ['root'], inject: ['root'],
props:['model','codes'], props:["model","codes"],
mixins: [commonProcess,event], mixins: [event],
data(){ data(){
return { return {
typ1:true typ1:true
} }
}, },
watch:{ // watch:{
'model.brdgrp.srm.djutyp':{ // "model.brdgrp.srm.djutyp":{
immediate:true, // immediate:true,
handler(val,oldval){ // handler(val,oldval){
if(this.model.brdgrp.srm.djutyp == 'D'){ // if(this.model.brdgrp.srm.djutyp == 'D'){
this.typ1 = true // this.typ1 = true
// ommonProcess里的 changeFormItemRequired (property,Boolean) // // ommonProcess里的 changeFormItemRequired (property,Boolean)
this.changeFormItemRequired('brdgrp.srm.djuusr', false) // this.changeFormItemRequired('brdgrp.srm.djuusr', false)
this.changeFormItemRequired('brdgrp.srm.djudat', false) // this.changeFormItemRequired('brdgrp.srm.djudat', false)
this.changeFormItemRequired('brdgrp.srm.djuref', false) // this.changeFormItemRequired('brdgrp.srm.djuref', false)
this.model.brdgrp.srm.djuusr ='' // this.model.brdgrp.srm.djuusr =''
this.model.brdgrp.srm.djudat ='' // this.model.brdgrp.srm.djudat =''
this.model.brdgrp.srm.djuref ='' // this.model.brdgrp.srm.djuref =''
}else if(this.model.brdgrp.srm.djutyp == ''){ // }else if(this.model.brdgrp.srm.djutyp == ''){
this.typ1 = true // this.typ1 = true
this.changeFormItemRequired('brdgrp.srm.djuusr', false) // this.changeFormItemRequired('brdgrp.srm.djuusr', false)
this.changeFormItemRequired('brdgrp.srm.djudat', false) // this.changeFormItemRequired('brdgrp.srm.djudat', false)
this.changeFormItemRequired('brdgrp.srm.djuref', false) // this.changeFormItemRequired('brdgrp.srm.djuref', false)
} // }
else{ // else{
this.typ1 = false // this.typ1 = false
this.changeFormItemRequired('brdgrp.srm.djuusr', true) // this.changeFormItemRequired('brdgrp.srm.djuusr', true)
this.changeFormItemRequired('brdgrp.srm.djudat', true) // this.changeFormItemRequired('brdgrp.srm.djudat', true)
this.changeFormItemRequired('brdgrp.srm.djuref', true) // this.changeFormItemRequired('brdgrp.srm.djuref', true)
} // }
} // }
} // }
}, // },
methods:{}, methods:{ },
created:function(){
}
} }
</script> </script>
<style> <style>
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
/div> /div>
--> -->
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -39,21 +41,12 @@ ...@@ -39,21 +41,12 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="费用/账务" name="setpan">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
@changeSetmodModel="changeSetmodModel"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -61,9 +54,16 @@ ...@@ -61,9 +54,16 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000510 -->
<!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
...@@ -87,77 +87,72 @@ ...@@ -87,77 +87,72 @@
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
</c-function-btn> :handleSubmit="handleSubmit"
<c-grid-ety-prompt-dialog :handleCheck="handleCheck"
ref="etyDialog" :handleStash="handleStash"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
> >
</c-grid-ety-prompt-dialog> </c-function-btn>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import CodeTable from '~/config/CodeTable'; import event from '../event'
import formRules from '../model/check'; import Api from "~/service/Api";
import operationFunc from '~/mixin/operationFunc'; import CodeTable from "~/config/CodeTable";
import Ovwp from './Ovwp'; import Ovwp from "./Ovwp";
import Litdck from '../model'; import Litdckp from "./Litdckp";
import event from '../event'; import Docpre from "./Docpre";
import Srmp from "./Srmp";
import Litdckp from './Litdckp'; import Engp from "~/components/business/engp/views";
import Docpre from './Docpre'; import Coninfp from "~/components/business/coninfp/views";
// import Engp from './Engp' import Doctre from "~/views/Public/Doctre";
// import Setpan from './Setpan' import Limitbody from "~/views/Public/Limitbody"
// import Coninfp from './Coninfp' import Setmod from "~/components/business/setmod/views";
// import Docpan from './Docpan' import Glentry from "~/components/business/glentry/views";
// import Doctre from './Doctre' import Docpan from "~/components/business/docpan/views";
// import Limitbody from './Limitbody'; import operationFunc from "~/mixin/operationFunc";
import Srmp from './Srmp'; import formRules from '../model/check'
import Litdck from "../model";
import Engp from '~/components/business/engp/views';
import Ccvpan from '~/components/business/ccvpan/views';
import Coninfp from '~/components/business/coninfp/views';
import Docpan from '~/components/business/docpan/views';
import Doctre from '~/components/business/doctre/views';
import Setmod from '~/components/business/setmod/views';
import Glentry from '~/components/business/glentry/views';
// import Limitbody from './Limitbody';
import Limitbody from '~/components/business/limitbody/views';
export default { export default {
name: 'Litdck', name: "Litdck",
components: { components: {
'm-ovwp': Ovwp, "m-ovwp": Ovwp,
'm-litdckp': Litdckp, "m-litdckp": Litdckp,
'm-docpre': Docpre, "m-docpre": Docpre,
'm-engp': Engp, "m-engp": Engp,
'm-ccvpan': Ccvpan, "m-coninfp": Coninfp,
'm-coninfp': Coninfp, "m-doctre": Doctre,
'm-docpan': Docpan, "m-limitbody": Limitbody,
'm-doctre': Doctre, "m-srmp": Srmp,
'm-limitbody': Limitbody, "m-setmod": Setmod,
'm-setmod': Setmod, "m-glentry": Glentry,
'm-glentry': Glentry, "m-docpan": Docpan
'm-srmp': Srmp,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理 mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: 'ovwp', tabVal: "ovwp",
trnName: 'litdck', trnName: "litdck",
model: new Litdck().data, model: new Litdck().data,
rules: formRules, rules: formRules,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ['engp'], activeNames: ["engp"],
promptData: { promptData: {
title: 'Select a Party', title: 'Select a Party',
columns: [ columns: [
...@@ -199,12 +194,15 @@ export default { ...@@ -199,12 +194,15 @@ export default {
} }
], ],
data: [] data: []
}, }
}; };
}, },
methods: {
},
mounted () { mounted () {
this.init() this.init()
}, },
}; };
</script> </script>
<style> <style>
......
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