Commit 6f8c3e51 by lianyang

letamc交易页面修改及事件完善

parent 281765b5
......@@ -16,7 +16,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -30,7 +30,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -86,13 +86,13 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.cnf.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{type: "string", required: false, message: "必输项",trigger:"blur"},
{max: 18,message:"整数位不能超过14位",trigger:"blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
{type: "string", required: false, message: "必输项",trigger:"blur"},
{max: 6,message:"长度不能超过6",trigger:"blur"}
],
"reqdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -148,13 +148,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -164,13 +157,13 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
// "ledgrp.rec.nomtop":[
// {type: "number", required: false, message: "必输项"},
// {max: 2,message:"长度不能超过2"}
// ],
"ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "number", required: false, message: "必输项"},
{type: "number",max: 99,message:"长度不能超过99"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -181,7 +174,7 @@ export default {
"ledgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -472,13 +465,13 @@ export default {
"ledgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -31,6 +31,7 @@ import Brtset from "./Brtset"
import Letdrv from "./Letdrv"
import Letsel from "./Letsel"
import Letopn from "./Letopn"
import Letamc from "./Letamc"
import Letame from "./Letame"
import Letrsv from './Letrsv'
import Infled from './Infled'
......@@ -242,6 +243,7 @@ const BusRouter = [
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
{ path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证查询' } },
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letamc', component: Letamc, name: 'Letamc', meta: { title: '出口信用证保兑' } },
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
{ path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } },
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="35" show-word-limit
placeholder="请输入Covered"></c-input>
</el-form-item>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<c-row>
<!-- =========================== 左边 ==========================-->
<c-col :span="11">
<!-- Reference -->
<!-- Reference -->
<c-col :span="24">
<el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- L/C Amount -->
<!-- L/C Amount -->
<c-col :span="12">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入Nominal Amount"
:code="codes.curtxt1" disabled></c-select>
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
maxlength="3"
placeholder="请输入Nominal Amount"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input v-model="model.ledgrp.cbs.nom1.amt" placeholder="请输入Nominal Amount" disabled></c-input>
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
class="m-input-currency"
placeholder="请输入Nominal Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
<c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled
>Add. Amount</c-checkbox
>
</c-col>
<!-- Open Amount -->
<!-- Open Amount -->
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"
:code="codes.curtxt1" disabled></c-select>
<c-select
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Open Amount"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入Balance" disabled></c-input>
<c-input
v-model="model.ledgrp.cbs.opn1.amt"
class="m-input-currency"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.revflg" disabled>Revolving L/C</c-checkbox>
<c-checkbox v-model="model.ledgrp.rec.revflg" disabled
>Revolving L/C</c-checkbox
>
</c-col>
<!-- Available with -->
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入Available with" disabled></c-input>
<c-input
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入Available with"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- by -->
<!-- by -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]"
disabled>
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.redclsflg" disabled>Red/Green Clause</c-checkbox>
<c-checkbox v-model="model.ledgrp.rec.redclsflg" disabled
>Red/Green Clause</c-checkbox
>
</c-col>
</c-col>
<!-- Date Issued -->
<!-- Date Issued -->
<c-col :span="12">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Issued on"
disabled>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Issued on"
value-format="yyyy-MM-dd"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Shipment Date -->
<!-- Shipment Date -->
<c-col :span="12">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%"
placeholder="请选择Shipment Date" disabled>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Shipment Date"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Date/Place of Expiry -->
<!-- Date/Place of Expiry -->
<c-col :span="13">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Expiring on"
disabled>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Expiring on"
value-format="yyyy-MM-dd"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入in (Place)/ counters of"
disabled></c-input>
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入in (Place)/ counters of"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"
disabled>
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Condition -->
<!-- Condition -->
<c-col :span="24">
<el-form-item label="Condition" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirmation Instruct."
disabled>
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择Confirmation Instruct."
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation Status " prop="ledgrp.rec.cnfsta">
<c-select v-model="model.ledgrp.rec.cnfsta" style="width:100%" placeholder="请选择Confirmation Status "
disabled>
<c-select
v-model="model.ledgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择Confirmation Status "
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Confirmation" prop="ledgrp.cbs.cnf.cur">
<c-select v-model="model.ledgrp.cbs.cnf.cur" maxlength="3" placeholder="请输入Confirmation"
:code="codes.curtxt1" disabled></c-select>
<c-select
v-model="model.ledgrp.cbs.cnf.cur"
maxlength="3"
placeholder="请输入Confirmation"
:code="codes.curtxt1"
@keyup.enter.native="cnfCurEvent" style="width:100%"
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="ledgrp.cbs.cnf.amt">
<c-input v-model="model.ledgrp.cbs.cnf.amt" placeholder="请输入Balance"></c-input>
<c-input
v-model="model.ledgrp.cbs.cnf.amt"
class="m-input-currency"
placeholder="请输入Balance"
@keyup.enter.native="defaultFunction('ledgrp.cbs.cnf.amt', model.ledgrp.cbs.cnf.amt)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.partcon">
<c-fullbox>
<c-input v-model="model.ledgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input>
<c-input
v-model="model.ledgrp.rec.partcon"
placeholder="请输入Partial Confirmation"
@keyup.enter.native="defaultFunction('ledgrp.rec.partcon', model.ledgrp.rec.partcon)"
></c-input>
<!-- <span>%</span> -->
<template slot="footer">%</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Confir. Requested on" prop="reqdat">
<c-date-picker type="date" v-model="model.reqdat" style="width:100%" placeholder="请选择Confir. Requested on">
<c-date-picker
type="date"
v-model="model.reqdat"
style="width: 100%"
placeholder="请选择Confir. Requested on"
value-format="yyyy-MM-dd"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmed on" prop="ledgrp.rec.cnfdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.cnfdat" style="width:100%" placeholder="请选择Confirmed on">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.cnfdat"
style="width: 100%"
placeholder="请选择Confirmed on"
value-format="yyyy-MM-dd"
>
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- =========================== 右边 ==========================-->
<c-col :span="11" :offset="1">
<c-col :span="12">
<el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd">
<c-input v-model="model.letp.letp0.recget.sdamod.dadsnd" placeholder="请输入Reference" disabled></c-input>
<c-input
v-model="model.letp.letp0.recget.sdamod.dadsnd"
placeholder="请输入Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name" disabled></c-input>
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- Applicant Ref. -->
<c-col :span="24">
<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." disabled></c-input>
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant Ref."
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
<c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<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." disabled>
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuer Ref."
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
<c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref." disabled></c-input>
<c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary Ref."
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Date/Place of Expiry" disabled></c-input>
<c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Date/Place of Expiry"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="letp.letp0.cnftxt">
<c-input v-model="model.letp.letp0.cnftxt" maxlength="40" placeholder="请输入Form of L/C" disabled></c-input>
<c-input
v-model="model.letp.letp0.cnftxt"
maxlength="40"
placeholder="请输入Form of L/C"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letamc/Event"
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letamc/Event'
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
}
return {}
},
methods: { ...Event },
created: function () {
}
methods: {
...Event,
cnfCurEvent() {
this.executeDefault("didgrp.cbs.cnf.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
}
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<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="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></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="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></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="Responsible User" prop="letp.usr.extkey">
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入Responsible User"></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">
<c-checkbox v-model="model.ledgrp.rec.collflg">Collateralized L/C</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.ben.pts.extkey">
<c-input v-model="model.ledgrp.ben.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.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="名称" prop="ledgrp.ben.namelc">
<c-input type="textarea" v-model="model.ledgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Nominal Amount" 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 :span="12">
<c-checkbox v-model="addamtflg">Add. Amount</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.ben.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.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="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" placeholder="请输入Amount Tolerance +/-"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Tolerance - Negative" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</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.inctrf">Incoming Transfer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select>
</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="Maximum Amount" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width:100%" placeholder="请选择Maximum Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.amt">
<c-input v-model="model.ledgrp.cbs.max.amt" placeholder="请输入Maximum Amount"></c-input>
</el-form-item>
</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="Issued on" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Issued on">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date Pre-advised" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width:100%"
placeholder="请选择Date Pre-advised"></c-date-picker>
</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="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Released on" prop="ledgrp.rec.advdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.advdat" style="width:100%" placeholder="请选择Released on">
</c-date-picker>
</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="Expiring on" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Expiring on">
</c-date-picker>
</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="in (Place)/ counters of" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入in (Place)/ counters of"></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="Applicable Rules" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width:100%" placeholder="请选择Applicable Rules">
</c-select>
</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="Other Applicable Rules" prop="ledgrp.rec.apprultxt">
<c-input v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入Other Applicable Rules"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</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>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrss18">
<c-select v-model="model.ledgrp.rec.shptrss18" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
<c-row>
<!-- ====================================顶部================================= -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Reference" prop="ledgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" :disabled="true">
</c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-size: 15px; font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary"
:disabled="model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref ? false : true"
@click="onLetpButgetref">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input text-align="middle" v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ================================左边================================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C" :code="codes.lcrtyp">
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col :span="24">
<el-form-item label="responsible user" prop="letp.usr.extkey">
<c-fullbox>
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button style="margin-left:10px;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
@click="onExtkey"></c-button>
<c-checkbox :disabled="true" style="margin-left:5px;" v-model="model.ledgrp.rec.collflg">Collateralized L/C</c-checkbox>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- nominal amount -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 95%"
placeholder="请输入Nominal Amount" @keyup.enter.native="
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
" ></c-input-currency>
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入Nominal Amount"></c-input-currency> -->
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="addamtflg" style="margin-left:-1px;">Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
class="m-input-currency"></c-input>
</c-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%"
placeholder="请输入Amount Tolerance - Negative"
class="m-input-currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<!-- <c-checkbox v-model="model.ledgrp.preadvflg" style="margin-left:10px;">预先通知</c-checkbox> -->
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width: 97%" placeholder="请选择适用金额规范"
:code="codes.nomspc" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- Incoming Transfer -->
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" style="margin-left:-1px;" disabled>Incoming Transfer</c-checkbox>
</c-col>
</c-col>
<!-- Maximum Amount -->
<c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种" :code="codes.curtxt1"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"
class="m-input-currency"></c-input>
</el-form-item>
</c-col>
<!-- Issued on -->
<c-col :span="12">
<el-form-item label="Issued on" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width: 100%" value-format="yyyy-MM-dd"
placeholder="请选择开证日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Date Pre-advised" label-width="120px" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width: 100%" value-format="yyyy-MM-dd" placeholder="请选择日期" disabled>
</c-date-picker>
</el-form-item>
</c-col>
<!-- shipment date -->
<c-col :span="12">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width: 100%" placeholder="请选择装运日期" value-format="yyyy-MM-dd">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Released on" label-width="120px" prop="ledgrp.rec.advdat">
<c-date-picker disabled type="date" v-model="model.ledgrp.rec.advdat" style="width: 100%" placeholder="请选择通知日期" value-format="yyyy-MM-dd">
</c-date-picker>
</el-form-item>
</c-col>
<!-- expiring on -->
<c-col :span="24">
<el-form-item label="Expiring on" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width: 100%" value-format="yyyy-MM-dd"
placeholder="请选择到期日">
</c-date-picker>
</el-form-item>
</c-col>
<!-- in (place)/counters of -->
<c-col :span="24">
<el-form-item label="in (Place)/ counters of" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="有效地点"></c-input>
</el-form-item>
</c-col>
<!-- Confirmation Instruct.Received -->
<c-col :span="24">
<el-form-item label="Confirmation Instruct" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width: 100%" placeholder="请选择确认接收指示"
:code="codes.cnfflg1">
</c-select>
</el-form-item>
</c-col>
<!-- Applicable rules -->
<c-col :span="24">
<el-form-item label="Applicable Rules" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width: 100%" placeholder="请选择适用规则"
:code="codes.apprul">
</c-select>
</el-form-item>
</c-col>
<!-- Other Applicable rules -->
<c-col :span="24">
<el-form-item label="Other Applicable Rules" prop="ledgrp.rec.apprultxt">
<c-input disabled v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入其他规则"></c-input>
</el-form-item>
</c-col>
<!-- Partial shipment -->
<c-col :span="24">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width: 100%" placeholder="请选择分批装运"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
<!-- Transshipment -->
<c-col :span="24">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <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="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></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="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col> -->
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Beneficiary Ref',
grp: 'ledgrp',
rol: 'ben',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet"
disabledRef
disabledExtkey>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Issuer Ref',
grp: 'ledgrp',
rol: 'iss',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onIsspDet"
disabledRef
disabledExtkey>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Applicant Ref.',
grp: 'ledgrp',
rol: 'apl',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onAplpDet"
disabledRef
disabledExtkey>
</c-ptap>
</c-col>
<!-- Revolving Flag -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving L/C/</c-checkbox>
</c-col>
<!-- Authorization to Debit 借记授权书-->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<!-- Non-Bank Issuer 非银行发行人-->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
</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="Responsible User" prop="letp.usr.extkey">
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入Responsible User"></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">
<c-checkbox v-model="model.ledgrp.rec.collflg">Collateralized L/C</c-checkbox>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.ben.pts.extkey">
<c-input v-model="model.ledgrp.ben.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.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="名称" prop="ledgrp.ben.namelc">
<c-input type="textarea" v-model="model.ledgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称">
</c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Nominal Amount" 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 :span="12">
<c-checkbox v-model="addamtflg">Add. Amount</c-checkbox>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.ben.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.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="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" placeholder="请输入Amount Tolerance +/-"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Tolerance - Negative" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</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.inctrf">Incoming Transfer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select>
</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="Maximum Amount" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width:100%" placeholder="请选择Maximum Amount">
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.amt">
<c-input v-model="model.ledgrp.cbs.max.amt" placeholder="请输入Maximum Amount"></c-input>
</el-form-item>
</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="Issued on" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Issued on">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date Pre-advised" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width:100%"
placeholder="请选择Date Pre-advised"></c-date-picker>
</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="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Released on" prop="ledgrp.rec.advdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.advdat" style="width:100%" placeholder="请选择Released on">
</c-date-picker>
</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="Expiring on" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Expiring on">
</c-date-picker>
</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="in (Place)/ counters of" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入in (Place)/ counters of"></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="Applicable Rules" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width:100%" placeholder="请选择Applicable Rules">
</c-select>
</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="Other Applicable Rules" prop="ledgrp.rec.apprultxt">
<c-input v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入Other Applicable Rules"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</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>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrss18">
<c-select v-model="model.ledgrp.rec.shptrss18" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col> -->
</c-row>
</div>
</template>
<script>
......@@ -407,8 +666,11 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letamc/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......@@ -427,11 +689,28 @@ export default {
}
},
},
methods: { ...Event },
methods: { ...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {
}
}
</script>
<style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 150px;
}
</style>
<template>
<div class="eibs-tab">
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
......@@ -78,13 +79,15 @@
<c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"></c-input>
placeholder="请输入Amount Tolerance - Positive"
class="m-input-currency"></c-input>
</c-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"></c-input>
placeholder="请输入Amount Tolerance - Negative"
class="m-input-currency"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4">
......@@ -120,7 +123,8 @@
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"></c-input>
<c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"
class="m-input-currency"></c-input>
</el-form-item>
</c-col>
......@@ -282,6 +286,7 @@
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -308,7 +313,7 @@ export default {
}
});
},
onSeainf() { }, onExtkey() { }, onDetpButgetref() { }, onBenpDet() { }, onIsspDet() { }, onAplpDet() { } },
},
created: function () { },
};
</script>
......
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