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() {
......
...@@ -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>
...@@ -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);
}, },
......
...@@ -3,34 +3,60 @@ ...@@ -3,34 +3,60 @@
<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"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<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.seaownref"> <el-form-item label="信用证编号" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16" <c-input
placeholder="请输入信用证编号"></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%" <c-date-picker
placeholder="请选择起始日期" 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%" <c-date-picker
placeholder="请选择截止日期" 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="业务简略信息" prop="infcon.nam"> <el-form-item label="业务简略信息" prop="infcon.nam">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息"></c-input> <c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -42,22 +68,31 @@ ...@@ -42,22 +68,31 @@
<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"
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"> <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"
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="当事人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"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -65,22 +100,32 @@ ...@@ -65,22 +100,32 @@
<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"
style="width: 100%"
placeholder="请选择当事人角色"
:code="codes.payrol"
>
</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.searef"> <el-form-item label="当事人参考号" prop="infcon.searef">
<c-input v-model="model.infcon.searef" maxlength="16" <c-input
placeholder="请输入当事人参考号"></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.seaamtto"> <el-form-item label="金额上限" prop="infcon.seaamtto">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入金额上限"></c-input> <c-input
v-model="model.infcon.seaamtto"
placeholder="请输入金额上限"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -88,23 +133,34 @@ ...@@ -88,23 +133,34 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey"> <el-form-item label="客户经理" prop="infcon.usr.extkey">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" <c-input
placeholder="请输入客户经理"></c-input> v-model="model.infcon.usr.extkey"
maxlength="8"
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"> <el-form-item label="业务状态" prop="infcon.seasta">
<c-select v-model="model.infcon.seasta" style="width: 100%" <c-select
placeholder="请选择业务状态" :code="codes.seasta"> v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择业务状态"
:code="codes.seasta"
>
</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"> <el-form-item label="币种" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width: 100%" <c-select
placeholder="请选择币种" :code="codes.curtxt1"> v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -113,22 +169,31 @@ ...@@ -113,22 +169,31 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额下限" prop="infcon.seaamtfr"> <el-form-item label="金额下限" prop="infcon.seaamtfr">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入金额下限"> <c-input
v-model="model.infcon.seaamtfr"
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 label="是否通过电证系统" prop="elcflg"> <el-form-item label="是否通过电证系统" prop="elcflg">
<c-select v-model="model.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统" <c-select
:code="codes.elcflg"> v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</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=""> <el-form-item label="">
<c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox> <c-checkbox v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -136,8 +201,12 @@ ...@@ -136,8 +201,12 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="文件类型" prop="seadoctypcod"> <el-form-item label="文件类型" prop="seadoctypcod">
<c-select v-model="model.seadoctypcod" style="width: 100%" <c-select
placeholder="请选择文件类型" :code="codes.brdtyp"> v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择文件类型"
:code="codes.brdtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -149,54 +218,87 @@ ...@@ -149,54 +218,87 @@
</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> -->
</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="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
"> "
<span class="el-icon-close" @click=" >
closeTrn('popover_' + scope.row.IDX) <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" <c-button
@click="display(scope.row['INR'])"> 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: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)" <c-button
slot="reference"> style="margin-left: 0"
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" <c-button
@click="getButtons(scope.row['信用证编号'])"> 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>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel" <m-busbtn
@onChoose="onChoose"></m-busbtn> ref="childs"
:ownref="ownref"
trnCode="detsel"
ownrefPath="bfdgrp"
tabIndex="3"
:model="detselModel"
@onChoose="onChoose"
></m-busbtn>
</div> </div>
</template> </template>
<script> <script>
...@@ -206,7 +308,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -206,7 +308,7 @@ 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 {
...@@ -225,7 +327,14 @@ export default { ...@@ -225,7 +327,14 @@ export default {
'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 }, {
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',
], ],
...@@ -267,21 +376,21 @@ export default { ...@@ -267,21 +376,21 @@ 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) {
...@@ -300,6 +409,6 @@ export default { ...@@ -300,6 +409,6 @@ export default {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
}, },
created: function () { }, 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>
...@@ -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,7 +349,6 @@ export default { ...@@ -337,7 +349,6 @@ 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',
...@@ -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,7 +353,13 @@ ...@@ -345,7 +353,13 @@
</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
ref="childs"
:ownref="ownref"
trnCode="detsel"
ownrefPath="dedgrp"
:model="detselModel"
@onChoose="onChoose"
>11</m-busbtn >11</m-busbtn
> >
</div> </div>
...@@ -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',
], ],
...@@ -408,21 +429,21 @@ export default { ...@@ -408,21 +429,21 @@ 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) {
......
...@@ -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"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
"> "
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" /> >
<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,35 +3,67 @@ ...@@ -3,35 +3,67 @@
<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 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%" <c-date-picker
placeholder="请选择起始日期" 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>
...@@ -41,153 +73,363 @@ ...@@ -41,153 +73,363 @@
<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="当事人名称"
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="版本状态" prop="infcon.relflg" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择版本状态"> label="版本状态"
prop="infcon.relflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.relflg"
style="width: 100%"
placeholder="请选择版本状态"
>
</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.hndtyp" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择处理类型"> label="处理类型"
<el-option v-for="item in codes.hndtyp" :key="item.value" :label="item.label" :value="item.value"> 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> </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.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="请输入客户经理" disabled></c-input> 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> </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.cxmflg" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码"> label="是否显示查询码"
<el-option v-for="item in codes.cxmflg" :key="item.value" :label="item.label" :value="item.value"> prop="infcon.cxmflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </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="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"
style="width: 100%"
>
<c-select
v-model="model.seapurpos"
style="width: 100%"
placeholder="请选择会议目的"
>
<el-option
v-for="item in codes.purpos"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </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="seahndtyp" style="width: 100%"> <el-form-item
<c-select v-model="model.seahndtyp" style="width: 100%" placeholder="请选择处理类型"> label="处理类型"
<el-option v-for="item in codes.seahndtyp1" :key="item.value" :label="item.label" prop="seahndtyp"
:value="item.value"></el-option> 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> </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="seagtyp" style="width: 100%"> <el-form-item
<c-select v-model="model.seagtyp" style="width: 100%" placeholder="请选择保函文本类型" :code="codes.typgar2"> label="保函文本类型"
prop="seagtyp"
style="width: 100%"
>
<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"> <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"
style="width: 100%"
>
<c-select
v-model="model.infcon.segtyp"
style="width: 100%"
placeholder="请选择特殊保函类型"
:code="codes.segtyp"
>
</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="fromflg" style="width: 100%"> <el-form-item
<c-select v-model="model.fromflg" style="width: 100%" placeholder="请选择电子渠道类型"> label="电子渠道类型"
<el-option v-for="item in codes.fromflg" :key="item.value" :label="item.label" :value="item.value"> prop="fromflg"
style="width: 100%"
>
<c-select
v-model="model.fromflg"
style="width: 100%"
placeholder="请选择电子渠道类型"
>
<el-option
v-for="item in codes.fromflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </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="fenlishi"
:value="item.value"></el-option> 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> </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.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="" style="margin-left: 218px" prop="model.cmtflg"> <el-form-item
label=""
style="margin-left: 218px"
prop="model.cmtflg"
>
<c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox> <c-checkbox v-model="model.cmtflg">跨境人民币保函</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" style="margin-left: 218px" prop="model.fingua"> <el-form-item
label=""
style="margin-left: 218px"
prop="model.fingua"
>
<c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox> <c-checkbox v-model="model.fingua">融资性对外担保</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -197,16 +439,38 @@ ...@@ -197,16 +439,38 @@
</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="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
"> "
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" /> >
<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="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
"> "
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" /> >
<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,19 +292,19 @@ ...@@ -288,19 +292,19 @@
进口信用证开立 进口信用证开立
</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"
<c-col :span="11" style="text-align: center"><span>操作</span></c-col> ><span>操作</span></c-col
>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 --> <!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
...@@ -324,7 +328,10 @@ ...@@ -324,7 +328,10 @@
@click="closeTrn('popover_' + scope.row.IDX)" @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 <c-button
...@@ -350,7 +357,9 @@ ...@@ -350,7 +357,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>
...@@ -366,7 +375,8 @@ ...@@ -366,7 +375,8 @@
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>
...@@ -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,
...@@ -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,8 +527,6 @@ export default { ...@@ -524,8 +527,6 @@ export default {
toLitopn() { toLitopn() {
this.$router.history.push("/business/litopn"); this.$router.history.push("/business/litopn");
}, },
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -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"
...@@ -81,26 +89,59 @@ ...@@ -81,26 +89,59 @@
</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="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option <el-option
v-for="item in codes.searol1" v-for="item in codes.searol1"
:key="item.value" :key="item.value"
...@@ -113,8 +154,18 @@ ...@@ -113,8 +154,18 @@
</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>
...@@ -189,12 +240,18 @@ ...@@ -189,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> -->
...@@ -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>
...@@ -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);
}, },
......
...@@ -271,11 +271,10 @@ ...@@ -271,11 +271,10 @@
</c-col> </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>
...@@ -317,7 +316,7 @@ ...@@ -317,7 +316,7 @@
>进口融资开立</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"
...@@ -326,7 +325,9 @@ ...@@ -326,7 +325,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
>
<!-- <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> -->
...@@ -352,7 +353,10 @@ ...@@ -352,7 +353,10 @@
@click="closeTrn('popover_' + scope.row.IDX)" @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 <c-button
...@@ -378,7 +382,9 @@ ...@@ -378,7 +382,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>
...@@ -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