Commit 78d429f4 by wangna

关闭交易状态显示

parent c4f8908e
......@@ -152,7 +152,7 @@
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['代收编号'])">处理
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['代收编号'], scope.row['关闭日期'])">处理
</c-button>
</template>
</el-table-column>
......@@ -213,7 +213,7 @@ export
"14 11 \"托收行\" 200",
"5 12 \"货物类型\" 130 1 0 1 GODCOD",
"3 13 \"开立日期\" 150 4 7",
"4 14 \"闭日期\" 150 4 7",
"4 14 \"闭日期\" 150 4 7",
"15 15 \"金额币种\" 150",
"16 16 \"代收金额\" 120 2 8 1 15",
"17 17 \"余额币种\" 150",
......@@ -226,8 +226,8 @@ export
},
methods: {
...Event,
async getButtons(ownref) {
this.BctselModel.clsflg = 'C'
async getButtons(ownref, closedDate) {
this.BctselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
this.ownref = ownref
console.log("ownref:" + ownref);
......
......@@ -282,7 +282,7 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
@click="getButtons(scope.row['信用证编号'], scope.row['关闭日期'])"
>
处理
</c-button>
......@@ -370,9 +370,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref){
async getButtons(ownref, closedDate){
this.ownref = ownref
this.ditselModel.didget.clsflg = 'C'
this.ditselModel.didget.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
......
......@@ -90,6 +90,7 @@ export default {
return 1;
},
opened() {
this.tState = []
this.$emit("childmethods");
},
beforeClose() {
......
......@@ -155,7 +155,7 @@
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
:code="codes.rolall"
......@@ -247,7 +247,12 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="infcon.forflg" label-width="20px" style="margin-left:110px;">
<el-form-item
label=""
prop="infcon.forflg"
label-width="20px"
style="margin-left: 110px"
>
<c-checkbox v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
......@@ -261,7 +266,11 @@
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: center"
......@@ -322,7 +331,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['单据编号'])"
@click="
getButtons(scope.row['单据编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
......@@ -368,14 +379,14 @@ export default {
'1 1 "编号" 150',
'2 2 "交易名称" 195',
'3 3 "条目" 80 4 7',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "相关金额" 150 2 8 1 5',
'7 7 "标识" 100',
......@@ -412,8 +423,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.letselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px"
size="small">
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="信用证编号" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16"
placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
placeholder="请选择起始日期" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%"
placeholder="请选择截止日期" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="信用证编号" prop="infcon.seaownref">
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择起始日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择截止日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam">
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey">
<c-input v-model="model.infcon.pty.extkey" maxlength="24"
placeholder="请输入当事人编号"></c-input>
</el-form-item>
</c-col>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey">
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam">
<c-input v-model="model.infcon.pty.nam" maxlength="40"
placeholder="请输入当事人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam">
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty">
<c-input v-model="model.infcon.seapty" maxlength="24"
placeholder="请输入当事人BIC编码"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty">
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol">
<c-select v-model="model.infcon.searol" style="width: 100%"
placeholder="请选择当事人角色" :code="codes.payrol">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef">
<c-input v-model="model.infcon.searef" maxlength="16"
placeholder="请输入当事人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
:code="codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额上限" prop="infcon.seaamtto">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入金额上限"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef">
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey">
<c-input v-model="model.infcon.usr.extkey" maxlength="8"
placeholder="请输入客户经理"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额上限" prop="infcon.seaamtto">
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入金额上限"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta">
<c-select v-model="model.infcon.seasta" style="width: 100%"
placeholder="请选择业务状态" :code="codes.seasta">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey">
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width: 100%"
placeholder="请选择币种" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择业务状态"
:code="codes.seasta"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="金额下限" prop="infcon.seaamtfr">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入金额下限">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur">
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="是否通过电证系统" prop="elcflg">
<c-select v-model="model.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统"
:code="codes.elcflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="金额下限" prop="infcon.seaamtfr">
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入金额下限"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="是否通过电证系统" prop="elcflg">
<c-select
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="文件类型" prop="seadoctypcod">
<c-select v-model="model.seadoctypcod" style="width: 100%"
placeholder="请选择文件类型" :code="codes.brdtyp">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align: right">
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="文件类型" prop="seadoctypcod">
<c-select
v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择文件类型"
:code="codes.brdtyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"
><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">
<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"
@click="display(scope.row['INR'])">
详情
</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>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="getButtons(scope.row['信用证编号'])">
处理
</c-button>
</template>
</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"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel"
@onChoose="onChoose"></m-busbtn>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
</div>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="detsel"
ownrefPath="bfdgrp"
tabIndex="3"
:model="detselModel"
@onChoose="onChoose"
></m-busbtn>
</div>
</template>
<script>
import Utils from "~/utils/index";
......@@ -206,57 +308,64 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbfd/Event";
//交易跳转逻辑
import DetselModel from "~/model/Detsel"
import DetselModel from "~/model/Detsel";
import BusNavbar from "~/views/Public/BusNavbar";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() {
return {
detselModel: new DetselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 80',
],
data: [],
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() {
return {
detselModel: new DetselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 80',
],
data: [],
},
stmData: {
columns: [
'2 1 "信用证编号" 120 ',
'3 2 "客户经理" 100 ',
'6 3 "第一当事人编号" 200 ',
'7 4 "申请人名称" 150 ',
'8 5 "第二当事人编号" 200 ',
'9 6 "受益人名称" 150 ',
'10 7 "第三当事人编号" 200 ',
'11 8 "开证行名称" 150 ',
'12 9 "第四当事人编号" 200 ',
'13 10 "采购行名称" 150 ',
'1 11 "转卖日期" 150 ',
'4 12 "开立日期" 150 ',
'5 13 "关闭日期" 150 ',
'14 14 "单据币种" 100 ',
'15 15 "单据金额" 150 ',
'16 16 "余额币种" 100 ',
'17 17 "余额" 150 ',
],
data: [],
},
};
},
/*
stmData: {
columns: [
'2 1 "信用证编号" 120 ',
'3 2 "客户经理" 100 ',
'6 3 "第一当事人编号" 200 ',
'7 4 "申请人名称" 150 ',
'8 5 "第二当事人编号" 200 ',
'9 6 "受益人名称" 150 ',
'10 7 "第三当事人编号" 200 ',
'11 8 "开证行名称" 150 ',
'12 9 "第四当事人编号" 200 ',
'13 10 "采购行名称" 150 ',
'1 11 "转卖日期" 150 ',
'4 12 "开立日期" 150 ',
'5 13 "关闭日期" 150 ',
'14 14 "单据币种" 100 ',
'15 15 "单据金额" 150 ',
'16 16 "余额币种" 100 ',
'17 17 "余额" 150 ',
],
data: [],
},
};
},
/*
computed: {
tableData() {
// "10000449\t2000007350\t2000007350-001\tBEIJING TESTTEST,BEIJING, CHINA\t\t100080\tBEIJING, CHINA\tTEST TEST1 CO.,LTD."
......@@ -265,41 +374,41 @@ export default {
},
},
*/
methods: {
...Event,
async getButtons(ownref) {
this.ownref = ownref
this.detselModel.clsflg = 'C'
this.$refs.childs.initdialog = true
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
methods: {
...Event,
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.detselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bfdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bfdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
created: function () { },
closeTrn(refId) {
this.$refs[refId].doClose();
},
},
created: function () {},
};
</script>
......@@ -159,7 +159,7 @@
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['托收编号'])">处理
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['托收编号'],scope.row['关闭日期'])">处理
</c-button>
</template>
</el-table-column>
......@@ -231,10 +231,10 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.$refs.childs.initdialog = true
this.ownref = ownref
this.BotselModel.clsflg = 'C'
this.BotselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
console.log("ownref:" + ownref);
},
async onChoose(code) {
......
......@@ -332,11 +332,11 @@
</el-form> </template
></c-list-search>
<c-col :span="24" style="margin-top: 10px;">
<c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px;padding: 20px 16px"
style="margin-left: 0px; padding: 20px 16px"
type="primary"
@click="toBptopn"
>出口融资放款</c-button
......@@ -344,10 +344,16 @@
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><span>操作</span></c-col
>
<!-- <c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col> -->
......@@ -401,7 +407,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['出口融资编号'])"
@click="
getButtons(scope.row['出口融资编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
......@@ -457,7 +465,7 @@ export default {
code: this.codes.fintyp_bpd,
},
'3 4 "Parent Contract" 140',
'4 5 "执行利率" 120',
'4 5 "执行利率" 120',
'22 6 "Pta .No" 120',
'23 7 "当事人编号" 200',
'24 8 "Advanced Party" 200',
......@@ -511,9 +519,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.BptselModel.clsflg = 'C'
this.BptselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
......@@ -312,7 +312,7 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['单据编号'])"
@click="getButtons(scope.row['单据编号'],scope.row['关闭日期'])"
>
处理
</c-button>
......@@ -418,9 +418,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref){
async getButtons(ownref,closedDate){
this.ownref = ownref
this.litselModel.lidget.clsflg = 'C'
this.litselModel.lidget.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
......
......@@ -90,6 +90,7 @@ export default {
return 1;
},
opened() {
this.tState = []
this.$emit("childmethods");
},
beforeClose() {
......
......@@ -58,7 +58,11 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -236,12 +240,18 @@
</c-list-search>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><span>操作</span></c-col
>
<!-- <c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col> -->
......@@ -294,7 +304,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
......@@ -337,20 +349,19 @@ export default {
dialogTableVisible: false,
trnData: {
columns: [
'0 8 "交易ID" 100',
'1 1 "信用证编号" 150',
'2 2 "交易名称" 195',
'3 3 "条目" 80 4 7',
// '4 4 "业务状态" 65 1 0 1 RELSTA',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "业务状态",
code: this.codes.relstaEN,
},
// '4 4 "业务状态" 65 1 0 1 RELSTA',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "业务状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "相关金额" 150 2 8 1 5',
'7 7 "标识" 100',
......@@ -381,9 +392,9 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.letselModel.clsflg = 'C'
this.letselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......@@ -417,7 +428,6 @@ export default {
toLttopn() {
this.$router.history.push("/business/lttopn");
},
},
created: function () {},
};
......
......@@ -99,7 +99,9 @@
maxlength="16"
placeholder="请输入当事人编号"
:disabled="model.infcon.seapty != ''"
@keyup.enter.native="showGridPromptDialog('infcon.pty.extkey')"
@keyup.enter.native="
showGridPromptDialog('infcon.pty.extkey')
"
></c-input>
</el-form-item>
</c-col>
......@@ -271,7 +273,11 @@
>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center">
......@@ -329,7 +335,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['光票托收编号'])"
@click="
getButtons(scope.row['光票托收编号'], scope.row['关闭日期'])
"
>
处理</c-button
>
......@@ -438,9 +446,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.cctselModel.clsflg = 'C'
this.cctselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
......@@ -96,6 +96,7 @@
return 1;
},
opened() {
this.tState = []
this.$emit("childmethods");
},
beforeClose() {
......
......@@ -162,7 +162,7 @@
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="getButtons(scope.row['打包托收编号'],scope.row['打包托收余额'], scope.row['编号'],scope.row['开立日期'])">处理
@click="getButtons(scope.row['打包托收编号'],scope.row['打包托收余额'], scope.row['编号'],scope.row['开立日期'],scope.row['关闭日期'])">处理
</c-button>
</template>
</el-table-column>
......@@ -236,8 +236,8 @@ export default {
},
methods: {
...Event,
async getButtons(ownref,amt,inr,opndat) {
this.CltselModel.clsflg = 'C'
async getButtons(ownref,amt,inr,opndat,closedDate) {
this.CltselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
this.ownref = ownref
this.amt = amt;
......
......@@ -50,7 +50,11 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="简略信息" prop="infcon.nam" style="width: 100%">
<el-form-item
label="简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -174,11 +178,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="状态"
prop="infcon.seasta"
style="width: 100%"
>
<el-form-item label="状态" prop="infcon.seasta" style="width: 100%">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
......@@ -189,11 +189,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
......@@ -232,11 +228,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="支付类型"
prop="seapaytyp"
style="width: 100%"
>
<el-form-item label="支付类型" prop="seapaytyp" style="width: 100%">
<c-select
v-model="model.seapaytyp"
style="width: 100%"
......@@ -349,7 +341,9 @@
>
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><span>操作</span></c-col
>
</template>
<template slot-scope="scope">
<el-popover
......@@ -399,7 +393,7 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['汇款编号'])"
@click="getButtons(scope.row['汇款编号'], scope.row['关闭日期'])"
>
处理
</c-button>
......@@ -554,9 +548,9 @@ export default {
callback();
}, 1000);
}, */
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.cptselModel.clsflg = 'C'
this.cptselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
......@@ -281,10 +281,16 @@
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><span>操作</span></c-col
>
<!-- <c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col> -->
......@@ -336,7 +342,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
......@@ -345,9 +353,15 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="dedgrp" :model="detselModel" @onChoose="onChoose"
>11</m-busbtn
>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="detsel"
ownrefPath="dedgrp"
:model="detselModel"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</template>
<script>
......@@ -356,7 +370,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infdet/Event";
import DetselModel from "~/model/Detsel"
import DetselModel from "~/model/Detsel";
//交易跳转逻辑
import BusNavbar from "~/views/Public/BusNavbar";
......@@ -367,7 +381,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
detselModel:new DetselModel().data,
detselModel: new DetselModel().data,
ownref: "",
dialogTableVisible: false,
trnData: {
......@@ -376,7 +390,14 @@ export default {
'2 2 "交易名称" 100',
'3 3 "日期" 200',
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 80',
],
......@@ -405,25 +426,25 @@ export default {
},
};
},
methods: {
...Event,
async getButtons(ownref){
this.ownref = ownref
this.detselModel.clsflg = 'C'
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.detselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......@@ -440,7 +461,7 @@ export default {
closeTrn(refId) {
this.$refs[refId].doClose();
},
toDetopn() {
this.$router.history.push("/business/detopn");
},
......
......@@ -360,7 +360,7 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
@click="getButtons(scope.row['信用证编号'],scope.row['关闭日期'])"
>
处理
</c-button>
......@@ -434,9 +434,9 @@ export default {
},
methods: {
...Event,
async getButtons(ownref){
async getButtons(ownref,closedDate){
this.ownref = ownref
this.ditselModel.didget.clsflg = 'C'
this.ditselModel.didget.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
......
......@@ -3,33 +3,66 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="8">
<el-form-item label="保函编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入保函编号"></c-input>
<el-form-item
label="保函编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入保函编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="infcon.opndatfrom" style="width: 100%">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%" placeholder="请选择起始日期"
value-format="yyyy-MM-dd"></c-date-picker>
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择起始日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%" placeholder="请选择截止日期"
value-format="yyyy-MM-dd"></c-date-picker>
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择截止日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="进口/出口保函" style="width: 100%">
<c-select v-model="isGuarantee" style="width: 100%" placeholder="请选择进口/出口保函" :code="codes.guarantee">
<c-select
v-model="isGuarantee"
style="width: 100%"
placeholder="请选择进口/出口保函"
:code="codes.guarantee"
>
</c-select>
</el-form-item>
</c-col>
......@@ -38,79 +71,183 @@
<!-- 可控展示区 -->
<c-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息"></c-input>
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="16" placeholder="请输入当事人编号"></c-input>
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="16"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入当事人BIC编码"></c-input>
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入当事人名称"></c-input>
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="24" placeholder="请输入客户经理"></c-input>
<el-form-item
label="客户经理"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="24"
placeholder="请输入客户经理"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择业务状态">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="业务状态"
prop="infcon.seasta"
style="width: 100%"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择业务状态"
>
<el-option
v-for="item in codes.seasta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%">
<el-form-item
label="金额区间"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtfr" style="width: 100%" placeholder="请输入金额下限"></c-input>
<c-input
v-model="model.infcon.seaamtfr"
style="width: 100%"
placeholder="请输入金额下限"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtto" style="width: 100%" placeholder="请输入金额上限"></c-input>
<c-input
v-model="model.infcon.seaamtto"
style="width: 100%"
placeholder="请输入金额上限"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入当事人参考号"></c-input>
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="承诺类型" prop="seagtyp" style="width: 100%">
<c-select v-model="model.seagtyp" style="width: 100%" placeholder="请选择承诺类型" :code="codes.seagtyp">
<c-select
v-model="model.seagtyp"
style="width: 100%"
placeholder="请选择承诺类型"
:code="codes.seagtyp"
>
</c-select>
</el-form-item>
</c-col>
......@@ -118,38 +255,77 @@
</el-form>
</template>
</c-list-search>
<div style="height:90%">
<div style="height: 90%">
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><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">
<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)" />
<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">
<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" @click="display(scope.row['INR'])">详情</c-button>
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</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>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情</c-button
>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['保函编号'])">
处理</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="
getButtons(scope.row['保函编号'], scope.row['关闭日期'])
"
>
处理</c-button
>
</template>
</el-table-column>
</c-istream-table>
......@@ -157,12 +333,28 @@
</div>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gcdgrp" :model="gitselModel" tabIndex="3"
@onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gcdgrp"
:model="gitselModel"
tabIndex="3"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gcdgrp" :model="getselModel" tabIndex="3"
@onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gcdgrp"
:model="getselModel"
tabIndex="3"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</div>
</template>
......@@ -188,7 +380,7 @@ export default {
ownref: "",
dialogTableVisible: false,
dialogFlag: true,
isGuarantee: '',
isGuarantee: "",
trnData: {
columns: [
'0 1 "交易ID" 100',
......@@ -229,10 +421,10 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref,closedDate) {
this.ownref = ownref;
this.gitselModel.clsflg = 'C'
this.getselModel.clsflg = 'C'
this.gitselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.getselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
......@@ -271,9 +463,9 @@ export default {
// };
// },
},
created: function () { },
created: function () {},
watch: {
"model.gidgrp.rec.ownref": function () { },
"model.gidgrp.rec.ownref": function () {},
},
};
</script>
......
......@@ -3,210 +3,474 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small"
:model="model">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
:model="model"
>
<el-row>
<c-col :span="8">
<el-form-item label="保函编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入保函编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="保函编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入保函编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
placeholder="请选择起始日期" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%" placeholder="请选择截止日期"
value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择起始日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择截止日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="进口/出口保函" style="width: 100%">
<c-select v-model="isGuarantee" style="width: 100%" placeholder="请选择进口/出口保函" :code="codes.guarantee">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="进口/出口保函" style="width: 100%">
<c-select
v-model="isGuarantee"
style="width: 100%"
placeholder="请选择进口/出口保函"
:code="codes.guarantee"
>
</c-select>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息"></c-input>
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="16" placeholder="请输入当事人编号"></c-input>
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="16"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入当事人BIC编码"></c-input>
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入当事人名称" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="版本状态" prop="infcon.relflg" style="width: 100%">
<c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择版本状态">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理类型" prop="infcon.hndtyp" style="width: 100%">
<c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择处理类型">
<el-option v-for="item in codes.hndtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="版本状态"
prop="infcon.relflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.relflg"
style="width: 100%"
placeholder="请选择版本状态"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="处理类型"
prop="infcon.hndtyp"
style="width: 100%"
>
<c-select
v-model="model.infcon.hndtyp"
style="width: 100%"
placeholder="请选择处理类型"
>
<el-option
v-for="item in codes.hndtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="24" placeholder="请输入客户经理" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择业务状态">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="客户经理"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="24"
placeholder="请输入客户经理"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="业务状态"
prop="infcon.seasta"
style="width: 100%"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择业务状态"
>
<el-option
v-for="item in codes.seasta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%">
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
<el-option v-for="item in codes.cxmflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.infcon.seaamtfr" style="width: 100%" placeholder="请输入金额下限"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtto" style="width: 100%" placeholder="请输入金额上限"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="是否显示查询码"
prop="infcon.cxmflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="金额区间"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtfr"
style="width: 100%"
placeholder="请输入金额下限"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtto"
style="width: 100%"
placeholder="请输入金额上限"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="会议目的" prop="seapurpos" style="width: 100%">
<c-select v-model="model.seapurpos" style="width: 100%" placeholder="请选择会议目的">
<el-option v-for="item in codes.purpos" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理类型" prop="seahndtyp" style="width: 100%">
<c-select v-model="model.seahndtyp" style="width: 100%" placeholder="请选择处理类型">
<el-option v-for="item in codes.seahndtyp1" :key="item.value" :label="item.label"
:value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="保函文本类型" prop="seagtyp" style="width: 100%">
<c-select v-model="model.seagtyp" style="width: 100%" placeholder="请选择保函文本类型" :code="codes.typgar2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="会议目的"
prop="seapurpos"
style="width: 100%"
>
<c-select
v-model="model.seapurpos"
style="width: 100%"
placeholder="请选择会议目的"
>
<el-option
v-for="item in codes.purpos"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="处理类型"
prop="seahndtyp"
style="width: 100%"
>
<c-select
v-model="model.seahndtyp"
style="width: 100%"
placeholder="请选择处理类型"
>
<el-option
v-for="item in codes.seahndtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="保函文本类型"
prop="seagtyp"
style="width: 100%"
>
<c-select
v-model="model.seagtyp"
style="width: 100%"
placeholder="请选择保函文本类型"
:code="codes.typgar2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="特殊保函类型" prop="infcon.segtyp" style="width: 100%">
<c-select v-model="model.infcon.segtyp" style="width: 100%" placeholder="请选择特殊保函类型"
:code="codes.segtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="电子渠道类型" prop="fromflg" style="width: 100%">
<c-select v-model="model.fromflg" style="width: 100%" placeholder="请选择电子渠道类型">
<el-option v-for="item in codes.fromflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="分离式保函" prop="fenlishi" style="width: 100%">
<c-select v-model="model.fenlishi" style="width: 100%" placeholder="请选择是否分离式保函">
<el-option v-for="item in codes.fenlishi1" :key="item.value" :label="item.label"
:value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="特殊保函类型"
prop="infcon.segtyp"
style="width: 100%"
>
<c-select
v-model="model.infcon.segtyp"
style="width: 100%"
placeholder="请选择特殊保函类型"
:code="codes.segtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="电子渠道类型"
prop="fromflg"
style="width: 100%"
>
<c-select
v-model="model.fromflg"
style="width: 100%"
placeholder="请选择电子渠道类型"
>
<el-option
v-for="item in codes.fromflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="分离式保函"
prop="fenlishi"
style="width: 100%"
>
<c-select
v-model="model.fenlishi"
style="width: 100%"
placeholder="请选择是否分离式保函"
>
<el-option
v-for="item in codes.fenlishi1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入当事人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" style="margin-left: 218px" prop="model.cmtflg">
<c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" style="margin-left: 218px" prop="model.fingua">
<c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label=""
style="margin-left: 218px"
prop="model.cmtflg"
>
<c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label=""
style="margin-left: 218px"
prop="model.fingua"
>
<c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" @click="toGitpop" style="margin-left: 0px">进口保函预开立
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitpop"
style="margin-left: 0px"
>进口保函预开立
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" @click="toGitopn">进口保函开立</c-button>
<c-button style="margin-left: 20" class="medium_bcs" size="medium" type="primary" @click="toGetopn">出口保函通知
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
<c-button
style="margin-left: 20"
class="medium_bcs"
size="medium"
type="primary"
@click="toGetopn"
>出口保函通知
</c-button>
</el-col>
<div style="height:90%">
<div style="height: 90%">
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center">
......@@ -217,28 +481,63 @@
</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)" />
<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" fixed="right">
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column
prop="op"
label="操作"
width="0"
fixed="right"
>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])">详情</c-button>
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</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>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情</c-button
>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['保函编号'])">处理
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="
getButtons(scope.row['保函编号'], scope.row['保函效期'])
"
>处理
</c-button>
</template>
</el-table-column>
......@@ -247,12 +546,28 @@
</div>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex="1"
@onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gidgrp" :model="getselModel" tabIndex="1"
@onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</div>
</template>
......@@ -278,7 +593,7 @@ export default {
ownref: "",
dialogTableVisible: false,
dialogFlag: true,
isGuarantee: '',
isGuarantee: "",
trnData: {
columns: [
'0 1 "交易ID" 100',
......@@ -346,10 +661,10 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.gitselModel.clsflg = 'C'
this.getselModel.clsflg = 'C'
this.gitselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.getselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
......@@ -397,9 +712,9 @@ export default {
// };
// },
},
created: function () { },
created: function () {},
watch: {
"model.gidgrp.rec.ownref": function () { },
"model.gidgrp.rec.ownref": function () {},
},
};
</script>
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<el-row>
<c-col :span="8">
<el-form-item label="信用证编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
<el-form-item
label="信用证编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="infcon.opndatfrom" style="width: 100%">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期"
value-format="yyyy-MM-dd" style="width: 100%"></c-date-picker>
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
placeholder="请选择起始日期"
value-format="yyyy-MM-dd"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截止日期" style="width: 100%"
value-format="yyyy-MM-dd"></c-date-picker>
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
placeholder="请选择截止日期"
style="width: 100%"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息" style="width: 100%">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
style="width: 100%"
>
</c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入当事人参考号"></c-input>
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入当事人编号"></c-input>
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入当事人名称" disabled></c-input>
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入当事人BIC编码"></c-input>
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色">
<el-option v-for="item in codes.searol1" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.searol1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户经理" disabled prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入客户经理" disabled></c-input>
<el-form-item
label="客户经理"
disabled
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择业务状态">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="业务状态"
prop="infcon.seasta"
style="width: 100%"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择业务状态"
>
<el-option
v-for="item in codes.seasta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -93,20 +215,37 @@
<c-col :span="8">
<el-form-item label="金额区间" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入金额下限" style="width: 100%"></c-input>
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入金额下限"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入金额上限" style="width: 100%"></c-input>
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入金额上限"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" style="width: 100%">
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp1" style="width: 100%" placeholder="请选择信用证类型">
<el-form-item
label="信用证类型"
prop="sealcrtyp"
style="width: 100%"
>
<c-select
v-model="model.sealcrtyp"
:code="codes.lcrtyp1"
style="width: 100%"
placeholder="请选择信用证类型"
>
</c-select>
</el-form-item>
</c-col>
......@@ -116,60 +255,118 @@
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" title="LETNOT" @click="toLetnot"
style="margin-left: 0px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETNOT"
@click="toLetnot"
style="margin-left: 0px"
>
出口信用证预开立
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" title="LETOPN" @click="toLetopn">
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETOPN"
@click="toLetopn"
>
出口信用证开立
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" title="LETDRW" @click="toLetdrw">
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETDRW"
@click="toLetdrw"
>
非我行通知及收单行登记
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" title="LETRSV" @click="toLetrsv">
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETRSV"
@click="toLetrsv"
>
出口信用证补通知
</c-button>
</el-col>
<div style="height:90%">
<div style="height: 90%">
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><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">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<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)" />
<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">
<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" @click="display(scope.row['INR'])">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0px" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">
<c-button
style="margin-left: 0px"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary" @click="getButtons(scope.row['信用证编号'])">
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
</template>
......@@ -178,8 +375,14 @@
</c-col>
</div>
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="ledgrp" :model="letselModel"
@onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="letsel"
ownrefPath="ledgrp"
:model="letselModel"
@onChoose="onChoose"
></m-busbtn>
</div>
</template>
<script>
......@@ -255,9 +458,9 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
// this.letselModel.clsflg = 'C'
this.letselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......@@ -308,7 +511,7 @@ export default {
// };
// },
},
created: function () { },
created: function () {},
};
</script>
<style>
......
......@@ -109,7 +109,11 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -288,76 +292,81 @@
进口信用证开立
</c-button>
</c-col>
<div style="height:90%">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<div style="height: 90%">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"
><span>操作</span></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;
"
<template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<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"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<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"
@click="display(scope.row['INR'])"
>
详情
</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>
<c-button
style="margin-left: 0"
style="margin-left: 5px"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
type="primary"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
详情
处理
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</div>
<m-busbtn
......@@ -366,8 +375,9 @@
trnCode="litsel"
:model="litselModel"
ownrefPath="lidget.lid.ownref"
@onChoose="onChoose">
</m-busbtn>
@onChoose="onChoose"
>
</m-busbtn>
</div>
</template>
<script>
......@@ -377,7 +387,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Inflid/Event";
import LitselModel from "~/model/Litsel"
import LitselModel from "~/model/Litsel";
import BusNavbar from "~/views/Public/BusNavbar";
export default {
......@@ -421,7 +431,7 @@ export default {
//'18 16 "余额币种" 100',
'19 5 "余额" 130 2 8 1 18',
//'5 11 "Opened" 500 4 7',
//'5 11 "Opened" 500 4 7',
{
index: 5,
position: 6,
......@@ -437,7 +447,6 @@ export default {
//'14 8 "受益人编号" 165',
'15 10 "受益人名称" 165',
//'6 12 "Expired" 500 4 7',
{
index: 6,
......@@ -447,14 +456,9 @@ export default {
label: "到期日",
},
'3 12 "远期期限" 120 ',
'3 12 "远期期限" 120 ',
// '4 4 "货物类型" 100 ',
{
index: 4,
position: 13,
......@@ -463,7 +467,7 @@ export default {
label: "货物类型",
code: "godcod",
},
//'7 13 "Closed" 500 4 7',
{
index: 7,
......@@ -474,8 +478,6 @@ export default {
},
'8 15 "分行名称" 160',
//'9 18 "PTA NO." 150',
],
data: [],
},
......@@ -488,9 +490,10 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
// this.litselModel.lidget.clsflg = 'C'
this.litselModel.lidget.clsflg =
(closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......@@ -524,14 +527,12 @@ export default {
toLitopn() {
this.$router.history.push("/business/litopn");
},
},
created: function () {},
};
</script>
<style>
.m-table-search {
padding: 20px 0px 10px 0px;
padding: 20px 0px 10px 0px;
}
</style>
......@@ -90,6 +90,7 @@ export default {
return 1;
},
opened() {
this.tState = []
this.$emit("childmethods");
},
beforeClose() {
......
......@@ -58,7 +58,11 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -71,7 +75,11 @@
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef" style="width: 100%">
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
......@@ -79,44 +87,87 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入当事人编号" ></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入当事人名称" disabled></c-input>
</el-form-item>
</c-col>
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入当事人BIC编码"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择当事人角色">
<el-option
v-for="item in codes.searol1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户经理" disabled prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入客户经理" disabled></c-input>
</el-form-item>
</c-col>
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.searol1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="客户经理"
disabled
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
......@@ -187,14 +238,20 @@
</el-form>
</template>
</c-list-search>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<c-col :span="11" style="text-align: center"
><span>操作</span></c-col
>
<!-- <c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col> -->
......@@ -247,7 +304,9 @@
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['信用证编号'])"
@click="
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
处理
</c-button>
......@@ -294,15 +353,15 @@ export default {
'1 1 "信用证编号" 150',
'2 2 "交易名称" 195',
'3 3 "条目" 80 4 7',
// '4 4 "业务状态" 65 1 0 1 RELSTA',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "业务状态",
code: this.codes.relstaEN,
},
// '4 4 "业务状态" 65 1 0 1 RELSTA',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "业务状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "相关金额" 150 2 8 1 5',
'7 7 "标识" 100',
......@@ -311,24 +370,24 @@ export default {
},
stmData: {
columns: [
'1 1 \"信用证编号\" 120',
'2 2 \"客户经理\" 100',
'3 12 \"开立日期\" 150 4 7',
'4 13 \"到期日\" 150 4 7',
'5 14 \"关闭日期\" 150 4 7',
'6 3 \"分行名称\" 140',
'7 9 \"PTA编号\" 100',
'8 4 \"第一当事人编号\" 133',
'9 5 \"第一受益人名称\" 133',
'10 6 \"第一国内受益人名称\" 191',
'11 7 \"第二当事人编号\" 133',
'12 8 \"第二受益人名称\" 133',
'13 10 \"第三当事人编号\" 133',
'14 11 \"通知行\" 133',
'15 15 \"金额币种\" 100',
'16 17 \"金额\" 100 2 8 1 15',
'17 16 \"余额币种\" 100',
'18 18 \"余额\" 100 2 8 1 17'
'1 1 "信用证编号" 120',
'2 2 "客户经理" 100',
'3 12 "开立日期" 150 4 7',
'4 13 "到期日" 150 4 7',
'5 14 "关闭日期" 150 4 7',
'6 3 "分行名称" 140',
'7 9 "PTA编号" 100',
'8 4 "第一当事人编号" 133',
'9 5 "第一受益人名称" 133',
'10 6 "第一国内受益人名称" 191',
'11 7 "第二当事人编号" 133',
'12 8 "第二受益人名称" 133',
'13 10 "第三当事人编号" 133',
'14 11 "通知行" 133',
'15 15 "金额币种" 100',
'16 17 "金额" 100 2 8 1 15',
'17 16 "余额币种" 100',
'18 18 "余额" 100 2 8 1 17',
],
data: [],
},
......@@ -337,9 +396,9 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.letselModel.clsflg = 'C'
this.letselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
......@@ -10,298 +10,297 @@
size="small"
>
<el-row>
<c-col :span="8">
<el-form-item
label="进口融资编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入进口融资编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="进口融资编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入进口融资编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
value-format="yyyy-MM-dd"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
value-format="yyyy-MM-dd"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="开立日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
value-format="yyyy-MM-dd"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
value-format="yyyy-MM-dd"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
:disabled="model.infcon.seapty != ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人参考号"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
:disabled="model.infcon.seapty != ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
:disabled="model.infcon.pty.extkey != ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
:disabled="model.infcon.pty.extkey != ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="角色"
prop="infcon.searol"
<c-col :span="8">
<el-form-item
label="角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择角色"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择角色"
<el-option
v-for="item in codes.searol4"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.searol4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="客户经理"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="客户经理"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="状态"
prop="infcon.seasta"
<c-col :span="8">
<el-form-item
label="状态"
prop="infcon.seasta"
style="width: 100%"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择状态"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择状态"
<el-option
v-for="item in codes.seasta"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.seasta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="币种"
prop="infcon.seacur"
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="币种"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="融资状态"
prop="infcon.cxmflg"
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="融资状态"
prop="infcon.cxmflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<c-select
v-model="model.infcon.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
<el-option
v-for="item in codes.ovdflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.ovdflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="融资品种"
prop="seafintyp"
<c-col :span="8">
<el-form-item
label="融资品种"
prop="seafintyp"
style="width: 100%"
>
<c-select
v-model="model.seafintyp"
style="width: 100%"
placeholder="请选择融资品种"
>
<c-select
v-model="model.seafintyp"
style="width: 100%"
placeholder="请选择融资品种"
<el-option
v-for="item in codes.boppayattr1"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.boppayattr1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="货物代码 "
prop="trdgrp.rec.stagod"
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="货物代码 "
prop="trdgrp.rec.stagod"
style="width: 100%"
>
<c-select
v-model="model.trdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物代码 "
>
<c-select
v-model="model.trdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物代码 "
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
prop="trdgrp.rec.oseflg"
style="width: 100%"
<c-col :span="8">
<el-form-item prop="trdgrp.rec.oseflg" style="width: 100%">
<c-checkbox v-model="model.trdgrp.rec.oseflg"
>海外代付</c-checkbox
>
<c-checkbox v-model="model.trdgrp.rec.oseflg">海外代付</c-checkbox>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="金额区间"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11">
<c-input-currency
v-model="model.infcon.seaamtfr"
placeholder="请输入金额区间"
></c-input-currency>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input-currency
v-model="model.infcon.seaamtto"
placeholder="请输入金额区间"
></c-input-currency>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="金额区间"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11">
<c-input-currency
v-model="model.infcon.seaamtfr"
placeholder="请输入金额区间"
></c-input-currency>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input-currency
v-model="model.infcon.seaamtto"
placeholder="请输入金额区间"
></c-input-currency>
</c-col>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
......@@ -317,75 +316,82 @@
>进口融资开立</c-button
>
</c-col>
<div style="height:90%">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align: right"
<div style="height: 90%">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"
><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">
<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;
"
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<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"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<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"
@click="display(scope.row['INR'])"
>
详情
</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>
<c-button
style="margin-left: 0"
style="margin-left: 5px"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
type="primary"
@click="
getButtons(scope.row['进口融资编号'], scope.row['关闭日期'])
"
>
详情
处理
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="getButtons(scope.row['进口融资编号'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</div>
<m-busbtn
......@@ -394,9 +400,9 @@
:model="TrtselModel"
ownrefPath="trdgrp"
trnCode="trtsel"
@onChoose="onChoose">
</m-busbtn
@onChoose="onChoose"
>
</m-busbtn>
</div>
</template>
<script>
......@@ -517,9 +523,9 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref, closedDate) {
this.ownref = ownref;
this.TrtselModel.clsflg = 'C'
this.TrtselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
......
......@@ -90,6 +90,7 @@ export default {
return 1;
},
opened() {
this.tState = []
this.$emit("childmethods");
},
beforeClose() {
......
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