Commit 334bfc7e by zhengxiaokui

letopn

parent 33768ffc
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="9">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="业务编号" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
......@@ -18,14 +18,16 @@
<c-button
size="small"
type="primary"
:disabled="model.ledgrp.ben.pts.adrblk ? false : true"
:disabled="
model.ledgrp.ben.pts.adrblk && !ledgrp.rec.ownref ? false : true
"
@click="onLetpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<el-form-item label="概要" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
......@@ -34,10 +36,10 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-row>
<c-col :span="12">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="转让标志" prop="ledgrp.rec.lcrtyp">
<c-select
......@@ -61,10 +63,32 @@
</el-form-item>
</c-col>
<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-amtpanl
<!-- <c-amtpanl
:model="model"
:span="20"
:message="{
......@@ -72,7 +96,7 @@
cur: 'ledgrp.cbs.nom1.cur',
amt: 'ledgrp.cbs.nom1.amt',
}"
></c-amtpanl>
></c-amtpanl> -->
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg"
>附加金额</c-checkbox
......@@ -91,7 +115,6 @@
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton">
<c-input
class="clear-margin"
v-model="model.ledgrp.rec.nomton"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
......@@ -101,29 +124,9 @@
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.ledgrp.rec.inctrf">传入传输</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="12">
<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-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
......@@ -137,10 +140,10 @@
>
</c-ptap>
</c-col>
</c-row>
</c-col>
<c-row>
<c-col :span="12">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select
......@@ -224,7 +227,7 @@
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
......@@ -238,10 +241,10 @@
>
</c-ptap>
</c-col>
</c-row>
</c-col>
<c-row>
<c-col :span="12">
<c-col :span="24">
<c-col :span="11">
<c-col :span="14">
<el-form-item label="到期日" prop="ledgrp.rec.expdat">
<c-date-picker
......@@ -287,7 +290,7 @@
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
......@@ -301,10 +304,10 @@
>
</c-ptap>
</c-col>
</c-row>
</c-col>
<c-row>
<c-col :span="12">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input
......@@ -336,7 +339,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</c-checkbox
......@@ -360,322 +363,8 @@
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
</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 :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>
</c-row>
</template>
<script>
import Api from "~/service/Api";
......@@ -683,10 +372,10 @@ import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
import Ptap from "~/views/Public/Ptap";
import Amtpanl from "~/views/Public/Amtpanl";
// import Amtpanl from "~/views/Public/Amtpanl";
export default {
components: { "c-ptap": Ptap, "c-amtpanl": Amtpanl },
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
......@@ -704,11 +393,6 @@ export default {
line-height: 32px;
}
.marginLable {
margin-left: 200px;
}
.clear-margin {
margin-left: 0px !important;
width: 60% !important;
padding-left: 150px;
}
</style>
......@@ -7,6 +7,7 @@
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
......
......@@ -12,7 +12,7 @@
</el-form-item>
</c-col>
<c-col :span="18">
<c-col :span="16">
<el-form-item
:label="`${argadr.title}编号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
......@@ -28,7 +28,7 @@
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
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