Commit 0bbd8e87 by WF1020

格式调整

parent a45017e2
<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="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' && (model.trnmod.swiadd.purposame == 'ISCA' ||
(model.trnmod.swiadd.purposame == 'ISCA' || 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" /> </el-collapse-item>
</el-collapse-item> <el-collapse-item title="Seq. C: 历史信息" name="amephisc" v-if="
<el-collapse-item title="Seq. C: 历史信息" name="amephisc" v-if=" 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' && (model.trnmod.swiadd.purposame == 'ISCA' ||
(model.trnmod.swiadd.purposame == 'ISCA' || 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="
model.gitp.swiftflg == 'Y' &&
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if=" model.trnmod.swiadd.purposame == 'ISUA' &&
model.gitp.swiftflg == 'Y' && model.trnmod.swiadd.addamtflg == 'X' &&
model.trnmod.swiadd.purposame == 'ISUA' && model.gidgrp.rec.purpos != 'ISSU'
model.trnmod.swiadd.addamtflg == 'X' && ">
model.gidgrp.rec.purpos != 'ISSU' <m-aamp20 :model="model" :codes="codes" />
"> </el-collapse-item>
<m-aamp20 :model="model" :codes="codes" /> </el-collapse>
</el-collapse-item> </div>
</el-collapse>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -121,41 +119,41 @@ const tabNameToRulePathMapping = { ...@@ -121,41 +119,41 @@ const tabNameToRulePathMapping = {
} }
export default { export default {
components: { components: {
"m-ovwp1": Ovwp1, "m-ovwp1": Ovwp1,
"m-amephisc": Amephisc, "m-amephisc": Amephisc,
"m-opnp": Opnp, "m-opnp": Opnp,
"m-ameps20": Ameps20, "m-ameps20": Ameps20,
"m-amecp": Amecp, "m-amecp": Amecp,
"m-amedat20": Amedat20, "m-amedat20": Amedat20,
"m-preperp": Preperp, "m-preperp": Preperp,
"m-preperpc": Preperpc, "m-preperpc": Preperpc,
"m-gidtxtp": Gidtxtp, "m-gidtxtp": Gidtxtp,
"m-gidtxtpc": Gidtxtpc, "m-gidtxtpc": Gidtxtpc,
"m-detp": Detp, "m-detp": Detp,
"m-detpc": Detpc, "m-detpc": Detpc,
"m-amephis": Amephis, "m-amephis": Amephis,
"m-ovwpc": Ovwpc, "m-ovwpc": Ovwpc,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
"m-ptypc": Ptypc, "m-ptypc": Ptypc,
"m-aacp": Aacp, "m-aacp": Aacp,
"m-aamp20": Aamp20, "m-aamp20": Aamp20,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["opnp"], activeNames: ["opnp"],
}; };
}, },
methods: { }, methods: { },
created: function () { }, created: function () { },
}; };
</script> </script>
<style> <style>
.marginLable { .marginLable {
padding-left: 160px; padding-left: 160px;
} }
</style> </style>
\ No newline at end of file
...@@ -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>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<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> </el-collapse>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
export default { export default {
components:{ components:{
"m-gitsetp1" : Gitsetp1, "m-gitsetp1" : Gitsetp1,
}, },
inject: ["root"], inject: ["root"],
......
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: '必输项' },
"gctp.prbp.ptsget.sdamod.dadsnd":[ { max: 16, message: '长度不能超过16' },
{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.prb.pts.extkey":[ 'gcdgrp.oth.adrelc': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 35, message: '长度不能超过35' },
], ],
"gctp.prbp.ptsget.sdamod.seainf":[ 'gcdgrp.blk.disdoc': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 3,message:"长度不能超过3"} { max: 35, message: '长度不能超过35' },
], ],
"gcdgrp.prb.namelc":[ 'setmod.ref': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 16, message: '长度不能超过16' },
], ],
"gcdgrp.prb.pts.adrblk":[ 'setmod.docamt': [
{type: "string", required: true, message: "必输项"}, { type: 'number', required: false, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
], ],
"gcdgrp.prb.dbfadrblkcn":[ 'setmod.zmqacc': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 20, message: '长度不能超过20' },
], ],
"trnmod.swiadd.strinfs20":[ 'mtabut.coninf.oitinf.oit.inftxt': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 50,message:"长度不能超过50"} { max: 60, message: '长度不能超过60' },
], ],
"gcdgrp.prb.adrelc":[ 'mtabut.coninf.oitset.oit.inftxt': [
{type: "string", required: true, message: "必输项"}, { type: 'string', required: true, message: '必输项' },
{max: 35,message:"长度不能超过35"} { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' },
], ],
"gctp.othp.ptsget.sdamod.dadsnd":[ 'mtabut.coninf.usr.extkey': [
{type: "string", required: false, message: "必输项"}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:"长度不能超过16"} { max: 8, message: '长度不能超过8' },
],
"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":[ '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: {
recget: {
sdamod: {
seainf: '',
}, },
gctp: { },
recget: { gcthdr: '',
sdamod: { adaflg: '',
seainf: '' gidget: {
} sdamod: {
}, seainf: '',
gcthdr: '',
adaflg: '',
gidget: {
sdamod: {
seainf: ''
}
}
}, },
gcdgrp: { },
blk: { },
disdoc: '' gcdgrp: {
}, blk: {
prb: { disdoc: '',
pts: new Pts().data, },
rec: { prb: {
msgdat: '', pts: new Pts().data,
ownref: '', rec: {
clmdat: '', msgdat: '',
payrol: '', ownref: '',
nam: '', clmdat: '',
docprbrol: '' payrol: '',
}, nam: '',
oth: { docprbrol: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
}, },
gidgrp: { oth: {
rec: { pts: new Pts().data,
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
}, },
lettername: '', cbs: {
trnmod: { opn1: {
swiadd: { cur: '',
strinfs20: '' amt: '',
} },
} max: {
}, cur: '',
setmod: new Pub().data.Setmod, amt: '',
mtabut: new Pub().data.Mtabut, },
trnmod: new Pub().data.Trnmod, },
liaall: new Pub().data.Liaall, ben: {
liaccv: new Pub().data.Liaccv, pts: new Pts().data,
docpan: new Pub().data.Docpan, },
} apl: {
pts: new Pts().data,
},
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
},
},
lettername: '',
trnmod: {
swiadd: {
strinfs20: '',
},
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
} }
} }
\ No newline at end of file
...@@ -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: {
pts: new Pts().data, pts: new Pts().data,
},
rec: {
expdat: '',
purpos: '',
ownref: '',
exptyp: '',
nam: '',
gartyp: '',
purposin: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
}, },
fremsg: { rec: {
othmsgp: { expdat: '',
ptsget: { purpos: '',
sdamod: { ownref: '',
seainf: '' exptyp: '',
} nam: '',
} gartyp: '',
}, purposin: '',
flg: '',
othmsg: {
pts: new Pts().data,
},
strinf: '',
iss: {
pts: new Pts().data,
},
msgrol: '',
tag23: '',
ccrol: '',
fulmt: '',
othcc: {
pts: new Pts().data,
},
tag45d: '',
issrol: '',
tag22d: '',
det: '',
frttitle: '',
reldat: '',
tag23h: '',
relmt: '',
sndmt: '',
tag20ref: '',
reldir: '',
tag77a: ''
}, },
gitp0: { cbs: {
recget: { opn1: {
sdamod: { cur: '',
seainf: '' amt: '',
} },
max: {
cur: '',
amt: '',
},
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
fremsg: {
othmsgp: {
ptsget: {
sdamod: {
seainf: '',
}, },
gitp0s20: '' },
},
flg: '',
othmsg: {
pts: new Pts().data,
},
strinf: '',
iss: {
pts: new Pts().data,
},
msgrol: '',
tag23: '',
ccrol: '',
fulmt: '',
othcc: {
pts: new Pts().data,
},
tag45d: '',
issrol: '',
tag22d: '',
det: '',
frttitle: '',
reldat: '',
tag23h: '',
relmt: '',
sndmt: '',
tag20ref: '',
reldir: '',
tag77a: '',
},
gitp0: {
recget: {
sdamod: {
seainf: '',
},
}, },
trnmod: { gitp0s20: '',
swiadd: { },
amenbr: '', trnmod: {
amestatxt: '' swiadd: {
} amenbr: '',
amestatxt: '',
}, },
setmod: new Pub().data.Setmod, },
mtabut: new Pub().data.Mtabut, setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod, mtabut: new Pub().data.Mtabut,
liaall: new Pub().data.Liaall, trnmod: new Pub().data.Trnmod,
liaccv: new Pub().data.Liaccv, liaall: new Pub().data.Liaall,
docpan: new Pub().data.Docpan, liaccv: new Pub().data.Liaccv,
} docpan: new Pub().data.Docpan,
} };
} }
\ No newline at end of file }
...@@ -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>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- SF000256 : Form of Undertaking --> <!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="承诺形式" prop="fremsg.tag22d"> <el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder=""> <c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000257 : Undertaking Number --> <!-- SF000257 : Undertaking Number -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="企业编号" prop="fremsg.tag23"> <c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input> <c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000258 : Issuer of Undertak. --> <!-- SF000258 : Issuer of Undertak. -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发行人" prop="fremsg.issrol"> <el-form-item label="发行人" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol"> <c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol">
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value"> <!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> --> </el-option> -->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey"> <el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入" <c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
:disabled="model.fremsg.issrol!=''" :disabled="model.fremsg.issrol!=''"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey') showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input> "></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button style="margin: 0 0" size="small" type="primary"> <c-button style="margin: 0 0" size="small" type="primary">
详情 详情
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk"> <el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk" <c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
:disabled="model.fremsg.issrol!=''" :disabled="model.fremsg.issrol!=''"
maxlength="300" show-word-limit placeholder="请输入"> maxlength="300" show-word-limit placeholder="请输入">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000259 : Function --> <!-- SF000259 : Function -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="功能" prop="fremsg.tag23h"> <el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder=""> <c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000260 : Details of Request --> <!-- SF000260 : Details of Request -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="请求的详细信息" prop="fremsg.tag45d"> <c-form-item label="请求的详细信息" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" :code="tag45d" :rows="5" maxlength="65" show-word-limit placeholder="" ></c-input> <c-input type="textarea" v-model="model.fremsg.tag45d" :code="tag45d" :rows="5" maxlength="65" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<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="gitfrep1"> <el-collapse-item title="公共报文" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" /> <m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'"> <el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" /> <m-mt759p :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="拒绝修正" name="Rejp" v-if="model.fremsg.sndmt=='AME'"> <el-collapse-item title="拒绝修正" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" /> <m-rejp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'"> <el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<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'
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs <c-tabs
v-model="tabVal" v-model="tabVal"
ref="elment" ref="elment"
type="card" type="card"
...@@ -22,45 +22,45 @@ ...@@ -22,45 +22,45 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- <!--
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<c-content> <c-content>
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> --> </el-tab-pane> -->
<!-- <el-tab-pane label="备查/附言" name="addbcb"> <!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> --> </el-tab-pane> -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan"> <el-tab-pane label="费用/账务" name="setpan">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
......
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
setglgRequest.setglg = {setgll: emitParams.list}; setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index); this.setgllAccts(setglgRequest, index);
break break
default: default:
return return
} }
} }
......
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: {
setgllidx: { setgllidx: {
setgrp: { setgrp: {
actser: { actser: {
pts: new Pts().data, pts: new Pts().data,
}, },
rcvcor2: { rcvcor2: {
pts: new Pts().data, pts: new Pts().data,
}, },
rcvcor: { rcvcor: {
pts: new Pts().data, pts: new Pts().data,
}, },
snd756: { snd756: {
pts: new Pts().data, pts: new Pts().data,
}, },
ori: { ori: {
pts: new Pts().data, pts: new Pts().data,
}, },
bei: { bei: {
pts: new Pts().data, pts: new Pts().data,
}, },
tri: { tri: {
pts: new Pts().data, pts: new Pts().data,
} },
},
sespay: {
beiacc: '',
strinf202: '',
strinf: '',
rcvcor2acc: '',
ownref: '',
corbnk: '',
oriacc: '',
evebnk: '',
coract: '',
rcvcoracc: '',
triacc: ''
}
}
}, },
doccur: '' sespay: {
}, beiacc: '',
cnybop: { strinf202: '',
saddwordout: '', strinf: '',
sbankname: '', rcvcor2acc: '',
outflg: '', ownref: '',
cnyflg: '', corbnk: '',
cnyout: { oriacc: '',
spayeeacct: '', evebnk: '',
sorilevyno: '', coract: '',
spayeeorgcode: '', rcvcoracc: '',
foffshoreamt: '', triacc: '',
cpayeeattr: '',
spayercountrycode: '',
fcustomsamt: '',
spayeracct: '',
frecordamt: '',
sbankorgcode: '',
sbanktrano: '',
fonshoreamt: '',
dpayeedate: '',
spayeecny: '',
spk: '',
ftotalamt: '',
iaccountperiod: '',
sbalancemode: '',
smidtransbank: '',
sswiftbic: '',
cpayeraccttyp: '',
fpayeeamt: '',
fprepayeeamt: '',
fnogoodsamt: ''
}, },
spayername: '', },
traflg: '',
vouflg: '',
outscale: '',
libflg: '',
spayeename: ''
}, },
bopmod: { doccur: '',
dbfgrp: { },
bas: { cnybop: {
actiontype: '', saddwordout: '',
actuamt: '', sbankname: '',
custype: '', outflg: '',
othacc: '', cnyflg: '',
custnm: '', cnyout: {
methods: '', spayeeacct: '',
rptno: '', sorilevyno: '',
txccy: '', spayeeorgcode: '',
lcyamt: '', foffshoreamt: '',
lcbgno: '', cpayeeattr: '',
tenor: '', spayercountrycode: '',
actuccy: '', fcustomsamt: '',
ownextkey: '', spayeracct: '',
idcode: '', frecordamt: '',
fcyamt: '', sbankorgcode: '',
issdate: '', sbanktrano: '',
fcyacc: '', fonshoreamt: '',
txamt: '', dpayeedate: '',
buscode: '', spayeecny: '',
outchargeamt: '', spk: '',
oppuser: '', ftotalamt: '',
lcyacc: '', iaccountperiod: '',
actiondesc: '', sbalancemode: '',
outchargeccy: '', smidtransbank: '',
othamt: '', sswiftbic: '',
exrate: '', cpayeraccttyp: '',
custcod: '' fpayeeamt: '',
} fprepayeeamt: '',
}, fnogoodsamt: '',
},
spayername: '',
traflg: '',
vouflg: '',
outscale: '',
libflg: '',
spayeename: '',
},
bopmod: {
dbfgrp: {
bas: {
actiontype: '',
actuamt: '',
custype: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '', ownextkey: '',
dbcp: { idcode: '',
baspp: { fcyamt: '',
acp: '' issdate: '',
} fcyacc: '',
}, txamt: '',
dbfp: { buscode: '',
baspp: { outchargeamt: '',
acp: '' oppuser: '',
} lcyacc: '',
}, actiondesc: '',
acttyp: '', outchargeccy: '',
szflg: '', othamt: '',
dbcgrp: { exrate: '',
bas: { custcod: '',
actiontype: '', },
custype: '',
actuamt: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '',
idcode: '',
fcyamt: '',
issdate: '',
fcyacc: '',
txamt: '',
buscode: '',
outchargeamt: '',
oppuser: '',
lcyacc: '',
actiondesc: '',
outchargeccy: '',
othamt: '',
exrate: '',
custcod: ''
}
},
basflg: ''
}, },
mtabut: { ownextkey: '',
clsflg: '' dbcp: {
baspp: {
acp: '',
},
}, },
gctp: { dbfp: {
recget: { baspp: {
sdamod: { acp: '',
seainf: '' },
}
},
gcthdr: '',
prechkdat: '',
prbp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
othp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
ischktyp: '',
gidget: {
sdamod: {
seainf: ''
}
},
getrefbut: ''
}, },
gcdgrp: { acttyp: '',
prb: { szflg: '',
pts: new Pts().data, dbcgrp: {
}, bas: {
rec: { actiontype: '',
cannowflg: '', custype: '',
frepaylg: '', actuamt: '',
ownref: '', othacc: '',
clmdat: '', custnm: '',
payrol: '', methods: '',
nam: '', rptno: '',
docprbrol: '', txccy: '',
frepayflg: '' lcyamt: '',
}, lcbgno: '',
oth: { tenor: '',
pts: new Pts().data, actuccy: '',
}, ownextkey: '',
cbs: { idcode: '',
opn1: { fcyamt: '',
cur: '', issdate: '',
amt: '' fcyacc: '',
}, txamt: '',
opn2: { buscode: '',
cur: '' outchargeamt: '',
}, oppuser: '',
max: { lcyacc: '',
cur: '', actiondesc: '',
amt: '' outchargeccy: '',
}, othamt: '',
max2: { exrate: '',
amt: '' custcod: '',
} },
}, },
ben: { basflg: '',
pts: new Pts().data, },
}, mtabut: {
apl: { clsflg: '',
pts: new Pts().data, },
} gctp: {
recget: {
sdamod: {
seainf: '',
},
}, },
Gitsetp1: '', gcthdr: '',
paypsb: '', prechkdat: '',
gidgrp: { prbp: {
rec: { ptsget: {
reddat: '', sdamod: {
invref: '', seainf: '',
cmtflg: '',
expdat: '',
liadat: '',
rptref: '',
ownref: '',
expflg: '',
gartyp: ''
}, },
cbs: { },
opn1: { det: '',
cur: '', },
amt: '' othp: {
} ptsget: {
sdamod: {
seainf: '',
}, },
tag39c: '' },
det: '',
}, },
gtisetp1: '', ischktyp: '',
liaall: { gidget: {
limmod: { sdamod: {
limpfp: { seainf: '',
clmpty: '', },
clmcbe: '',
clmcbb: '',
}
}
}, },
trnmod: { getrefbut: '',
reconebch: '', },
cmtflg: '', gcdgrp: {
cipmod: { prb: {
recsehbchnam: '', pts: new Pts().data,
zjg1mc: '', },
zjg2mc: '', rec: {
fuynh4: '', cannowflg: '',
dddbsh: '', frepaylg: '',
fukrhm: '', ownref: '',
fkhdzh: '', clmdat: '',
stasehbchnam: '', payrol: '',
covflg: '', nam: '',
recsehbch: '', docprbrol: '',
fuynh3: '', frepayflg: '',
dafnzh: '', },
fuynh2: '', oth: {
fkrkhh: '', pts: new Pts().data,
staonebchnam: '', },
fkkhmc: '', cbs: {
skkhhh: '', opn1: {
ddmisu: '', cur: '',
pyebchkey: '', amt: '',
ddbhao: '', },
skkhhm: '', opn2: {
staonebch: '', cur: '',
fkhkhh: '', },
stasehbch: '', max: {
zjg1hh: '', cur: '',
zjg2hh: '', amt: '',
dafnmc: '', },
skkhzh: '', max2: {
fuyns4: '', amt: '',
fuyns3: '', },
fuyns2: '', },
fkkhzh: '', ben: {
fuyns1: '', pts: new Pts().data,
pyebchnam: '' },
}, apl: {
swftyp: '', pts: new Pts().data,
reconebchnam: '', },
commen: '', },
bustyp: '', Gitsetp1: '',
setmod: new Pub().data.Setmod, paypsb: '',
mtabut: new Pub().data.Mtabut, gidgrp: {
trnmod: new Pub().data.Trnmod, rec: {
liaall: new Pub().data.Liaall, reddat: '',
liaccv: new Pub().data.Liaccv, invref: '',
docpan: new Pub().data.Docpan, cmtflg: '',
} expdat: '',
} liadat: '',
} rptref: '',
} ownref: '',
\ No newline at end of file expflg: '',
gartyp: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
},
tag39c: '',
},
gtisetp1: '',
liaall: {
limmod: {
limpfp: {
clmpty: '',
clmcbe: '',
clmcbb: '',
},
},
},
trnmod: {
reconebch: '',
cmtflg: '',
cipmod: {
recsehbchnam: '',
zjg1mc: '',
zjg2mc: '',
fuynh4: '',
dddbsh: '',
fukrhm: '',
fkhdzh: '',
stasehbchnam: '',
covflg: '',
recsehbch: '',
fuynh3: '',
dafnzh: '',
fuynh2: '',
fkrkhh: '',
staonebchnam: '',
fkkhmc: '',
skkhhh: '',
ddmisu: '',
pyebchkey: '',
ddbhao: '',
skkhhm: '',
staonebch: '',
fkhkhh: '',
stasehbch: '',
zjg1hh: '',
zjg2hh: '',
dafnmc: '',
skkhzh: '',
fuyns4: '',
fuyns3: '',
fuyns2: '',
fkkhzh: '',
fuyns1: '',
pyebchnam: '',
},
swftyp: '',
reconebchnam: '',
commen: '',
bustyp: '',
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
},
};
}
}
<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="wg"> <el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'">
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'"> <el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'">
<m-basp1 :model="model" :codes="codes" /> <m-basp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1"> <el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'">
<m-cnyp1 :model="model" :codes="codes" /> <m-basp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'"> <el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-outp :model="model" :codes="codes" /> <m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<m-outp :model="model" :codes="codes" />
</el-collapse> </el-collapse-item>
</div> </el-collapse>
</div>
</template> </template>
<script> <script>
...@@ -43,25 +40,24 @@ ...@@ -43,25 +40,24 @@
"outp": "cnybop.outp", "outp": "cnybop.outp",
} }
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
"m-wg": Wg, "m-wg": Wg,
"m-cnyp1": Cnyp1, "m-cnyp1": Cnyp1,
"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], data() {
data() { return {
return { activeNames: ["wg"],
activeNames: ["wg"], };
}; },
}, methods: {
methods: { },
}, created: function () {},
created: function () {},
}; };
</script> </script>
......
...@@ -175,15 +175,15 @@ ...@@ -175,15 +175,15 @@
icon="el-icon-more" icon="el-icon-more"
style="margin: 0 0 0 3px" style="margin: 0 0 0 3px"
@click=" @click="
showGridPromptDialog( showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel', 'setmod.setglg.setgll.sespay.cod.buttxmsel',
null, null,
null, null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' }, { TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false }, { TXT: false },
'doxpDialog' 'doxpDialog'
) )
" "
> >
</c-button> </c-button>
</template> </template>
......
...@@ -163,21 +163,21 @@ ...@@ -163,21 +163,21 @@
prop="gcdgrp.cbs.opn1.cur" prop="gcdgrp.cbs.opn1.cur"
previewLabel="信用证币种" previewLabel="信用证币种"
> >
<c-select <c-select
v-model="model.gcdgrp.cbs.opn1.cur" v-model="model.gcdgrp.cbs.opn1.cur"
placeholder="" placeholder=""
@keyup.enter.native="nom1CurEvent" @keyup.enter.native="nom1CurEvent"
style="width: 100%" style="width: 100%"
disabled disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
> >
<el-option </el-option>
v-for="item in codes.cur" </c-select>
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -208,9 +208,8 @@ ...@@ -208,9 +208,8 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</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>
...@@ -218,7 +217,7 @@ ...@@ -218,7 +217,7 @@
<c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" > <c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" >
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat"> <el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择责任截至日"></c-date-picker> <c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择责任截至日"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -398,8 +397,8 @@ ...@@ -398,8 +397,8 @@
<c-checkbox v-model="model.gcdgrp.rec.cannowflg" disabled <c-checkbox v-model="model.gcdgrp.rec.cannowflg" disabled
>保函注销情况下的付款</c-checkbox >保函注销情况下的付款</c-checkbox
> >
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" --> <!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12"> <c-col :span="12">
...@@ -409,8 +408,8 @@ ...@@ -409,8 +408,8 @@
:disabled="flag2" :disabled="flag2"
>是否闭卷 >是否闭卷
</c-checkbox> </c-checkbox>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="6" > <c-col :span="6" >
...@@ -430,8 +429,8 @@ ...@@ -430,8 +429,8 @@
:disabled="this.flag1" :disabled="this.flag1"
>未支付申请人</c-checkbox >未支付申请人</c-checkbox
> >
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col <c-col
......
...@@ -207,17 +207,15 @@ ...@@ -207,17 +207,15 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</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>
<c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" > <c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" >
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat"> <el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择责任截至日"></c-date-picker> <c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择责任截至日"></c-date-picker>
</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>
<el-collapse-item title="索赔付款(1)" name="gitsetp"> <el-collapse-item title="索赔付款(1)" name="gitsetp">
<m-gitsetp ref="gitsetp" :model="model" :codes="codes" /> <m-gitsetp ref="gitsetp" :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="CIPS" name="cips"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="CIPS2" name="cips2"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips2 :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="通知付款(MT756)" name="det756"> <el-collapse-item title="CIPS" name="cips"
<m-det756 :model="model" :codes="codes" /> v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
</el-collapse-item> <m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="头寸调拨(MT202)" name="det202cv"
v-if=" model.trnmod.cmtflg == 'C' || model.gcdgrp.cbs.max.cur != 'CNY' "> <el-collapse-item title="CIPS2" name="cips2"
<m-det202cv :model="model" :codes="codes" /> v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
</el-collapse-item> <m-cips2 :model="model" :codes="codes" />
--> </el-collapse-item>
<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"/> <!-- <el-collapse-item title="通知付款(MT756)" name="det756">
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" /> <m-det756 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse>
<el-collapse-item title="头寸调拨(MT202)" name="det202cv"
</div> v-if=" model.trnmod.cmtflg == 'C' || model.gcdgrp.cbs.max.cur != 'CNY' ">
</template> <m-det202cv :model="model" :codes="codes" />
</el-collapse-item>
<script> -->
import Api from "~/service/Api"; <el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name">
import Utils from "~/utils"; <m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/>
import event from '../event' <m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
import Det756 from "./Det756"; </el-collapse-item>
import Det202cv from "./Det202cv"; </el-collapse>
import Cips from "./Cips";
import Cips2 from "./Cips2"; </div>
import Gitsetp1 from "./Gitsetp1"; </template>
import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = { <script>
"cips": "trnmod.cipmod.cips", import Api from "~/service/Api";
import Utils from "~/utils";
import event from '../event'
import Det756 from "./Det756";
import Det202cv from "./Det202cv";
import Cips from "./Cips";
import Cips2 from "./Cips2";
import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = {
"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-det202cv": Det202cv,
"m-det756": Det756, "m-cips": Cips,
"m-det202cv": Det202cv, "m-cips2": Cips2,
"m-cips": Cips, },
"m-cips2": Cips2, inject: ["root"],
props: ["model", "codes"],
}, mixins: [event],
inject: ["root"], data() {
props: ["model", "codes"], return {
mixins: [event], activeNames: ["gitsetp1"],
data() { };
return {
activeNames: ["gitsetp1"],
};
},
computed: {
pacs() {
const pa = []
const setgll = this.model.setmod.setglg.setgll
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === 'PAC') {
const temp = []
temp.push(setg.rol )
temp.push(setg.acccur )
temp.push(setg.fmtaccamt )
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' })
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
}
}
if(pa.length !== 0){
tabNameToRulePathMapping[pa[0].name] = "setmod.setglg.setgll(2).sespay.det756";
tabNameToRulePathMapping[pa[1].name] = "setmod.setglg.setgll(2).sespay.det202cv";
}
return pa;
}
}, },
methods: { computed: {
}, pacs() {
created: function () {}, const pa = []
}; const setgll = this.model.setmod.setglg.setgll
</script> for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === 'PAC') {
const temp = []
temp.push(setg.rol )
temp.push(setg.acccur )
temp.push(setg.fmtaccamt )
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' })
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
}
}
if(pa.length !== 0){
tabNameToRulePathMapping[pa[0].name] = "setmod.setglg.setgll(2).sespay.det756";
tabNameToRulePathMapping[pa[1].name] = "setmod.setglg.setgll(2).sespay.det202cv";
}
return pa;
}
},
methods: { },
};
</script>
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -79,21 +79,20 @@ export default { ...@@ -79,21 +79,20 @@ export default {
}, },
watch:{ watch:{
"model.bopmod.szflg":{ "model.bopmod.szflg":{
immediate:true, immediate:true,
handler(val ,oldVal){ handler(val ,oldVal){
if(val=="3"){ if(val=="3"){
this.model.bopmod.ownextkey='' this.model.bopmod.ownextkey=''
} }
if(val=="2"){ if(val=="2"){
this.model.bopmod.ownextkey='08350012' this.model.bopmod.ownextkey='08350012'
} }
if(val=="1"){ if(val=="1"){
this.model.bopmod.ownextkey='08350012' this.model.bopmod.ownextkey='08350012'
} }
}, },
} }
},
},
methods: { }, methods: { },
created: function () {}, created: function () {},
}; };
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</c-button> </c-button>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
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