Commit 96dec359 by liyixun

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents d9c300e1 eea257a1
...@@ -287,7 +287,10 @@ ...@@ -287,7 +287,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
...@@ -307,26 +310,51 @@ ...@@ -307,26 +310,51 @@
>详情</c-button >详情</c-button
> >
</el-popover> </el-popover>
<!-- <c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="getButtons(scope.row['Reference'])" @click="getButtons(scope.row['Reference'])"
> >
处理</c-button> --> 处理</c-button
>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </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 {
gitselModel: new GitselModel().data,
getselModel: new GetselModel().data,
ownref: "", ownref: "",
initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
dialogFlag: true,
trnData: { trnData: {
columns: [ columns: [
'0 1 "Trn ID" 100', '0 1 "Trn ID" 100',
...@@ -523,8 +558,8 @@ export default { ...@@ -523,8 +558,8 @@ 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: [],
...@@ -533,18 +568,22 @@ export default { ...@@ -533,18 +568,22 @@ export default {
}, },
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