Commit d5a7213b by xionglin

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 17234a6b 91e8aa61
......@@ -65,7 +65,7 @@ export default {
/* overflow: hidden; */
border: 1px solid rgba(0,0,0,0);
border-radius: 5px;
margin: -1px;
/* margin: -1px; */
}
.c-highlight-content.change-light {
border: 1px solid rgb(201, 171, 1);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Fctcan{
constructor () {
......@@ -31,6 +32,11 @@ export default class Fctcan{
gleflg:"", // 是否过�'� .gleflg
cshstm:"", // stream of csh .cshstm
errflg:"", // 已使用保证金 .errflg
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
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
import Utils from "~/utils"
/**
* Gctfre Check规则
*/
let checkObj = {
"fremsg.relmt" :null,
"fremsg.othcc.pts.extkey" :null,
"fremsg.strinf" :null,
"gcdgrp.rec.newexpdat" :null,
"gcdgrp.int.pts.nam" :null,
"fremsg.det" :null,
"fremsg.othcc.pts.adrblk" :null,
"fremsg.tag23h" :null,
"gcdgrp.awi.pts.extkey" :null,
"fremsg.ccrol" :null,
"fremsg.fulmt" :null,
"fremsg.othmsg.pts.adrblk" :null,
"fremsg.iss.namelc" :null,
"fremsg.sndmt" :null,
"fremsg.iss.pts.extkey" :null,
"fremsg.reldat" :null,
"fremsg.iss.pts.adrblk" :null,
"fremsg.iss.adrelc" :null,
"fremsg.othmsg.adrelc" :null,
"fremsg.msgrol" :null,
"fremsg.swiadd.newmatdat" :null,
"mtabut.coninf.conexedat" :null,
"fremsg.othmsg.pts.extkey" :null,
"fremsg.tag22d" :null,
"fremsg.othcc.adrelc" :null,
"gcdgrp.int.pts.extkey" :null,
"fremsg.othmsg.namelc" :null,
"gcdgrp.awi.pts.nam" :null,
"fremsg.tag45d" :null,
"fremsg.othcc.namelc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gctfre Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gcdgrp.int.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"fremsg.strinf" :Utils.defaultFunction,
"fremsg.prttitle" :Utils.defaultFunction,
"fremsg.sndmt" :Utils.defaultFunction,
"fremsg.msgrol" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"fremsg.issrol" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gcdgrp.awi.pts.nam" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"fremsg.othcc.pts.adrblk" :Utils.defaultFunction,
"fremsg.iss.pts.extkey" :Utils.defaultFunction,
"fremsg.iss.adrelc" :Utils.defaultFunction,
"fremsg.iss.namelc" :Utils.defaultFunction,
"fremsg.iss.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.awi.pts.extkey" :Utils.defaultFunction,
"fremsg.othcc.pts.extkey" :Utils.defaultFunction,
"fremsg.othcc.adrelc" :Utils.defaultFunction,
"fremsg.othcc.namelc" :Utils.defaultFunction,
"fremsg.othcc.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"gcdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"gcdgrp.rec.clmdat" :Utils.defaultFunction,
"gcdgrp.cbs.opn1.cur" :Utils.defaultFunction,
"fremsg.othmsg.pts.adrblk" :Utils.defaultFunction,
"fremsg.othmsg.pts.extkey" :Utils.defaultFunction,
"fremsg.ccrol" :Utils.defaultFunction,
"extpay" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"fremsg.tag22d" :Utils.defaultFunction,
"gcdgrp.int.pts.nam" :Utils.defaultFunction,
"fremsg.othmsg.adrelc" :Utils.defaultFunction,
"fremsg.othmsg.namelc" :Utils.defaultFunction,
"fremsg.othmsg.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"fremsg.fulmt" :Utils.defaultFunction,
"fremsg.tag20ref" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"fremsg.iss.pts.adrblk" :Utils.defaultFunction,
"fremsg.reldir" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"gctp0.aplmullab" :Utils.defaultFunction,
"fremsg.tag23h" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onIntpDet(){
let rtnmsg = await this.executeRule("intp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAwipDet(){
let rtnmsg = await this.executeRule("awip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthmsgpDet(){
let rtnmsg = await this.executeRule("othmsgp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTxtfreButtxmsel(){
let rtnmsg = await this.executeRule("txtfre.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthccpDet(){
let rtnmsg = await this.executeRule("othccp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.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 {
"clmtxts20":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gcdgrp.rec.newexpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.blk.addamtinf":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gcdgrp.blk.presentdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gctp0.intp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.int.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.intp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.int.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gctp0.awip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.awi.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.awip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.awi.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"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: "输入正确的日期"}
],
"fremsg.othmsgp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.othmsg.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.othmsgp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fremsg.prttitle":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othmsg.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othmsg.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othmsg.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othmsg.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fremsg.tag20ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"fremsg.othccp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.othcc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.othccp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fremsg.othcc.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othcc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othcc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.othcc.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.det":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.tag77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.tag23":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.swiadd.newmatdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fremsg.issp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fremsg.issp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fremsg.iss.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fremsg.tag45d":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"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"}
],
"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"}
],
"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"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Gctfre{
constructor () {
this.data = {
gcdgrp:{
rec:{
demstat:"", // Demand Statement .gcdgrp.rec.demstat
newexpdat:"", // Validity Requested .gcdgrp.rec.newexpdat
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
},
blk:{
addamtinf:"", // Add. Amt. Information .gcdgrp.blk.addamtinf
presentdet:"", // Present. Compl. Det. .gcdgrp.blk.presentdet
},
int:{
pts:new Pts().data,
},
awi:{
pts:new Pts().data,
},
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,
},
},
clmtxts20:"", // Demand Statem. Text .clmtxts20
gctp0:{
intp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp0.intp.ptsget.sdamod.dadsnd
seainf:"", // .gctp0.intp.ptsget.sdamod.seainf
},
},
},
awip:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp0.awip.ptsget.sdamod.dadsnd
seainf:"", // .gctp0.awip.ptsget.sdamod.seainf
},
},
},
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
},
extpay:"", // Extend or Pay .extpay
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
},
},
},
fremsg:{
reldatlab:"", // label for date .fremsg.reldatlab
strinflab:"", // label for tag 79 .fremsg.strinflab
sndmt:"", // 发报类型 .fremsg.sndmt
fulmt:"", // 报文类型 .fremsg.fulmt
prttitle:"", // 标题 .fremsg.prttitle
relmt:"", // 相关报文 .fremsg.relmt
reldat:"", // from .fremsg.reldat
reldir:"", // relevant message sent/received .fremsg.reldir
strinf:"", // Narrative .fremsg.strinf
tag20lab:"", // MT799 tag20 .fremsg.tag20lab
tag20ref:"", // tag 20 Ref. .fremsg.tag20ref
flg:"", // FLG FOR GITFRE .fremsg.flg
msgrol:"", // 收报行 .fremsg.msgrol
ccrol:"", // 副本的收报行 .fremsg.ccrol
othmsg:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.othmsg.namelc
adrelc:"", // 地址 .fremsg.othmsg.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.othmsg.dbfadrblkcn
},
othmsgp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.othmsgp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.othmsgp.ptsget.sdamod.dadsnd
},
},
},
othcc:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.othcc.namelc
adrelc:"", // 地址 .fremsg.othcc.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.othcc.dbfadrblkcn
},
othccp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.othccp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.othccp.ptsget.sdamod.dadsnd
},
},
},
det:"", // Query/ Answer .fremsg.det
tag77a:"", // Narrative (77A) .fremsg.tag77a
tag22d:"", // Form of Undertaking .fremsg.tag22d
tag23:"", // Undertaking Number .fremsg.tag23
issrol:"", // Issuer of Undertak. .fremsg.issrol
iss:{
pts:new Pts().data,
namelc:"", // 名称 .fremsg.iss.namelc
adrelc:"", // 地址 .fremsg.iss.adrelc
dbfadrblkcn:"", // Chinese address .fremsg.iss.dbfadrblkcn
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .fremsg.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fremsg.issp.ptsget.sdamod.dadsnd
},
},
},
tag23h:"", // Function .fremsg.tag23h
tag45d:"", // Details of Request .fremsg.tag45d
swiadd:{
newmatdat:"", // New Maturity Date .fremsg.swiadd.newmatdat
},
},
trnmod:{
trndoc:{
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
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
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
},
},
},
pageId: "", // ctx的key
gctfrel1blk:"",
gctfrel2blk:"",
gct752l1blk:"",
}
}
}
\ No newline at end of file
......@@ -165,19 +165,19 @@ export default {
"xxtfee.intmbu.ums.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.ums.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.ums.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.ums.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
......@@ -200,18 +200,18 @@ export default {
"xxtfee.intmbu.umh.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.umh.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.umh.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
"xxtfee.intmbu.umh.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 50,message:"长度不能超过50"}
],
}
\ No newline at end of file
export default class Infdia{
constructor () {
this.data = {}
}
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/dia/queryByPage", data)
}
export function queryById(data) {
return Api.post(`/manager/dia/queryById`, data)
}
export function queryDetailById(data) {
return Api.post(`/manager/dia/queryDetailById`, data)
}
export function add(data) {
return Api.post("/manager/dia/add", data)
}
export function edit(data) {
return Api.post("/manager/dia/edit", data)
}
export function deleteById(data) {
return Api.post(`/manager/dia/deleteById`, data)
}
\ No newline at end of file
......@@ -222,6 +222,7 @@ import Getfre from "./Getfre"
import Gitfre from "./Gitfre"
import Gctrop from "./Gctrop"
import Gctfre from "./Gctfre"
import Trtrcl from "./Trtrcl"
......@@ -283,6 +284,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";
......@@ -352,6 +354,8 @@ import Dbefee from "~/views/Statics/Dbefee";
import Dbdfee from "~/views/Statics/Dbdfee";
import Inftxm2 from "~/views/Statics/Inftxm";
import Infdia from "~/views/Statics/Infdia";
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -360,6 +364,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: '待经办详情' } },
......@@ -546,6 +551,7 @@ const BusRouter = [
{ path: 'gitdla', component: Gitdla, name: 'Gitdla', meta: { title: '减额后处理' } },
{ path: 'getfee', component: Getfee, name: 'Getfee', meta: { title: '费用结算' } },
{ path: 'gitrop', component: Gitrop, name: 'Gitrop', meta: { title: '保函注销后激活' } },
{ path: 'gctfre', component: Gctfre, name: 'Gctfre', meta: { title: '普通报文' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......@@ -719,5 +725,11 @@ const BusRouter = [
{ path: 'dbifee/:inr', component: Dbifee, name: 'StaticsDbifee', meta: { title: (tag) => { return '费用代码详情: ' + tag.params.inr } } },
{ path: 'dbefee/:inr', component: Dbefee, name: 'StaticsDbefee', meta: { title: (tag) => { return '费用代码修改: ' + tag.params.inr } } },
{ path: 'dbdfee/:inr', component: Dbdfee, name: 'StaticsDbdfee', meta: { title: (tag) => { return '费用代码删除: ' + tag.params.inr } } },
{ path: 'infdia', component: Infdia, name: 'StaticsInfact', meta: { title: '交易备忘录查询' } },
{ path: 'dbadia', component: Dbaact, name: 'StaticsDbaact', meta: { title: '交易备忘录新增' } },
{ path: 'dbidia/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '交易备忘录详情: ' + tag.params.inr } } },
{ path: 'dbedia/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '交易备忘录修改: ' + tag.params.inr } } },
{ path: 'dbddia/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '交易备忘录删除: ' + tag.params.inr } } },
]
export default BusRouter
\ No newline at end of file
......@@ -53,11 +53,11 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Our Reference" prop="fcdgrp.rec.ownref">
<el-form-item label="参考号" prop="fcdgrp.rec.ownref">
<c-input
v-model="model.fcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Our Reference"
placeholder="请输入参考号"
disabled
></c-input>
</el-form-item>
......@@ -123,8 +123,10 @@
<template slot="footer">
<el-form-item label="" label-width="0" prop="gleflg">
<c-checkbox v-model="model.gleflg" style="margin-left: 10px"
class="" @change="eventFunction('model.gleflg')"
>是否过帐</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
......@@ -161,39 +163,9 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
columns: [
'0 1 "INR" 100',
'1 2 "Own Reference" 150',
'2 3 "收取日期" 120 4 7',
'3 4 "Cur" 56',
'4 5 "Relevant Amount" 150 2 8:1 2 5',
'5 6 "" auto',
'6 7 "保证金帐号" 120',
'7 8 "是否过帐" 120',
'8 9 "是否到帐" 120',
'9 10 "是否被用" 120',
'10 11 "说明 " 200',
'11 12 "被用在交易" 120',
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FLASE",
],
};
},
methods: {
...Event,
async chooseRowEvent(row) {
const selIds = [row.IDX + 1]; //rowno选中行
const selDst = "cshstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("cshstm", params)
if(rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
}
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
......
<template>
<div class="eibs">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="开立方式" name="opnp1">
<m-opnp1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Fctcan/Event"
import Opnp1 from "./Opnp1"
export default {
components: {
"m-opnp1": Opnp1,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["opnp1"],
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<c-page title="保证金注销">
<div class="eContainer">
<div class="bus-button">
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button>
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button>
</div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 -->
<el-tab-pane label="PD000001" name="opnp1">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="费用/账务" name="setpan" v-if="model.gleflg">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
<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>
</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>
</el-form>
</div>
</c-page>
</template>
......@@ -35,29 +55,37 @@ import Check from "~/model/Fctcan/Check"
import Default from "~/model/Fctcan/Default"
import Pattern from "~/model/Fctcan/Pattern"
import Opnp1 from "./Opnp1"
import Ovwp from "./Ovwp"
import Setpan from "~/views/Public/Setpan";
export default {
name: "Fctcan",
components:{
"m-opnp1" : Opnp1,
"m-ovwp" :Ovwp,
"m-setpan" :Setpan
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp1",
tabVal: "ovwp",
activeNames: ["Setpan"],
trnName: "fctcan",
trnType: "",
model: new Fctcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
......@@ -67,35 +95,6 @@ export default {
/**
* do it yourself
**/
},
async handleSave() {
let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
} else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
}
},
created:async function(){
......@@ -105,7 +104,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-fullbox>
<el-form-item label="申请人" prop="fcdgrp.apl.pts.extkey">
......@@ -21,13 +21,13 @@
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fcdgrp.apl.pts.nam">
<c-input
v-model="model.fcdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -38,21 +38,14 @@
v-model="model.fcdgrp.apl.pta.nam1"
maxlength="40"
placeholder="请输入Externally Visible Name of Address"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="aplp.ptsget.sdamod.seainf">
<c-input v-model="model.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="12">
<c-col :span="14">
<c-col :span="13">
<el-form-item label="保证金账号" prop="cashacc">
<!-- <c-select
v-model="model.cashacc"
......@@ -60,13 +53,13 @@
placeholder="请选择account"
>
</c-select> -->
<c-input
<c-select
v-model="model.cashacc"
placeholder="请选择account"
></c-input>
></c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<c-col :span="11">
<el-form-item label="科目" label-width="60px" prop="trmtyp">
<c-select
v-model="model.trmtyp"
......@@ -78,19 +71,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="说明" prop="reason">
<c-input
v-model="model.reason"
maxlength="40"
placeholder="请输入collect reason"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-fullbox>
<c-col :span="12">
<el-form-item label="金额" prop="cashcur">
......@@ -98,18 +79,18 @@
v-model="model.cashcur"
style="width: 100%"
placeholder="请选择currency"
:code="codes.infled_Cur"
>
<el-option v-for="k in codes.cashcur" :label="k" :value="k" :key="k"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="cashamt">
<c-input
<el-form-item label="" label-width="5px" prop="cashamt">
<c-input-currency
v-model="model.cashamt"
placeholder="请输入金额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<template slot="footer">
......@@ -119,13 +100,24 @@
</template>
</c-fullbox>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="gleflg">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="说明" prop="reason">
<c-input
v-model="model.reason"
maxlength="40"
placeholder="请输入collect reason"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" prop="gleflg" label-width="0px">
<c-checkbox v-model="model.gleflg">是否过帐</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-istream-table
:list="model.cshstm.rows || []"
......@@ -149,7 +141,7 @@ export default {
columns: [
"0 1 \"INR\" 100",
"1 2 \"Own Reference\" 150",
"2 3 \"收取日期\" auto 4 7",
"2 3 \"收取日期\" 150 4 7",
"3 4 \"Cur\" 100",
"4 5 \"Relevant Amount\" 150 2 8:1 2 5",
"5 6 \"机构号\" 120",
......
<template>
<c-page title="保证金收取">
<div class="eContainer">
<div class="bus-button">
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button>
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button>
</div>
<c-page title="保证金收取">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 -->
<el-tab-pane label="PD000002" name="opnp1">
<el-tab-pane label="概要" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</c-content>
......@@ -21,9 +16,15 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</el-form>
</div>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -59,7 +60,8 @@ export default {
rules: null,
codes: {
cashcur: [],
trmtyp: []
trmtyp: [],
...CodeTable,
},
}
},
......@@ -109,6 +111,9 @@ export default {
//TODO 处理数据逻辑
this.codes.cashcur = rtnmsg.codeSet.cashcur
this.codes.trmtyp = rtnmsg.codeSet.trmtyp
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
<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"
v-if="model.gidgrp.rec.inr != '' && model.gidgrp.rec.expflg != ''"
>
<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>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000077 : Query/ Answer -->
<c-col :span="12">
<c-form-item label="需求/答复" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input>
</c-form-item>
</c-col>
<!-- SF000078 : Narrative (77A) -->
<c-col :span="12">
<c-form-item label="叙述内容" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gctfre/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">
<c-col :span="24">
<el-form-item
label="担保"
prop="gidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp0.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="保函编号"
prop="gcdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.gcdgrp.rec.ownref"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp0.recget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="10">
<c-form-item
label="索赔金额"
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-select
v-model="model.gcdgrp.cbs.max.cur"
style="width: 100%"
disabled
placeholder="请输入索赔金额"
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item
previewLabel="信用证金额"
label-width="5px"
prop="gcdgrp.cbs.max.amt"
>
<c-input
disabled
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入"
class="m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.gctp0.gctp0"
disabled
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>附加金额
</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="10">
<c-form-item
label="保函余额"
prop="gcdgrp.cbs.opn1.cur"
previewLabel="信用证币种"
>
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item
previewLabel="信用证金额"
label-width="5px"
prop="gcdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="来报目的" prop="gcdgrp.rec.purposin">
<c-input
disabled
v-model="model.gcdgrp.rec.purposin"
style="width: 100%"
placeholder="请选择来报目的"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="目的信息" prop="gcdgrp.rec.purpos">
<c-input
disabled
v-model="model.gcdgrp.rec.purpos"
style="width: 100%"
placeholder="请选择目的信息"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函种类" prop="gcdgrp.rec.gartyp">
<c-select
disabled
v-model="model.gcdgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="到期" prop="gcdgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gcdgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="gcdgrp.rec.exptyp">
<c-input
v-model="model.gcdgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发报类型" prop="fremsg.sndmt">
<c-select
v-model="model.fremsg.sndmt"
style="width: 100%"
placeholder="请输入发报类型"
:code="codes.sndmt"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="报文类型" prop="fremsg.fulmt">
<c-select
:disabled="model.fremsg.sndmt!='99'&&model.fremsg.sndmt!='59'"
v-model="model.fremsg.fulmt"
:code="codes.fulmt"
style="width: 100%"
placeholder="请选择报文类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="标题" prop="fremsg.frttitle">
<c-input
:disabled="model.fremsg.sndmt!='99'"
v-model="model.fremsg.frttitle"
style="width: 100%"
placeholder="请选择标题"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关报文" prop="fremsg.relmt">
<c-select
:disabled="model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='92'"
v-model="model.fremsg.relmt"
:code="codes.relmt"
style="width: 100%"
placeholder="请选择相关报文"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="保函日期" prop="fremsg.reldat">
<c-date-picker
type="date"
:disabled="model.fremsg.sndmt!='92'&&model.fremsg.sndmt!='30'"
v-model="model.fremsg.reldat"
style="width: 100%"
placeholder="请选择保函日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="fremsg.reldir">
<c-select
:disabled="model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='96'"
v-model="model.fremsg.reldir"
placeholder="请输入"
></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="tag20" prop="fremsg.tag20ref" v-if="model.fremsg.fulmt=='799'">
<c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='SAN'"
v-model="model.fremsg.tag20ref"
style="width: 100%"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="详细说明" prop="fremsg.strinf" v-if="model.fremsg.sndmt!='59'">
<c-fullbox>
<c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='AME'"
type="textarea"
v-model="model.fremsg.strinf"
maxlength="300"
rows="3"
show-word-limit
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 1px 1px"
size="small"
type="primary"
icon="el-icon-more"
@click="
showGridPromptDialog(
'fremsg.txtfre.buttxmsel',
null,
null,
{ TXT: 'fremsg.strinf' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" v-if="model.fremsg.sndmt!='59'">
<c-checkbox v-model="model.fremsg.flg" @change="flg"
>发送确认保函真实性报文</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="5">
<c-form-item
label="保函担保金额"
prop="gidgrp.cbs.opn1.cur"
>
<c-select
v-model="model.gidgrp.cbs.opn1.cur"
placeholder=""
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="6">
<c-form-item
label-width="5px"
prop="gidgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input
v-model="model.gcdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="申请人参考号" prop="gcdgrp.apl.pts.ref">
<c-input v-model="model.gcdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="申请人" prop="gcdgrp.apl.pts.ref">
<c-input
v-model="model.gcdgrp.apl.pts.ref"
maxlength="40"
placeholder="请输入申请人"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.apl.pts.nam">
<c-input
v-model="model.gcdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入申请人"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="受益人参考号" prop="gcdgrp.ben.pts.ref">
<c-input v-model="model.gcdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="受益人" prop="gcdgrp.ben.pts.ref">
<c-input
v-model="model.gcdgrp.ben.pts.ref"
maxlength="40"
placeholder="请输入受益人"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.ben.pts.nam">
<c-input
v-model="model.gcdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入受益人"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-form-item label="帐户行" prop="gcdgrp.ctr.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.ctr.pts.nam"
maxlength="40"
placeholder=""
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="开证行" prop="gcdgrp.iss.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.iss.pts.nam"
maxlength="40"
placeholder=""
></c-input>
</c-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="收报行" prop="fremsg.msgrol">
<c-select
v-model="model.fremsg.msgrol"
style="width: 100%"
placeholder="请选择收报行"
@change="eventFunction('fremsg.msgrol')"
:code="codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.othmsg.pts.extkey">
<c-fullbox>
<c-input
:disabled="model.fremsg.msgrol!='OTH'"
v-model="model.fremsg.othmsg.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('fremsg.othmsg.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="model.fremsg.othmsgp.ptsget.sdamod.seainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.othmsg.pts.adrblk">
<c-input
:disabled="model.fremsg.msgrol!='OTH'"
:rows="4"
type="textarea"
v-model="model.fremsg.othmsg.pts.adrblk"
maxlength="300"
show-word-limit
placeholder="请输入"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="副本的收报行" prop="fremsg.ccrol">
<c-select
v-model="model.fremsg.ccrol"
style="width: 100%"
placeholder="请选择副本的收报行"
@change="eventFunction('fremsg.ccrol')"
:code="codes.payrol"
>
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.othcc.pts.extkey">
<c-fullbox>
<c-input
:disabled="model.fremsg.ccrol!='OTH'"
v-model="model.fremsg.othcc.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('fremsg.othcc.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.othcc.pts.adrblk">
<c-input
:disabled="model.fremsg.ccrol!='OTH'"
:rows="4"
type="textarea"
v-model="model.fremsg.othcc.pts.adrblk"
maxlength="300"
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/Gctfre/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event,
async flg() {
const rtnmsg = await this.executeRule("fremsg.flg");
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
}
},
},
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="gcdgrp.rec.demstat">
<c-select
v-model="model.gcdgrp.rec.demstat"
style="width: 100%"
placeholder="请选择需求声明"
:code="demstat"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="需求声明文本 " prop="clmtxts20">
<c-input
type="textarea"
v-model="model.clmtxts20"
maxlength="65"
rows="10"
show-word-limit
placeholder="请输入需求声明文本 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额附言" prop="gcdgrp.blk.addamtinf">
<c-input
type="textarea"
v-model="model.gcdgrp.blk.addamtinf"
maxlength="65"
rows="10"
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="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input
type="textarea"
v-model="model.gcdgrp.blk.presentdet"
maxlength="35"
rows="9"
show-word-limit
placeholder="请输入Present. Compl. Det."
:disabled="model.gcdgrp.rec.demstat != 'INCP'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gcdgrp.int.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(
'gcdgrp.int.pts.extkey'
)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onIntpDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.int.pts.nam">
<c-input
type="textarea"
v-model="model.gcdgrp.int.pts.nam"
rows="4"
maxlength="100"
show-word-limit
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gcdgrp.awi.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.awi.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onAwipDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.awi.pts.nam">
<c-input
type="textarea"
v-model="model.gcdgrp.awi.pts.nam"
rows="4"
maxlength="100"
show-word-limit
placeholder="请输入"
disabled
></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/Gctfre/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
demstat: [
{
label:
"COMP 完整需求,没有其他单据伴随或跟踪此消息",
value: "COMP",
},
{
label:
"INCP 不完整需求,支持单据单独提交",
value: "INCP",
},
],
};
},
methods: { ...Event },
created: function () {},
computed: {
flag() {
return this.model.didgrp.apl.pts.extkey == "";
},
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000257 : Undertaking Number -->
<c-col :span="24">
<c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- SF000258 : Issuer of Undertak. -->
<c-col :span="24">
<el-form-item label="发行人" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol"
@change="eventFunction('fremsg.issrol')"
>
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<!-- SF000259 : Function -->
<c-col :span="24">
<el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="24">
<c-form-item label="请求的详细信息" prop="fremsg.tag45d">
<!-- :code="tag45d" -->
<c-input type="textarea" v-model="model.fremsg.tag45d" :rows="5" maxlength="65" show-word-limit placeholder="" ></c-input>
</c-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/Gctfre/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="frep">
<m-frep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'" >
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详情" name="gitdetp" >
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759p" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getamc/Event";
import Frep from "./Frep";
import Fredet from "./Fredet";
import Mt759p from "./Mt759p";
import Gitdetp from "./Gitdetp";
export default {
components: {
"m-frep": Frep,
"m-fredet": Fredet,
"m-mt759p": Mt759p,
"m-gitdetp": Gitdetp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["ovwp1"],
};
},
methods: { ...Event, handleChange() {} },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="自由格式报文">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--getfre PD000141 Common Messages -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<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-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 Gctfre from "~/model/Gctfre"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Gctfre/Check"
import Default from "~/model/Gctfre/Default"
import Pattern from "~/model/Gctfre/Pattern"
import Ovwp from "./Ovwp"
import Addbcb from "./Addbcb.vue"
import Gitdetp from "./Gitdetp"
import Frep from "./Frep"
import Fredet from "./Fredet"
import Mt759p from "./Mt759p"
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Gctfre",
components:{
"m-ovwp" : Ovwp,
"m-doctre" : Doctre,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-addbcb" : Addbcb,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "gctfre",
model: new Gctfre().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gctfre交易");
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>
......@@ -4,7 +4,7 @@
<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">
<el-form-item label="借贷人" prop="xxtfee.intmbu.umsrol">
<c-select v-model="model.xxtfee.intmbu.umsrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Debit Party'" :code="getValues('xxtfee.intmbu.umsrol', 'rolall')">
</c-select>
......@@ -17,7 +17,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.ums.pts.extkey">
<el-form-item label="" prop="xxtfee.intmbu.ums.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.ums.pts.extkey"
......@@ -46,7 +46,7 @@
<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">
<el-form-item label="当事人" prop="xxtfee.intmbu.umhrol">
<c-select v-model="model.xxtfee.intmbu.umhrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Credit Party'" :code="getValues('xxtfee.intmbu.umhrol', 'rolall')">
</c-select>
......@@ -59,7 +59,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.umh.pts.extkey">
<el-form-item label="" prop="xxtfee.intmbu.umh.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.umh.pts.extkey"
......
......@@ -97,7 +97,6 @@ export default {
return {
tabVal: "ovwp",
trnName: "getfre",
trnType: "",
model: new Getfre().data,
checkRules: Check,
defaultRules: Default,
......@@ -120,6 +119,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="重新开" name="rop">
<el-collapse-item title="重新开" name="rop">
<m-rop :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
......
......@@ -462,6 +462,15 @@
@click="toGetopn"
>出口保函通知
</c-button>
<c-button
style="margin-left: 20"
class="medium_bcs"
size="medium"
type="primary"
@click="toFctcan"
>保证金撤销
</c-button>
</el-col>
<div style="height: 90%">
......@@ -706,6 +715,9 @@ export default {
toGetopn() {
this.$router.history.push("/business/getopn");
},
toFctcan() {
this.$router.history.push("/business/Fctcan");
},
// handleReset: function () {
// this.model = {
// instNo: "",
......
......@@ -201,6 +201,7 @@ export default {
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ inifrm: "infdia", ininam: "交易备忘录查询", pntmiu: "10" },
{ inifrm: "inftxm2", ininam: "固定格式文本查询", pntmiu: "10"},
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
......
<template>
<ReviewWrapper>
<Fctcan></Fctcan>
</ReviewWrapper>
</template>
<script>
import Fctcan from "~/views/Business/Fctcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewFctcan",
components: { ReviewWrapper, Fctcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Fctopn></Fctopn>
</ReviewWrapper>
</template>
<script>
import Fctopn from "~/views/Business/Fctopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewFctopn",
components: { ReviewWrapper, Fctopn },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<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,9 +135,13 @@ 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";
import ReviewFctopn from "./Business/ReviewFctopn.vue";
import ReviewFctcan from "./Business/ReviewFctcan.vue";
const ReviewRouter = [
{ path: "fctcan", component:ReviewFctcan, name: "ReviewFctcan", meta: { title:"复核-保证金撤销"} },
{ path: "gctadd", component:ReviewGctadd, name: "ReviewGctadd", meta: { title:"复核-保函索赔编辑参考号"} },
{ path: "gitfee", component:ReviewGitfee, name: "ReviewGitfee", meta: { title:"复核-进口保函收费"} },
{ path: "gitpca", component:ReviewGitpca, name: "ReviewGitpca", meta: { title:"复核-关税保函预注销"} },
......
<template>
<m-dia title="dbadia" type="add"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/Dbidia";
export default {
name: "StaticsDbadia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-dia title="dbddia" type="delete"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/Dbidia";
export default {
name: "StaticsDbddia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-dia title="dbedia" type="edit"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/Dbidia";
export default {
name: "StaticsDbedia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Dia {
constructor() {
this.data = {
inr: "",
bchkey: "",
trn: "",
relcur: "",
relamt: "",
ver: "",
relflg: "",
}
}
}
export const Pattern = {
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"objref": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"ownusr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ownusg": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"frm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"usr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
}
<template>
<div class="eibs-tab">
<!-- =============================================左边=========================================== -->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Business Sector" prop="subObjTyp">
<c-select style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('bustxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference No." prop="objref">
<c-input v-model="model.objref" style="width: 100%" placeholder="请输入Reference No"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Description" prop="ownrefDesc">
<c-input v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入Description"> </c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Start Transaction" prop="frm">
<c-input v-model="model.frm" placeholder="请输入账号" > </c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="Description" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Description" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Description" prop="nam">
<c-input v-model="model.nam" style="width: 100%" placeholder="请输入Description">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Detailed Information" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入Detailed Information" > </c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =============================================右边=========================================== -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="User" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Group" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择Group" :code="getCodesByKey('usgtxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Entered/Modified by" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered/Modified by" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="entry Done" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择entry Done" :code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Diary Reason" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Diary Reason" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Diary" prop="dat">
<c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择Date of Diary"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: '',
props: ['model'],
data() {
return {
}
},
mounted() {},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="交易备忘录查询" name="dia">
<c-content>
<m-dia-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Dia, { Pattern } from "./Dia.js";
import DiaInfo from "./DiaInfo.vue";
import { queryById, add, edit, deleteById, queryDetailById } from "~/service/test/dia.js";
export default {
name: "StaticsDbidia",
components: {
"m-dia-info": DiaInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbidia"
}
},
data() {
return {
model: new Dia().data,
tabVal: "dia",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const data = {"inr":this.$route.params.inr};
queryDetailById(data).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("数据不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
let data = {"inr":this.model.inr}
deleteById(data)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infdia的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfdia", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -33,15 +33,15 @@ export const Pattern = {
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
{ "trigger": "blur" }
],
"stfcod": [
"sftcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
{ "trigger": "blur" }
],
"rol": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
{ "trigger": "blur" }
],
"incflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
......@@ -77,7 +77,7 @@ export const Pattern = {
],
"grpcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
{ "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
......@@ -93,7 +93,7 @@ export const Pattern = {
],
"dtacod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度40个字符", "trigger": "blur" }
{ "trigger": "blur" }
],
"etgextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
......
......@@ -57,7 +57,13 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.incflg" >收入</c-checkbox>
<el-form-item label="是否收入" prop="incflgFee">
<c-select style="width: 100%"
v-model="model.incflg"
:code="getCodesByKey('incflgFee')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="支付此费用的默认角色" prop="rol">
......@@ -78,7 +84,13 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<c-checkbox v-model="model.dscmodflg">结算中允许修改描述</c-checkbox>
<el-form-item label="费用描述是否允许修改" prop="dscmodflg">
<c-select style="width: 100%"
v-model="model.dscmodflg"
:code="getCodesByKey('dscmodflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="循环收费账号" prop="accacr">
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Reason" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Reason" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference" prop="objref">
<c-input v-model="model.objref" placeholder="请输入Reference" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="User" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择Status" :code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Group" prop="ownusg">
<c-input v-model="model.ownusg" placeholder="请输入Group" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="From" prop="datFrom">
<c-date-picker type="date"  v-model="model.datFrom" style="width:100%"  placeholder="请选择开始日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="To" prop="datTo">
<c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择结束日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Start Transaction" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Start Transaction" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Entered By" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered By" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="diaAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="diaData"
:columns="diaColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="diaInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="diaEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="diaDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/dia.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
diaData: [],
diaColumns: [
{ label: 'Date', prop: 'dat', width: 'auto' },
{ label: 'Reason', prop: 'codCn', width: 'auto' },
{ label: 'Reference', prop: 'objref', width: 'auto' },
{ label: 'Description', prop: 'nam', width: 'auto' },
{ label: 'Transaction', prop: 'frm', width: 'auto' },
{ label: 'User', prop: 'ownusr', width: 'auto' },
{ label: 'Group', prop: 'ownusg', width: 'auto' },
{ label: 'Status', prop: 'donflgCn', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfdiaSearch()
}
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfdiaSearch();
},
onInfdiaSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
Object.keys(list).forEach((item) => {
let obj = list[item]
let codArr = codes['diatxt'].filter((i) => {
return i.value == obj.cod
})
obj.codCn = codArr[0].label
let donflgArr = codes['dia_donflg'].filter((i) => {
return i.value == obj.donflg
})
obj.donflgCn = donflgArr[0].label
})
this.diaData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfdiaSearch()
},
diatypeChange(val) {
this.model.fectyp = val;
},
diaCodesByKey(key) {
return codes[key] ?? [];
},
diaAdd() {
this.$router.push(`/statics/dbadia`)
},
diaInfo(index, row) {
this.$router.push(`/statics/dbidia/${row.inr}`)
},
diaEdit(index, row) {
this.$router.push(`/statics/dbedia/${row.inr}`)
},
diaDelete(index, row) {
this.$router.push(`/statics/dbddia/${row.inr}`)
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="交易备忘录查询">
<el-form :model="model" ref="modelForm" label-width="120px" label-position="right" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="查询面板" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfdia",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize:5,
pageNum:1,
total:0
},
};
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -63,6 +63,12 @@ import Dbaatx from "./Dbaatx";
import Dbeatx from "./Dbeatx";
import Dbdatx from "./Dbdatx";
import Infdia from "./Infdia";
import Dbidia from "./Dbidia";
import Dbadia from "./Dbadia";
import Dbedia from "./Dbedia";
import Dbddia from "./Dbddia";
import Inftxm from "~/views/Statics/Inftxm";
import Dbitxm from "~/views/Statics/Dbitxm";
import Dbatxm from "~/views/Statics/Dbatxm";
......@@ -141,6 +147,12 @@ const StaticsRouter = [
{ path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
{ path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
{ path: 'infdia', component: Infdia, name: 'StaticsInfdia', meta: { title: '交易备忘录查询' } },
{ path: 'dbadia', component: Dbadia, name: 'StaticsDbadia', meta: { title: '交易备忘录新增' } },
{ path: 'dbidia/:inr', component: Dbidia, name: 'StaticsDbidia', meta: { title: (tag) => { return '交易备忘录详情: ' + tag.params.inr } } },
{ path: 'dbedia/:inr', component: Dbedia, name: 'StaticsDbedia', meta: { title: (tag) => { return '交易备忘录修改: ' + tag.params.inr } } },
{ path: 'dbddia/:inr', component: Dbddia, name: 'StaticsDbddia', meta: { title: (tag) => { return '交易备忘录删除: ' + tag.params.inr } } },
{ path: 'dbitxm/:inr', component: Dbitxm, name: 'StaticsDbitxm', meta: { title: (tag) => { return '固定格式文详情: ' + tag.params.inr } } },
{ path: 'dbatxm', component: Dbatxm, name: 'StaticsDbatxm', meta: { title: '固定格式文本新增' } },
{ path: 'dbetxm/:inr', component: Dbetxm, name: 'StaticsDbetxm', meta: { title: (tag) => { return '固定格式文修改: ' + tag.params.inr } } },
......
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