Commit 911051ff by zhujiazhan

Merge remote-tracking branch 'origin/development-202206' into development-202206

parents d4b15d08 0ae439c5
......@@ -7733,6 +7733,25 @@ const CodeTable = {
{label: 'Request to amend an undertaking (BOL,SWT)', value: 'REQAMEND'},
{label: 'Amendment of a free-form undertaking e.g. dependent guar. (BOL,SWT)', value: 'ISSAMEND'},
],
swtcod:[
{ label: '/AGENT/', value: 'AGEN' },
{ label: '/COMM/', value: 'COM' },
{ label: '/CORCOM/', value: 'CORP' },
{ label: '/DISC/', value: 'DISC' },
{ label: '/INSUR/', value: 'INS' },
{ label: '/POST/', value: 'POST' },
{ label: '/STAMP/', value: 'STA' },
{ label: '/TELE/', value: 'TELE' },
{ label: '/WAREHOUSE/', value: 'WARE' },
],
dscmodflg: [
{ label: "是", value: "Y" },
{ label: "否", value: "N" },
],
grpcod:[
{ label: "Various correspondence charges", value: "CROC" },
{ label: "Guarantee comission", value: "GIC" },
],
}
export default CodeTable;
......@@ -21,7 +21,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -34,7 +34,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -17,6 +17,7 @@ export default class Gitrop{
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
gitp0s20:"",
},
gidgrp:{
rec:{
......@@ -26,6 +27,7 @@ export default class Gitrop{
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purpos:""
},
cbs:{
max:{
......
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"
......@@ -345,6 +345,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的才会被添加进顶部的标签页里
......@@ -707,5 +713,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
......@@ -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 () {},
};
......
......@@ -21,14 +21,12 @@
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Gitrop/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
......
<template>
<div class="eibs-tab">
<!-- SF000010 : 合同金额 -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SG000035')" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaccv.SG000035')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaccv.SF000010')" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" :placeholder="$t('other.please_enter')+$t('liaccv.SF000010')"></c-input>
</c-form-item>
</c-col>
<!-- SG000025 : 保证金应收比例 -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SG000025')" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" :placeholder="$t('other.please_enter')+$t('liaccv.SG000025')"></c-input>
</c-form-item>
</c-col>
<!-- SF000027 : % -->
<!-- SF000013 : Reserved Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SF000013')" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" :placeholder="$t('other.please_enter')+$t('liaccv.SF000013')"></c-input>
</c-form-item>
</c-col>
<!-- SG000026 : 保证金实收比例 -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SG000026')" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" :placeholder="$t('other.please_enter')+$t('liaccv.SG000026')"></c-input>
</c-form-item>
</c-col>
<!-- SF000028 : % -->
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">{{$t('liaccv.CG000030')}}</c-checkbox>
</c-col>
<!-- SG000035 : 应付保证金金额 -->
<c-col :span="12">
<c-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" :placeholder="$t('other.please_enter')+'reserve amount based percent'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">{{$t('liaccv.CG000034')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
{{$t('liaccv.CG000031')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
{{$t('liaccv.CG000032')}}
</c-button>
</c-col>
<!-- SF000011 : 金额总和 -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SF000011')" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" :placeholder="$t('other.please_enter')+$t('liaccv.SF000011')"></c-input>
</c-form-item>
</c-col>
<!-- SF000017 : Additional Information -->
<c-col :span="12">
<c-form-item :label="$t('liaccv.SF000017')" prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit :placeholder="$t('other.please_enter')+$t('liaccv.SF000017')" ></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/Gitrop/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">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></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/Gitrop/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></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/Gitrop/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitrop/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">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitrop/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -57,9 +57,8 @@
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gitp0.aamgid.addamtflg"
<c-checkbox disabled v-model="model.gitp0.gitp0s20"
>附加金额</c-checkbox
>
</c-col>
......@@ -136,13 +135,13 @@
</c-col>
<c-col :span="13">
<el-form-item label="到期" prop="gidgrp.rec.expdat">
<el-form-item label="到期" prop="gidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitrop/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-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">
<!-- 业务信息 -->
......@@ -45,14 +46,14 @@
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<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="addbcb">
......@@ -78,6 +79,19 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
......@@ -158,34 +172,15 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
that.$refs.utlp.stmData.data=rtnmsg.data.liaall_tenstm.rows
// this.$nextTick(() => {
// that.$refs.utlp.$refs.bwxxIst.$refs.table.toggleAllSelection()
// })
// 解决init后扣费后付款金额字段没有值问题
this.$nextTick(() => {
//that.$refs.utlp.commonExecuteRule('setmod.redamt')
that.$refs.utlp.docprbrolChange()
})
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
}
else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
......
......@@ -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>
<Gitrop></Gitrop>
</ReviewWrapper>
</template>
<script>
import Gitrop from "~/views/Business/Gitrop";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitrop",
components: { ReviewWrapper, Gitrop },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -134,7 +134,7 @@ import ReviewBttdrv from "./Business/ReviewBttdrv.vue";
import ReviewBttcan from "./Business/ReviewBttcan.vue";
import ReviewBttdck from "./Business/ReviewBttdck.vue";
import ReviewGctrop from "./Business/ReviewGctrop.vue";
import ReviewGitrop from "./Business/ReviewGitrop.vue";
const ReviewRouter = [
......@@ -287,7 +287,7 @@ const ReviewRouter = [
{ path: "bttcan", component: ReviewBttcan, name: "ReviewBttcan", meta: { title: "复核-Bttcan" } },
{ path: "bttdck", component: ReviewBttdck, name: "ReviewBttdck", meta: { title: "复核-Bttdck" } },
{ path: "gctrop", component: ReviewGctrop, name: "ReviewGctrop", meta: { title: "复核-Gctrop" } },
{ path: "gitrop", component: ReviewGitrop, name: "ReviewGitrop", meta: { title: "复核-Gitrop" } },
];
......
<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" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"stfcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"rol": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "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" },
{ "max": 6, "message": "最大长度6个字符", "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" },
{ "max": 8, "message": "最大长度40个字符", "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="Fee Code" prop="cod">
<c-select
style="width: 100%"
v-model="model.cod"
placeholder="请选择Fee Code"
:code="getCodesByKey('fepfeecod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Relevant Amount" prop="reltir">
<c-select
style="width: 100%"
v-model="model.reltir"
placeholder="请选择Relevant Amount"
:code="getCodesByKey('calcbs')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="SWIFT Code" prop="sftcod">
<c-select
style="width: 100%"
v-model="model.sftcod"
placeholder="请选择SWIFT Code"
:code="getCodesByKey('swtcod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Fee Code for DTA Messages" prop="dtacod">
<c-select
style="width: 100%"
v-model="model.dtacod"
placeholder="请选择Fee Code for DTA Messages"
:code="getCodesByKey('dtacod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Booking Type" prop="staflg">
<c-select
style="width: 100%"
v-model="model.staflg"
placeholder="请选择Booking Type"
:code="getCodesByKey('staflgFee')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.incflg" >Income</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Fee Payer(Deafult) " prop="rol">
<c-select
style="width: 100%"
v-model="model.rol"
placeholder="请选择Fee Payer(Deafult)"
:code="getCodesByKey('rol')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Account" prop="acc">
<c-input v-model="model.acc" placeholder="请输入Account"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<c-checkbox v-model="model.dscmodflg">Modification of Description Allowed in Settlement</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="accruing Account" prop="accacr">
<c-input v-model="model.accacr" placeholder="请输入accruing Account">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Usable in" prop="reltrn">
<c-input v-model="model.reltrn" maxlength="40" placeholder="请输入Relevant Transaction and Business Sector"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Begin Date" prop="begdat">
<c-date-picker type="date" v-model="model.begdat" style="width:100%" placeholder="请选择Begin Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="End Date" prop="enddat">
<c-date-picker type="date" v-model="model.enddat" style="width:100%" placeholder="请选择End Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Group Code" prop="grpcod">
<c-select v-model="model.grpcod" style="width:100%" placeholder="请选择Group Code">
</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="Tax Account" prop="taxacc">
<c-input v-model="model.taxacc" maxlength="34" placeholder="请输入Tax Account"></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
......@@ -17,4 +17,8 @@ export const Pattern = {
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" },
],
extkey: [{ max: 17, message: "最大长度17个字符", trigger: "blur" }],
nam: [{ max: 40, message: "最大长度40个字符", trigger: "blur" }],
uil: [{ max: 2, message: "最大长度2个字符", trigger: "blur" }],
etgextkey: [{ max: 8, message: "最大长度8个字符", trigger: "blur" }],
};
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<el-form-item label="INR" prop="inr" v-if="type !== 'add'">
<c-input v-model="model.inr" placeholder="请输入主键">
<c-input v-model="model.inr" placeholder="请输入主键" :disabled="type === 'edit'">
</c-input>
</el-form-item>
<el-form-item label="名称" prop="nam">
......@@ -47,7 +47,7 @@ import codes from "~/config/CodeTable";
export default {
name: "",
entyGrp: [],
props: ["model","type"],
props: ["model", "type"],
data() {
return {};
},
......
......@@ -6,7 +6,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="固定格式文本信息" name="txm">
<c-content>
<m-txm-info :model="model" :type="type"/>
<m-txm-info :model="model" :type="type" />
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -96,8 +96,12 @@ export default {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("修改成功!");
this.goBack(true)
if (res.inr) {
this.$message.success("修改成功!");
this.goBack(true)
} else {
this.$message.error("修改失败!");
}
})
.catch((err) => {
this.$message.error("修改失败!");
......@@ -116,8 +120,12 @@ export default {
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
if (res === true) {
this.$message.success("删除成功!");
this.goBack(true)
} else {
this.$message.error("删除失败,请刷新后再试");
}
})
.catch((err) => {
this.$message.error("删除失败!");
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="FeeCode" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入FeeCode"
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="Description" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入Description"
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: 'Fee Code', prop: 'cod', width: '120' },
{ label: 'Description', prop: 'descrp', width: '120' },
{ label: 'Relevant Amount', prop: 'reltir', width: '150' },
{ label: 'SWIFT COD', prop: 'sftcod', width: '150' },
{ label: 'DTA COD', prop: 'dtacod', width: '150' },
{ label: 'Booking Type', prop: 'staflg', width: '150' },
{ label: 'Fee Payer(Deafult)', prop: 'rol', width: '170' },
{ label: 'Account', 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 = [];
for(var fee of map){
console.log(fee[0])
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 objectArr = codes['fepfeecod'];
// const feeCodeArr = new Array();
// for (let i = 0; i < objectArr.length; i++) {
// let descrp = objectArr[i].label;
// if(descrp.includes(this.model.nam)){
// feeCodeArr.push(objectArr[i].value);
// }
// }
// const feecod = feeCodeArr;
// const list = res.list;
// const list2 = [];
// for (let i = 0; i < list.length; i++) {
// for (let j = 0; j < feecod.length; j++) {
// if(cod.includes(feecod[j])){
// debugger
// list2.push(list[i]);
// }
// }
// }
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
})
},
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: "StaticsInffec",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
codfee:"",
feepri:"!",
objtyp:"",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -99,9 +99,13 @@ export default {
this.model.pageNum = 1;
this.onInftxmSearch();
},
langValue(key) {
return this.lang.filter(item => item.value === key)[0]?.label;
},
onInftxmSearch() {
queryByPage(this.model).then((res) => {
const list = res.list;
const list = res.list ?? [];
list.map(item => item.uil = this.langValue(item.uil) ?? item.uil);
this.txmData = list;
this.model.pageNum = res.pageNumber;
this.model.pageSize = res.pageSize;
......
......@@ -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