Commit 5c1fcb0d by liyixun

getopn初始化

parent c3a34910
import Utils from "~/utils"
/**
* Getopn Check规则
*/
let checkObj = {
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.gartyp" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"gidgrp.cnr.pts.extkey" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.rec.opndat" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"gidgrp.rec.partcon" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.cbs.cnf.amt" :null,
"gidgrp.blk.gtxgidtxt" :null,
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.cbs.max.cur" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.apl.pts.ref" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.rec.expdat" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.rec.ownref" :null,
"gidgrp.apl.adrelc" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.cbs.max.amt" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Getopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.blk.atxexptxt" :Utils.defaultFunction,
"gidgrp.blk.exptxt" :Utils.defaultFunction,
"gidgrp.rec.purpos" :Utils.defaultFunction,
"gidgrp.rec.atxinr" :Utils.defaultFunction,
"gidgrp.rec.secuilflg" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.rec.fingua" :Utils.defaultFunction,
"gidgrp.con.pts.extkey" :Utils.defaultFunction,
"gidgrp.con.adrelc" :Utils.defaultFunction,
"gidgrp.con.namelc" :Utils.defaultFunction,
"gidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.con.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.purposin" :Utils.defaultFunction,
"gidgrp.rec.liatypc" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.rec.expflg" :Utils.defaultFunction,
"gidgrp.adv.pts.extkey" :Utils.defaultFunction,
"gidgrp.adv.adrelc" :Utils.defaultFunction,
"gidgrp.adv.namelc" :Utils.defaultFunction,
"gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.rec.exptyp" :Utils.defaultFunction,
"gidgrp.ghd.segtyp" :Utils.defaultFunction,
"gidgrp.rec.tendat" :Utils.defaultFunction,
"gidgrp.rec.giduil" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"gitp.gidtxtmodflg" :Utils.defaultFunction,
"gidgrp.rec.revflg" :Utils.defaultFunction,
"gidgrp.rec.gtxinr" :Utils.defaultFunction,
"gidgrp.blk.gtxgidtxt" :Utils.defaultFunction,
"gidgrp.blk.gidtxt" :Utils.defaultFunction,
"gitp.swiftflg" :Utils.defaultFunction,
"gidgrp.cnr.pts.extkey" :Utils.defaultFunction,
"gidgrp.cnr.adrelc" :Utils.defaultFunction,
"gidgrp.cnr.namelc" :Utils.defaultFunction,
"gidgrp.cnr.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.cnr.pts.adrblk" :Utils.defaultFunction,
"gidgrp.apl.pts.extkey" :Utils.defaultFunction,
"gidgrp.apl.adrelc" :Utils.defaultFunction,
"gidgrp.apl.namelc" :Utils.defaultFunction,
"gidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.extkey" :Utils.defaultFunction,
"gidgrp.ben.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.orcdat" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"gidgrp.ghd.bustyp" :Utils.defaultFunction,
"gidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.mannum" :Utils.defaultFunction,
"gidgrp.bdb.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.orccur" :Utils.defaultFunction,
"gitp.exptxtmodflg" :Utils.defaultFunction,
"gidgrp.blk.liatxtc" :Utils.defaultFunction,
"gidgrp.blk.atxliatxtc" :Utils.defaultFunction,
"gidgrp.atb.adrelc" :Utils.defaultFunction,
"gidgrp.atb.namelc" :Utils.defaultFunction,
"gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.adrblk" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
"gidgrp.iss.pts.extkey" :Utils.defaultFunction,
"gidgrp.iss.adrelc" :Utils.defaultFunction,
"gidgrp.iss.namelc" :Utils.defaultFunction,
"gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"gitp.inc760" :Utils.defaultFunction,
"gidgrp.blk.covgodsrv" :Utils.defaultFunction,
"gidgrp.blk.atxcovgodsrv" :Utils.defaultFunction,
"gidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.cnfsta" :Utils.defaultFunction,
"gidgrp.cbs.cnf.amt" :Utils.defaultFunction,
"gidgrp.rec.partcon" :Utils.defaultFunction,
"gidgrp.cbs.cnf.cur" :Utils.defaultFunction,
"gidgrp.rec.opndat" :Utils.defaultFunction,
"gidgrp.ctr.pts.adrblk" :Utils.defaultFunction,
"gitp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"gidgrp.rec.rmbflg" :Utils.defaultFunction,
"gidgrp.rec.reccnfdet" :Utils.defaultFunction,
"gidgrp.ctr.pts.extkey" :Utils.defaultFunction,
"gidgrp.ctr.adrelc" :Utils.defaultFunction,
"gidgrp.ctr.namelc" :Utils.defaultFunction,
"gidgrp.ctr.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"gidgrp.rec.trmdat" :Utils.defaultFunction,
"gidgrp.bdb.adrelc" :Utils.defaultFunction,
"gidgrp.bdb.namelc" :Utils.defaultFunction,
"gidgrp.bdb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.bdb.pts.adrblk" :Utils.defaultFunction,
"gitp.inccormsgflg" :Utils.defaultFunction,
"gidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.jurlaws20" :Utils.defaultFunction,
"gidgrp.rec.cnfdat" :Utils.defaultFunction,
"gidgrp.ben.adrelc" :Utils.defaultFunction,
"gidgrp.ben.namelc" :Utils.defaultFunction,
"gidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"gitp.covgodsrvmodflg" :Utils.defaultFunction,
"gidgrp.rec.liaflg" :Utils.defaultFunction,
"gitp.liatxtcmodflg" :Utils.defaultFunction,
"gitp.aplsupflg" :Utils.defaultFunction,
"gidgrp.rec.stacty" :Utils.defaultFunction,
"gidgrp.blk.apprul" :Utils.defaultFunction,
"gitp.drpreflg" :Utils.defaultFunction,
"gidgrp.rec.tenclsdat" :Utils.defaultFunction,
"gidgrp.rec.orcamt" :Utils.defaultFunction,
"gidgrp.rec.cnfdet" :Utils.defaultFunction,
"gidgrp.rec.orcrat" :Utils.defaultFunction,
"gidgrp.iss.pts.adrblk" :Utils.defaultFunction,
"gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gidgrp.rec.vrfdat" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onGitpButgetref(){
let rtnmsg = await this.executeRule("gitp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
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 onAdvpDet(){
let rtnmsg = await this.executeRule("advp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpWbxs(){
let rtnmsg = await this.executeRule("gitp.wbxs")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpYptxy(){
let rtnmsg = await this.executeRule("gitp.yptxy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifexptxt(){
let rtnmsg = await this.executeRule("gitp.butdifexptxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhisexptxt(){
let rtnmsg = await this.executeRule("gitp.butdifhisexptxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifliatxtc(){
let rtnmsg = await this.executeRule("gitp.butdifliatxtc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhisliatxtc(){
let rtnmsg = await this.executeRule("gitp.butdifhisliatxtc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBdbpDet(){
let rtnmsg = await this.executeRule("bdbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCtrpDet(){
let rtnmsg = await this.executeRule("ctrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAtbpDet(){
let rtnmsg = await this.executeRule("atbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifcovgodsrv(){
let rtnmsg = await this.executeRule("gitp.butdifcovgodsrv")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhiscovgodsrv(){
let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrv")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdif(){
let rtnmsg = await this.executeRule("gitp.butdif")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhis(){
let rtnmsg = await this.executeRule("gitp.butdifhis")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpShwgidtxt(){
let rtnmsg = await this.executeRule("gitp.shwgidtxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpGidtxtmod(){
let rtnmsg = await this.executeRule("gitp.gidtxtmod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCnrpDet(){
let rtnmsg = await this.executeRule("cnrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -149,6 +149,7 @@ import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel"
import Getopn from "./Getopn"
import Getset from "./Getset"
import Getcrq from "./Getcrq"
import Getamc from "./Getamc"
......@@ -375,6 +376,7 @@ const BusRouter = [
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } },
{ path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } },
{ path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } },
{ path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } },
{ path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } },
{ path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } },
......
<template>
<div class="eibs-tab">
<!-- SF001031 : Confirmation Status -->
<!-- SF000895 : Received Confirmation Instructions: -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta">
<c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000888')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000894 : Outgoing Confirmation Instructions: -->
<!-- SF001030 : Confirmation Amount -->
<!-- SF000896 : Confirm. Instr. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet">
<c-select v-model="model.gidgrp.rec.reccnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000896')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000890')" prop="gidgrp.cbs.cnf.cur">
<c-input v-model="model.gidgrp.cbs.cnf.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.SF000890')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.cnf.amt">
<c-input v-model="model.gidgrp.cbs.cnf.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<!-- SF001032 : or -->
<c-col :span="12">
<c-form-item label="Partial Confirmation" prop="gidgrp.rec.partcon">
<c-input v-model="model.gidgrp.rec.partcon" :placeholder="$t('other.please_enter')+'Partial Confirmation'"></c-input>
</c-form-item>
</c-col>
<!-- SF000729 : Confirm. Instr. -->
<!-- SF001033 : % -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000729')" prop="gidgrp.rec.cnfdet">
<c-select v-model="model.gidgrp.rec.cnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000729')">
</c-select>
</el-form-item>
</c-col>
<!-- SF001034 : Confirmed on -->
<!-- SF001077 : Confirm. Bank Ref. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000889')" prop="gidgrp.rec.cnfdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000889')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF001077')" prop="gidgrp.cnr.pts.ref">
<c-input v-model="model.gidgrp.cnr.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001077')"></c-input>
</c-form-item>
</c-col>
<!-- SF001078 : Confirm. Bank Ref. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref">
<c-input v-model="model.gidgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input>
</c-form-item>
</c-col>
<!-- SF000898 : Confirming Bank -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="gitp.cnrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.gitp.cnrp.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="gidgrp.cnr.pts.extkey">
<c-input v-model="model.gidgrp.cnr.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="gitp.cnrp.ptsget.sdamod.seainf">
<c-input v-model="model.gitp.cnrp.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="onCnrpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<!-- SF000730 : Confirming Bank -->
<c-col :span="12">
<c-form-item label="名称" prop="gidgrp.cnr.namelc">
<c-input type="textarea" v-model="model.gidgrp.cnr.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="gidgrp.cnr.pts.adrblk">
<c-input type="textarea" v-model="model.gidgrp.cnr.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="gidgrp.cnr.dbfadrblkcn">
<c-input type="textarea" v-model="model.gidgrp.cnr.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="gidgrp.cnr.adrelc">
<c-input type="textarea" v-model="model.gidgrp.cnr.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000887 : Own confirmation details: -->
<!-- SF000888 : Confirmation Status -->
<!-- SF000890 : Confirmation Amount -->
<!-- SF000892 : or -->
<!-- SF000893 : % -->
<!-- SF000889 : Confirmation Date -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000350 : Text of Undertaking -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">{{$t('gitp.CF001173')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
{{$t('gitp.CF000348')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
{{$t('gitp.CF000351')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
{{$t('gitp.CF000384')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}}
</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/Getopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG001294 : 是否SWIFT格式 -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col>
<!-- S0001304 : 是否对外担保 -->
<c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col>
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<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">
<!--gitp PD001291 开立方式 -->
<el-tab-pane :label="$t('gitp.PD001291')" name="opnp">
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000210 Undertaking Text -->
<el-tab-pane :label="$t('gitp.PD000210')" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<el-tab-pane :label="$t('gitp.PD000409')" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getopn from "~/model/Getopn"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getopn/Check"
import Default from "~/model/Getopn/Default"
import Pattern from "~/model/Getopn/Pattern"
import Opnp from "./Opnp"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Detp from "./Detp"
import Gidtxtp from "./Gidtxtp"
import Confp from "./Confp"
export default {
name: "Getopn",
components:{
"m-opnp" : Opnp,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-detp" : Detp,
"m-gidtxtp" : Gidtxtp,
"m-confp" : Confp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "getopn",
trnType: "",
model: new Getopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入getopn交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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