Commit cf385598 by 郭旭

增加gitfee交易

parent c61f1ae9
......@@ -7090,6 +7090,7 @@ const CodeTable = {
{ label: "信用证修改通知", value: "ADVI" },
{ label: "信用证修改发布", value: "ISSU" },
],
trnchato: [
{ label: "申请人方", value: "APPL" },
{ label: "受益方", value: "BENE" },
......@@ -7362,7 +7363,15 @@ const CodeTable = {
{ label: "ISSU 保函开立", value: "ISSU" },
{ label: "ISCO 间接保函开立", value: "ISCO" },
],
purposin2: [
{ label: "ISSU 保函开立", value: "ISSU" },
{ label: "ISCO 间接保函开立", value: "ISCO" },
{ label: "ADVI 保函开立的通知", value: "ADVI" },
{ label: "ACNF 保函开立的通知和确认", value: "ACNF" },
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
{ label: "ISAW Issue undert. (free advising bank)", value: "ISAW" },
{ label: "ISAB Issue undert. (named advising bank)", value: "ISAB" },
],
ctytxt1: [
{ label: "CN 中华人民共和国", value: "CN" },
{ label: "HK 香港", value: "HK" },
......
import Utils from "~/utils"
/**
* Gitfee Check规则
*/
let checkObj = {
"xxtfee.intmbu.umh.pts.ref" :null,
"xxtfee.intmbu.umsrol" :null,
"xxtfee.intmbu.ums.pts.extkey" :null,
"setmod.dspflg" :null,
"xxtfee.intmbu.ums.pts.ref" :null,
"xxtfee.intmbu.ums.namelc" :null,
"xxtfee.intmbu.ums.adrelc" :null,
"xxtfee.intmbu.othbussec" :null,
"xxtfee.intmbu.umh.adrelc" :null,
"xxtfee.intmbu.umh.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"xxtfee.intmbu.umh.namelc" :null,
"xxtfee.intmbu.umh.pts.adrblk" :null,
"setmod.docamt" :null,
"xxtfee.intmbu.umhrol" :null,
"xxtfee.intmbu.ums.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
/**
* Gitfee Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"xxtfee.intmbu.ums.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"xxtfee.intmbu.umh.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"xxtfee.intmbu.ums.pts.extkey" :Utils.defaultFunction,
"xxtfee.intmbu.ums.adrelc" :Utils.defaultFunction,
"xxtfee.intmbu.ums.namelc" :Utils.defaultFunction,
"xxtfee.intmbu.ums.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"xxtfee.intmbu.umbflg" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"xxtfee.intmbu.umhrol" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"xxtfee.intmbu.umh.adrelc" :Utils.defaultFunction,
"xxtfee.intmbu.umh.namelc" :Utils.defaultFunction,
"xxtfee.intmbu.umh.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.iss.pts.nam" :Utils.defaultFunction,
"xxtfee.intmbu.umh.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"xxtfee.intmbu.umsrol" :Utils.defaultFunction,
"gidgrp.apl.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUmspDet(){
let rtnmsg = await this.executeRule("umsp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUmhpDet(){
let rtnmsg = await this.executeRule("umhp.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: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"gitp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gitp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.ctr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"xxtfee.intmbu.ums.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umsp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.ums.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umsp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"xxtfee.intmbu.ums.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umhp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umh.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umhp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"xxtfee.intmbu.umh.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, 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.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"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.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Gitfee{
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,
},
},
xxtfee:{
intmbu:{
othbusseclab:"", // Business Sector .xxtfee.intmbu.othbusseclab
othbussec:"", // Business Sector .xxtfee.intmbu.othbussec
umbflg:"", // Internal Transfer Y/N .xxtfee.intmbu.umbflg
umsrol:"", // Debit Party .xxtfee.intmbu.umsrol
ums:{
pts:new Pts().data,
namelc:"", // 名称 .xxtfee.intmbu.ums.namelc
adrelc:"", // 地址 .xxtfee.intmbu.ums.adrelc
dbfadrblkcn:"", // Chinese address .xxtfee.intmbu.ums.dbfadrblkcn
},
umsp:{
ptsget:{
sdamod:{
seainf:"", // .xxtfee.intmbu.umsp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .xxtfee.intmbu.umsp.ptsget.sdamod.dadsnd
},
},
},
umsmsgflg:"", // Send Message .xxtfee.intmbu.umsmsgflg
umhrol:"", // Credit Party .xxtfee.intmbu.umhrol
umh:{
pts:new Pts().data,
namelc:"", // 名称 .xxtfee.intmbu.umh.namelc
adrelc:"", // 地址 .xxtfee.intmbu.umh.adrelc
dbfadrblkcn:"", // Chinese address .xxtfee.intmbu.umh.dbfadrblkcn
},
umhp:{
ptsget:{
sdamod:{
seainf:"", // .xxtfee.intmbu.umhp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .xxtfee.intmbu.umhp.ptsget.sdamod.dadsnd
},
},
},
umhmsgflg:"", // Send Message .xxtfee.intmbu.umhmsgflg
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .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
},
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
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -158,6 +158,7 @@ import Gitsel from "./Gitsel"
import Infgid from "./Infgid"
import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Gitfee from "./Gitfee"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel"
import Getopn from "./Getopn"
......@@ -503,6 +504,7 @@ const BusRouter = [
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '保函入口交易' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'gitfee', component: Gitfee, name: 'Gitfee', meta: { title: '进口保函收费' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
{ path: 'getcan', component: Getcan, name: 'Getcan', meta: { title: '出口保函注销' } },
{ path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: '进口保函注销' } },
......
<template>
<div class="eibs-tab">
<!-- 左侧 -->
<c-col :span="12" style="padding-right: 20px">
<!-- SF000009 : Debit Party -->
<c-col :span="24">
<el-form-item label="Debit Party" prop="xxtfee.intmbu.umsrol">
<c-select v-model="model.xxtfee.intmbu.umsrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Debit Party'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000008 : Reference -->
<c-col :span="24">
<el-form-item label="参考号" prop="xxtfee.intmbu.ums.pts.ref">
<c-input v-model="model.xxtfee.intmbu.ums.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.ums.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.ums.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.ums.pts.extkey`)"
></c-input>
<template v-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 :disabled="model.xxtfee.intmbu.ums.pts.adrblk === ''" size="small" @click="onUmspDet">详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.ums.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.xxtfee.intmbu.ums.pts.adrblk" maxlength="140"
show-word-limit placeholder="请输入地址名称"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 右侧 -->
<c-col :span="12" style="padding-left: 20px">
<!-- SF000007 : Credit Party -->
<c-col :span="24">
<el-form-item label="Credit Party" prop="xxtfee.intmbu.umhrol">
<c-select v-model="model.xxtfee.intmbu.umhrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Credit Party'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000006 : Reference -->
<c-col :span="24">
<el-form-item label="参考号" prop="xxtfee.intmbu.umh.pts.ref">
<c-input v-model="model.xxtfee.intmbu.umh.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.umh.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.umh.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.umh.pts.extkey`)"
></c-input>
<template v-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 :disabled="model.xxtfee.intmbu.umh.pts.adrblk === ''" size="small" @click="onUmhpDet">详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.umh.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.xxtfee.intmbu.umh.pts.adrblk" maxlength="140"
show-word-limit placeholder="请输入地址名称"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import commonProcess from "../../../mixin/commonProcess";
import Event from "../../../model/Gitfee/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {}
},
methods: {...Event},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- 左侧 -->
<c-col :span="12" style="padding-right: 20px">
<!-- SF000270 : Reference 保函编号 -->
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input disabled v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入保函编号"></c-input>
<template v-slot:footer>
<c-button style="padding: 0 12px" size="small" type="primary">
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- SF000271 : Guarantee Amount 保函币种和金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
<c-select disabled v-model="model.gidgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="gidgrp.cbs.max.amt" label-width="5px">
<c-input disabled v-model="model.gidgrp.cbs.max.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4" >-->
<!-- <c-form-item label="" label-width="20px">-->
<!-- <c-checkbox disabled v-model="model.aamgid.addamtflg">附加金额</c-checkbox>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
</c-col>
<!-- SF000268 : Open Amount 保函余额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-select disabled v-model="model.gidgrp.cbs.opn1.cur" style="width: 100%" :code="codes.cur"
placeholder="请选择币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="gidgrp.cbs.opn1.amt" label-width="5px">
<c-input disabled v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 接收目的 -->
<c-col :span="24">
<el-form-item label="接收目的" prop="gidgrp.rec.purposin">
<c-select disabled v-model="model.gidgrp.rec.purposin" style="width: 100%" placeholder="请选择接收目的" :code="codes.purposin2"></c-select>
</el-form-item>
</c-col>
<!-- 支出目的 -->
<c-col :span="24">
<el-form-item label="支出目的" prop="gidgrp.rec.purpos">
<c-select disabled v-model="model.gidgrp.rec.purpos" style="width: 100%" placeholder="请选择支出目的" :code="codes.purpos">
</c-select>
</el-form-item>
</c-col>
<!-- SF000275 : Type of Undertaking 保函种类 -->
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类" :code="codes.typgar2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函效期" prop="gidgrp.rec.expdat">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.expdat" style="width: 100%"
placeholder="请选择保函效期"></c-date-picker>
</el-form-item>
</c-col>
<!-- Rebooking -->
<c-col :span="8">
<c-checkbox v-model="model.xxtfee.intmbu.umbflg">Rebooking</c-checkbox>
</c-col>
</c-col>
<!-- 右侧 -->
<c-col :span="12" style="padding-left: 20px">
<!-- SF000274 : Name 简略信息 -->
<c-col :span="24">
<el-form-item label="简略信息" prop="gidgrp.rec.nam">
<c-input disabled v-model="model.gidgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"></c-input>
</el-form-item>
</c-col>
<!-- 申请人 -->
<c-col :span="24">
<el-form-item label="申请人" prop="gidgrp.apl.pts.nam">
<c-input disabled v-model="model.gidgrp.apl.pts.nam" maxlength="40" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<!-- 受益人 -->
<c-col :span="24">
<el-form-item label="受益人" prop="gidgrp.ben.pts.nam">
<c-input disabled v-model="model.gidgrp.ben.pts.nam" maxlength="40" placeholder="请输入受益人"></c-input>
</el-form-item>
</c-col>
<!-- 帐户行 -->
<c-col :span="24">
<el-form-item label="帐户行" prop="gidgrp.ctr.pts.nam">
<c-input disabled v-model="model.gidgrp.ctr.pts.nam" maxlength="40" placeholder="请输入帐户行"></c-input>
</el-form-item>
</c-col>
<!-- 开证行 -->
<c-col :span="24">
<el-form-item label="开证行" prop="gidgrp.iss.pts.nam">
<c-input disabled v-model="model.gidgrp.iss.pts.nam" maxlength="40" placeholder="请输入开证行"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- SF000276 : Handling Type -->
<!-- <c-col :span="12">-->
<!-- <el-form-item :label="$t('gitp0.SF000276')" prop="gidgrp.rec.hndtyp">-->
<!-- <c-select v-model="model.gidgrp.rec.hndtyp" style="width:100%"-->
<!-- :placeholder="$t('other.please_enter')+$t('gitp0.SF000276')">-->
<!-- </c-select>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Gitfee/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="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item title="Rebooking" name="cltrns" v-if="model.xxtfee.intmbu.umbflg">
<m-cltrns :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Gitfee/Event";
import Gitsetp1 from "./Gitsetp1.vue";
import Cltrns from "./Cltrns.vue";
export default {
name: "Ovwp",
components: {
"m-gitsetp1": Gitsetp1,
"m-cltrns": Cltrns
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["gitsetp1"],
};
},
computed: {
},
methods: {
...Event,
handleChange(val) {
console.log(val);
}
},
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">
<!--gitfee PD000019 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--intmbu PD000001 Rebooking -->
<!-- <el-tab-pane :label="$t('intmbu.PD000001')" name="cltrns">-->
<!-- <c-content>-->
<!-- <m-cltrns :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--setmod PD000000 Settlement -->
<el-tab-pane label="费用/账务" name="setpan">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</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="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import Gitfee from "~/model/Gitfee"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitfee/Check"
import Default from "~/model/Gitfee/Default"
import Pattern from "~/model/Gitfee/Pattern"
import Ovwp from "./Ovwp"
import Cltrns from "./Cltrns"
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import CodeTable from "../../../config/CodeTable";
export default {
name: "Gitfee",
components: {
"m-ovwp": Ovwp,
"m-cltrns": Cltrns,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitfee",
trnType: "",
model: new Gitfee().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
activeNames: ["setpan"],
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入gitfee交易");
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