Commit e050fc44 by Wuyuqiu

交易Bug修改,lttdck交易页面布局

parent b9c61edd
...@@ -21,24 +21,28 @@ export default { ...@@ -21,24 +21,28 @@ export default {
} }
},*/ },*/
async handleReset() { // async handleReset() {
this.model.infcon.seaownref = ""; // this.model.infcon.seaownref = "";
this.model.infcon.searef = ""; // this.model.infcon.searef = "";
this.model.infcon.pty.extkey = ""; // this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = ""; // this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = ""; // this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = ""; // this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = ""; // this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = ""; // this.model.infcon.seaamtto = "";
this.model.infcon.seasta = ""; // this.model.infcon.seasta = "";
this.model.infcon.usr.extkey = ""; // this.model.infcon.usr.extkey = "";
this.model.infcon.nam = ""; // this.model.infcon.nam = "";
this.model.infcon.hndtyp = ""; // this.model.infcon.hndtyp = "";
this.model.infcon.pty.nam = ""; // this.model.infcon.pty.nam = "";
this.model.infcon.searol = ""; // this.model.infcon.searol = "";
this.model.infcon.seacur = ""; // this.model.infcon.seacur = "";
this.stmData.data = ""; // this.stmData.data = "";
// },
async handleReset(formName) {
this.$refs[formName].resetFields();
}, },
async handleSearch() { async handleSearch() {
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Lttdck{ export default class Lttdck {
constructor () { constructor() {
this.data = { this.data = {
ledgrp:{ ledgrp: {
rec:{ rec: {
ownref:"", // L/C Reference .ledgrp.rec.ownref ownref: "", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam nam: "", // Name .ledgrp.rec.nam
}, },
}, },
bttp:{ bttp: {
ledget:{ ledget: {
sdamod:{ sdamod: {
seainf:"", // .bttp.ledget.sdamod.seainf seainf: "", // .bttp.ledget.sdamod.seainf
}, },
}, },
ltdget:{ ltdget: {
sdamod:{ sdamod: {
seainf:"", // .bttp.ltdget.sdamod.seainf seainf: "", // .bttp.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
}, },
}, },
recget:{ recget: {
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
seainf:"", // .bttp.recget.sdamod.seainf seainf: "", // .bttp.recget.sdamod.seainf
}, },
}, },
aammod:{ aammod: {
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg addamtflg: "", // Add. Amount .bttp.aammod.addamtflg
}, },
prbp:{ prbp: {
ptsget:{ ptsget: {
sdamod:{ sdamod: {
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf seainf: "", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
},
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
},
futhndflg:"", // further handling .bttp.futhndflg
},
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
avbby:"", // Available by .ltdgrp.rec.avbby
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
utlnbr:"", // Number of Utilizations .ltdgrp.rec.utlnbr
docsubflg:"", // Documents to be Substituted .ltdgrp.rec.docsubflg
},
cbs:{
nom1:{
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
}, },
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
avbnam:"", // Available with .ltdgrp.avbnam
},
btdgrp:{
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
rec:{
ownref:"", // Document Set Ref. .btdgrp.rec.ownref
nam:"", // Description .btdgrp.rec.nam
doctypcod:"", // Document Type .btdgrp.rec.doctypcod
rcvdatbe2:"", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2
orddatbe2:"", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2
matdat:"", // Maturity Date .btdgrp.rec.matdat
shpdat:"", // Date of Shipment .btdgrp.rec.shpdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
docprbrol:"", // Presented by .btdgrp.rec.docprbrol
docsta:"", // Document Set Status .btdgrp.rec.docsta
},
cbs:{
max:{
cur:"", // Document Amount .btdgrp.cbs.max.cur
amt:"", // Document Amount .btdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .btdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .btdgrp.cbs.max2.amt
}, },
}, },
blk:{ docgrdmbe1: {
matper:"", // Maturity Period .btdgrp.blk.matper docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis docgrd: "",
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon },
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt docgrdmbe2: {
docdis:"", // Discrepancies .btdgrp.blk.docdis docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg docgrd: "",
}, },
}, futhndflg: "", // further handling .bttp.futhndflg
liaall:{ },
misamt:"", // Amount not yet assigned .liaall.misamt ltdgrp: {
concur:"", // External Booking Amount .liaall.concur rec: {
outpct:"", // Sight Amount Percentage .liaall.outpct ownref: "", // Transfer Reference .ltdgrp.rec.ownref
outamt:"", // Sight Amount .liaall.outamt nam: "", // Name .ltdgrp.rec.nam
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt avbby: "", // Available by .ltdgrp.rec.avbby
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
}, lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
setmod:{ expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
docamttyplab:"", // settled amount description as label .setmod.docamttyplab expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
ref:"", // our reference .setmod.ref utlnbr: "", // Number of Utilizations .ltdgrp.rec.utlnbr
doccur:"", // document currency .setmod.doccur docsubflg: "", // Documents to be Substituted .ltdgrp.rec.docsubflg
docamt:"", // document amount .setmod.docamt },
dspflg:"", // Type of settlement .setmod.dspflg cbs: {
xreflg:"", // Recalculate Rates .setmod.xreflg nom1: {
setglg:{ cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg amt: "", // Balance .ltdgrp.cbs.nom1.amt
}, },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab opn1: {
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
}, amt: "", // Balance .ltdgrp.cbs.opn1.amt
mtabut:{ },
coninf:{ },
oitinf:{ avbnam: "", // Available with .ltdgrp.avbnam
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt },
oit:{ btdgrp: {
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt be1: {
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev pts: new Pts().data,
}, },
}, be2: {
oitset:{ pts: new Pts().data,
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt },
oit:{ prb: {
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt pts: new Pts().data,
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev namelc: "", // 名称 .btdgrp.prb.namelc
}, adrelc: "", // 地址 .btdgrp.prb.adrelc
}, dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
conexedat:"", // 执行日期 .mtabut.coninf.conexedat },
usr:{ rec: {
extkey:"", // User ID .mtabut.coninf.usr.extkey ownref: "", // Document Set Ref. .btdgrp.rec.ownref
}, nam: "", // Description .btdgrp.rec.nam
}, doctypcod: "", // Document Type .btdgrp.rec.doctypcod
}, rcvdatbe2: "", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2
trnmod:{ orddatbe2: "", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2
trndoc:{ matdat: "", // Maturity Date .btdgrp.rec.matdat
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel shpdat: "", // Date of Shipment .btdgrp.rec.shpdat
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc docprbrol: "", // Presented by .btdgrp.rec.docprbrol
advnam:"", // 国内证落款 .trnmod.trndoc.advnam docsta: "", // Document Set Status .btdgrp.rec.docsta
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl },
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl cbs: {
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm max: {
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc cur: "", // Document Amount .btdgrp.cbs.max.cur
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout amt: "", // Document Amount .btdgrp.cbs.max.amt
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm },
rcvatt:{ opn2: {
seainf:"", // .trnmod.trndoc.rcvatt.seainf cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
}, },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv max2: {
}, amt: "", // 附加金额 .btdgrp.cbs.max2.amt
}, },
pageId: "" // ctx的key },
blk: {
matper: "", // Maturity Period .btdgrp.blk.matper
intdis: "", // Internal Discrepancies .btdgrp.blk.intdis
comcon: "", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis: "", // Discrepancies .btdgrp.blk.docdis
docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg
},
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
} }
} }
} }
\ No newline at end of file
<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 <el-form
class="m-table-search-form" class="m-table-search-form"
...@@ -15,26 +18,57 @@ ...@@ -15,26 +18,57 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" style="width: 100%"></c-input> label="Own Reference"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> <el-form-item
label="Opening between"
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> <c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择"
></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> <c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择"
></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="Name" prop="infcon.nam" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input> label="Name"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -44,61 +78,142 @@ ...@@ -44,61 +78,142 @@
<c-row v-show="searchSlot.searchToggle"> <c-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="Party Reference" prop="infcon.searef" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" style="width: 100%"></c-input> label="Party Reference"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Party Name" prop="infcon.pty.nam" style="width: 100%"> <el-form-item
<c-input disabled v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" style="width: 100%"></c-input> label="Party Name"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
disabled
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Sel Single Party" prop="infcon.pty.extkey" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party"></c-input> label="Sel Single Party"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> label="Party Name/BIC"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/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="Resp.User" prop="infcon.usr.extkey" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> label="Resp.User"
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
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="Role" prop="infcon.searol" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role" :code="codes.rolall"></c-select> label="Role"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="codes.rolall"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status" :code="codes.seasta"></c-select> label="Status"
prop="infcon.seasta"
style="width: 100%"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency" :code="codes.cur"></c-select> label="Currency"
prop="infcon.seacur"
style="width: 100%"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.curtxt1"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%"> <el-form-item
label="Amount between"
prop="infcon.seaamtfr"
style="width: 100%"
>
<c-col :span="11"> <c-col :span="11">
<c-input-currency v-model="model.infcon.seaamtfr" placeholder="请输入Amount"></c-input-currency> <c-input-currency
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount"
></c-input-currency>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-input-currency v-model="model.infcon.seaamtto" placeholder="请输入Amount"></c-input-currency> <c-input-currency
v-model="model.infcon.seaamtto"
placeholder="请输入Amount"
></c-input-currency>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -106,18 +221,37 @@ ...@@ -106,18 +221,37 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Document Type" prop="seadoctypcod" style="width: 100%"> <el-form-item
<c-select v-model="model.seadoctypcod" style="width:100%" placeholder="请选择Document Type" :code="codes.seadoctypcod"></c-select> label="Document Type"
prop="seadoctypcod"
style="width: 100%"
>
<c-select
v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.docflg"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Invoice No." prop="infcon.invnum" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.invnum" maxlength="16" placeholder="请输入Invoice No."></c-input> label="Invoice No."
prop="infcon.invnum"
style="width: 100%"
>
<c-input
v-model="model.infcon.invnum"
maxlength="16"
placeholder="请输入Invoice No."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" :offset="2"> <c-col :span="8">
<el-form-item label="" prop="infcon.forflg" label-width="20px"> <el-form-item label="" prop="infcon.forflg" label-width="20px" style="margin-left:110px;">
<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>
...@@ -145,7 +279,6 @@ ...@@ -145,7 +279,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-list-search> </c-list-search>
<!-- <c-row style="margin-top:20px; padding: 0 10px 0 10px;"> <!-- <c-row style="margin-top:20px; padding: 0 10px 0 10px;">
...@@ -159,18 +292,16 @@ ...@@ -159,18 +292,16 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column <el-table-column fixed="right" prop="op" label="操作" width="150px">
fixed="right"
prop="op"
label="操作"
width="150px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <c-col :span="11" style="text-align: left"
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> ><span>操作</span></c-col
>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <c-button <!-- <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
...@@ -184,8 +315,18 @@ ...@@ -184,8 +315,18 @@
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;"> <div
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/> style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div> </div>
<c-istream-table <c-istream-table
:list="trnData.data" :list="trnData.data"
...@@ -237,61 +378,96 @@ ...@@ -237,61 +378,96 @@
</c-col> </c-col>
</el-row> </el-row>
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="bedgrp" tabIndex=3 :model="letselModel" @onChoose="onChoose" >11</m-busbtn> <m-busbtn
ref="childs"
:ownref="ownref"
trnCode="letsel"
ownrefPath="bedgrp"
tabIndex="3"
:model="letselModel"
@onChoose="onChoose"
>11</m-busbtn
>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" 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/Infbed/Event" import Event from "~/model/Infbed/Event";
import LetselModel from "~/model/Letsel" import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components:{'m-busbtn':BusNavbar}, components: { "m-busbtn": BusNavbar },
data(){ data() {
return { return {
letselModel: new LetselModel().data, letselModel: new LetselModel().data,
ownref:"", ownref: "",
trnData: { trnData: {
columns: [ columns: [
'1 1 "编号" 200', // '0 7 "Trn ID" 80',
'2 2 "交易名称" 100', // '1 1 "Transaction Name" 250',
'3 3 "日期" 200', // '2 2 "Entry" 100 4 7',
'4 4 "状态" 50', // // '3 3 \"Status\" 80 1 0 1 RELSTA',
'5 5 "币种" 80', // {
'6 6 "金额" 80', // index: 3,
// position: 3,
// width: 80,
// pattern: "code",
// label: "Status",
// code: this.codes.relstaEN,
// },
// '4 4 "Cur." 50',
// '5 5 "Relevant Amount" 150 2 8 1 4',
// '6 6 "Signed" 80',
'0 8 "Trn ID" 100',
'1 1 "Reference" 150',
'2 2 "Transaction Name" 195',
'3 3 "Entry" 80 4 7',
// '4 4 "Status" 65 1 0 1 RELSTA',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "Status",
code: this.codes.relstaEN,
},
'5 5 "Cur." 80',
'6 6 "Relevant Amount" 150 2 8 1 5',
'7 7 "Signed" 100',
], ],
data: [], data: [],
}, },
stmData: { stmData: {
columns: [ columns: [
'1 14 \"转卖日期\" 133 4 7', '1 14 "转卖日期" 150',
'2 1 \"Reference\" 100', '2 1 "Reference" 150',
'3 2 \"Resp. User\" 100', '3 2 "Resp. User" 150',
'4 3 \"Invoice No.\" 100', '4 3 "Invoice No." 150',
'5 15 \"Opened\" 500 4 7', '5 15 "Opened" 150',
'6 16 \"Closed\" 500 4 7', '6 16 "Closed" 150',
'7 4 \"Party Number\" 133', '7 4 "Applicant Party Number" 200',
'8 5 \"Applicant\" 133', '8 5 "Applicant" 150',
'9 6 \"PTA NO.\" 410', '9 6 "PTA NO." 150',
'10 7 \"Party Number\" 133', '10 7 "Beneficiary Party Number" 200',
'11 8 \"Beneficiary\" 133', '11 8 "Beneficiary" 150',
'12 9 \"Beneficiary CN\" 133', '12 9 "Beneficiary CN" 150',
'13 10 \"Party Number\" 133', '13 10 "Issuing Party Number" 200',
'14 11 \"Issuing Bank\" 133', '14 11 "Issuing Bank" 150',
'15 12 \"Party Number\" 133', '15 12 "Party Number" 150',
'16 13 \"Purchasing bank\" 133', '16 13 "Purchasing bank" 150',
'17 17 \"Cur\" 410', '17 17 "Cur" 150',
'18 19 \"Doc.Amount\" 508 2 8 1 17', '18 19 "Doc.Amount" 150',
'19 18 \"Cur\" 410', '19 18 "Cur" 150',
'20 20 \"Open Amount\" 508 2 8 1 19', '20 20 "Open Amount" 150',
// '1 1 "Reference" 100', // '1 1 "Reference" 100',
// '2 1 "Resp. User" 100', // '2 1 "Resp. User" 100',
...@@ -339,27 +515,27 @@ export default { ...@@ -339,27 +515,27 @@ export default {
}, },
}; };
}, },
methods:{...Event, methods: {
async getButtons(ownref){ ...Event,
this.ownref = ownref async getButtons(ownref) {
this.$refs.childs.initdialog = true this.ownref = ownref;
console.log("ownref:" +ownref); this.$refs.childs.initdialog = true;
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.initdialog = false this.initdialog = false;
}, },
closeTrn(refId){ closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
this.model.ledgrp.rec.inr = row["INR"]; this.model.ledgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X"; this.model.infcon.chksubcon = "X";
...@@ -376,5 +552,4 @@ export default { ...@@ -376,5 +552,4 @@ export default {
}; };
</script> </script>
<style> <style>
</style> </style>
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab">
<!-- <el-tab-pane label="选择" name="infsea"> --> <el-tab-pane label="出口信用证单据查询" name="infsea">
<!-- <c-content> --> <c-content>
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
<!-- </c-content> --> </c-content>
<!-- </el-tab-pane> --> </el-tab-pane>
<!-- <el-tab-pane label="内容" name="ovwp"> <!-- <el-tab-pane label="内容" name="ovwp">
<c-content> <c-content>
......
<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 <el-form
class="m-table-search-form" class="m-table-search-form"
...@@ -14,7 +17,7 @@ ...@@ -14,7 +17,7 @@
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="业务编号" label="Own Reference"
prop="infcon.seaownref" prop="infcon.seaownref"
style="width: 100%" style="width: 100%"
> >
...@@ -28,7 +31,7 @@ ...@@ -28,7 +31,7 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="开立日期" label="Opening Date"
prop="infcon.opndatfrom" prop="infcon.opndatfrom"
style="width: 100%" style="width: 100%"
> >
...@@ -56,11 +59,7 @@ ...@@ -56,11 +59,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="Name" prop="infcon.nam" style="width: 100%">
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"
...@@ -83,13 +82,21 @@ ...@@ -83,13 +82,21 @@
</c-col>--> </c-col>-->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<!--<c-col :span="12"> <c-col :span="8">
<el-form-item label="Party Reference" prop="infcon.searef" > <el-form-item
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input> label="Party Reference"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="复核状态" label="复核状态"
prop="infcon.relflg" prop="infcon.relflg"
...@@ -109,7 +116,7 @@ ...@@ -109,7 +116,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" > <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
...@@ -125,29 +132,62 @@ ...@@ -125,29 +132,62 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!--<c-col :span="12"> <c-col :span="8">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" > <el-form-item
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input> label="Select Single Party"
prop="infcon.pty.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="Party Name" prop="infcon.pty.nam" > <el-form-item
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input> label="Party Name"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" > <el-form-item
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> label="Party Name/BIC"
prop="infcon.seapty"
style="width: 100%"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" > <el-form-item
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"> label="Role"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
>
<el-option <el-option
v-for="item in codes.searol" v-for="item in codes.searol1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -155,7 +195,7 @@ ...@@ -155,7 +195,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" > <el-form-item label="Opening between" prop="infcon.opndatfrom" >
...@@ -169,15 +209,25 @@ ...@@ -169,15 +209,25 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!--<c-col :span="12"> <c-col :span="8">
<el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" > <el-form-item
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> label="Resp.User"
disabled
prop="infcon.usr.extkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="业务状态" label="Status"
prop="infcon.seasta" prop="infcon.seasta"
style="width: 100%" style="width: 100%"
> >
...@@ -199,7 +249,7 @@ ...@@ -199,7 +249,7 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="币种" label="Currency"
prop="infcon.seacur" prop="infcon.seacur"
style="width: 100%" style="width: 100%"
> >
...@@ -209,7 +259,7 @@ ...@@ -209,7 +259,7 @@
placeholder="请选择Currency" placeholder="请选择Currency"
> >
<el-option <el-option
v-for="item in codes.seacur" v-for="item in codes.curtxt1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -220,7 +270,7 @@ ...@@ -220,7 +270,7 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额" style="width: 100%"> <el-form-item label="Amount" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-input <c-input
v-model="model.infcon.seaamtfr" v-model="model.infcon.seaamtfr"
...@@ -241,7 +291,7 @@ ...@@ -241,7 +291,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="是否显示查询码" label="是否显示查询码"
prop="infcon.cxmflg" prop="infcon.cxmflg"
...@@ -261,9 +311,9 @@ ...@@ -261,9 +311,9 @@
</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 <el-form-item
label="确认状态" label="确认状态"
prop="seacnfdet" prop="seacnfdet"
...@@ -283,17 +333,17 @@ ...@@ -283,17 +333,17 @@
</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 <el-form-item
label="信用证类型" label="form of L/C"
prop="sealcrtyp" prop="sealcrtyp"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.sealcrtyp" v-model="model.sealcrtyp"
:code="codes.lcrtyp" :code="codes.lcrtyp1"
style="width: 100%" style="width: 100%"
placeholder="请选择form of L/C" placeholder="请选择form of L/C"
> >
...@@ -301,7 +351,7 @@ ...@@ -301,7 +351,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="货物种类" label="货物种类"
prop="seagodcod" prop="seagodcod"
...@@ -321,7 +371,7 @@ ...@@ -321,7 +371,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
...@@ -469,7 +519,13 @@ ...@@ -469,7 +519,13 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="ledgrp" :model="letselModel" @onChoose="onChoose" <m-busbtn
ref="childs"
:ownref="ownref"
trnCode="letsel"
ownrefPath="ledgrp"
:model="letselModel"
@onChoose="onChoose"
>11</m-busbtn >11</m-busbtn
> >
</div> </div>
...@@ -480,7 +536,7 @@ import Api from "~/service/Api"; ...@@ -480,7 +536,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/Infled/Event"; import Event from "~/model/Infled/Event";
import LetselModel from "~/model/Letsel" import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
...@@ -490,19 +546,27 @@ export default { ...@@ -490,19 +546,27 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
letselModel:new LetselModel().data, letselModel: new LetselModel().data,
curinr:"", curinr: "",
ownref: "", ownref: "",
dialogTableVisible: false, dialogTableVisible: false,
trnData: { trnData: {
columns: [ columns: [
'0 7 \"Trn ID\" 56', '0 7 "Trn ID" 100',
'1 1 \"Transaction Name\" 250', '1 1 "Transaction Name" 250',
'2 2 \"Entry\" 72 4 7', '2 2 "Entry" 100 4 7',
'3 3 \"Status\" 80 1 0 1 RELSTA', // '3 3 \"Status\" 80 1 0 1 RELSTA',
'4 4 \"Cur.\" 40', {
'5 5 \"Relevant Amount\" 120 2 8 1 4', index: 3,
'6 6 \"Signed\" 60', position: 3,
width: 100,
pattern: "code",
label: "Status",
code: this.codes.relstaEN,
},
'4 4 "Cur." 80',
'5 5 "Relevant Amount" 150 2 8 1 4',
'6 6 "Signed" 100',
// '1 1 "编号" 200', // '1 1 "编号" 200',
// '2 2 "交易名称" 120', // '2 2 "交易名称" 120',
...@@ -524,25 +588,46 @@ export default { ...@@ -524,25 +588,46 @@ export default {
}, },
stmData: { stmData: {
columns: [ columns: [
'1 1 \"Reference\" 105', '1 1 "Reference" 150',
'2 2 \"Resp. User\" 105', '2 2 "Resp. User" 150',
'3 3 \"Tenor day\" 105 0', '3 3 "Tenor day" 150',
'4 4 \"Party Number\" 500 4 7', '4 14 "Expired" 150',
'5 14 \"Expired\" 500 4 7', '5 13 "Opened" 150',
'6 15 \"Closed\" 500 4 7', '6 15 "Closed" 150',
'7 11 \"Issuing Bank\" 136', '7 12 "分行名称" 150',
'8 5 \"Applicant\" 410', '8 4 "Applicant Party Number" 200',
'9 6 \"PTA NO.\" 136', '9 5 "Applicant" 150',
'10 7 \"Party Number\" 100', '10 6 "PTA NO." 150',
'11 8 \"Beneficiary\" 410', '11 7 "Beneficiary Party Number" 200',
'12 9 \"Beneficiary CN\" 136', '12 8 "Beneficiary" 150',
'13 10 \"Party Number\" 136', '13 9 "Beneficiary CN" 150',
'14 12 \"分行名称\" 410', '14 10 "Issuing Party Number" 200',
'15 13 \"Opened\" 136', '15 11 "Issuing Bank" 150',
'16 16 \"cur\" 410', '16 16 "cur" 150',
'17 17 \"cur\" 508 2 8 1 16', '17 18 "L/C Amount" 150',
'18 18 \"L/C Amount\" 410', '18 17 "cur" 150',
'19 19 \"Open Amount\" 508 2 8 1 18', '19 19 "Open Amount" 150',
// '1 1 \"Reference\" 105',
// '2 2 \"Resp. User\" 105',
// '3 3 \"Tenor day\" 105 0',
// '7 4 \"Party Number\" 500 4 7',
// '5 14 \"Expired\" 500 4 7',
// '6 15 \"Closed\" 500 4 7',
// '14 11 \"Issuing Bank\" 136',
// '8 5 \"Applicant\" 410',
// '9 6 \"PTA NO.\" 136',
// '10 7 \"Party Number\" 100',
// '11 8 \"Beneficiary\" 410',
// '12 9 \"Beneficiary CN\" 136',
// '13 10 \"Party Number\" 136',
// '6 12 \"分行名称\" 410',
// '4 13 \"Opened\" 136',
// '15 16 \"cur\" 410',
// '17 17 \"cur\" 508 2 8 1 16',
// '16 18 \"L/C Amount\" 410',
// '18 19 \"Open Amount\" 508 2 8 1 18',
// '1 1 \"Reference\" 105', // '1 1 \"Reference\" 105',
// '2 2 \"Resp. User\" 105', // '2 2 \"Resp. User\" 105',
// '3 3 \"Tenor day\" 105 0', // '3 3 \"Tenor day\" 105 0',
...@@ -624,24 +709,23 @@ export default { ...@@ -624,24 +709,23 @@ export default {
methods: { methods: {
...Event, ...Event,
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref;
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true;
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
this.model.ledgrp.rec.inr = row["INR"]; this.model.ledgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X"; this.model.infcon.chksubcon = "X";
...@@ -653,21 +737,21 @@ async getButtons(ownref){ ...@@ -653,21 +737,21 @@ async getButtons(ownref){
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
closeTrn(refId){ closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
toLetnot(){ toLetnot() {
this.$router.history.push("/business/letnot") this.$router.history.push("/business/letnot");
}, },
toLetopn(){ toLetopn() {
this.$router.history.push("/business/letopn") this.$router.history.push("/business/letopn");
}, },
toLetdrw(){ toLetdrw() {
this.$router.history.push("/business/letdrw") this.$router.history.push("/business/letdrw");
}, },
toLetrsv(){ toLetrsv() {
this.$router.history.push("/business/letrsv") this.$router.history.push("/business/letrsv");
}, },
// handleReset: function () { // handleReset: function () {
...@@ -676,9 +760,6 @@ async getButtons(ownref){ ...@@ -676,9 +760,6 @@ async getButtons(ownref){
// instName: "", // instName: "",
// }; // };
// }, // },
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -156,75 +156,29 @@ ...@@ -156,75 +156,29 @@
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- <c-col :span="24"> <c-col :span="4">
<el-form-item label="Further Handling" prop="betp.folwupopt"> <el-form-item label="" style="text-align: left" prop="docdisflg">
<c-fullbox> <c-checkbox v-model="docdisflg" @change="defaultFunction()"
<c-select
v-model="model.betp.folwupopt"
style="width: 100%"
placeholder="Please select Further Handling"
disabled
@change="defaultFunction()"
>
<el-option
v-for="item in codes.folwupopt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
>Discrepancies modified</c-checkbox >Discrepancies modified</c-checkbox
> >
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select
v-model="model.btdgrp.rec.payrol"
style="width: 100%"
placeholder="Please select Payer"
@change="selectOrCheckboxRule('btdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> --> </c-col>
<!-- <c-col :span="24"> </c-col>
<c-ptap
<!-- next part -->
<c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', path: 'btdgrp.blk.prsdocbe1',
grp: 'btdgrp', grp: 'bttp',
rol: 'oth', code: 'docpre',
}" }"
:noRef="false"
:disabled="!(model.btdgrp.rec.payrol=='OTH')"
:isAdrblk="true"
:disabledRef="payrolFlag"
:disabledExtkey="payrolFlag"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-docpre>
</c-col> -->
</c-col>
<!-- next part -->
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
path: 'btdgrp.blk.prsdoc', path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp', grp: 'bttp',
code: 'docpre', code: 'docpre',
}" }"
......
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