Commit 2f97628a by wangna

gctfee交易转换

parent ecf73b73
import Utils from "~/utils"
/**
* Gctfee 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
/**
* Gctfee 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.liadat" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"xxtfee.intmbu.ums.pts.adrblk" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"xxtfee.intmbu.umh.pts.extkey" :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,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"xxtfee.intmbu.umbflg" :Utils.defaultFunction,
"xxtfee.intmbu.umhrol" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"xxtfee.intmbu.umh.adrelc" :Utils.defaultFunction,
"xxtfee.intmbu.umh.namelc" :Utils.defaultFunction,
"xxtfee.intmbu.umh.dbfadrblkcn" :Utils.defaultFunction,
"xxtfee.intmbu.umh.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"xxtfee.intmbu.umsrol" :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 {
"gctp0.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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"
import Pub from "../Public"
export default class Gctfee{
constructor () {
this.data = {
gctp0:{
aplmullab:"", // Label, that is set, if there are multiple applicants .gctp0.aplmullab
liafldlab:"", // Label for Field Liability .gctp0.liafldlab
expfldlab:"", // Label for Field Validity .gctp0.expfldlab
explab:"", // Label unlimited Validity .gctp0.explab
lialab:"", // Label unlimited Liability .gctp0.lialab
gidget:{
sdamod:{
seainf:"", // .gctp0.gidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp0.gidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp0.recget.sdamod.dadsnd
seainf:"", // .gctp0.recget.sdamod.seainf
},
},
adaflg:"", // Add. Amount .gctp0.adaflg
},
gidgrp:{
rec:{
ownref:"", // Guarantee .gidgrp.rec.ownref
expdat:"", // Valid until .gidgrp.rec.expdat
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
opn1:{
cur:"", // Open Guar. Amt. .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
},
gcdgrp:{
rec:{
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
},
cbs:{
max:{
cur:"", // Amount Claimed .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
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
},
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
sysmod:{
atp:{
bus:"",
cod:"",
},
},
}
}
}
\ No newline at end of file
......@@ -283,6 +283,7 @@ import Gitdla from "./Gitdla"
import Gitfee from "./Gitfee"
import Getfee from "./Getfee"
import Gitrop from "./Gitrop"
import Gctfee from "./Gctfee"
//添加静态交易路由
import Infact from "~/views/Statics/Infact";
......@@ -360,6 +361,7 @@ const BusRouter = [
{ path:'gitpca',component:Gitpca, name:'Gitpca', meta:{title:'关税保函预注销'}},
{ path:'gitfee',component:Gitfee, name:'Gitfee', meta:{title:'进口保函收费'}},
{ path:'getfee',component:Getfee, name:'Getfee', meta:{title:'附加传入信息'}},
{ path:'gctfee',component:Gctfee, name:'Gctfee', meta:{title:'GCTFEE'}},
{ path: 'gitatt', component: Gitatt, name: 'Gitatt', meta: { title: '绑定电子凭证' } },
{ path: 'botrad', component: Botrad, name: 'Botrad', meta: { title: '出口托收二次寄单' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
......
<template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="借方" prop="xxtfee.intmbu.umsrol">
<c-select
v-model="model.xxtfee.intmbu.umsrol"
style="width: 100%"
placeholder="请选择借方"
disabled
:code="getValues('xxtfee.intmbu.umsrol', 'rolall')"
>
</c-select>
</el-form-item>
</c-col>
<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="" prop="xxtfee.intmbu.ums.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.ums.pts.extkey"
maxlength="16"
placeholder="请输入"
disabled
@keyup.enter.native="
showGridPromptDialog(`xxtfee.intmbu.ums.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 size="small" type="primary" style="margin: 0 0">
详情
</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">
<c-col :span="24">
<el-form-item label="信贷方" prop="xxtfee.intmbu.umhrol">
<c-select
v-model="model.xxtfee.intmbu.umhrol"
style="width: 100%"
placeholder="请选择信贷方"
disabled
:code="getValues('xxtfee.intmbu.umhrol', 'rolall')"
>
</c-select>
</el-form-item>
</c-col>
<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="" prop="xxtfee.intmbu.umh.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.umh.pts.extkey"
maxlength="16"
placeholder="请输入"
disabled
@keyup.enter.native="
showGridPromptDialog(`xxtfee.intmbu.umh.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 size="small" type="primary" style="margin: 0 0">
详情
</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 Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gctfee/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔编号" prop="gcdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入索赔编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="索赔币种和金额" prop="gcdgrp.cbs.max.cur">
<c-select
v-model="model.gcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择索赔币种"
disabled
>
<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-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.gcdgrp.cbs.max.amt"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gctp0.adaflg">附加金额</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="索赔余额" prop="gcdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择索赔余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gcdgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<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.typgar"
>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col
:span="24"
v-if="!(model.gidgrp.rec.inr == '' || model.gidgrp.rec.liaflg == '')"
>
<el-form-item label="日期" prop="gctp0.lialab">
<c-date-picker
disabled
type="date"
v-model="model.gctp0.lialab"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-date-picker
disabled
type="date"
v-model="model.gcdgrp.rec.clmdat"
style="width: 100%"
placeholder="请选择索赔日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: left"
prop="xxtfee.intmbu.umbflg"
class="checkbox-left"
>
<c-checkbox
v-model="model.xxtfee.intmbu.umbflg"
@change="eventFunction('xxtfee.intmbu.umbflg')"
>重新预定</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.sysmod.atp.bus == 'MC'">
<el-form-item label="业务部门" prop="xxtfee.intmbu.othbussec">
<c-select
:disabled="model.sysmod.atp.cod != 'MCTFEE'"
v-model="model.xxtfee.intmbu.othbussec"
style="width: 100%"
placeholder="请选择业务部门"
:code="getValues('xxtfee.intmbu.othbussec', '')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px">
<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>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择保函余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gidgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input
disabled
v-model="model.gcdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人编号" prop="gcdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.ref"
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="gcdgrp.apl.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.nam"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人编号" prop="gcdgrp.ben.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.ref"
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="gcdgrp.ben.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.nam"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gctfee/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="feep">
<m-feep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="重新预定" name="cltrns" v-if="model.xxtfee.intmbu.umbflg == 'X'">
<m-cltrns :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gctfee/Event";
import Feep from "./Feep";
import Cltrns from "./Cltrns";
export default {
components: {
"m-feep": Feep,
"m-cltrns": Cltrns,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["feep"],
};
},
methods: { ...Event },
created: function () { },
};
</script>
<style>
</style>
\ No newline at end of file
<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"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="结算" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gctfee from "~/model/Gctfee";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gctfee/Check";
import Default from "~/model/Gctfee/Default";
import Pattern from "~/model/Gctfee/Pattern";
import Ovwp from "./Ovwp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Gctfee",
components: {
"m-ovwp": Ovwp,
"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: "gctfee",
trnType: "",
model: new Gctfee().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["coninfp"],
activeNames1: ["setpan"],
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入gctfee交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<ReviewWrapper>
<Gctfee></Gctfee>
</ReviewWrapper>
</template>
<script>
import Gctfee from "~/views/Business/Gctfee";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGctfee",
components: { ReviewWrapper, Gctfee },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -135,6 +135,7 @@ import ReviewBttcan from "./Business/ReviewBttcan.vue";
import ReviewBttdck from "./Business/ReviewBttdck.vue";
import ReviewGctrop from "./Business/ReviewGctrop.vue";
import ReviewGitrop from "./Business/ReviewGitrop.vue";
import ReviewGctfee from "./Business/ReviewGctfee.vue";
const ReviewRouter = [
......@@ -288,7 +289,7 @@ const ReviewRouter = [
{ path: "bttdck", component: ReviewBttdck, name: "ReviewBttdck", meta: { title: "复核-Bttdck" } },
{ path: "gctrop", component: ReviewGctrop, name: "ReviewGctrop", meta: { title: "复核-Gctrop" } },
{ path: "gitrop", component: ReviewGitrop, name: "ReviewGitrop", meta: { title: "复核-Gitrop" } },
{ path: "gctfee", component: ReviewGitrop, name: "ReviewGctfee", meta: { title: "复核-Gctfee" } },
];
......
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