Commit 0bbd8e87 by WF1020

格式调整

parent a45017e2
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
</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">
...@@ -81,7 +80,6 @@ ...@@ -81,7 +80,6 @@
"> ">
<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="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
model.trnmod.swiadd.purposame == 'ISUA' && model.trnmod.swiadd.purposame == 'ISUA' &&
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
......
import Utils from "~/utils" import Utils from '~/utils';
/** /**
* Gitcrj Check规则 * Gitcrj Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null, 'liaall.limmod.limpts.oth.pts.extkey': null,
"gcdgrp.prb.adrelc" :null, 'gcdgrp.prb.adrelc': null,
"liaall.limmod.ownref" :null, 'liaall.limmod.ownref': null,
"liaall.limmod.ecifno" :null, 'liaall.limmod.ecifno': null,
"gcdgrp.oth.namelc" :null, 'gcdgrp.oth.namelc': null,
"gcdgrp.blk.disdoc" :null, 'gcdgrp.blk.disdoc': null,
"gcdgrp.oth.adrelc" :null, 'gcdgrp.oth.adrelc': null,
"liaall.limmod.limpts.oth.pts.nam" :null, 'liaall.limmod.limpts.oth.pts.nam': null,
"setmod.dspflg" :null, 'setmod.dspflg': null,
"gcdgrp.prb.pts.extkey" :null, 'gcdgrp.prb.pts.extkey': null,
"trnmod.swiadd.strinfs20" :null, 'trnmod.swiadd.strinfs20': null,
"gcdgrp.prb.namelc" :null, 'gcdgrp.prb.namelc': null,
"gcdgrp.prb.pts.adrblk" :null, 'gcdgrp.prb.pts.adrblk': null,
"liaall.limmod.limpts.wrk.pts.nam" :null, 'liaall.limmod.limpts.wrk.pts.nam': null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, 'liaall.limmod.limpts.wrk.pts.extkey': null,
"gcdgrp.apl.pts.nam" :null, 'gcdgrp.apl.pts.nam': null,
"gcdgrp.rec.msgdat" :null, 'gcdgrp.rec.msgdat': null,
"mtabut.coninf.conexedat" :null, 'mtabut.coninf.conexedat': null,
"liaall.limmod.limpts.nonrevflg1" :null, 'liaall.limmod.limpts.nonrevflg1': null,
"setmod.docamt" :null, 'setmod.docamt': null,
"gcdgrp.oth.pts.extkey" :null, 'gcdgrp.oth.pts.extkey': null,
"gcdgrp.oth.pts.adrblk" :null, 'gcdgrp.oth.pts.adrblk': null,
"mtabut.clsflg" :null, 'mtabut.clsflg': null,
"gctp.gidget.sdamod.dadsnd":[ 'gctp.gidget.sdamod.dadsnd': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gidgrp.rec.ownref":[ 'gidgrp.rec.ownref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gctp.gidget.sdamod.seainf":[ 'gctp.gidget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"gidgrp.rec.expdat":[ 'gidgrp.rec.expdat': [
{type: "date", required: false, message: "输入正确的日期"} { type: 'date', required: false, message: '输入正确的日期' },
], ],
"gidgrp.cbs.opn1.cur":[ 'gidgrp.cbs.opn1.cur': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"gidgrp.cbs.opn1.amt":[ 'gidgrp.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位" }
], ],
"gcdgrp.rec.ownref":[ 'gcdgrp.rec.ownref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gctp.recget.sdamod.seainf":[ 'gctp.recget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"gctp.recget.sdamod.dadsnd":[ 'gctp.recget.sdamod.dadsnd': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.rec.nam":[ 'gcdgrp.rec.nam': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 40,message:"长度不能超过40"} { max: 40, message: '长度不能超过40' },
], ],
"gcdgrp.cbs.max.cur":[ 'gcdgrp.cbs.max.cur': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"gcdgrp.cbs.max.amt":[ 'gcdgrp.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位" }
], ],
"gcdgrp.apl.pts.ref":[ 'gcdgrp.apl.pts.ref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.cbs.opn1.cur":[ 'gcdgrp.cbs.opn1.cur': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"gcdgrp.cbs.opn1.amt":[ 'gcdgrp.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位" }
], ],
"gcdgrp.apl.pts.nam":[ 'gcdgrp.apl.pts.nam': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 40,message:"长度不能超过40"} { max: 40, message: '长度不能超过40' },
], ],
"gcdgrp.ben.pts.ref":[ 'gcdgrp.ben.pts.ref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gidgrp.rec.liadat":[ 'gidgrp.rec.liadat': [
{type: "date", required: false, message: "输入正确的日期"} { type: 'date', required: false, message: '输入正确的日期' },
], ],
"gcdgrp.ben.pts.nam":[ 'gcdgrp.ben.pts.nam': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 40,message:"长度不能超过40"} { max: 40, message: '长度不能超过40' },
], ],
"gcdgrp.rec.clmdat":[ 'gcdgrp.rec.clmdat': [
{type: "date", required: false, message: "输入正确的日期"} { type: 'date', required: false, message: '输入正确的日期' },
], ],
"lettername":[ lettername: [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 40,message:"长度不能超过40"} { max: 40, message: '长度不能超过40' },
], ],
"rejtypsel":[ rejtypsel: [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:"长度不能超过1"} { max: 1, message: '长度不能超过1' },
], ],
"gcdgrp.prb.pts.ref":[ 'gcdgrp.prb.pts.ref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.rec.msgdat":[ 'gcdgrp.rec.msgdat': [{ type: 'date', required: false, message: '必输项' }],
{type: "date", required: false, message: "必输项"} 'gctp.prbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
], ],
"gctp.prbp.ptsget.sdamod.dadsnd":[ 'gcdgrp.prb.pts.extkey': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.prb.pts.extkey":[ 'gctp.prbp.ptsget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 3, message: '长度不能超过3' },
], ],
"gctp.prbp.ptsget.sdamod.seainf":[ 'gcdgrp.prb.namelc': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.prb.namelc":[ 'gcdgrp.prb.pts.adrblk': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.prb.pts.adrblk":[ 'gcdgrp.prb.dbfadrblkcn': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.prb.dbfadrblkcn":[ 'trnmod.swiadd.strinfs20': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 50, message: '长度不能超过50' },
], ],
"trnmod.swiadd.strinfs20":[ 'gcdgrp.prb.adrelc': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 50,message:"长度不能超过50"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.prb.adrelc":[ 'gctp.othp.ptsget.sdamod.dadsnd': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 16, message: '长度不能超过16' },
], ],
"gctp.othp.ptsget.sdamod.dadsnd":[ 'gcdgrp.oth.pts.extkey': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.oth.pts.extkey":[ 'gctp.othp.ptsget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 3, message: '长度不能超过3' },
], ],
"gctp.othp.ptsget.sdamod.seainf":[ 'gcdgrp.oth.namelc': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.oth.namelc":[ 'gcdgrp.oth.pts.adrblk': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.oth.pts.adrblk":[ 'gcdgrp.oth.dbfadrblkcn': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.oth.dbfadrblkcn":[ 'gcdgrp.oth.adrelc': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.oth.adrelc":[ 'gcdgrp.blk.disdoc': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.blk.disdoc":[ 'setmod.ref': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 16, message: '长度不能超过16' },
], ],
"setmod.ref":[ 'setmod.docamt': [
{type: "string", required: false, message: "必输项"}, { type: 'number', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
], ],
"setmod.docamt":[ 'setmod.zmqacc': [
{type: "number", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 18,message:"整数位不能超过14位"}, { max: 20, message: '长度不能超过20' },
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"setmod.zmqacc":[ 'mtabut.coninf.oitinf.oit.inftxt': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 20,message:"长度不能超过20"} { max: 60, message: '长度不能超过60' },
], ],
"mtabut.coninf.oitinf.oit.inftxt":[ 'mtabut.coninf.oitset.oit.inftxt': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 60,message:"长度不能超过60"} { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' },
], ],
"mtabut.coninf.oitset.oit.inftxt":[ 'mtabut.coninf.usr.extkey': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 60,message:"长度不能超过60"} { max: 8, message: '长度不能超过8' },
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
], ],
"trnmod.trndoc.advnam":[ 'trnmod.trndoc.advnam': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 50,message:"长度不能超过50"} { max: 50, message: '长度不能超过50' },
], ],
"trnmod.trndoc.amdapl":[ 'trnmod.trndoc.amdapl': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 50,message:"长度不能超过50"} { max: 50, message: '长度不能超过50' },
], ],
"trnmod.trndoc.advdoc":[ 'trnmod.trndoc.advdoc': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:"长度不能超过1"} { max: 1, message: '长度不能超过1' },
], ],
"trnmod.trndoc.filrecv":[ 'trnmod.trndoc.filrecv': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"trnmod.trndoc.doctrestm":[ 'trnmod.trndoc.doctrestm': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:"长度不能超过1"} { max: 1, message: '长度不能超过1' },
], ],
"trnmod.trndoc.condocstm":[ 'trnmod.trndoc.condocstm': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:"长度不能超过1"} { max: 1, message: '长度不能超过1' },
], ],
"trnmod.trndoc.rcvatt.seainf":[ 'trnmod.trndoc.rcvatt.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"instxt":[ instxt: [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 65,message:"长度不能超过65"} { max: 65, message: '长度不能超过65' },
], ],
"liaall.limmod.ecifno":[ 'liaall.limmod.ecifno': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 22,message:"长度不能超过22"} { max: 22, message: '长度不能超过22' },
], ],
"liaall.limmod.ownref":[ 'liaall.limmod.ownref': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[ 'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[ 'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"liaall.limmod.limpts.wrk.pts.extkey":[ 'liaall.limmod.limpts.wrk.pts.extkey': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[ 'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"liaall.limmod.limpts.oth.pts.extkey":[ 'liaall.limmod.limpts.oth.pts.extkey': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 16, message: '长度不能超过16' },
], ],
"liaall.limmod.othp.ptsget.sdamod.seainf":[ 'liaall.limmod.othp.ptsget.sdamod.seainf': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 3, message: '长度不能超过3' },
], ],
"liaall.limmod.comamt":[ 'liaall.limmod.comamt': [
{type: "number", required: false, message: "必输项"}, { type: 'number', 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}$)/,
"liaall.limmod.limpts.wrk.pts.nam":[ message: '小数位不能超过3位',
{type: "string", required: false, message: "必输项"}, },
{max: 40,message:"长度不能超过40"} ],
], 'liaall.limmod.limpts.wrk.pts.nam': [
"liaall.limmod.limpts.oth.pts.nam":[ { type: 'string', required: false, message: '必输项' },
{type: "string", required: false, message: "必输项"}, { max: 40, message: '长度不能超过40' },
{max: 40,message:"长度不能超过40"} ],
], 'liaall.limmod.limpts.oth.pts.nam': [
"liaall.limmod.ccvamt":[ { type: 'string', required: false, message: '必输项' },
{type: "number", required: false, message: "必输项"}, { max: 40, message: '长度不能超过40' },
{max: 18,message:"整数位不能超过14位"}, ],
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } 'liaall.limmod.ccvamt': [
], { type: 'number', required: false, message: '必输项' },
"liaall.limmod.limpts.pfcod1":[ { max: 18, message: '整数位不能超过14位' },
{type: "string", required: false, message: "必输项"}, {
{max: 14,message:"长度不能超过14"} pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
], message: '小数位不能超过3位',
"liaall.limmod.limpts.pfcod2":[ },
{type: "string", required: false, message: "必输项"}, ],
{max: 14,message:"长度不能超过14"} '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' },
],
};
for (const key in checkObj) { for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) { if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
} }
} }
export default checkObj export default checkObj;
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 Gitcrj{ export default class Gitcrj {
constructor () { constructor() {
this.data = { this.data = {
rejtypsel: '', rejtypsel: '',
instxt: '', instxt: '',
mtabut: { mtabut: {
clsflg: '' clsflg: '',
}, },
gctp: { gctp: {
recget: { recget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
}, },
gcthdr: '', gcthdr: '',
adaflg: '', adaflg: '',
gidget: { gidget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
} },
}, },
gcdgrp: { gcdgrp: {
blk: { blk: {
disdoc: '' disdoc: '',
}, },
prb: { prb: {
pts: new Pts().data, pts: new Pts().data,
...@@ -34,7 +34,7 @@ export default class Gitcrj{ ...@@ -34,7 +34,7 @@ export default class Gitcrj{
clmdat: '', clmdat: '',
payrol: '', payrol: '',
nam: '', nam: '',
docprbrol: '' docprbrol: '',
}, },
oth: { oth: {
pts: new Pts().data, pts: new Pts().data,
...@@ -42,19 +42,19 @@ export default class Gitcrj{ ...@@ -42,19 +42,19 @@ export default class Gitcrj{
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
} },
}, },
ben: { ben: {
pts: new Pts().data, pts: new Pts().data,
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
gidgrp: { gidgrp: {
rec: { rec: {
...@@ -62,21 +62,21 @@ export default class Gitcrj{ ...@@ -62,21 +62,21 @@ export default class Gitcrj{
liadat: '', liadat: '',
ownref: '', ownref: '',
expflg: '', expflg: '',
gartyp: '' gartyp: '',
}, },
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
} },
} },
}, },
lettername: '', lettername: '',
trnmod: { trnmod: {
swiadd: { swiadd: {
strinfs20: '' strinfs20: '',
} },
} },
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
...@@ -84,7 +84,6 @@ export default class Gitcrj{ ...@@ -84,7 +84,6 @@ export default class Gitcrj{
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,
} };
} }
} }
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
data() { data() {
return { return {
activeNames: ["gitsetp1"], activeNames: ["gitsetp1"],
}; };
}, },
methods: { }, methods: { },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
v-model="tabVal" v-model="tabVal"
ref="elment" ref="elment"
type="card" type="card"
@tab-click="myTabClick" @tab-click="tabClick"
> >
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
......
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 Gitfre{ export default class Gitfre {
constructor () { constructor() {
this.data = { this.data = {
gidgrp: { gidgrp: {
ctr: { ctr: {
...@@ -14,17 +14,17 @@ export default class Gitfre{ ...@@ -14,17 +14,17 @@ export default class Gitfre{
exptyp: '', exptyp: '',
nam: '', nam: '',
gartyp: '', gartyp: '',
purposin: '' purposin: '',
}, },
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
} },
}, },
iss: { iss: {
pts: new Pts().data, pts: new Pts().data,
...@@ -34,15 +34,15 @@ export default class Gitfre{ ...@@ -34,15 +34,15 @@ export default class Gitfre{
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
fremsg: { fremsg: {
othmsgp: { othmsgp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
} },
}, },
flg: '', flg: '',
othmsg: { othmsg: {
...@@ -70,21 +70,21 @@ export default class Gitfre{ ...@@ -70,21 +70,21 @@ export default class Gitfre{
sndmt: '', sndmt: '',
tag20ref: '', tag20ref: '',
reldir: '', reldir: '',
tag77a: '' tag77a: '',
}, },
gitp0: { gitp0: {
recget: { recget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
}, },
gitp0s20: '' gitp0s20: '',
}, },
trnmod: { trnmod: {
swiadd: { swiadd: {
amenbr: '', amenbr: '',
amestatxt: '' amestatxt: '',
} },
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
...@@ -92,6 +92,6 @@ export default class Gitfre{ ...@@ -92,6 +92,6 @@ export default class Gitfre{
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,
} };
} }
} }
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="tag20" prop="fremsg.tag20ref" v-if="model.fremsg.fulmt=='799'"> <el-form-item label="tag20" prop="fremsg.tag20ref" v-if="model.fremsg.fulmt=='799'">
<c-input <c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='SAN'" :disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='SAN'"
...@@ -276,7 +276,6 @@ ...@@ -276,7 +276,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more" icon="el-icon-more"
> >
</c-button> </c-button>
</template> </template>
...@@ -303,7 +302,6 @@ ...@@ -303,7 +302,6 @@
></c-input> ></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="gidgrp.apl.pts.ref"> <el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input> <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input>
...@@ -474,7 +472,6 @@ ...@@ -474,7 +472,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<m-fredet :model="model" :codes="codes" /> <m-fredet :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'
......
import Api from "~/service/Api" import Api from '~/service/Api';
import Pts from "../Common/Pts" import Pts from '../Common/Pts';
export default class Gitsel{ export default class Gitsel {
constructor () { constructor() {
this.data = { this.data = {
setmod: { setmod: {
setglg: { setglg: {
...@@ -28,7 +28,7 @@ export default class Gitsel{ ...@@ -28,7 +28,7 @@ export default class Gitsel{
}, },
tri: { tri: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
sespay: { sespay: {
beiacc: '', beiacc: '',
...@@ -41,11 +41,11 @@ export default class Gitsel{ ...@@ -41,11 +41,11 @@ export default class Gitsel{
evebnk: '', evebnk: '',
coract: '', coract: '',
rcvcoracc: '', rcvcoracc: '',
triacc: '' triacc: '',
} },
}
}, },
doccur: '' },
doccur: '',
}, },
cnybop: { cnybop: {
saddwordout: '', saddwordout: '',
...@@ -76,14 +76,14 @@ export default class Gitsel{ ...@@ -76,14 +76,14 @@ export default class Gitsel{
cpayeraccttyp: '', cpayeraccttyp: '',
fpayeeamt: '', fpayeeamt: '',
fprepayeeamt: '', fprepayeeamt: '',
fnogoodsamt: '' fnogoodsamt: '',
}, },
spayername: '', spayername: '',
traflg: '', traflg: '',
vouflg: '', vouflg: '',
outscale: '', outscale: '',
libflg: '', libflg: '',
spayeename: '' spayeename: '',
}, },
bopmod: { bopmod: {
dbfgrp: { dbfgrp: {
...@@ -114,19 +114,19 @@ export default class Gitsel{ ...@@ -114,19 +114,19 @@ export default class Gitsel{
outchargeccy: '', outchargeccy: '',
othamt: '', othamt: '',
exrate: '', exrate: '',
custcod: '' custcod: '',
} },
}, },
ownextkey: '', ownextkey: '',
dbcp: { dbcp: {
baspp: { baspp: {
acp: '' acp: '',
} },
}, },
dbfp: { dbfp: {
baspp: { baspp: {
acp: '' acp: '',
} },
}, },
acttyp: '', acttyp: '',
szflg: '', szflg: '',
...@@ -158,45 +158,45 @@ export default class Gitsel{ ...@@ -158,45 +158,45 @@ export default class Gitsel{
outchargeccy: '', outchargeccy: '',
othamt: '', othamt: '',
exrate: '', exrate: '',
custcod: '' custcod: '',
} },
}, },
basflg: '' basflg: '',
}, },
mtabut: { mtabut: {
clsflg: '' clsflg: '',
}, },
gctp: { gctp: {
recget: { recget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
}, },
gcthdr: '', gcthdr: '',
prechkdat: '', prechkdat: '',
prbp: { prbp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
}, },
det: '' det: '',
}, },
othp: { othp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
} },
}, },
det: '' det: '',
}, },
ischktyp: '', ischktyp: '',
gidget: { gidget: {
sdamod: { sdamod: {
seainf: '' seainf: '',
}
}, },
getrefbut: '' },
getrefbut: '',
}, },
gcdgrp: { gcdgrp: {
prb: { prb: {
...@@ -210,7 +210,7 @@ export default class Gitsel{ ...@@ -210,7 +210,7 @@ export default class Gitsel{
payrol: '', payrol: '',
nam: '', nam: '',
docprbrol: '', docprbrol: '',
frepayflg: '' frepayflg: '',
}, },
oth: { oth: {
pts: new Pts().data, pts: new Pts().data,
...@@ -218,25 +218,25 @@ export default class Gitsel{ ...@@ -218,25 +218,25 @@ export default class Gitsel{
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
}, },
opn2: { opn2: {
cur: '' cur: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max2: { max2: {
amt: '' amt: '',
} },
}, },
ben: { ben: {
pts: new Pts().data, pts: new Pts().data,
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
Gitsetp1: '', Gitsetp1: '',
paypsb: '', paypsb: '',
...@@ -250,15 +250,15 @@ export default class Gitsel{ ...@@ -250,15 +250,15 @@ export default class Gitsel{
rptref: '', rptref: '',
ownref: '', ownref: '',
expflg: '', expflg: '',
gartyp: '' gartyp: '',
}, },
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
} },
}, },
tag39c: '' tag39c: '',
}, },
gtisetp1: '', gtisetp1: '',
liaall: { liaall: {
...@@ -267,8 +267,8 @@ export default class Gitsel{ ...@@ -267,8 +267,8 @@ export default class Gitsel{
clmpty: '', clmpty: '',
clmcbe: '', clmcbe: '',
clmcbb: '', clmcbb: '',
} },
} },
}, },
trnmod: { trnmod: {
reconebch: '', reconebch: '',
...@@ -307,7 +307,7 @@ export default class Gitsel{ ...@@ -307,7 +307,7 @@ export default class Gitsel{
fuyns2: '', fuyns2: '',
fkkhzh: '', fkkhzh: '',
fuyns1: '', fuyns1: '',
pyebchnam: '' pyebchnam: '',
}, },
swftyp: '', swftyp: '',
reconebchnam: '', reconebchnam: '',
...@@ -319,7 +319,7 @@ export default class Gitsel{ ...@@ -319,7 +319,7 @@ export default class Gitsel{
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,
} },
} };
} }
} }
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'"> <el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<m-outp :model="model" :codes="codes" /> <m-outp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -50,7 +47,6 @@ ...@@ -50,7 +47,6 @@
"m-basp": Basp, "m-basp": Basp,
"m-basp1": Basp1, "m-basp1": Basp1,
"m-outp": Outp, "m-outp": Outp,
}, },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
......
...@@ -210,7 +210,6 @@ ...@@ -210,7 +210,6 @@
</c-col> </c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" > <c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" >
<el-form-item <el-form-item
label="我行责任敞口" label="我行责任敞口"
> >
</el-form-item> </el-form-item>
......
...@@ -209,9 +209,7 @@ ...@@ -209,9 +209,7 @@
</c-col> </c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" > <c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" >
<el-form-item <el-form-item
label="我行责任敞口">
label="我行责任敞口"
>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -65,8 +65,7 @@ ...@@ -65,8 +65,7 @@
maxlength="3" maxlength="3"
placeholder="" placeholder=""
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode') showGridPromptDialog('cnybop.cnyout.spayercountrycode')"
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
......
<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 ref="gitsetp1" :model="model" :codes="codes" /> <m-gitsetp1 ref="gitsetp1" :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
v-if=" model.trnmod.cmtflg == 'C' || model.gcdgrp.cbs.max.cur != 'CNY' "> v-if=" model.trnmod.cmtflg == 'C' || model.gcdgrp.cbs.max.cur != 'CNY' ">
<m-det202cv :model="model" :codes="codes" /> <m-det202cv :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
--> -->
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name"> <el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name">
<m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/> <m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/>
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" /> <m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
...@@ -37,9 +36,9 @@ ...@@ -37,9 +36,9 @@
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils"; import Utils from "~/utils";
import event from '../event' import event from '../event'
...@@ -49,21 +48,17 @@ ...@@ -49,21 +48,17 @@
import Cips2 from "./Cips2"; import Cips2 from "./Cips2";
import Gitsetp1 from "./Gitsetp1"; import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp"; import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = { const tabNameToRulePathMapping = {
"cips": "trnmod.cipmod.cips", "cips": "trnmod.cipmod.cips",
} }
export default { export default {
components: { components: {
"m-gitsetp1": Gitsetp1, "m-gitsetp1": Gitsetp1,
"m-gitsetp": Gitsetp, "m-gitsetp": Gitsetp,
"m-det756": Det756, "m-det756": Det756,
"m-det202cv": Det202cv, "m-det202cv": Det202cv,
"m-cips": Cips, "m-cips": Cips,
"m-cips2": Cips2, "m-cips2": Cips2,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -96,11 +91,9 @@ ...@@ -96,11 +91,9 @@
return pa; return pa;
} }
}, },
methods: { methods: { },
},
created: function () {},
}; };
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -92,7 +92,6 @@ export default { ...@@ -92,7 +92,6 @@ export default {
} }
}, },
} }
}, },
methods: { }, methods: { },
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