Commit 0bbd8e87 by WF1020

格式调整

parent a45017e2
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'">
<m-amedat20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-preperpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA')
">
<m-amecp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X'
">
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ovwpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ptypc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-detpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 历史信息" name="amephisc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-amephisc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'
">
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
model.gitp.swiftflg == 'Y' &&
model.trnmod.swiadd.purposame == 'ISUA' &&
model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU'
">
<m-aamp20 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'">
<m-amedat20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'">
<m-preperpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA')
">
<m-amecp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X'
">
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ovwpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ptypc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-detpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 历史信息" name="amephisc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-amephisc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'
">
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
model.gitp.swiftflg == 'Y' &&
model.trnmod.swiadd.purposame == 'ISUA' &&
model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU'
">
<m-aamp20 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -121,41 +119,41 @@ const tabNameToRulePathMapping = {
}
export default {
components: {
"m-ovwp1": Ovwp1,
"m-amephisc": Amephisc,
"m-opnp": Opnp,
"m-ameps20": Ameps20,
"m-amecp": Amecp,
"m-amedat20": Amedat20,
"m-preperp": Preperp,
"m-preperpc": Preperpc,
"m-gidtxtp": Gidtxtp,
"m-gidtxtpc": Gidtxtpc,
"m-detp": Detp,
"m-detpc": Detpc,
"m-amephis": Amephis,
"m-ovwpc": Ovwpc,
"m-ptyp": Ptyp,
"m-ptypc": Ptypc,
"m-aacp": Aacp,
"m-aamp20": Aamp20,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["opnp"],
};
},
methods: { },
created: function () { },
components: {
"m-ovwp1": Ovwp1,
"m-amephisc": Amephisc,
"m-opnp": Opnp,
"m-ameps20": Ameps20,
"m-amecp": Amecp,
"m-amedat20": Amedat20,
"m-preperp": Preperp,
"m-preperpc": Preperpc,
"m-gidtxtp": Gidtxtp,
"m-gidtxtpc": Gidtxtpc,
"m-detp": Detp,
"m-detpc": Detpc,
"m-amephis": Amephis,
"m-ovwpc": Ovwpc,
"m-ptyp": Ptyp,
"m-ptypc": Ptypc,
"m-aacp": Aacp,
"m-aamp20": Aamp20,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["opnp"],
};
},
methods: { },
created: function () { },
};
</script>
<style>
.marginLable {
padding-left: 160px;
padding-left: 160px;
}
</style>
\ No newline at end of file
......@@ -18,7 +18,6 @@
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="收费详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
......@@ -16,7 +16,7 @@
export default {
components:{
"m-gitsetp1" : Gitsetp1,
"m-gitsetp1" : Gitsetp1,
},
inject: ["root"],
......
import Utils from "~/utils"
import Utils from '~/utils';
/**
* Gitcrj Check规则
*/
* Gitcrj Check规则
*/
let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.blk.disdoc" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"gcdgrp.prb.pts.extkey" :null,
"trnmod.swiadd.strinfs20" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"gcdgrp.apl.pts.nam" :null,
"gcdgrp.rec.msgdat" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.oth.pts.adrblk" :null,
"mtabut.clsflg" :null,
"gctp.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lettername":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"rejtypsel":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.msgdat":[
{type: "date", required: false, message: "必输项"}
],
"gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.limpts.oth.pts.extkey': null,
'gcdgrp.prb.adrelc': null,
'liaall.limmod.ownref': null,
'liaall.limmod.ecifno': null,
'gcdgrp.oth.namelc': null,
'gcdgrp.blk.disdoc': null,
'gcdgrp.oth.adrelc': null,
'liaall.limmod.limpts.oth.pts.nam': null,
'setmod.dspflg': null,
'gcdgrp.prb.pts.extkey': null,
'trnmod.swiadd.strinfs20': null,
'gcdgrp.prb.namelc': null,
'gcdgrp.prb.pts.adrblk': null,
'liaall.limmod.limpts.wrk.pts.nam': null,
'liaall.limmod.limpts.wrk.pts.extkey': null,
'gcdgrp.apl.pts.nam': null,
'gcdgrp.rec.msgdat': null,
'mtabut.coninf.conexedat': null,
'liaall.limmod.limpts.nonrevflg1': null,
'setmod.docamt': null,
'gcdgrp.oth.pts.extkey': null,
'gcdgrp.oth.pts.adrblk': null,
'mtabut.clsflg': null,
'gctp.gidget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gidgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.gidget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.rec.expdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gidgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gctp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.cbs.max.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.ben.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gidgrp.rec.liadat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gcdgrp.ben.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.rec.clmdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
lettername: [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
rejtypsel: [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'gcdgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.rec.msgdat': [{ type: 'date', required: false, message: '必输项' }],
'gctp.prbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.prb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.prbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.prb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.prb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.prb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'trnmod.swiadd.strinfs20': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'gcdgrp.prb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gctp.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.oth.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.oth.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.oth.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
"gcdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'gcdgrp.oth.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
"gctp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
'gcdgrp.blk.disdoc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
"gcdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"gcdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
"gcdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
"trnmod.swiadd.strinfs20":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
"gcdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
"gctp.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.blk.disdoc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'trnmod.trndoc.filrecv': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
'trnmod.trndoc.condocstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
"instxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
instxt: [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
};
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
}
}
export default checkObj
export default checkObj;
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitcrj{
constructor () {
this.data = {
rejtypsel: '',
instxt: '',
mtabut: {
clsflg: ''
export default class Gitcrj {
constructor() {
this.data = {
rejtypsel: '',
instxt: '',
mtabut: {
clsflg: '',
},
gctp: {
recget: {
sdamod: {
seainf: '',
},
gctp: {
recget: {
sdamod: {
seainf: ''
}
},
gcthdr: '',
adaflg: '',
gidget: {
sdamod: {
seainf: ''
}
}
},
gcthdr: '',
adaflg: '',
gidget: {
sdamod: {
seainf: '',
},
gcdgrp: {
blk: {
disdoc: ''
},
prb: {
pts: new Pts().data,
rec: {
msgdat: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: ''
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
},
gcdgrp: {
blk: {
disdoc: '',
},
prb: {
pts: new Pts().data,
rec: {
msgdat: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: '',
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
oth: {
pts: new Pts().data,
},
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,
}
cbs: {
opn1: {
cur: '',
amt: '',
},
max: {
cur: '',
amt: '',
},
},
ben: {
pts: new Pts().data,
},
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 @@
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: { },
......
......@@ -21,7 +21,7 @@
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
@tab-click="tabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
......
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitfre{
constructor () {
this.data = {
gidgrp: {
ctr: {
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,
}
export default class Gitfre {
constructor() {
this.data = {
gidgrp: {
ctr: {
pts: new Pts().data,
},
fremsg: {
othmsgp: {
ptsget: {
sdamod: {
seainf: ''
}
}
},
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: ''
rec: {
expdat: '',
purpos: '',
ownref: '',
exptyp: '',
nam: '',
gartyp: '',
purposin: '',
},
gitp0: {
recget: {
sdamod: {
seainf: ''
}
cbs: {
opn1: {
cur: '',
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: {
swiadd: {
amenbr: '',
amestatxt: ''
}
gitp0s20: '',
},
trnmod: {
swiadd: {
amenbr: '',
amestatxt: '',
},
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
},
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,
};
}
}
......@@ -246,7 +246,7 @@
</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'">
<c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='SAN'"
......@@ -276,7 +276,6 @@
size="small"
type="primary"
icon="el-icon-more"
>
</c-button>
</template>
......@@ -303,7 +302,6 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input>
......@@ -474,7 +472,6 @@
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000257 : Undertaking Number -->
<c-col :span="24">
<c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- SF000258 : Issuer of Undertak. -->
<c-col :span="24">
<el-form-item label="发行人" prop="fremsg.issrol">
<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> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
:disabled="model.fremsg.issrol!=''"
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
:disabled="model.fremsg.issrol!=''"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发行人" prop="fremsg.issrol">
<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> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
:disabled="model.fremsg.issrol!=''"
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
:disabled="model.fremsg.issrol!=''"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<!-- SF000259 : Function -->
<c-col :span="24">
<el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="24">
<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-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="24">
<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-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="公共报文" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="拒绝修正" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="公共报文" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="拒绝修正" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
......
......@@ -10,7 +10,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
......@@ -22,45 +22,45 @@
</c-content>
</el-tab-pane>
<!--
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
......
......@@ -188,7 +188,7 @@ export default {
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
default:
return
}
}
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Api from '~/service/Api';
import Pts from '../Common/Pts';
export default class Gitsel{
constructor () {
this.data = {
setmod: {
setglg: {
setgllidx: {
setgrp: {
actser: {
pts: new Pts().data,
},
rcvcor2: {
pts: new Pts().data,
},
rcvcor: {
pts: new Pts().data,
},
snd756: {
pts: new Pts().data,
},
ori: {
pts: new Pts().data,
},
bei: {
pts: new Pts().data,
},
tri: {
pts: new Pts().data,
}
},
sespay: {
beiacc: '',
strinf202: '',
strinf: '',
rcvcor2acc: '',
ownref: '',
corbnk: '',
oriacc: '',
evebnk: '',
coract: '',
rcvcoracc: '',
triacc: ''
}
}
export default class Gitsel {
constructor() {
this.data = {
setmod: {
setglg: {
setgllidx: {
setgrp: {
actser: {
pts: new Pts().data,
},
rcvcor2: {
pts: new Pts().data,
},
rcvcor: {
pts: new Pts().data,
},
snd756: {
pts: new Pts().data,
},
ori: {
pts: new Pts().data,
},
bei: {
pts: new Pts().data,
},
tri: {
pts: new Pts().data,
},
},
doccur: ''
},
cnybop: {
saddwordout: '',
sbankname: '',
outflg: '',
cnyflg: '',
cnyout: {
spayeeacct: '',
sorilevyno: '',
spayeeorgcode: '',
foffshoreamt: '',
cpayeeattr: '',
spayercountrycode: '',
fcustomsamt: '',
spayeracct: '',
frecordamt: '',
sbankorgcode: '',
sbanktrano: '',
fonshoreamt: '',
dpayeedate: '',
spayeecny: '',
spk: '',
ftotalamt: '',
iaccountperiod: '',
sbalancemode: '',
smidtransbank: '',
sswiftbic: '',
cpayeraccttyp: '',
fpayeeamt: '',
fprepayeeamt: '',
fnogoodsamt: ''
sespay: {
beiacc: '',
strinf202: '',
strinf: '',
rcvcor2acc: '',
ownref: '',
corbnk: '',
oriacc: '',
evebnk: '',
coract: '',
rcvcoracc: '',
triacc: '',
},
spayername: '',
traflg: '',
vouflg: '',
outscale: '',
libflg: '',
spayeename: ''
},
},
bopmod: {
dbfgrp: {
bas: {
actiontype: '',
actuamt: '',
custype: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '',
idcode: '',
fcyamt: '',
issdate: '',
fcyacc: '',
txamt: '',
buscode: '',
outchargeamt: '',
oppuser: '',
lcyacc: '',
actiondesc: '',
outchargeccy: '',
othamt: '',
exrate: '',
custcod: ''
}
},
doccur: '',
},
cnybop: {
saddwordout: '',
sbankname: '',
outflg: '',
cnyflg: '',
cnyout: {
spayeeacct: '',
sorilevyno: '',
spayeeorgcode: '',
foffshoreamt: '',
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: {
dbfgrp: {
bas: {
actiontype: '',
actuamt: '',
custype: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '',
dbcp: {
baspp: {
acp: ''
}
},
dbfp: {
baspp: {
acp: ''
}
},
acttyp: '',
szflg: '',
dbcgrp: {
bas: {
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: ''
idcode: '',
fcyamt: '',
issdate: '',
fcyacc: '',
txamt: '',
buscode: '',
outchargeamt: '',
oppuser: '',
lcyacc: '',
actiondesc: '',
outchargeccy: '',
othamt: '',
exrate: '',
custcod: '',
},
},
mtabut: {
clsflg: ''
ownextkey: '',
dbcp: {
baspp: {
acp: '',
},
},
gctp: {
recget: {
sdamod: {
seainf: ''
}
},
gcthdr: '',
prechkdat: '',
prbp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
othp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
ischktyp: '',
gidget: {
sdamod: {
seainf: ''
}
},
getrefbut: ''
dbfp: {
baspp: {
acp: '',
},
},
gcdgrp: {
prb: {
pts: new Pts().data,
},
rec: {
cannowflg: '',
frepaylg: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: '',
frepayflg: ''
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
acttyp: '',
szflg: '',
dbcgrp: {
bas: {
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: {
clsflg: '',
},
gctp: {
recget: {
sdamod: {
seainf: '',
},
},
Gitsetp1: '',
paypsb: '',
gidgrp: {
rec: {
reddat: '',
invref: '',
cmtflg: '',
expdat: '',
liadat: '',
rptref: '',
ownref: '',
expflg: '',
gartyp: ''
gcthdr: '',
prechkdat: '',
prbp: {
ptsget: {
sdamod: {
seainf: '',
},
cbs: {
opn1: {
cur: '',
amt: ''
}
},
det: '',
},
othp: {
ptsget: {
sdamod: {
seainf: '',
},
tag39c: ''
},
det: '',
},
gtisetp1: '',
liaall: {
limmod: {
limpfp: {
clmpty: '',
clmcbe: '',
clmcbb: '',
}
}
ischktyp: '',
gidget: {
sdamod: {
seainf: '',
},
},
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,
}
}
}
}
\ No newline at end of file
getrefbut: '',
},
gcdgrp: {
prb: {
pts: new Pts().data,
},
rec: {
cannowflg: '',
frepaylg: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: '',
frepayflg: '',
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: '',
},
opn2: {
cur: '',
},
max: {
cur: '',
amt: '',
},
max2: {
amt: '',
},
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
Gitsetp1: '',
paypsb: '',
gidgrp: {
rec: {
reddat: '',
invref: '',
cmtflg: '',
expdat: '',
liadat: '',
rptref: '',
ownref: '',
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>
<div class="eibs-tab">
<el-collapse v-model="activeNames" >
<el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</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>
<div class="eibs-tab">
<el-collapse v-model="activeNames" >
<el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'">
<m-basp1 :model="model" :codes="codes" />
</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="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'">
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<m-outp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<m-outp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
......@@ -43,25 +40,24 @@
"outp": "cnybop.outp",
}
export default {
inject: ["root"],
components: {
"m-wg": Wg,
"m-cnyp1": Cnyp1,
"m-basp": Basp,
"m-basp1": Basp1,
"m-outp": Outp,
},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["wg"],
};
},
methods: {
},
created: function () {},
inject: ["root"],
components: {
"m-wg": Wg,
"m-cnyp1": Cnyp1,
"m-basp": Basp,
"m-basp1": Basp1,
"m-outp": Outp,
},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["wg"],
};
},
methods: {
},
created: function () {},
};
</script>
......
......@@ -175,15 +175,15 @@
icon="el-icon-more"
style="margin: 0 0 0 3px"
@click="
showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
"
showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
......
......@@ -163,21 +163,21 @@
prop="gcdgrp.cbs.opn1.cur"
previewLabel="信用证币种"
>
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -208,9 +208,8 @@
</c-select>
</el-form-item>
</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
label="我行责任敞口"
>
</el-form-item>
......@@ -218,7 +217,7 @@
<c-col :span="24" v-if="model.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>
</c-col>
......@@ -398,8 +397,8 @@
<c-checkbox v-model="model.gcdgrp.rec.cannowflg" disabled
>保函注销情况下的付款</c-checkbox
>
</c-form-item>
</c-col>
</c-form-item>
</c-col>
</c-col>
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12">
......@@ -409,8 +408,8 @@
:disabled="flag2"
>是否闭卷
</c-checkbox>
</c-form-item>
</c-col>
</c-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6" >
......@@ -430,8 +429,8 @@
:disabled="this.flag1"
>未支付申请人</c-checkbox
>
</c-form-item>
</c-col>
</c-form-item>
</c-col>
</c-col>
<c-col
......
......@@ -207,17 +207,15 @@
</c-select>
</el-form-item>
</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
label="我行责任敞口"
>
label="我行责任敞口">
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.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>
</c-col>
......
......@@ -65,8 +65,7 @@
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
showGridPromptDialog('cnybop.cnyout.spayercountrycode')"
></c-input>
<template slot="footer">
<c-button
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔付款" name="gitsetp1">
<m-gitsetp1 ref="gitsetp1" :model="model" :codes="codes" />
</el-collapse-item>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔付款" name="gitsetp1">
<m-gitsetp1 ref="gitsetp1" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="索赔付款(1)" name="gitsetp">
<m-gitsetp ref="gitsetp" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="索赔付款(1)" name="gitsetp">
<m-gitsetp ref="gitsetp" :model="model" :codes="codes" />
</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">
<m-det756 :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' ">
<m-det202cv :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"/>
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
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";
<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">
<m-det756 :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' ">
<m-det202cv :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"/>
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
</el-collapse-item>
</el-collapse>
</div>
</template>
const tabNameToRulePathMapping = {
"cips": "trnmod.cipmod.cips",
<script>
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 {
components: {
"m-gitsetp1": Gitsetp1,
"m-gitsetp": Gitsetp,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-cips": Cips,
"m-cips2": Cips2,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
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;
}
export default {
components: {
"m-gitsetp1": Gitsetp1,
"m-gitsetp": Gitsetp,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-cips": Cips,
"m-cips2": Cips2,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () {},
};
</script>
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: { },
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -79,21 +79,20 @@ export default {
},
watch:{
"model.bopmod.szflg":{
immediate:true,
handler(val ,oldVal){
if(val=="3"){
this.model.bopmod.ownextkey=''
}
if(val=="2"){
this.model.bopmod.ownextkey='08350012'
}
if(val=="1"){
this.model.bopmod.ownextkey='08350012'
}
},
immediate:true,
handler(val ,oldVal){
if(val=="3"){
this.model.bopmod.ownextkey=''
}
if(val=="2"){
this.model.bopmod.ownextkey='08350012'
}
if(val=="1"){
this.model.bopmod.ownextkey='08350012'
}
},
}
},
},
methods: { },
created: function () {},
};
......
......@@ -48,7 +48,7 @@
</c-button>
</c-col>
</div>
</div>
</template>
<script>
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