Commit 6702ddd9 by 唐贵贤

infltd交易修改

parent aad77f8c
...@@ -8,16 +8,24 @@ export default { ...@@ -8,16 +8,24 @@ export default {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows; this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//console.log("smhstm:",rtnmsg); //console.log("smhstm:",rtnmsg);
if (rtnmsg.data.infbut_dspstm.rows.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutDsp() { async onInfbutDsp(row) {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//console.log(rtnmsg); console.log("rows:", row);
console.log("你猜", rtnmsg);
} }
else { else {
...@@ -28,6 +36,7 @@ export default { ...@@ -28,6 +36,7 @@ export default {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//console.log("use测试:",rtnmsg);
} }
else { else {
...@@ -35,7 +44,24 @@ export default { ...@@ -35,7 +44,24 @@ export default {
} }
}, },
async onInfbutClr() { async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr") this.model.infcon.seaownref = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.nam = "";
this.model.infcon.hndtyp = "";
this.model.infcon.pty.nam = "";
this.model.infcon.searol = "";
this.model.infcon.seacur = "";
this.stmData.data = "";
//let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -55,7 +81,27 @@ export default { ...@@ -55,7 +81,27 @@ export default {
} }
}, },
async onInfbutExi() { async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi") this.$confirm("确认退出?", "", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
})
.then((res) => {
// this.$router.back();
this.$store.dispatch("TagsView/delView", this.$route);
this.handleExit && this.handleExit();
if (this.$route.query && this.$route.query.routeParams) {
setTimeout(() => {
this.$router.back();
}, 500);
} else {
setTimeout(() => {
this.$router.push("/home");
}, 500);
}
})
.catch(() => {});
//let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <!-- <c-col :span="24" style="padding: 0 0 10px 0">
<c-col :span="24" style="padding: 0 0 10px 0"> <c-button size="small" type="primary" @click="onInfbutSearow">
<c-button size="small" type="primary" @click="onInfbutSearow"> Search
Search </c-button>
</c-button> <c-button size="small" type="primary" @click="onInfbutDsp">
<c-button size="small" type="primary" @click="onInfbutDsp"> Display
Display </c-button>
</c-button> <c-button size="small" type="primary" @click="onInfbutUserow">
<c-button size="small" type="primary" @click="onInfbutUserow"> Use
Use </c-button>
</c-button> <c-button size="small" type="primary" @click="onInfbutClr">
<c-button size="small" type="primary" @click="onInfbutClr"> Clear
Clear </c-button>
</c-button> <c-button size="small" type="primary" @click="onInfbutButprt">
<c-button size="small" type="primary" @click="onInfbutButprt"> 导Excel
导Excel </c-button>
</c-button> <c-button size="small" type="primary" @click="onInfbutExi">
<c-button size="small" type="primary" @click="onInfbutExi"> Exit
Exit </c-button>
</c-button> </c-col> -->
</c-col>
<c-col :span="11"> <c-list-search>
<c-col :span="20"> <template v-slot="searchSlot">
<c-col :span="11" :offset="1">
<el-form-item label="Own Reference" prop="infcon.seaownref"> <el-form-item label="Own Reference" prop="infcon.seaownref">
<c-input <c-input
v-model="model.infcon.seaownref" v-model="model.infcon.seaownref"
...@@ -31,34 +32,8 @@ ...@@ -31,34 +32,8 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22">
<el-form-item label="Party Reference" prop="infcon.searef"> <c-col :offset="1" :span="5.5">
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey">
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Name/BIC" prop="infcon.seapty">
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom"> <el-form-item label="Opening between" prop="infcon.opndatfrom">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -68,7 +43,7 @@ ...@@ -68,7 +43,7 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="5.5">
<el-form-item label="Open Date to" prop="infcon.opndatto"> <el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -78,112 +53,184 @@ ...@@ -78,112 +53,184 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <el-row v-show="searchSlot.searchToggle">
<el-form-item label="Currency" prop="infcon.seacur"> <c-col :span="11" :offset="1">
<c-select <c-col :span="20">
v-model="model.infcon.seacur" <el-form-item label="Own Reference" prop="infcon.seaownref">
style="width: 100%" <c-input
placeholder="请选择Currency" v-model="model.infcon.seaownref"
> maxlength="16"
</c-select> placeholder="请输入Own Reference"
</el-form-item> ></c-input>
</c-col> </el-form-item>
</c-col> </c-col>
<c-col :span="22">
<!--右边--> <el-form-item label="Party Reference" prop="infcon.searef">
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Select Single Party"
prop="infcon.pty.extkey"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Name/BIC" prop="infcon.seapty">
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择Opening between"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Currency" prop="infcon.seacur">
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> <!--右边-->
<c-col :span="24"
><el-form-item label="Name" prop="infcon.nam">
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></c-input> </el-form-item
></c-col>
<c-col :span="22">
<el-form-item label="Handling Type" prop="infcon.hndtyp">
<c-select
v-model="model.infcon.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Name" prop="infcon.pty.nam">
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="Role" prop="infcon.searol">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible" prop="infcon.usr.extkey">
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="infcon.seasta">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount between" prop="infcon.seaamtfr">
<c-input
v-model="model.infcon.seaamtfr"
placeholder="0.00"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="and" prop="infcon.seaamtto">
<c-input
v-model="model.infcon.seaamtto"
placeholder="0.00"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg"> <c-col :span="24"
<c-select ><el-form-item label="Name" prop="infcon.nam">
v-model="model.infcon.cxmflg" <c-input
style="width: 100%" v-model="model.infcon.nam"
placeholder="请选择是否显示查询码" maxlength="40"
> placeholder="请输入Name"
</c-select> ></c-input> </el-form-item
</el-form-item> ></c-col>
</c-col> <c-col :span="22">
<el-form-item label="Handling Type" prop="infcon.hndtyp">
<c-select
v-model="model.infcon.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Name" prop="infcon.pty.nam">
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="Role" prop="infcon.searol">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible" prop="infcon.usr.extkey">
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="infcon.seasta">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount between" prop="infcon.seaamtfr">
<c-input
v-model="model.infcon.seaamtfr"
placeholder="0.00"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="and" prop="infcon.seaamtto">
<c-input
v-model="model.infcon.seaamtto"
placeholder="0.00"
></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<c-row> <c-row>
<c-istream-table <c-istream-table
:list="stmData.data" :list="stmData.data"
:columns="stmData.columns" :columns="stmData.columns"
prop="infbut.dspstm" prop="infbut.dspstm"
> >
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails"
>详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onInfbutDsp(scope.row)"
>处理
</c-button>
</template>
</el-table-column>
<!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column--> <!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column-->
</c-istream-table> </c-istream-table>
</c-row> </c-row>
...@@ -203,19 +250,19 @@ export default { ...@@ -203,19 +250,19 @@ export default {
return { return {
stmData: { stmData: {
columns: [ columns: [
'1 1 \"Reference\" 275 ', '1 1 "Reference" 275 ',
'8 2 \"Party Number\" 275', '8 2 "Party Number" 275',
'9 2 \"1st Beneficiary\" 275', '9 2 "1st Beneficiary" 275',
'11 3 \"Party Number\" 275', '11 3 "Party Number" 275',
'12 3 \"2nd Beneficiary\" 275', '12 3 "2nd Beneficiary" 275',
// "18 5 \"MT\" 100", // "18 5 \"MT\" 100",
'3 4 \"Opened\" 275', '3 4 "Opened" 275',
'4 4 \"Expired\" 275', '4 4 "Expired" 275',
'5 4 \"Closed\" 275', '5 4 "Closed" 275',
'15 5 \"Cur\" 275', '15 5 "Cur" 275',
"17 5 \"Cur\" 275", '17 5 "Cur" 275',
"16 6\"Amt\" 275", '16 6"Amt" 275',
'18 6\"Amt\" 275', '18 6"Amt" 275',
], ],
data: [], data: [],
}, },
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item <el-form-item
label="Drag Drop Sender" label="Drag Drop Sender"
prop="recpan.be1p.ptsget.sdamod.dadsnd" prop="recpan.be1p.ptsget.sdamod.dadsnd"
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
placeholder="请输入Drag Drop Sender" placeholder="请输入Drag Drop Sender"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select <c-select
......
...@@ -155,48 +155,6 @@ ...@@ -155,48 +155,6 @@
</c-row> </c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="recpan.a2tp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.a2tp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="recpan.rmtp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.rmtp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.a2tp.ptsget.sdamod.seainf">
<c-input
v-model="model.recpan.a2tp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.rmtp.ptsget.sdamod.seainf">
<c-input
v-model="model.recpan.rmtp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ltdgrp.a2t.namelc"> <el-form-item label="名称" prop="ltdgrp.a2t.namelc">
<c-input <c-input
type="textarea" type="textarea"
...@@ -269,18 +227,6 @@ ...@@ -269,18 +227,6 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="recpan.conp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.conp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.conp.ptsget.sdamod.seainf"> <el-form-item label="" prop="recpan.conp.ptsget.sdamod.seainf">
<c-input <c-input
v-model="model.recpan.conp.ptsget.sdamod.seainf" v-model="model.recpan.conp.ptsget.sdamod.seainf"
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 --> <!--PD000006 -->
<el-tab-pane label="Selection" name="infsea"> <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes" /> <c-content>
<m-infsea :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
...@@ -27,7 +29,9 @@ ...@@ -27,7 +29,9 @@
<!--PD000042 --> <!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000169 --> <!--PD000169 -->
...@@ -146,7 +150,7 @@ export default { ...@@ -146,7 +150,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
} };
}, },
methods: { methods: {
tabClick() {}, tabClick() {},
...@@ -155,7 +159,7 @@ export default { ...@@ -155,7 +159,7 @@ export default {
console.log("进入infltd交易"); console.log("进入infltd交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
console.log("ini方法:") console.log("ini方法:");
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
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