Commit 78d429f4 by wangna

关闭交易状态显示

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