Commit 556ef860 by DDB

infled查询和重置按钮

parent ffb00405
......@@ -4,36 +4,26 @@ import Utils from "~/utils"
export default {
// 顶部查询按钮
async onInfbutSearow(){
// let rtnmsg = await this.executeRule("infbut.searow")
// const that = this.root;
// let rtnmsg = await that.executeRule("infbut.searow")
// if(rtnmsg.respCode == SUCCESS)
// {
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
// this.$message({
// type: 'success',
// message: '查询成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '信用证开立起始日期必输!' });
this.$notify.error({ title: '错误', message: '开立日期为必输项!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '信用证开立截止日期必输!' });
this.$notify.error({ title: '错误', message: '截止日期必输项!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.$message({
type: 'success',
message: '查询成功!'
});
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows;
}
......
......@@ -251,43 +251,6 @@
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<!-- <el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="display(scope.$index, scope.row)"
>
查看详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover> -->
<!-- @click="getButtons(scope.row['Reference'])" -->
<c-button
style="margin-left: 0"
......@@ -377,14 +340,25 @@ export default {
this.$router.history.push("/business/" + code)
},
// 重置
// 重置查询参数
handleReset: function () {
// this.model = {
// instNo: '',
// instName: ''
// }
this.model.infcon.seaownref="";
this.model.infcon.opendatfrm="";
this.model.infcon.opndatto="";
this.model.infcon.searef="";
this.model.infcon.relflg="";
this.model.infcon.pty.extkey="";
this.model.infcon.pty.nam="";
this.model.infcon.seapty="";
this.model.infcon.searol="";
this.model.infcon.nam="";
this.model.infcon.usr.extkey="";
this.model.infcon.seasta="";
this.model.infcon.seacur="";
this.model.infcon.cxmflg="";
this.model.infcon.seaamtfr="";
this.model.infcon.seaamtto="";
this.model.sealcrtyp="";
},
// 跳转至出口信用证开立
toLetopn(){
......
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