Commit 6702ddd9 by 唐贵贤

infltd交易修改

parent aad77f8c
......@@ -8,16 +8,24 @@ export default {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//console.log("smhstm:",rtnmsg);
if (rtnmsg.data.infbut_dspstm.rows.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
async onInfbutDsp(row) {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//console.log(rtnmsg);
console.log("rows:", row);
console.log("你猜", rtnmsg);
}
else {
......@@ -28,6 +36,7 @@ export default {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//console.log("use测试:",rtnmsg);
}
else {
......@@ -35,7 +44,24 @@ export default {
}
},
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) {
//TODO 处理数据逻辑
......@@ -55,7 +81,27 @@ export default {
}
},
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) {
//TODO 处理数据逻辑
......
......@@ -62,7 +62,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="recpan.be1p.ptsget.sdamod.dadsnd"
......@@ -72,7 +72,7 @@
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select
......
......@@ -155,48 +155,6 @@
</c-row>
<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">
<c-input
type="textarea"
......@@ -269,18 +227,6 @@
</c-col>
<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">
<c-input
v-model="model.recpan.conp.ptsget.sdamod.seainf"
......
......@@ -12,7 +12,9 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<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>
<!--PD000001 -->
......@@ -27,7 +29,9 @@
<!--PD000042 -->
<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>
<!--PD000169 -->
......@@ -146,7 +150,7 @@ export default {
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
};
},
methods: {
tabClick() {},
......@@ -155,7 +159,7 @@ export default {
console.log("进入infltd交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
console.log("ini方法:")
console.log("ini方法:");
//TODO 处理数据逻辑
} else {
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