Commit 085ceebb by liyixun

gitame初始化

parent 1cc20ba5
import Utils from "~/utils"
/**
* Gitame Check规则
*/
let checkObj = {
"gidgrp.rec.giduil" :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,
"trnmod.swiadd.exptxt" :null,
"addbcb.gitamecho" :null,
"setmod.dspflg" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"addbcb.expdat" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"addbcb.pwtyp9" :null,
"gidgrp.rec.autrnwflg" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"addbcb.bcbtyp7" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gidgrp.ben.namelc" :null,
"addbcb.litameadv" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.gidcxm.warran" :null,
"gidgrp.apl.pts.ref" :null,
"gidgrp.ctr.pts.adrblk" :null,
"addbcb.label5" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.rec.stacty" :null,
"setmod.redamt" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"trnmod.swiadd.purposame" :null,
"trnmod.swiadd.ameamt" :null,
"addbcb.ameadvrmk" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"addbcb.preexpdat" :null,
"gidgrp.blk.feetxt" :null,
"addbcb.bccls2" :null,
"addbcb.bccls1" :null,
"addbcb.bccls4" :null,
"addbcb.bccls3" :null,
"setmod.docamt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.blk.preper" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"addbcb.gitamermk" :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
/**
* Gitame 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,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"gidgrp.rec.liatypc" :Utils.defaultFunction,
"gidgrp.blk.preper" :Utils.defaultFunction,
"gidgrp.blk.atxpreper" :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,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.swiadd.amemsgdonflg" :Utils.defaultFunction,
"trnmod.swiadd.purposame" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"gidgrp.ghd.segtyp" :Utils.defaultFunction,
"oldgidgrp.cbs.max.amt" :Utils.defaultFunction,
"oldgidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.rec.giduil" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"oldgidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.revflg" :Utils.defaultFunction,
"gitp.prepermodflg" :Utils.defaultFunction,
"gidgrp.rec.gtxinr" :Utils.defaultFunction,
"gitamep.ameaccflg" :Utils.defaultFunction,
"gitp.swiftflg" :Utils.defaultFunction,
"trnmod.swiadd.exptyp" :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,
"trnmod.swiadd.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.newliadat" :Utils.defaultFunction,
"gitamep.prtflg" :Utils.defaultFunction,
"gidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"oldgidgrp.rec.exptyp" :Utils.defaultFunction,
"oldgidgrp.rec.expdat" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"gidgrp.bdb.pts.extkey" :Utils.defaultFunction,
"trnmod.swiadd.exptxt" :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,
"trnmod.swiadd.addamtcovs20" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
"gidgrp.rec.vrfdat" :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,
"oldgidgrp.rec.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.addamtflg" :Utils.defaultFunction,
"trnmod.swiadd.addcur" :Utils.defaultFunction,
"gidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"gidgrp.blk.apprul" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction,
"gidgrp.blk.trfcond" :Utils.defaultFunction,
"gidgrp.atb.pts.ref" :Utils.defaultFunction,
"gidgrp.rec.demand" :Utils.defaultFunction,
"gitamep.ametxtflg" :Utils.defaultFunction,
"gitamep.ametxt" :Utils.defaultFunction,
"gidgrp.rec.transfer" :Utils.defaultFunction,
"gidgrp.ctr.pts.adrblk" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.reqcan" :Utils.defaultFunction,
"gidgrp.blk.apprultxt" :Utils.defaultFunction,
"gidgrp.blk.feetxt" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"gidgrp.rec.opndat" :Utils.defaultFunction,
"gitp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"trnmod.swiadd.ameblk" :Utils.defaultFunction,
"gidgrp.rec.rmbflg" :Utils.defaultFunction,
"oldgidgrp.blk.exptxt" :Utils.defaultFunction,
"gidgrp.ctr.pts.extkey" :Utils.defaultFunction,
"addbcb.pwtyp8" :Utils.defaultFunction,
"addbcb.bcbtyp6" :Utils.defaultFunction,
"gidgrp.ctr.adrelc" :Utils.defaultFunction,
"gidgrp.ctr.namelc" :Utils.defaultFunction,
"gidgrp.ctr.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.delori" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :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.rec.fenlishi" :Utils.defaultFunction,
"gidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.ben.adrelc" :Utils.defaultFunction,
"gidgrp.ben.namelc" :Utils.defaultFunction,
"gidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"addbcb.bccls1" :Utils.defaultFunction,
"gidgrp.iss.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.chato" :Utils.defaultFunction,
"gidgrp.rec.liaflg" :Utils.defaultFunction,
"trnmod.swiadd.liatxtc" :Utils.defaultFunction,
"gitp.liatxtcmodflg" :Utils.defaultFunction,
"gitp.aplsupflg" :Utils.defaultFunction,
"gidgrp.rec.stacty" :Utils.defaultFunction,
"gitp.drpreflg" :Utils.defaultFunction,
"oldgidgrp.blk.liatxtc" :Utils.defaultFunction,
"gidgrp.rec.delto" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAmebutButtxmsel(){
let rtnmsg = await this.executeRule("amebut.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
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 onChargiButtxmsel(){
let rtnmsg = await this.executeRule("chargi.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifpreper(){
let rtnmsg = await this.executeRule("gitp.butdifpreper")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhispreper(){
let rtnmsg = await this.executeRule("gitp.butdifhispreper")
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- SF002108 : Old Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp">
<c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002151 : Old Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc">
<c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002152 : Old Liability -->
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002106 : New Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp">
<c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002105 : New Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002107 : New Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002154 : New Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc">
<c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002155 : New Liability -->
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc">
<c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002132 : Old appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat">
<c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002133 : New appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker>
</el-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/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF050116 : Guarantee Text -->
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050116')" prop="oldgidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050116')" ></c-input>
</c-form-item>
</c-col>
<!-- SF050117 : before this -->
<!-- SF050118 : Amendment -->
<!-- SF050119 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050119')" prop="oldgidgrp.blk.gidtxtamec">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtamec" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050119')" ></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/Gitame/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 : 单据编号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('setmod.SF000031')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('setmod.SF000031')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000028 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000029')}}</c-checkbox>
</c-col>
<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/Gitame/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/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000859 : Delivery of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
</c-form-item>
</c-col>
<!-- SF000863 : Charges Condition -->
<!-- SF000862 : Undertaking Send to -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000860 : Deliv. To/Collection By -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000864 : Charges -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
</c-col>
<!-- SF000861 : Delivery to Address -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
{{$t('gitp.CF001057')}}
</c-button>
</c-col>
<!-- SF000728 : Presentation Instr. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
{{$t('gitp.CF001188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
{{$t('gitp.CF001189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
</c-col>
<!-- SF000885 : Transfer Conditions -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></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/Gitame/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>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<m-amedat20 :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 PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<m-preperp :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>
<!--gitame PD050114 Seq. C: History -->
<el-tab-pane :label="$t('gitame.PD050114')" name="amephisc">
<m-amephisc :model="model" :codes="codes"/>
</el-tab-pane>
<!--addbcb PD000001 备查表 -->
<el-tab-pane :label="$t('addbcb.PD000001')" name="addbcb">
<m-addbcb :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 Gitame from "~/model/Gitame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Gitame/Check"
import Default from "~/model/Gitame/Default"
import Pattern from "~/model/Gitame/Pattern"
import Opnp from "./Opnp"
import Ameps20 from "./Ameps20"
import Amedat20 from "./Amedat20"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephisc from "./Amephisc"
import Addbcb from "./Addbcb"
export default {
name: "Gitame",
components:{
"m-opnp" : Opnp,
"m-ameps20" : Ameps20,
"m-amedat20" : Amedat20,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephisc" : Amephisc,
"m-addbcb" : Addbcb,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "gitame",
trnType: "",
model: new Gitame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -1161,7 +1161,7 @@
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'"
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'||model.gidgrp.rec.liatypc==''"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
......
......@@ -191,7 +191,24 @@
</c-col>
</c-col>
</c-row>
<c-col :span="24">
<el-form-item label="Additional Parties" >
<c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
<el-table-column label="操作" >
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.gitp.labapl" data-path=".gitp.labapl" > </span>
</c-col>
......@@ -452,7 +469,33 @@ export default {
mixins: [commonProcess],
data(){
return {
ptsaddg: {
columns: [
{
title: "Role",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "Party",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "Name of Party",
width: "250px",
dataIndex: "nam",
},
{
title: "Reference for Address",
width: "250px",
dataIndex: "ref",
},
],
urls: "gitp.ptsaddp.ptsaddg",
},
}
},
methods:{...Event},
......
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