Commit b8686735 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 4c3c7a88 11bba794
import Utils from "~/utils"
/**
* Getfre Check规则
*/
let checkObj = {
"fremsg.relmt" :null,
"fremsg.othcc.pts.extkey" :null,
"fremsg.strinf" :null,
"fremsg.det" :null,
"fremsg.othcc.pts.adrblk" :null,
"fremsg.tag23h" :null,
"fremsg.ccrol" :null,
"fremsg.fulmt" :null,
"fremsg.othmsg.pts.adrblk" :null,
"setmod.dspflg" :null,
"fremsg.iss.namelc" :null,
"fremsg.sndmt" :null,
"fremsg.iss.pts.extkey" :null,
"fremsg.reldat" :null,
"fremsg.iss.pts.adrblk" :null,
"setmod.redamt" :null,
"fremsg.iss.adrelc" :null,
"fremsg.othmsg.adrelc" :null,
"fremsg.msgrol" :null,
"fremsg.swiadd.newmatdat" :null,
"mtabut.coninf.conexedat" :null,
"fremsg.othmsg.pts.extkey" :null,
"fremsg.tag22d" :null,
"fremsg.othcc.adrelc" :null,
"setmod.docamt" :null,
"fremsg.othmsg.namelc" :null,
"fremsg.tag45d" :null,
"gidgrp.blk.revtxt" :null,
"fremsg.othcc.namelc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Getfre Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.rec.ownref" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"fremsg.strinf" :Utils.defaultFunction,
"fremsg.prttitle" :Utils.defaultFunction,
"fremsg.sndmt" :Utils.defaultFunction,
"fremsg.msgrol" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"fremsg.issrol" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"fremsg.othcc.pts.adrblk" :Utils.defaultFunction,
"fremsg.iss.pts.extkey" :Utils.defaultFunction,
"fremsg.iss.adrelc" :Utils.defaultFunction,
"fremsg.iss.namelc" :Utils.defaultFunction,
"fremsg.iss.dbfadrblkcn" :Utils.defaultFunction,
"fremsg.othcc.pts.extkey" :Utils.defaultFunction,
"fremsg.othcc.adrelc" :Utils.defaultFunction,
"fremsg.othcc.namelc" :Utils.defaultFunction,
"fremsg.othcc.dbfadrblkcn" :Utils.defaultFunction,
"fremsg.othmsg.pts.adrblk" :Utils.defaultFunction,
"fremsg.othmsg.pts.extkey" :Utils.defaultFunction,
"fremsg.ccrol" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"fremsg.tag22d" :Utils.defaultFunction,
"fremsg.othmsg.adrelc" :Utils.defaultFunction,
"fremsg.othmsg.namelc" :Utils.defaultFunction,
"fremsg.othmsg.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"fremsg.fulmt" :Utils.defaultFunction,
"fremsg.tag20ref" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"fremsg.iss.pts.adrblk" :Utils.defaultFunction,
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"fremsg.reldir" :Utils.defaultFunction,
"gidgrp.apl.pts.nam" :Utils.defaultFunction,
"fremsg.tag23h" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onOthmsgpDet(){
let rtnmsg = await this.executeRule("othmsgp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTxtfreButtxmsel(){
let rtnmsg = await this.executeRule("txtfre.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthccpDet(){
let rtnmsg = await this.executeRule("othccp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTxmmodButtxmsel(){
let rtnmsg = await this.executeRule("txmmod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Getfre{
constructor () {
this.data = {
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
aplmullab:"", // Label, that is set, if there are multiple applicants .gitp0.aplmullab
expfldlab:"", // Label for Field Validity .gitp0.expfldlab
liafldlab:"", // Label for Field Lability .gitp0.liafldlab
recget:{
sdamod:{
seainf:"", // .gitp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
},
gidgrp:{
rec:{
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
max:{
cur:"", // Currency .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
ctr:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
blk:{
revtxt:"", // Declaration of Indemnity Text .gidgrp.blk.revtxt
},
},
fremsg:{
reldatlab:"", // label for date .fremsg.reldatlab
strinflab:"", // label for tag 79 .fremsg.strinflab
sndmt:"", // 发报类型 .fremsg.sndmt
fulmt:"", // 报文类型 .fremsg.fulmt
prttitle:"", // 标题 .fremsg.prttitle
relmt:"", // 相关报文 .fremsg.relmt
reldat:"", // from .fremsg.reldat
reldir:"", // relevant message sent/received .fremsg.reldir
strinf:"", // Narrative .fremsg.strinf
tag20lab:"", // MT799 tag20 .fremsg.tag20lab
tag20ref:"", // tag 20 Ref. .fremsg.tag20ref
flg:"", // FLG FOR GITFRE .fremsg.flg
msgrol:"", // 收报行 .fremsg.msgrol
ccrol:"", // 副本的收报行 .fremsg.ccrol
othmsg:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.othmsg.namelc
adrelc:"", // 地址 .fremsg.othmsg.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.othmsg.dbfadrblkcn
},
othmsgp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.othmsgp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.othmsgp.ptsget.sdamod.dadsnd
},
},
},
othcc:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.othcc.namelc
adrelc:"", // 地址 .fremsg.othcc.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.othcc.dbfadrblkcn
},
othccp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.othccp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.othccp.ptsget.sdamod.dadsnd
},
},
},
tag22d:"", // Form of Undertaking .fremsg.tag22d
tag23:"", // Undertaking Number .fremsg.tag23
issrol:"", // Issuer of Undertak. .fremsg.issrol
iss:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.iss.namelc
adrelc:"", // 地址 .fremsg.iss.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.iss.dbfadrblkcn
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.issp.ptsget.sdamod.dadsnd
},
},
},
tag23h:"", // Function .fremsg.tag23h
tag45d:"", // Details of Request .fremsg.tag45d
swiadd:{
newmatdat:"", // New Maturity Date .fremsg.swiadd.newmatdat
},
det:"", // Query/ Answer .fremsg.det
tag77a:"", // Narrative (77A) .fremsg.tag77a
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // 减少后的结算金额 .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // Reduced Amount to settle .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
swiadd:{
amenbr:"", // Number of Amendm. .trnmod.swiadd.amenbr
amestatxt:"", // Reason for Rejection .trnmod.swiadd.amestatxt
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -214,6 +214,8 @@ import Getcan from "./Getcan"
import Gitcan from "./Gitcan"
import Gitcrj from "./Gitcrj"
import Gctcan from "./Gctcan"
import Getfre from "./Getfre"
import Gitfre from "./Gitfre"
......@@ -517,9 +519,8 @@ const BusRouter = [
{ path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: '进口保函注销' } },
{ path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: '进口保函拒付' } },
{ path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: '保函赔付注销' } },
{ path: 'gitdla', component: Gitdla, name: 'Gitdla', meta: { title: '减额后处理' } },
{ path: 'getfee', component: Getfee, name: 'Getfee', meta: { title: '费用结算' } },
{ path: 'gitfre', component: Gitfre, name: 'Gitfre', meta: { title: '自由格式报文' } },
{ path: 'getfre', component: Getfre, name: 'Getfre', meta: { title: '自由格式报文' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
// { path: 'Infpty', component: Infpty, name: 'Infpty', meta: { title: '客户查询' } },
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000027 : 单据编号 -->
<!-- S0000028 : 类型 -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
{{$t('mtdbut.CF000003')}}
</c-button>
</c-col>
<!-- SF000030 : 减少的金额 -->
<c-col :span="12">
<c-form-item :label="$t('setmod.SF000030')" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" :placeholder="$t('other.please_enter')+$t('setmod.SF000030')"></c-input>
</c-form-item>
</c-col>
<!-- SF000031 : 减少后的结算金额 -->
<c-col :span="12">
<c-form-item label="Reduced Amount to settle" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.please_enter')+'Reduced Amount to settle'"></c-input>
</c-form-item>
</c-col>
<!-- SF000033 : 注释 -->
<c-col :span="12">
<c-form-item :label="$t('setmod.SF000033')" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('setmod.SF000033')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
{{$t('mtdbut.CF000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000077 : Query/ Answer -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000077')" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input>
</c-form-item>
</c-col>
<!-- SF000078 : Narrative (77A) -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000078')" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000256')" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000256')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000257 : Undertaking Number -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000257')" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" :placeholder="$t('other.please_enter')+$t('fremsg.SF000257')"></c-input>
</c-form-item>
</c-col>
<!-- SF000258 : Issuer of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000258')" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000258')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000289 : Extended Maturity -->
<c-col :span="12">
<el-form-item label="New Maturity Date" prop="fremsg.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.fremsg.swiadd.newmatdat" style="width:100%" :placeholder="$t('other.please_enter')+'New Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fremsg.issp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fremsg.iss.pts.extkey">
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fremsg.issp.ptsget.sdamod.seainf">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="fremsg.iss.namelc">
<c-input type="textarea" v-model="model.fremsg.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fremsg.iss.pts.adrblk">
<c-input type="textarea" v-model="model.fremsg.iss.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fremsg.iss.dbfadrblkcn">
<c-input type="textarea" v-model="model.fremsg.iss.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="fremsg.iss.adrelc">
<c-input type="textarea" v-model="model.fremsg.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000259 : Function -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000259')" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000260')" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="业务信息" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getamc/Event";
import Gitfrep1 from "./Gitfrep1";
export default {
components: {
"m-gitfrep1": Gitfrep1,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
activeNames: ["ovwp1"],
}
},
methods:{...Event,handleChange(){}},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- SF000344 : Number of Amendm. -->
<c-col :span="12">
<c-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</c-form-item>
</c-col>
<!-- SF000345 : Reason for Rejection -->
<c-col :span="12">
<c-form-item label="修改说明" prop="trnmod.swiadd.amestatxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.amestatxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('getfre.SF000345')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000334 : Declaration of Indemnity -->
<c-col :span="12">
<c-form-item label="赔偿声明文本" prop="gidgrp.blk.revtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.revtxt" maxlength="65" show-word-limit placeholder="请输入赔偿声明文本" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onTxmmodButtxmsel">
{{$t('getfre.CF000335')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getfre/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="自由格式报文">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--getfre PD000141 Common Messages -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="备查/附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--fremsg PD000255 Message Details MT759 -->
<el-tab-pane :label="$t('fremsg.PD000255')" name="mt759p">
<m-mt759p :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000020 Settlement Details Panel -->
<el-tab-pane :label="$t('setmod.PD000020')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--fremsg PD000076 Message Details -->
<el-tab-pane :label="$t('fremsg.PD000076')" name="fredet">
<m-fredet :model="model" :codes="codes"/>
</el-tab-pane>
<!--getfre PD000333 Declaration of Indemnity -->
<el-tab-pane :label="$t('getfre.PD000333')" name="revp">
<m-revp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getfre PD000343 Rejection of Amendment -->
<el-tab-pane :label="$t('getfre.PD000343')" name="rejp">
<m-rejp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getfre from "~/model/Getfre"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getfre/Check"
import Default from "~/model/Getfre/Default"
import Pattern from "~/model/Getfre/Pattern"
import Gitfrep1 from "./Gitfrep1"
import Ovwp from "./Ovwp"
import Setpan from "~/views/Public/Setpan";
import Coninfp from "./Coninfp"
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Mt759p from "./Mt759p"
import Detp from "./Detp"
import Fredet from "./Fredet"
import Revp from "./Revp"
import Rejp from "./Rejp"
export default {
name: "Getfre",
components:{
"m-ovwp" : Ovwp,
"m-gitfrep1" : Gitfrep1,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-mt759p" : Mt759p,
"m-detp" : Detp,
"m-fredet" : Fredet,
"m-revp" : Revp,
"m-rejp" : Rejp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "getfre",
trnType: "",
model: new Getfre().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入getfre交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000256')" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000256')">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label=" form of undertaking" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.tag22d" :placeholder="formundertaking">
</c-select>
</el-form-item>
</c-col>
<!-- SF000257 : Undertaking Number -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000257')" prop="fremsg.tag23">
<c-col :span="24">
<c-form-item label=" Undertaking Number " prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" :placeholder="$t('other.please_enter')+$t('fremsg.SF000257')"></c-input>
</c-form-item>
</c-col>
<!-- SF000258 : Issuer of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000258')" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000258')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000289 : Extended Maturity -->
<c-col :span="12">
<el-form-item label="New Maturity Date" prop="fremsg.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.fremsg.swiadd.newmatdat" style="width:100%" :placeholder="$t('other.please_enter')+'New Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fremsg.issp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fremsg.iss.pts.extkey">
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fremsg.issp.ptsget.sdamod.seainf">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="fremsg.iss.namelc">
<c-input type="textarea" v-model="model.fremsg.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fremsg.iss.pts.adrblk">
<c-input type="textarea" v-model="model.fremsg.iss.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
<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"
@change="eventFunction('fremsg.issrol')"
>
<!-- <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="12">
<c-form-item label="Chinese address" prop="fremsg.iss.dbfadrblkcn">
<c-input type="textarea" v-model="model.fremsg.iss.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
<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="请输入"
@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" @click="">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="fremsg.iss.adrelc">
<c-input type="textarea" v-model="model.fremsg.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
<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"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<!-- SF000259 : Function -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000259')" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')">
<c-col :span="24">
<el-form-item label="Function" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000260')" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input>
<c-col :span="24">
<c-form-item label="Details of Request" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" :code="codes.tag45d" :rows="5" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
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