Commit 6169472c by WF1020

gitame,gitcrj,gitcrq修改

parent 262a7d61
...@@ -5,14 +5,14 @@ export default class Gitame { ...@@ -5,14 +5,14 @@ export default class Gitame {
this.data = { this.data = {
gitamep: { gitamep: {
amebutc: { amebutc: {
chkast: '', chkast: '',
}, },
swiadd:{ swiadd: {
amedat:'', amedat: '',
amenbr:'', amenbr: '',
ameamt:'', ameamt: '',
newamt:'', newamt: '',
newcur:'', newcur: '',
}, },
ametxtflgc: '', ametxtflgc: '',
ametxt: '', ametxt: '',
...@@ -30,56 +30,56 @@ export default class Gitame { ...@@ -30,56 +30,56 @@ export default class Gitame {
prtflg: '', prtflg: '',
plateflg: '', plateflg: '',
amebut: { amebut: {
chkast: '' chkast: '',
}, },
oldmacamt: '', oldmacamt: '',
cre767flg: '' cre767flg: '',
}, },
addbcb: { addbcb: {
gitamermk: '', gitamermk: '',
gitamecho: '' gitamecho: '',
}, },
gidgrp: { gidgrp: {
blk: { blk: {
covgodsrv: '', covgodsrv: '',
deltoadr: '', deltoadr: '',
gtxgidtxtc: '', gtxgidtxtc: '',
gartyptxtc: '', gartyptxtc: '',
atxpreper: '', atxpreper: '',
preper: '', preper: '',
preperc: '', preperc: '',
addinfc: '', addinfc: '',
addamtcovs20: '', addamtcovs20: '',
gidtxt: '', gidtxt: '',
addinf: '', addinf: '',
orcplc: '', orcplc: '',
exptxt: '', exptxt: '',
atxcovgodsrvc: '', atxcovgodsrvc: '',
gidtxtame: '', gidtxtame: '',
trfcondc: '', trfcondc: '',
covgodsrvc: '', covgodsrvc: '',
apprulc: '', apprulc: '',
feetxtc: '', feetxtc: '',
apprultxtc: '', apprultxtc: '',
feetxt: '', feetxt: '',
liatxtc: '', liatxtc: '',
atxpreperc: '', atxpreperc: '',
trfcond: '', trfcond: '',
apprul: '', apprul: '',
gtxgidtxt: '', gtxgidtxt: '',
addamtcovc: '', addamtcovc: '',
deltoadrc: '', deltoadrc: '',
apprultxt: '', apprultxt: '',
orcplcc: '' orcplcc: '',
}, },
ctr: { ctr: {
pts: new Pts().data, pts: new Pts().data,
}, },
ghd: { ghd: {
wahnum: '', wahnum: '',
remark: '', remark: '',
bustyp: '', bustyp: '',
segtyp: '' segtyp: '',
}, },
con: { con: {
pts: new Pts().data, pts: new Pts().data,
...@@ -97,183 +97,183 @@ export default class Gitame { ...@@ -97,183 +97,183 @@ export default class Gitame {
pts: new Pts().data, pts: new Pts().data,
}, },
gidcxm: { gidcxm: {
benefi: '', benefi: '',
cxmflg: '', cxmflg: '',
warran: '' warran: '',
}, },
rec: { rec: {
acc: '', acc: '',
deloritxt: '', deloritxt: '',
cunqii: '', cunqii: '',
bngcod: '', bngcod: '',
orcamtc: '', orcamtc: '',
jurplc: '', jurplc: '',
expflg: '', expflg: '',
fenlishi: '', fenlishi: '',
opndat: '', opndat: '',
demandc: '', demandc: '',
orcrefc: '', orcrefc: '',
jurplcc: '', jurplcc: '',
hndtyp: '', hndtyp: '',
orcrat: '', orcrat: '',
cfaguatyp: '', cfaguatyp: '',
nam: '', nam: '',
delori: '', delori: '',
liaflg: '', liaflg: '',
tendatc: '', tendatc: '',
gtxinrc: '', gtxinrc: '',
tenrefc: '', tenrefc: '',
bilvvv: '', bilvvv: '',
legfrmc: '', legfrmc: '',
deloric: '', deloric: '',
liatxtc: '', liatxtc: '',
sndto: '', sndto: '',
demand: '', demand: '',
purposin: '', purposin: '',
guaflg: '', guaflg: '',
accc: '', accc: '',
gartypc: '', gartypc: '',
chato: '', chato: '',
orcamt: '', orcamt: '',
orcratc: '', orcratc: '',
deltoc: '', deltoc: '',
jurlaw: '', jurlaw: '',
orccur: '', orccur: '',
gtxinr: '', gtxinr: '',
fingua: '', fingua: '',
jurlaws20: '', jurlaws20: '',
orddat: '', orddat: '',
stdwrduilc: '', stdwrduilc: '',
jurlawtxtc: '', jurlawtxtc: '',
amenbr: '', amenbr: '',
trmdatc: '', trmdatc: '',
liadat: '', liadat: '',
inudat: '', inudat: '',
legfrm: '', legfrm: '',
purpos: '', purpos: '',
tenref: '', tenref: '',
trmdat: '', trmdat: '',
mannum: '', mannum: '',
deloritxtc: '', deloritxtc: '',
liatypc: '', liatypc: '',
exptyp: '', exptyp: '',
ownref: '', ownref: '',
orcdat: '', orcdat: '',
giduil: '', giduil: '',
orcref: '', orcref: '',
tendat: '', tendat: '',
cmtflg: '', cmtflg: '',
orcdatc: '', orcdatc: '',
expdat: '', expdat: '',
opndatc: '', opndatc: '',
delto: '', delto: '',
juscod: '', juscod: '',
tenclsdatc: '', tenclsdatc: '',
jurlawc: '', jurlawc: '',
gartyp: '', gartyp: '',
orccurc: '', orccurc: '',
vrfdat: '' vrfdat: '',
}, },
adv: { adv: {
pts: new Pts().data, pts: new Pts().data,
}, },
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
}, },
mac2: { mac2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
opn2: { opn2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
opc2: { opc2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max2: { max2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
mac: { mac: {
cur: '', cur: '',
amt: '' amt: '',
} },
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
trnmod: { trnmod: {
swiadd: { swiadd: {
newcurc: '', newcurc: '',
orddat: '', orddat: '',
addcur: '', addcur: '',
amedat: '', amedat: '',
amenbr: '', amenbr: '',
amecur: '', amecur: '',
newamt: '', newamt: '',
addamtcovs20: '', addamtcovs20: '',
addcurc: '', addcurc: '',
newexpdat: '', newexpdat: '',
exptxt: '', exptxt: '',
ameamt: '', ameamt: '',
redrea: '', redrea: '',
newcur: '', newcur: '',
purposamein: '', purposamein: '',
ameblkc: '', ameblkc: '',
purposame: '', purposame: '',
amecurc: '', amecurc: '',
liatypc: '', liatypc: '',
exptyp: '', exptyp: '',
newexpflg: '', newexpflg: '',
amemsgdonflg: '', amemsgdonflg: '',
addamtcov: '', addamtcov: '',
liatxtc: '', liatxtc: '',
ameamtc: '', ameamtc: '',
addamt: '', addamt: '',
addamtcovc: '', addamtcovc: '',
addamtc: '', addamtc: '',
newdtaappexpdat: '', newdtaappexpdat: '',
addamtflg: '', addamtflg: '',
newliadat: '', newliadat: '',
newliaflg: '', newliaflg: '',
newamtc: '', newamtc: '',
addamtflgc: '', addamtflgc: '',
ameblk: '', ameblk: '',
reqcan: '' reqcan: '',
} },
}, },
oldgidgrp: { oldgidgrp: {
blk: { blk: {
gidtxtc: '', gidtxtc: '',
gidtxtamec: '', gidtxtamec: '',
gidtxt: '', gidtxt: '',
dtaappexpdat: '', dtaappexpdat: '',
exptxt: '', exptxt: '',
liatxtc: '' liatxtc: '',
}, },
rec: { rec: {
expdat: '', expdat: '',
liadat: '', liadat: '',
liatypc: '', liatypc: '',
exptyp: '' exptyp: '',
}, },
cbs: { cbs: {
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
} },
} },
}, },
gitp: { gitp: {
chkpreper: '', chkpreper: '',
oldgidtxt: '', oldgidtxt: '',
swiftflg: '', swiftflg: '',
...@@ -283,40 +283,40 @@ export default class Gitame { ...@@ -283,40 +283,40 @@ export default class Gitame {
prepercmodflg: '', prepercmodflg: '',
covgodsrvmodflg: '', covgodsrvmodflg: '',
covgodc: { covgodc: {
chkast: '' chkast: '',
}, },
gidtxt: '', gidtxt: '',
liatxtcmodflg: '', liatxtcmodflg: '',
usr: { usr: {
extkey: '' extkey: '',
}, },
chkgidtxtc: '', chkgidtxtc: '',
prepermodflg: '', prepermodflg: '',
aacp: { aacp: {
aacmod: { aacmod: {
addamtflg: '' addamtflg: '',
} },
}, },
chargic: { chargic: {
chkast: '' chkast: '',
}, },
gidtxtmodflg: '', gidtxtmodflg: '',
gtx: { gtx: {
gidtxt: '' gidtxt: '',
}, },
covgodsrvcmodflg: '', covgodsrvcmodflg: '',
chargi: { chargi: {
chkast: '' chkast: '',
}, },
covgod: { covgod: {
chkast: '' chkast: '',
}, },
chkgidtxt: '', chkgidtxt: '',
dzbhflg: '', dzbhflg: '',
chkpreperc: '', chkpreperc: '',
oldgtxgidtxt: '', oldgtxgidtxt: '',
inc760: '' inc760: '',
}, },
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,
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import event from '../event' import event from '../event'
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
......
<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="addbcb1"> <el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" /> <m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -19,24 +19,22 @@ import event from '../event' ...@@ -19,24 +19,22 @@ import event from '../event'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1"; import Addbcb1 from "./Addbcb1";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-addbcb1": Addbcb1, "m-addbcb1": Addbcb1,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["addbcb1"], activeNames: ["addbcb1"],
}; };
},
}, methods: {
methods: { },
}, created: function () { },
created: function () { },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!--> <!-- S0000003 : 货物税号 DE!-->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
......
...@@ -2,32 +2,32 @@ ...@@ -2,32 +2,32 @@
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp"> <el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" /> <m-opnp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'"> <el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'">
<m-amedat20 :model="model" :codes="codes" /> <m-amedat20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'"> <el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" /> <m-preperp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if=" <el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-preperpc :model="model" :codes="codes" /> <m-preperpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20"> <el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" /> <m-ameps20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if=" <el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' || (model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') model.trnmod.swiadd.purposame == 'ICCA')
"> ">
<m-amecp :model="model" :codes="codes" /> <m-amecp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'"> <el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes" /> <m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if=" <el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
...@@ -35,34 +35,34 @@ ...@@ -35,34 +35,34 @@
model.trnmod.swiadd.purposame == 'ICCA') && model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X' model.gitamep.prtflg == 'X'
"> ">
<m-gidtxtpc :model="model" :codes="codes" /> <m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="概要" name="ovwp1"> <el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" /> <m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if=" <el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-ovwpc :model="model" :codes="codes" /> <m-ovwpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp"> <el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if=" <el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-ptypc :model="model" :codes="codes" /> <m-ptypc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="详细信息" name="detp"> <el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if=" <el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-detpc :model="model" :codes="codes" /> <m-detpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="历史信息" name="amephis"> <el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" /> <m-amephis :model="model" :codes="codes" />
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-amephisc :model="model" :codes="codes" /> <m-amephisc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if=" <el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
model.trnmod.swiadd.purposame == 'ICCA') && model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X' model.trnmod.swiadd.addamtflgc == 'X'
"> ">
<m-aacp :model="model" :codes="codes" /> <m-aacp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if=" <el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
model.trnmod.swiadd.addamtflg == 'X' && model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU' model.gidgrp.rec.purpos != 'ISSU'
"> ">
<m-aamp20 :model="model" :codes="codes" /> <m-aamp20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!--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>
......
...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views"; ...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/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 Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
......
export default {
"gctp.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lettername":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"rejtypsel":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.msgdat":[
{type: "date", required: false, message: "必输项"}
],
"gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"trnmod.swiadd.strinfs20":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"gcdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gctp.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.blk.disdoc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"instxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<el-form-item label="银行指令" prop="instxt"> <el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65" <c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8" :rows="8"
show-word-limit placeholder="请输入银行指令" ></c-input> show-word-limit placeholder="请输入银行指令" >
</el-form-item> </c-input>
</c-col> </el-form-item>
</c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -14,16 +15,16 @@ import Api from "~/service/Api" ...@@ -14,16 +15,16 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import event from '../event' 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 {
}
},
methods:{},
created:function(){
} }
},
methods:{},
created:function(){
}
} }
</script> </script>
<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="gitsetp1"> <el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" /> <m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin"> <el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" /> <m-gitbin :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -22,8 +21,8 @@ ...@@ -22,8 +21,8 @@
export default { export default {
components:{ components:{
"m-gitsetp1" : Gitsetp1, "m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin, "m-gitbin" : Gitbin,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
......
<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">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</el-collapse-item--> </el-collapse-item-->
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
...@@ -17,20 +17,20 @@ import Utils from "~/utils"; ...@@ -17,20 +17,20 @@ import Utils from "~/utils";
import event from '../event' import event from '../event'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["coninfp"], activeNames: ["coninfp"],
}; };
}, },
methods: { methods: {
}, },
created: function () { }, created: function () { },
}; };
</script> </script>
......
<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="gitsetp1"> <el-collapse-item title="索赔" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" /> <m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="详细信息" name="gitdetp"> <el-collapse-item title="详细信息" name="gitdetp">
<m-gitdetp :model="model" :codes="codes" /> <m-gitdetp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp"; ...@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp";
import Gitsetp1 from "./Gitsetp1"; import Gitsetp1 from "./Gitsetp1";
export default { export default {
components: { components: {
"m-gitdetp": Gitdetp, "m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1, "m-gitsetp1": Gitsetp1,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["gitsetp1"], activeNames: ["gitsetp1"],
}; };
}, },
methods: { methods: {
}, },
created: function () { }, created: function () { },
}; };
</script> </script>
<style> <style>
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!--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>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
......
...@@ -50,27 +50,28 @@ ...@@ -50,27 +50,28 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<div class="eibs-tab"> <!-- 表外记账 -->
<el-collapse v-model="activeNames"> <m-engp :model="model" :codes="codes" />
<el-collapse-item title="表外记账" name="engp"> </c-content>
<!-- 表外记账 --> </el-tab-pane>
<m-engp :model="model" :codes="codes" />
</el-collapse-item> <!--PD000027 -->
<el-collapse-item title="结算" name="setpan"> <el-tab-pane label="费用/账务" name="setpan">
<!-- 结算 --> <c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </c-content>
<el-collapse-item title="会计分录" name="glepan"> </el-tab-pane>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" /> <!--PD000027 -->
</el-collapse-item> <el-tab-pane label="会计分录" name="glepan">
</el-collapse> <c-content>
</div> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp"> <el-tab-pane label="备查/附言" name="coninfp">
...@@ -108,50 +109,34 @@ ...@@ -108,50 +109,34 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <!-- 选择数据的表格弹框 -->
ref="etyDialog" <c-grid-ety-prompt-dialog
:promptData="promptData" ref="etyDialog"
v-on:select-ety="selectEty" :promptData="promptData"
> @select-ety="selectGridEtyPromptData"
</c-grid-ety-prompt-dialog> >
<c-grid-ety-prompt-dialog </c-grid-ety-prompt-dialog>
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Gitset from "~/model/Gitset"; import Gitset from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitset/Check";
import Default from "~/model/Gitset/Default";
import Pattern from "~/model/Gitset/Pattern";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan";
import Ccvpan from "~/views/Public/Ccvpan";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Cnyp from "./Cnyp"; import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import event from '../event';
export default { export default {
name: "Gitset", name: "Gitset",
...@@ -167,94 +152,72 @@ export default { ...@@ -167,94 +152,72 @@ export default {
"m-cnyp": Cnyp, "m-cnyp": Cnyp,
"m-shisuan": Shisuan, "m-shisuan": Shisuan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-setmod":Setmod,
"m-glentry":Glentry
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp","coninfp"], activeNames: ["engp"],
activeNames1: ["limitbody"], promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}; };
}, },
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: { methods: {
myTabClick(tab) {
this.tabClick(tab);
const name = tab.name;
let rulePath;
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if(name === 'basp1'){
rulePath = "bopmod.dbfp.basp"
}
if(name === 'outp'){
rulePath = "cnybop.outp"
}
if (name === "cips") {
rulePath = "trnmod.cipmod.cips"
}
// if(name === 'det756'){
// rulePath = "setmod.setglg.setgll(2).sespay.det756"
// }
// if (name === "det202cv") {
// rulePath = "setmod.setglg.setgll(2).sespay.det202cv"
// }
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: async function () { mounted () {
console.log("进入gitset交易"); this.init()
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}, },
}; };
</script> </script>
......
<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>
...@@ -30,10 +30,7 @@ export default { ...@@ -30,10 +30,7 @@ export default {
}, },
methods: { methods: {
...Event,
handleChange(val) {
console.log(val);
},
}, },
created: function () {}, created: function () {},
}; };
......
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