Commit 84ad1de7 by Wuyuqiu

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 67436e86 5e84fbef
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
......@@ -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
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/bopcur/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/manager/bopcur/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/bopcur/add", data)
}
export function edit(data) {
return Api.post("/manager/bopcur/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/bopcur/deleteById?inr=${inr}`)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/fee/queryByPage", data)
}
export function queryById(data) {
return Api.post("/manager/fee/queryById",data)
}
export function add(data) {
return Api.post("/manager/fee/add", data)
}
export function edit(data) {
return Api.post("/manager/fee/edit", data)
}
export function deleteById(data) {
return Api.post("/manager/fee/deleteById",data)
}
\ No newline at end of file
......@@ -100,7 +100,7 @@ import Infbpd from "./Infbpd"
import Inftxm from "./Inftxm"
import Bctdav from "./Bctdav"
import Bctcan from "./Bctcan"
import Inffee from "./Inffee"
// import Inffee from "./Inffee"
import Infbcd from "./Infbcd"
import Bdtcan from "./Bdtcan"
import Fctcan from "./Fctcan"
......@@ -284,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";
......@@ -346,6 +347,12 @@ import Dbiusr from "~/views/Statics/Dbiusr";
import Dbeusr from "~/views/Statics/Dbeusr";
import Dbdusr from "~/views/Statics/Dbdusr";
import Inffee from "~/views/Statics/Inffee";
import Dbifee from "~/views/Statics/Dbifee";
import Dbafee from "~/views/Statics/Dbafee";
import Dbefee from "~/views/Statics/Dbefee";
import Dbdfee from "~/views/Statics/Dbdfee";
import Inftxm2 from "~/views/Statics/Inftxm";
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -355,6 +362,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: '待经办详情' } },
......@@ -709,5 +717,11 @@ const BusRouter = [
{ path: 'dbdusr/:inr', component: Dbdusr, name: 'StaticsDbdusr', meta: { title: (tag) => { return '柜员删除: ' + tag.params.inr } } },
{ path: 'inftxm2', component: Inftxm2, name: 'StaticsInftxm', meta: { title: '固定格式文本查询' } },
{ path: 'inffee', component: Inffee, name: 'StaticsInffee', meta: { title: '费用代码查询' } },
{ path: 'dbafee', component: Dbafee, name: 'StaticsDbafee', meta: { title: '费用代码新增' } },
{ 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 } } },
]
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>
<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,7 +21,6 @@
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fcdgrp.apl.pts.nam">
<c-input
......@@ -42,17 +41,9 @@
</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 +51,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 +69,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 +77,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 +98,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 || []"
......
<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>
......@@ -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"
......
......@@ -32,6 +32,10 @@ import Gitsetp1 from "./Gitsetp1";
import Cfap from "./Cfap";
import Dclpp from "./Dclpp";
const tabNameToRulePathMapping = {
"dclpp": "cfagit.recp.dclp(1).dclpp",
}
export default {
components: {
"m-gitsetp1": Gitsetp1,
......@@ -48,6 +52,29 @@ export default {
},
methods: {
...Event,
handleChange(names){
console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
// let rulePath = arr[arr.length-1]//取最后一个展开的面板的rulePath
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () {},
};
......
......@@ -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: "",
......
......@@ -196,6 +196,7 @@ export default {
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
{ inifrm: "inffee", ininam: "费用代码信息查询", pntmiu: "10" },
{ inifrm: "infgtx", ininam: "保函文本查询", pntmiu: "10" },
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
......
<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-fee ref="fee" title="dbafee" type="add"></m-fee>
</template>
<script>
import Dbifee from "~/views/Statics/Dbifee";
export default {
name: "StaticsDbafee",
components: {
"m-fee": Dbifee
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-fee title="dbdfee" type="delete"></m-fee>
</template>
<script>
import Dbifee from "~/views/Statics/Dbifee";
export default {
name: "StaticsDbdfee",
components: {
"m-fee": Dbifee
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-fee title="dbefee" type="edit"></m-fee>
</template>
<script>
import Dbifee from "~/views/Statics/Dbifee";
export default {
name: "StaticsDbefee",
components: {
"m-fee": Dbifee
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr :"",
cod :"",
sftcod :"",
rol :"",
incflg :"",
staflg :"",
vatflg :"",
acc :"",
accacr :"",
eno :"",
reltir :"",
grpcod :"",
ver :"",
dscmodflg :"",
reltrn :"",
begdat :"",
enddat :"",
dtacod :"",
etgextkey :"",
taxacc :"",
taxflg :""
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "trigger": "blur" }
],
"sftcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "trigger": "blur" }
],
"rol": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "trigger": "blur" }
],
"incflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"staflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"vatflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"vatflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"acc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"accacr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"eno": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"reltir": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"grpcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"dscmodflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"reltrn": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"dtacod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "trigger": "blur" }
],
"etgextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度40个字符", "trigger": "blur" }
],
"taxacc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度40个字符", "trigger": "blur" }
],
"taxflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度40个字符", "trigger": "blur" }
]
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="费用代码" prop="cod">
<c-select
style="width: 100%"
v-model="model.cod"
placeholder="请选择费用代码"
:code="getCodesByKey('feecod3')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关金额类型" prop="reltir">
<c-select
style="width: 100%"
v-model="model.reltir"
placeholder="请选择相关金额类型"
:code="getCodesByKey('calcbs')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="SWIFT报文描述" prop="sftcod">
<c-select
style="width: 100%"
v-model="model.sftcod"
placeholder="请选择SWIFT报文类型"
:code="getCodesByKey('swtcod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="DTA报文中的费用代码" prop="dtacod">
<c-select
style="width: 100%"
v-model="model.dtacod"
placeholder="请选择DTA报文中的费用代码"
:code="getCodesByKey('dtacod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="统计标志" prop="staflg">
<c-select
style="width: 100%"
v-model="model.staflg"
placeholder="请选择统计标志"
:code="getCodesByKey('staflgFee')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<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">
<c-select
style="width: 100%"
v-model="model.rol"
placeholder="请选择支付此费用的角色"
:code="getCodesByKey('rol')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="acc">
<c-input v-model="model.acc" placeholder="请输入账号"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<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">
<c-input v-model="model.accacr" placeholder="请输入循环收费账号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有关交易及业务部门" prop="reltrn">
<c-input v-model="model.reltrn" maxlength="40" placeholder="请输入有关交易及业务部门"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开始日期" prop="begdat">
<c-date-picker type="date" v-model="model.begdat" style="width:100%" placeholder="请选择开始日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结束日期" prop="enddat">
<c-date-picker type="date" v-model="model.enddat" style="width:100%" placeholder="请选择结束日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用分组" prop="grpcod">
<c-select
v-model="model.grpcod"
style="width:100%"
placeholder="请选择费用的组"
:code="getCodesByKey('grpcod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="价税分离" prop="taxflg" placeholder="是/否">
<c-select
style="width: 100%"
v-model="model.taxflg"
:code="getCodesByKey('taxflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="传真账号" prop="taxacc">
<c-input v-model="model.taxacc" maxlength="34" placeholder="请输入传真账号"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: "",
props: ["model"],
data() {
return {};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="160px"
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="fee">
<c-content>
<m-fee-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 Fee, { Pattern } from "./Fee.js";
import FeeInfo from "./FeeInfo.vue"
// import PtyInfo from "./PtyInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/fee.js";
export default {
name: "StaticsDbifee",
components: {
"m-fee-info": FeeInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbifee"
}
},
data() {
return {
model: new Fee().data,
tabVal: "fee",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
const data = {"inr":inr}
queryById(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(() => {
const 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 是否更新inffee的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInffee", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="机构编码" prop="bchkey">
<c-input v-model="model.bchkey" placeholder="请输入机构编码"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权货币" prop="relcur">
<c-select v-model="model.relcur" placeholder="请选择授权货币" :code="relcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input v-model="model.relamt" placeholder="请输入授权金额"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="交易代码" prop="trn">
<c-input v-model="model.trn" placeholder="请输入交易代码"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易属性" prop="relflg">
<c-input v-model="model.relflg" placeholder="请输入交易属性"> </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="trlAdd">新增</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="trlData"
:columns="trlColumns"
: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="trlInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="trlEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="trlDelete(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/trl.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
trlData: [],
trlColumns: [
{ label: "机构编码", prop: "bchkey", width: "auto" },
{ label: "交易代码", prop: "trn", width: "auto" },
{ label: "授权货币", prop: "relcur", width: "auto" },
{ label: "授权金额", prop: "relamt", width: "auto" },
{ label: "交易属性", prop: "relflg", width: "auto" },
],
relcur: [
{ label: "AUD 澳大利亚元", value: "AUD" },
{ label: "CAD 加拿大元", value: "CAD" },
{ label: "CHF 瑞士法郎", value: "CHF" },
{ label: "CNY 人民币", value: "CNY" },
{ label: "DKK 丹麦克朗", value: "DKK" },
{ label: "EUR 欧元", value: "EUR" },
{ label: "FIM 芬兰马克", value: "FIM" },
{ label: "FRF 法国法郎", value: "FRF" },
{ label: "GBP 英镑", value: "FRF" },
{ label: "HKD 港币", value: "FRF" },
{ label: "JPY 日元", value: "FRF" },
{ label: "KRW 韩圆", value: "FRF" },
{ label: "MOP 澳门元", value: "FRF" },
{ label: "NOK 挪威克朗", value: "FRF" },
{ label: "NZD 新西兰元", value: "FRF" },
{ label: "SEK 瑞典克朗", value: "FRF" },
{ label: "SGD 新加坡元", value: "FRF" },
{ label: "THB 泰国铢", value: "FRF" },
{ label: "TWD 新台湾元", value: "FRF" },
{ label: "USD 美元", value: "FRF" },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInftrlSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInftrlSearch();
},
onInftrlSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
this.trlData = 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.onInftrlSearch();
},
trlAdd() {
this.$router.push(`/statics/dbatrl`);
},
trlInfo(index, row) {
this.$router.push(`/statics/dbitrl/${row.inr}`);
},
trlEdit(index, row) {
this.$router.push(`/statics/dbetrl/${row.inr}`);
},
trlDelete(index, row) {
this.$router.push(`/statics/dbdtrl/${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>
<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: "StaticsInftrl",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// trl
bchkey: "",
trn: "",
relcur: "",
relamt: "",
ver: "",
relflg: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="费用代码" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入费用代码"
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="名称" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入名称"
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="feeAdd">新增</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="feeData"
:columns="feeColumns"
: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="feeInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="feeEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="feeDelete(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/fee.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
feeData: [],
feeColumns: [
{ label: '费用代码', prop: 'cod', width: '120' },
{ label: '名称', prop: 'descrp', width: '120' },
{ label: '相关金额类型', prop: 'reltir', width: '150' },
{ label: 'SWIFT报文描述', prop: 'sftcod', width: '150' },
{ label: 'DTA报文中的费用代码', prop: 'dtacod', width: '170' },
{ label: '统计标志', prop: 'staflg', width: '120' },
{ label: '支付此费用的默认角色', prop: 'rol', width: '170' },
{ label: '账号', prop: 'acc', width: '120' }
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInffeeSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInffeeSearch();
},
onInffeeSearch() {
var objectArr = codes['fepfeecod'];
var map = new Map();
for(let i =0;i<objectArr.length;i++){
map.set(objectArr[i].value,objectArr[i].label);
}
var feeList = [];
if(!this.model.cod&&this.model.nam){
for(var fee of map){
if(fee[1].includes(this.model.nam)){
feeList.push(fee[0])
}
}
}
if(this.model.cod&&this.model.nam){
for(var fee of map){
if(fee[0].includes(this.model.cod)&&fee[1].includes(this.model.nam)){
feeList.push(fee[0])
}
}
}
this.model.feelist = feeList;
console.log(this.model)
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
this.feeData = list;
for(let i =0;i<list.length;i++){
this.feeData[i].descrp = map.get(this.feeData[i].cod)
}
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
this.model.feelist=[];
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInffeeSearch()
},
feetypeChange(val) {
this.model.feetyp = val;
},
getCodesByKey(key) {
return codes[key] ?? [];
},
feeAdd() {
this.$router.push(`/statics/dbafee`)
},
feeInfo(index, row) {
this.$router.push(`/statics/dbifee/${row.inr}`)
},
feeEdit(index, row) {
this.$router.push(`/statics/dbefee/${row.inr}`)
},
feeDelete(index, row) {
this.$router.push(`/statics/dbdfee/${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>
<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: "StaticsInffee",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod:"",
nam:"",
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -69,6 +69,12 @@ import Dbatxm from "~/views/Statics/Dbatxm";
import Dbetxm from "~/views/Statics/Dbetxm";
import Dbdtxm from "~/views/Statics/Dbdtxm";
import Inffee from "./Inffee";
import Dbifee from "./Dbifee";
import Dbafee from "./Dbafee";
import Dbefee from "./Dbefee";
import Dbdfee from "./Dbdfee";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -139,6 +145,12 @@ const StaticsRouter = [
{ path: 'dbatxm', component: Dbatxm, name: 'StaticsDbatxm', meta: { title: '固定格式文本新增' } },
{ path: 'dbetxm/:inr', component: Dbetxm, name: 'StaticsDbetxm', meta: { title: (tag) => { return '固定格式文修改: ' + tag.params.inr } } },
{ path: 'dbdtxm/:inr', component: Dbdtxm, name: 'StaticsDbdtxm', meta: { title: (tag) => { return '固定格式文删除: ' + tag.params.inr } } },
{ path: 'inffee', component: Inffee, name: 'StaticsInffee', meta: { title: '费用代码查询' } },
{ path: 'dbafee', component: Dbafee, name: 'StaticsDbafee', meta: { title: '费用代码新增' } },
{ 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 } } },
]
export default StaticsRouter
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