Commit 26fdd263 by liuxin
parents 2b262e66 14a59687
...@@ -4,36 +4,26 @@ import Utils from "~/utils" ...@@ -4,36 +4,26 @@ import Utils from "~/utils"
export default { export default {
// 顶部查询按钮 // 顶部查询按钮
async onInfbutSearow(){ async onInfbutSearow(){
// let rtnmsg = await this.executeRule("infbut.searow") this.stmData.data = [];
// 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: '服务请求失败!'});
// }
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){ if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '信用证开立起始日期必输!' }); this.$notify.error({ title: '错误', message: '开立日期为必输项!' });
return; return;
} }
let opndatto = this.model.infcon.opndatto; let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){ if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '信用证开立截止日期必输!' }); this.$notify.error({ title: '错误', message: '截止日期必输项!' });
return; return;
} }
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.$message({
type: 'success',
message: '查询成功!'
});
this.stmData.data = rtnmsg.data.infbut_dspstm.rows; this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows; // this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows;
} }
......
<template> <template>
<c-row> <c-row>
<!--
<c-col :span="24">
<c-col :span="8">
<el-form-item label="业务机构" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
</c-col>-->
<!-- 第一行 --> <!-- 第一行 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务编号" prop="ledgrp.rec.ownref"> <el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
...@@ -13,9 +26,15 @@ ...@@ -13,9 +26,15 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button style="margin:0px 10px 0 10;padding: 0 12px;" size="small"
type="primary" @click="onSeainf">
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<!--
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button >i</c-button
> >
-->
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -59,14 +78,15 @@ ...@@ -59,14 +78,15 @@
v-model="model.bedgrp.rec.ownref" v-model="model.bedgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
:disabled="true" :disabled="false"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button style="margin:0px 10px 0 10;padding: 0 12px;" size="small"
>i</c-button type="primary" @click="onSeainf">
> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
......
<template> <template>
<c-page title="出口信用证单据承兑">
<div class="eContainer"> <div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="accp" name="accp"> <el-tab-pane label="基本信息" name="accp">
<m-accp :model="model" :codes="codes"/> <m-accp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -14,12 +29,12 @@ ...@@ -14,12 +29,12 @@
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000000 【TODO me】账务--> <!--PD000000 【TODO me】账务-->
<el-tab-pane label="setpan" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 【TODO me】附言--> <!--PD000000 【TODO me】附言-->
<el-tab-pane label="coninfp" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -29,12 +44,12 @@ ...@@ -29,12 +44,12 @@
</el-tab-pane> </el-tab-pane>
<!--PD000529 【TODO me】报文及面函--> <!--PD000529 【TODO me】报文及面函-->
<el-tab-pane label="docpan" name="docpan"> <el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 【TODO me】附件--> <!--PD000546 【TODO me】附件-->
<el-tab-pane label="doctre" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -64,7 +79,7 @@ ...@@ -64,7 +79,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="limitbody" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -75,12 +90,14 @@ ...@@ -75,12 +90,14 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Betacc from "~/model/Betacc" import Betacc from "~/model/Betacc"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check" import Check from "~/model/Betacc/Check"
import Default from "~/model/Betacc/Default" import Default from "~/model/Betacc/Default"
import Pattern from "~/model/Betacc/Pattern" import Pattern from "~/model/Betacc/Pattern"
...@@ -103,6 +120,7 @@ import Setpan from "~/views/Public/Setpan"; // 【TODO me】 ...@@ -103,6 +120,7 @@ import Setpan from "~/views/Public/Setpan"; // 【TODO me】
import Docpan from "~/views/Public/Docpan"; // 【TODO me】 import Docpan from "~/views/Public/Docpan"; // 【TODO me】
import Engp from "~/views/Public/Engp"; // 【TODO me】 import Engp from "~/views/Public/Engp"; // 【TODO me】
// 出口信用证单据承兑
export default { export default {
name: "Betacc", name: "Betacc",
...@@ -127,7 +145,7 @@ export default { ...@@ -127,7 +145,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "accp", tabVal: "accp",
......
...@@ -13,9 +13,10 @@ ...@@ -13,9 +13,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button style="margin:0px 10px 0 10;padding: 0 12px;" size="small"
>i</c-button type="primary" @click="onSeainf">
> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -64,9 +65,10 @@ ...@@ -64,9 +65,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button style="margin:0px 10px 0 10;padding: 0 12px;" size="small"
>i</c-button type="primary" @click="onSeainf">
> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
......
<template> <template>
<div class="eContainer"> <c-page title="出口信用证单据索汇">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="rclp" name="rclp"> <el-tab-pane label="基本信息" name="rclp">
<m-rclp :model="model" :codes="codes"/> <m-rclp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -14,12 +29,12 @@ ...@@ -14,12 +29,12 @@
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000000 【TODO me】账务--> <!--PD000000 【TODO me】账务-->
<el-tab-pane label="setpan" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 【TODO me】附言--> <!--PD000000 【TODO me】附言-->
<el-tab-pane label="coninfp" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -29,12 +44,12 @@ ...@@ -29,12 +44,12 @@
</el-tab-pane> </el-tab-pane>
<!--PD000529 【TODO me】报文及面函--> <!--PD000529 【TODO me】报文及面函-->
<el-tab-pane label="docpan" name="docpan"> <el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 【TODO me】附件--> <!--PD000546 【TODO me】附件-->
<el-tab-pane label="doctre" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -64,7 +79,7 @@ ...@@ -64,7 +79,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="limitbody" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
...@@ -74,13 +89,15 @@ ...@@ -74,13 +89,15 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Betacc from "~/model/Betacc" import Betacc from "~/model/Betacc"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check" import Check from "~/model/Betacc/Check"
import Default from "~/model/Betacc/Default" import Default from "~/model/Betacc/Default"
import Pattern from "~/model/Betacc/Pattern" import Pattern from "~/model/Betacc/Pattern"
...@@ -103,6 +120,7 @@ import Setpan from "~/views/Public/Setpan"; // 【TODO me】 ...@@ -103,6 +120,7 @@ import Setpan from "~/views/Public/Setpan"; // 【TODO me】
import Docpan from "~/views/Public/Docpan"; // 【TODO me】 import Docpan from "~/views/Public/Docpan"; // 【TODO me】
import Engp from "~/views/Public/Engp"; // 【TODO me】 import Engp from "~/views/Public/Engp"; // 【TODO me】
// 出口信用证单据索汇
export default { export default {
name: "Betacc", name: "Betacc",
...@@ -127,8 +145,9 @@ export default { ...@@ -127,8 +145,9 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return { return {
tabVal: "rclp", tabVal: "rclp",
trnName: "betacc", trnName: "betacc",
......
...@@ -250,45 +250,8 @@ ...@@ -250,45 +250,8 @@
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <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> <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-popover <!-- @click="getButtons(scope.row['Reference'])" -->
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 <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
...@@ -377,14 +340,25 @@ export default { ...@@ -377,14 +340,25 @@ export default {
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
}, },
// 重置 // 重置查询参数
handleReset: function () { handleReset: function () {
// this.model = {
// instNo: '',
// instName: ''
// }
this.model.infcon.seaownref=""; this.model.infcon.seaownref="";
this.model.infcon.opendatfrm=""; 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(){ toLetopn(){
......
...@@ -35,6 +35,7 @@ export default { ...@@ -35,6 +35,7 @@ export default {
}; };
}, },
created() { created() {
let doclang= window.sessionStorage.doclang||"";
this.model.docXML = window.sessionStorage.docXML; this.model.docXML = window.sessionStorage.docXML;
this.model.docTXT = window.sessionStorage.docTXT this.model.docTXT = window.sessionStorage.docTXT
.split("\r\n") .split("\r\n")
......
...@@ -458,6 +458,7 @@ export default { ...@@ -458,6 +458,7 @@ export default {
async handleDisplay(index, row,doceot){ async handleDisplay(index, row,doceot){
//后续要根据快照模式切换请求方式 //后续要根据快照模式切换请求方式
let cortyp = row.cortyp let cortyp = row.cortyp
let docuil = doceot.docuil;
let docnam = doceot.docnam||''; let docnam = doceot.docnam||'';
docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_"); docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_");
let rtnmsg let rtnmsg
......
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