Commit 334bfc7e by zhengxiaokui

letopn

parent 33768ffc
<template> <template>
<div class="eibs-tab">
<c-row> <c-row>
<c-col :span="9"> <c-col :span="24">
<c-col :span="8">
<el-form-item label="业务编号" prop="ledgrp.rec.ownref"> <el-form-item label="业务编号" prop="ledgrp.rec.ownref">
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
...@@ -18,14 +18,16 @@ ...@@ -18,14 +18,16 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
:disabled="model.ledgrp.ben.pts.adrblk ? false : true" :disabled="
model.ledgrp.ben.pts.adrblk && !ledgrp.rec.ownref ? false : true
"
@click="onLetpButgetref" @click="onLetpButgetref"
> >
获取 获取
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="概要" prop="ledgrp.rec.nam"> <el-form-item label="概要" prop="ledgrp.rec.nam">
<c-input <c-input
v-model="model.ledgrp.rec.nam" v-model="model.ledgrp.rec.nam"
...@@ -34,10 +36,10 @@ ...@@ -34,10 +36,10 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-col>
<c-row> <c-col :span="24">
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="转让标志" prop="ledgrp.rec.lcrtyp"> <el-form-item label="转让标志" prop="ledgrp.rec.lcrtyp">
<c-select <c-select
...@@ -61,10 +63,32 @@ ...@@ -61,10 +63,32 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg">抵押信用证</c-checkbox> <c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg"
>抵押信用证</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
></c-input-currency>
</el-form-item>
</c-col> </c-col>
<c-amtpanl <!-- <c-amtpanl
:model="model" :model="model"
:span="20" :span="20"
:message="{ :message="{
...@@ -72,7 +96,7 @@ ...@@ -72,7 +96,7 @@
cur: 'ledgrp.cbs.nom1.cur', cur: 'ledgrp.cbs.nom1.cur',
amt: 'ledgrp.cbs.nom1.amt', amt: 'ledgrp.cbs.nom1.amt',
}" }"
></c-amtpanl> ></c-amtpanl> -->
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" <c-checkbox v-model="model.letp.aamp.aammod.addamtflg"
>附加金额</c-checkbox >附加金额</c-checkbox
...@@ -91,7 +115,6 @@ ...@@ -91,7 +115,6 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton">
<c-input <c-input
class="clear-margin"
v-model="model.ledgrp.rec.nomton" v-model="model.ledgrp.rec.nomton"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
></c-input> ></c-input>
...@@ -101,29 +124,9 @@ ...@@ -101,29 +124,9 @@
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.ledgrp.rec.inctrf">传入传输</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.inctrf">传入传输</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12">
<el-form-item label="开证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
>
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Nominal Amount"
></c-input>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="12">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -137,10 +140,10 @@ ...@@ -137,10 +140,10 @@
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-row> </c-col>
<c-row> <c-col :span="24">
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc"> <el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select <c-select
...@@ -224,7 +227,7 @@ ...@@ -224,7 +227,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -238,10 +241,10 @@ ...@@ -238,10 +241,10 @@
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-row> </c-col>
<c-row> <c-col :span="24">
<c-col :span="12"> <c-col :span="11">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="到期日" prop="ledgrp.rec.expdat"> <el-form-item label="到期日" prop="ledgrp.rec.expdat">
<c-date-picker <c-date-picker
...@@ -287,7 +290,7 @@ ...@@ -287,7 +290,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -301,10 +304,10 @@ ...@@ -301,10 +304,10 @@
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-row> </c-col>
<c-row> <c-col :span="24">
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt"> <el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input <c-input
...@@ -336,7 +339,7 @@ ...@@ -336,7 +339,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24" class="centerLable marginLable"> <c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg" <c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</c-checkbox >Revolving Flag</c-checkbox
...@@ -360,322 +363,8 @@ ...@@ -360,322 +363,8 @@
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
</c-row>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.recget.sdamod.dadsnd">
<c-input
v-model="model.letp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.recget.sdamod.seainf">
<c-input
v-model="model.letp.recget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.benp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.benp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.usrget.sdamod.seainf">
<c-input
v-model="model.letp.usrget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="12">
<el-form-item label="" prop="letp.benp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.benp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.ben.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.ben.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.preadvflg"
>PreAdvice or Notification</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.ben.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.ben.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item
label="Issuer Ref."
prop="ledgrp.iss.pts.ref"
>
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuer Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.issp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.issp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.iss.pts.extkey"
>
<c-input
v-model="model.ledgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.issp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.issp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.iss.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.iss.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.iss.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.iss.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.iss.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant Ref." prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.aplp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.aplp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.apl.pts.extkey"
>
<c-input
v-model="model.ledgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.aplp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.aplp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.apl.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.letp.oppbnkl" data-path=".letp.oppbnkl"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="境内外对手行代码" prop="ledgrp.rec.oppbnk">
<c-input
v-model="model.ledgrp.rec.oppbnk"
maxlength="12"
placeholder="请输入境内外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.apl.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.apl.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.apl.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.apl.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppars18">
<c-select
v-model="model.ledgrp.rec.shppars18"
style="width: 100%"
placeholder="请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col> -->
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -683,10 +372,10 @@ import CommonProcess from "~/mixin/CommonProcess"; ...@@ -683,10 +372,10 @@ import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event"; import Event from "~/model/Letopn/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Amtpanl from "~/views/Public/Amtpanl"; // import Amtpanl from "~/views/Public/Amtpanl";
export default { export default {
components: { "c-ptap": Ptap, "c-amtpanl": Amtpanl }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
...@@ -704,11 +393,6 @@ export default { ...@@ -704,11 +393,6 @@ export default {
line-height: 32px; line-height: 32px;
} }
.marginLable { .marginLable {
margin-left: 200px; padding-left: 150px;
}
.clear-margin {
margin-left: 0px !important;
width: 60% !important;
} }
</style> </style>
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="150px"
label-position="left"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="16">
<el-form-item <el-form-item
:label="`${argadr.title}编号`" :label="`${argadr.title}编号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="8">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button <c-button
size="small" size="small"
......
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