Commit 6169472c by WF1020

gitame,gitcrj,gitcrq修改

parent 262a7d61
......@@ -5,14 +5,14 @@ export default class Gitame {
this.data = {
gitamep: {
amebutc: {
chkast: '',
chkast: '',
},
swiadd:{
amedat:'',
amenbr:'',
ameamt:'',
newamt:'',
newcur:'',
swiadd: {
amedat: '',
amenbr: '',
ameamt: '',
newamt: '',
newcur: '',
},
ametxtflgc: '',
ametxt: '',
......@@ -30,56 +30,56 @@ export default class Gitame {
prtflg: '',
plateflg: '',
amebut: {
chkast: ''
chkast: '',
},
oldmacamt: '',
cre767flg: ''
},
addbcb: {
cre767flg: '',
},
addbcb: {
gitamermk: '',
gitamecho: ''
},
gidgrp: {
gitamecho: '',
},
gidgrp: {
blk: {
covgodsrv: '',
deltoadr: '',
gtxgidtxtc: '',
gartyptxtc: '',
atxpreper: '',
preper: '',
preperc: '',
addinfc: '',
addamtcovs20: '',
gidtxt: '',
addinf: '',
orcplc: '',
exptxt: '',
atxcovgodsrvc: '',
gidtxtame: '',
trfcondc: '',
covgodsrvc: '',
apprulc: '',
feetxtc: '',
apprultxtc: '',
feetxt: '',
liatxtc: '',
atxpreperc: '',
trfcond: '',
apprul: '',
gtxgidtxt: '',
addamtcovc: '',
deltoadrc: '',
apprultxt: '',
orcplcc: ''
covgodsrv: '',
deltoadr: '',
gtxgidtxtc: '',
gartyptxtc: '',
atxpreper: '',
preper: '',
preperc: '',
addinfc: '',
addamtcovs20: '',
gidtxt: '',
addinf: '',
orcplc: '',
exptxt: '',
atxcovgodsrvc: '',
gidtxtame: '',
trfcondc: '',
covgodsrvc: '',
apprulc: '',
feetxtc: '',
apprultxtc: '',
feetxt: '',
liatxtc: '',
atxpreperc: '',
trfcond: '',
apprul: '',
gtxgidtxt: '',
addamtcovc: '',
deltoadrc: '',
apprultxt: '',
orcplcc: '',
},
ctr: {
pts: new Pts().data,
},
ghd: {
wahnum: '',
remark: '',
bustyp: '',
segtyp: ''
wahnum: '',
remark: '',
bustyp: '',
segtyp: '',
},
con: {
pts: new Pts().data,
......@@ -97,183 +97,183 @@ export default class Gitame {
pts: new Pts().data,
},
gidcxm: {
benefi: '',
cxmflg: '',
warran: ''
benefi: '',
cxmflg: '',
warran: '',
},
rec: {
acc: '',
deloritxt: '',
cunqii: '',
bngcod: '',
orcamtc: '',
jurplc: '',
expflg: '',
fenlishi: '',
opndat: '',
demandc: '',
orcrefc: '',
jurplcc: '',
hndtyp: '',
orcrat: '',
cfaguatyp: '',
nam: '',
delori: '',
liaflg: '',
tendatc: '',
gtxinrc: '',
tenrefc: '',
bilvvv: '',
legfrmc: '',
deloric: '',
liatxtc: '',
sndto: '',
demand: '',
purposin: '',
guaflg: '',
accc: '',
gartypc: '',
chato: '',
orcamt: '',
orcratc: '',
deltoc: '',
jurlaw: '',
orccur: '',
gtxinr: '',
fingua: '',
jurlaws20: '',
orddat: '',
stdwrduilc: '',
jurlawtxtc: '',
amenbr: '',
trmdatc: '',
liadat: '',
inudat: '',
legfrm: '',
purpos: '',
tenref: '',
trmdat: '',
mannum: '',
deloritxtc: '',
liatypc: '',
exptyp: '',
ownref: '',
orcdat: '',
giduil: '',
orcref: '',
tendat: '',
cmtflg: '',
orcdatc: '',
expdat: '',
opndatc: '',
delto: '',
juscod: '',
tenclsdatc: '',
jurlawc: '',
gartyp: '',
orccurc: '',
vrfdat: ''
acc: '',
deloritxt: '',
cunqii: '',
bngcod: '',
orcamtc: '',
jurplc: '',
expflg: '',
fenlishi: '',
opndat: '',
demandc: '',
orcrefc: '',
jurplcc: '',
hndtyp: '',
orcrat: '',
cfaguatyp: '',
nam: '',
delori: '',
liaflg: '',
tendatc: '',
gtxinrc: '',
tenrefc: '',
bilvvv: '',
legfrmc: '',
deloric: '',
liatxtc: '',
sndto: '',
demand: '',
purposin: '',
guaflg: '',
accc: '',
gartypc: '',
chato: '',
orcamt: '',
orcratc: '',
deltoc: '',
jurlaw: '',
orccur: '',
gtxinr: '',
fingua: '',
jurlaws20: '',
orddat: '',
stdwrduilc: '',
jurlawtxtc: '',
amenbr: '',
trmdatc: '',
liadat: '',
inudat: '',
legfrm: '',
purpos: '',
tenref: '',
trmdat: '',
mannum: '',
deloritxtc: '',
liatypc: '',
exptyp: '',
ownref: '',
orcdat: '',
giduil: '',
orcref: '',
tendat: '',
cmtflg: '',
orcdatc: '',
expdat: '',
opndatc: '',
delto: '',
juscod: '',
tenclsdatc: '',
jurlawc: '',
gartyp: '',
orccurc: '',
vrfdat: '',
},
adv: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
mac2: {
cur: '',
amt: ''
},
opn2: {
cur: '',
amt: ''
},
opc2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
},
mac: {
cur: '',
amt: ''
}
opn1: {
cur: '',
amt: '',
},
mac2: {
cur: '',
amt: '',
},
opn2: {
cur: '',
amt: '',
},
opc2: {
cur: '',
amt: '',
},
max: {
cur: '',
amt: '',
},
max2: {
cur: '',
amt: '',
},
mac: {
cur: '',
amt: '',
},
},
apl: {
pts: new Pts().data,
}
},
trnmod: {
},
},
trnmod: {
swiadd: {
newcurc: '',
orddat: '',
addcur: '',
amedat: '',
amenbr: '',
amecur: '',
newamt: '',
addamtcovs20: '',
addcurc: '',
newexpdat: '',
exptxt: '',
ameamt: '',
redrea: '',
newcur: '',
purposamein: '',
ameblkc: '',
purposame: '',
amecurc: '',
liatypc: '',
exptyp: '',
newexpflg: '',
amemsgdonflg: '',
addamtcov: '',
liatxtc: '',
ameamtc: '',
addamt: '',
addamtcovc: '',
addamtc: '',
newdtaappexpdat: '',
addamtflg: '',
newliadat: '',
newliaflg: '',
newamtc: '',
addamtflgc: '',
ameblk: '',
reqcan: ''
}
},
oldgidgrp: {
newcurc: '',
orddat: '',
addcur: '',
amedat: '',
amenbr: '',
amecur: '',
newamt: '',
addamtcovs20: '',
addcurc: '',
newexpdat: '',
exptxt: '',
ameamt: '',
redrea: '',
newcur: '',
purposamein: '',
ameblkc: '',
purposame: '',
amecurc: '',
liatypc: '',
exptyp: '',
newexpflg: '',
amemsgdonflg: '',
addamtcov: '',
liatxtc: '',
ameamtc: '',
addamt: '',
addamtcovc: '',
addamtc: '',
newdtaappexpdat: '',
addamtflg: '',
newliadat: '',
newliaflg: '',
newamtc: '',
addamtflgc: '',
ameblk: '',
reqcan: '',
},
},
oldgidgrp: {
blk: {
gidtxtc: '',
gidtxtamec: '',
gidtxt: '',
dtaappexpdat: '',
exptxt: '',
liatxtc: ''
gidtxtc: '',
gidtxtamec: '',
gidtxt: '',
dtaappexpdat: '',
exptxt: '',
liatxtc: '',
},
rec: {
expdat: '',
liadat: '',
liatypc: '',
exptyp: ''
expdat: '',
liadat: '',
liatypc: '',
exptyp: '',
},
cbs: {
max: {
cur: '',
amt: ''
}
}
},
gitp: {
max: {
cur: '',
amt: '',
},
},
},
gitp: {
chkpreper: '',
oldgidtxt: '',
swiftflg: '',
......@@ -283,40 +283,40 @@ export default class Gitame {
prepercmodflg: '',
covgodsrvmodflg: '',
covgodc: {
chkast: ''
chkast: '',
},
gidtxt: '',
liatxtcmodflg: '',
usr: {
extkey: ''
extkey: '',
},
chkgidtxtc: '',
prepermodflg: '',
aacp: {
aacmod: {
addamtflg: ''
}
aacmod: {
addamtflg: '',
},
},
chargic: {
chkast: ''
chkast: '',
},
gidtxtmodflg: '',
gtx: {
gidtxt: ''
gidtxt: '',
},
covgodsrvcmodflg: '',
chargi: {
chkast: ''
chkast: '',
},
covgod: {
chkast: ''
chkast: '',
},
chkgidtxt: '',
dzbhflg: '',
chkpreperc: '',
oldgtxgidtxt: '',
inc760: ''
},
inc760: '',
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -43,7 +43,6 @@
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
......
<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 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>
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -19,24 +19,22 @@ import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1";
export default {
components: {
"m-coninfp": Coninfp,
"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {
},
created: function () { },
components: {
"m-coninfp": Coninfp,
"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {
},
created: function () { },
};
</script>
......
<template>
<div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!-->
<c-row>
<c-col :span="24">
<c-col :span="12">
......
......@@ -2,32 +2,32 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<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 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 title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-preperpc :model="model" :codes="codes" />
<m-preperpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
<m-ameps20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA')
">
<m-amecp :model="model" :codes="codes" />
<m-amecp :model="model" :codes="codes" />
</el-collapse-item>
<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 title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' &&
......@@ -35,34 +35,34 @@
model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X'
">
<m-gidtxtpc :model="model" :codes="codes" />
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ovwpc :model="model" :codes="codes" />
<m-ovwpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ptypc :model="model" :codes="codes" />
<m-ptypc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-detpc :model="model" :codes="codes" />
<m-detpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
......@@ -71,7 +71,7 @@
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-amephisc :model="model" :codes="codes" />
<m-amephisc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' &&
......@@ -79,7 +79,7 @@
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'
">
<m-aacp :model="model" :codes="codes" />
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
......@@ -88,7 +88,7 @@
model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU'
">
<m-aamp20 :model="model" :codes="codes" />
<m-aamp20 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
......
......@@ -24,8 +24,8 @@
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -42,7 +42,7 @@
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......
......@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
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>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8"
show-word-limit placeholder="请输入银行指令" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8"
show-word-limit placeholder="请输入银行指令" >
</c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
......@@ -14,16 +15,16 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from '../event'
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse v-model="activeNames">
<el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" />
<m-gitbin :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -22,8 +21,8 @@
export default {
components:{
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
},
inject: ["root"],
props: ["model", "codes"],
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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>
......@@ -17,20 +17,20 @@ import Utils from "~/utils";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
};
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="gitdetp">
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="gitdetp">
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp";
import Gitsetp1 from "./Gitsetp1";
export default {
components: {
"m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () { },
components: {
"m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () { },
};
</script>
<style>
......
......@@ -13,8 +13,8 @@
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -31,7 +31,7 @@
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......
......@@ -41,7 +41,7 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
......
......@@ -50,27 +50,28 @@
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
......@@ -108,50 +109,34 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</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-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gitset from "~/model/Gitset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitset/Check";
import Default from "~/model/Gitset/Default";
import Pattern from "~/model/Gitset/Pattern";
import Gitset from "../model";
import operationFunc from "~/mixin/operationFunc";
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 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 Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan";
import Ccvpan from "~/views/Public/Ccvpan";
import Ovwp from "./Ovwp";
import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import event from '../event';
export default {
name: "Gitset",
......@@ -167,94 +152,72 @@ export default {
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-setmod":Setmod,
"m-glentry":Glentry
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitset",
model: new Gitset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["engp","coninfp"],
activeNames1: ["limitbody"],
activeNames: ["engp"],
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: {
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 () {
console.log("进入gitset交易");
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: "服务请求失败!" });
}
mounted () {
this.init()
},
};
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -30,10 +30,7 @@ export default {
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
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