Commit d3b5061b by wangna

infgcd修改

parent 359d1758
...@@ -255,78 +255,106 @@ ...@@ -255,78 +255,106 @@
</c-list-search> </c-list-search>
<el-row> <el-row>
<c-col :span="24" style="text-align: right; height: 100px"> <c-col :span="24" style="text-align: right; height: 100px">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<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: left"> <c-col :span="11" style="text-align: left">
<span>操作</span> <span>操作</span>
</c-col> </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 <el-popover
placement="top-start" placement="top-start"
title="历史信息" title="历史信息"
width="800" width="800"
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX" :ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
> >
<span <div
class="el-icon-close" style="
@click="closeTrn('popover_' + scope.row.IDX)" text-align: right;
/> margin-top: -30px;
</div> margin-right: 5px;
<c-istream-table :list="trnData.data" :columns="trnData.columns"> font-size: 16px;
<el-table-column prop="op" label="操作" width="0"> "
<template slot-scope="scope"> >
<c-button <span
style="margin-left: 0" class="el-icon-close"
size="small" @click="closeTrn('popover_' + scope.row.IDX)"
@click="display(scope.row['INR'])" />
>详情</c-button </div>
> <c-istream-table
</template> :list="trnData.data"
</el-table-column> :columns="trnData.columns"
</c-istream-table> >
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
>
</el-popover>
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
@click="getTrnInfo(scope.$index, scope.row)" type="primary"
slot="reference" @click="getButtons(scope.row['Reference'])"
>详情</c-button >
处理</c-button
> >
</el-popover> </template>
<!-- <c-button </el-table-column>
style="margin-left: 0" </c-istream-table>
size="small" </c-col>
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
</el-row> </el-row>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gcdgrp"
:model="getselModel"
tabIndex="3"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<!-- <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <!-- <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
</div> </div>
</el-dialog> --> </el-dialog> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Own Reference" prop="infcon.seaownref"> <el-form-item label="Own Reference" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input> <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input>
...@@ -491,15 +519,22 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -491,15 +519,22 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infgcd/Event"; import Event from "~/model/Infgcd/Event";
import GitselModel from "~/model/Gitsel";
import GetselModel from "~/model/Getsel";
import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
ownref: "", gitselModel: new GitselModel().data,
initdialog: false, getselModel: new GetselModel().data,
ownref: "",
dialogTableVisible: false, dialogTableVisible: false,
dialogFlag: true,
trnData: { trnData: {
columns: [ columns: [
'0 1 "Trn ID" 100', '0 1 "Trn ID" 100',
...@@ -515,7 +550,7 @@ export default { ...@@ -515,7 +550,7 @@ export default {
stmData: { stmData: {
columns: [ columns: [
'1 1 "Reference" 150', '1 1 "Reference" 150',
'2 2 "Resp. User" 150', '2 2 "Resp. User" 150',
'5 3 "Party Number" 150', '5 3 "Party Number" 150',
'6 4 "Applicant" 150', '6 4 "Applicant" 150',
'7 5 "Party Number" 150', '7 5 "Party Number" 150',
...@@ -523,28 +558,32 @@ export default { ...@@ -523,28 +558,32 @@ export default {
'3 7 "Opened" 150', '3 7 "Opened" 150',
'4 8 "Closed" 150', '4 8 "Closed" 150',
'9 9 "Cur" 150', '9 9 "Cur" 150',
'11 10 "Cur" 150', '10 10 "Orig.Amount" 150',
'10 11 "Orig.Amount" 150', '11 11 "Cur" 150',
'12 12 "Open Amount" 150', '12 12 "Open Amount" 150',
], ],
data: [], data: [],
}, },
}; };
}, },
methods: { methods: {
...Event, ...Event,
// async getButtons(ownref) { async getButtons(ownref) {
// this.initdialog = true; this.ownref = ownref;
// this.ownref = ownref; this.$refs.childs.initdialog = true;
// console.log("ownref:" + ownref); this.dialogFlag = ownref.startsWith("LG");
// setTimeout(() => { console.log("dialogFlag:" + this.dialogFlag);
// this.$refs.childs.$emit("childmethods") console.log("ownref:" + ownref);
// }, 10) },
// },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code); this.$router.history.push("/business/" + code);
this.initdialog = false; this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
...@@ -562,14 +601,17 @@ export default { ...@@ -562,14 +601,17 @@ export default {
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
handleReset: function () { // handleReset: function () {
this.model = { // this.model = {
instNo: "", // instNo: "",
instName: "", // instName: "",
}; // };
}, // },
}, },
created: function () {}, created: function () {},
watch: {
"model.gidgrp.rec.ownref": function () {},
},
}; };
</script> </script>
<style> <style>
......
...@@ -144,6 +144,7 @@ export default { ...@@ -144,6 +144,7 @@ export default {
//进口保函 //进口保函
{ inifrm: "13", ininam: "进口保函", pntmiu: "" }, { inifrm: "13", ininam: "进口保函", pntmiu: "" },
{ inifrm: "infgid", ininam: "进口保函入口交易", pntmiu: "13" }, { inifrm: "infgid", ininam: "进口保函入口交易", pntmiu: "13" },
{ inifrm: "infgcd", ininam: "保函赔付查询", pntmiu: "13" },
// { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" }, // { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" }, // { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" }, // { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
......
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