Commit 4e1b9751 by taojinrui

cnysel交易和cptato交易的修改

parent ac3d981f
......@@ -2,53 +2,86 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSerbut(){
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onSerbut() {
let rtnmsg = await this.executeRule("serbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onButprt() {
let rtnmsg = await this.executeRule("butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDtlbut() {
let rtnmsg = await this.executeRule("dtlbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onExi() {
let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.frmdat;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.tildat;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.searol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- ===================左边================= -->
<c-col :span="11">
<c-col :span="24">
......@@ -30,6 +31,33 @@
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<el-form-item label="From" prop="frmdat">
<c-col :span="24">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align:center">-</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.tildat"
style="width: 100%"
placeholder="请选择Until"
></c-date-picker>
</c-col>
</c-col>
</el-form-item>
<c-col :span="24">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select
......@@ -48,30 +76,8 @@
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="From" prop="frmdat">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</el-form-item>
</c-col>
</c-list-search>
<c-col :span="24">
<el-form-item label="Until" prop="tildat">
<c-date-picker
type="date"
v-model="model.tildat"
style="width: 100%"
placeholder="请选择Until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<!-- <c-col :span="24">
......@@ -166,6 +172,8 @@
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
......
......@@ -245,7 +245,7 @@
maxlength="65"
show-word-limit
placeholder="请输入汇款人地址"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -528,7 +528,9 @@
v-model="model.attp.resbchnam"
maxlength="42"
placeholder="请输入接收行名称"
@keyup.enter.native="showGridPromptDialog('attp.resbchnam')"
@keyup.enter.native="
showGridPromptDialog('attp.resbchnam')
"
></c-input>
</el-form-item>
</c-col>
......
......@@ -33,7 +33,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
showGridPromptDialog('cpdgrp.ori.pts.extkey')
"
></c-input>
</el-form-item>
......@@ -229,7 +229,7 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">showGridPromptDialog
<el-form-item
label="Drag Drop Sender"
prop="attp.pybp.ptsget.sdamod.dadsnd"
......@@ -252,7 +252,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
showGridPromptDialog('cpdgrp.pyb.pts.extkey')
"
></c-input>
</el-form-item>
......
......@@ -4,7 +4,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000071 -->
<el-tab-pane label="PD000071" name="inftrnps">
<el-tab-pane label="selection panel" name="inftrnps">
<m-inftrnps :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
......
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