Commit e14f7f5c by zhengxiaokui

zxk

parent 02665cb3
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <c-col :span="11">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.rec.avbwth"> <el-form-item label="Available with" prop="ledgrp.rec.avbwth">
<c-select v-model="model.ledgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with"> <c-select
v-model="model.ledgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择Available with"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Mixed Payment Details" prop="ledgrp.blk.mixdet"> <c-ptap
<c-input type="textarea" v-model="model.ledgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input> :model="model"
</el-form-item> :argadr="{
</c-col> title: '指定银行',
grp: 'ledgrp',
<c-col :span="12"> rol: 'avb',
<el-form-item label="Drag Drop Sender" prop="letp.avbp.ptsget.sdamod.dadsnd"> }"
<c-input v-model="model.letp.avbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> :noRef="true"
</el-form-item> :onlySearch="true"
</c-col> @onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
<c-col :span="12"> >
<el-form-item label="External Key of Address" prop="ledgrp.avb.pts.extkey"> </c-ptap>
<c-input v-model="model.ledgrp.avb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> </c-col>
</el-form-item>
</c-col> <c-col :span="24">
<el-form-item label="名称地址" prop="ledgrp.blk.avbwthtxt">
<c-col :span="12"> <c-input
<el-form-item label="" prop="letp.avbp.ptsget.sdamod.seainf"> type="textarea"
<c-input v-model="model.letp.avbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> :rows="3"
</el-form-item> v-model="model.ledgrp.blk.avbwthtxt"
</c-col> maxlength="35"
show-word-limit
<c-col :span="12"> placeholder="请输入名称地址"
<c-button size="small" type="primary" @click="onAvbpDet"> ></c-input>
Details </el-form-item>
</c-button> </c-col>
</c-col> <!-- <c-col :span="12">
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.avb.namelc">
<c-input type="textarea" v-model="model.ledgrp.avb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available in" prop="ledgrp.blk.avbwthtxt">
<c-input type="textarea" v-model="model.ledgrp.blk.avbwthtxt" maxlength="35" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk"> <el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.avb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
</el-form-item> type="textarea"
</c-col> v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
<c-col :span="12"> show-word-limit
<el-form-item label="Chinese address" prop="ledgrp.avb.dbfadrblkcn"> placeholder="请输入Address Block"
<c-input type="textarea" v-model="model.ledgrp.avb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-form-item label="地址" prop="ledgrp.avb.adrelc">
<c-input type="textarea" v-model="model.ledgrp.avb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Period" prop="ledgrp.blk.preper">
<c-input type="textarea" v-model="model.ledgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Days of presentation period" prop="ledgrp.rec.prepers18">
<c-input v-model="model.ledgrp.rec.prepers18" placeholder="请输入Days of presentation period"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="ledgrp.rec.avbby"> <el-form-item label="Available by" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by"> <c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by"
:code="codes.avbby"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Presentation period text" prop="ledgrp.rec.prepertxts18"> <el-form-item
<c-input v-model="model.ledgrp.rec.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input> label="Deferred Payment Details"
prop="ledgrp.blk.defdet"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.defdet"
maxlength="35"
show-word-limit
placeholder="请输入Deferred Payment Details"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.letp.labdefdet" data-path=".letp.labdefdet" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Deferred Payment Details" prop="ledgrp.blk.defdet">
<c-input type="textarea" v-model="model.ledgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Details to Code for Charges CHATO" prop="ledgrp.blk.feetxt">
<c-input type="textarea" v-model="model.ledgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges CHATO" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drafts at" prop="ledgrp.blk.dftat"> <el-form-item label="Drafts at" prop="ledgrp.blk.dftat">
<c-input type="textarea" v-model="model.ledgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input> <c-input
</el-form-item> type="textarea"
</c-col> :rows="3"
v-model="model.ledgrp.blk.dftat"
<c-col :span="12"> maxlength="35"
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdftatButtxmsel"> show-word-limit
... placeholder="请输入Drafts at"
</c-button> ></c-input>
</c-col> </el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.drwp.ptsget.sdamod.dadsnd"> <c-col :span="24">
<c-input v-model="model.letp.drwp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-ptap
</el-form-item> :model="model"
</c-col> :argadr="{
title: '汇票申请人',
<c-col :span="12"> grp: 'ledgrp',
<el-form-item label="External Key of Address" prop="ledgrp.drw.pts.extkey"> rol: 'drw',
<c-input v-model="model.ledgrp.drw.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> }"
</el-form-item> :noRef="true"
</c-col> @onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
<c-col :span="12"> >
<el-form-item label="" prop="letp.drwp.ptsget.sdamod.seainf"> </c-ptap>
<c-input v-model="model.letp.drwp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> </c-col>
</el-form-item> </c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" @click="onDrwpDet"> <el-form-item label="Mixed Payment Details" prop="ledgrp.blk.mixdet">
Details <c-input
</c-button> type="textarea"
</c-col> :rows="4"
v-model="model.ledgrp.blk.mixdet"
<c-col :span="12"> maxlength="35"
<el-form-item label="名称" prop="ledgrp.drw.namelc"> show-word-limit
<c-input type="textarea" v-model="model.ledgrp.drw.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> placeholder="请输入Mixed Payment Details"
</el-form-item> ></c-input>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.drw.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.drw.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- Days of presentation period -->
<el-form-item label="Chinese address" prop="ledgrp.drw.dbfadrblkcn"> <c-col :span="24">
<c-input type="textarea" v-model="model.ledgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <el-form-item label="Days of pre.period" prop="ledgrp.rec.prepers18">
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入Days of presentation period"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Presentation Period" prop="ledgrp.blk.preper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入Presentation Period"
></c-input>
</el-form-item>
</c-col>
<!-- Additional Details to Code for Charges CHATO -->
<c-col :span="24">
<el-form-item
label="Additional Details to Code for Charges CHATO"
prop="ledgrp.blk.feetxt"
>
<c-input
type="textarea"
:rows="6"
v-model="model.ledgrp.blk.feetxt"
maxlength="35"
show-word-limit
placeholder="请输入Additional Details to Code for Charges CHATO"
></c-input>
</el-form-item>
</c-col>
<!-- Own Charges Borne by -->
<c-col :span="18">
<el-form-item label="Own Charges Borne by" prop="ledgrp.rec.chato"> <el-form-item label="Own Charges Borne by" prop="ledgrp.rec.chato">
<c-select v-model="model.ledgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by"> <c-select
v-model="model.ledgrp.rec.chato"
style="width: 100%"
placeholder="请选择Own Charges Borne by"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<el-form-item label="地址" prop="ledgrp.drw.adrelc"> <el-form-item label="Country or region Code" prop="ledgrp.rec.stacty">
<c-input type="textarea" v-model="model.ledgrp.drw.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-select
</el-form-item> v-model="model.ledgrp.rec.stacty"
</c-col> style="width: 100%"
placeholder="请选择Country or region Code"
<c-col :span="12"> >
<el-form-item label="Country Code for Statistics" prop="ledgrp.rec.stacty">
<c-select v-model="model.ledgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code for Statistics">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<el-form-item label="Dispatch from" prop="ledgrp.rec.shpfro"> <el-form-item label="Maximum Tenor" prop="ledgrp.rec.tenmaxday">
<c-input v-model="model.ledgrp.rec.shpfro" maxlength="65" placeholder="请输入Dispatch from"></c-input> <c-input
v-model="model.ledgrp.rec.tenmaxday"
placeholder="请输入Maximum Tenor"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-row>
<c-col :span="12"> <c-row>
<el-form-item label="Maximum Tenor" prop="ledgrp.rec.tenmaxday"> <!-- Dispatch from -->
<c-input v-model="model.ledgrp.rec.tenmaxday" placeholder="请输入Maximum Tenor"></c-input> <c-col :span="11">
<el-form-item label="Dispatch from" prop="ledgrp.rec.shpfro">
<c-input
type="textarea"
:rows="3"
show-word-limit
v-model="model.ledgrp.rec.shpfro"
maxlength="65"
placeholder="请输入Dispatch from"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Air-/Port of Departure" prop="ledgrp.rec.porloa"> <el-form-item label="Air-/Port of Departure" prop="ledgrp.rec.porloa">
<c-input type="textarea" v-model="model.ledgrp.rec.porloa" maxlength="65" show-word-limit placeholder="请输入Air-/Port of Departure" ></c-input> <c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.porloa"
maxlength="65"
show-word-limit
placeholder="请输入Air-/Port of Departure"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="Air-/Port of Destination" prop="ledgrp.rec.pordis"> <el-form-item label="Air-/Port of Destination" prop="ledgrp.rec.pordis">
<c-input type="textarea" v-model="model.ledgrp.rec.pordis" maxlength="65" show-word-limit placeholder="请输入Air-/Port of Destination" ></c-input> <c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.pordis"
maxlength="65"
show-word-limit
placeholder="Air-/Port of Destination"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- Final Destination -->
<c-col :span="11" :offset="1">
<el-form-item label="Final Destination" prop="ledgrp.rec.shpto"> <el-form-item label="Final Destination" prop="ledgrp.rec.shpto">
<c-input v-model="model.ledgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input> <c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.shpto"
maxlength="65"
show-word-limit
placeholder="请输入Final Destination"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- Shipment Period -->
<c-col :span="11">
<el-form-item label="Shipment Period" prop="ledgrp.blk.shpper"> <el-form-item label="Shipment Period" prop="ledgrp.blk.shpper">
<c-input type="textarea" v-model="model.ledgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input> <c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.shpper"
maxlength="65"
show-word-limit
placeholder="请输入Shipment Period"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
</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/Letrsv/Event" import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], components: { "c-ptap": Ptap },
props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
watch: {
} "model.ledgrp.avb.pts.adrblk": {
} handler(val, oldVal) {
this.model.ledgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <c-row>
<c-col :span="24">
<c-col :span="12"> <c-col :span="8">
<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"> <el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input> <c-input
</el-form-item> v-model="model.ledgrp.rec.ownref"
</c-col> maxlength="16"
placeholder="请输入Reference"
<c-col :span="12"> style="width: 95%"
<el-form-item label="" prop="letp.recget.sdamod.seainf"> :disabled="true"
<c-input v-model="model.letp.recget.sdamod.seainf" placeholder="请输入"></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="3">
<c-button
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button>
<c-button
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
Git
</c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam"> <el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp"> <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
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
:code="codes.lcrtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="19">
<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"> <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> <c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入Responsible User"
style="width: 95%"
:disabled="true"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5" class="centerLable">
<c-col :span="12"> <c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg"
<el-form-item label="" prop="letp.usrget.sdamod.seainf"> >Collateralized L/C</c-checkbox
<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>
<c-col :span="11">
<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"> <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
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择cur"
:code="codes.cur"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="ledgrp.cbs.nom1.amt">
<c-input v-model="model.ledgrp.cbs.nom1.amt" placeholder="请输入Nominal Amount"></c-input> <c-input-currency
</el-form-item> v-model="model.ledgrp.cbs.nom1.amt"
</c-col> style="width: 90%"
placeholder="请输入Nominal Amount"
<c-col :span="12"> ></c-input-currency>
<c-checkbox v-model="model.letp.aamp.aammod.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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-amtpanl
<el-form-item label="Chinese address" prop="ledgrp.ben.dbfadrblkcn"> :model="model"
<c-input type="textarea" v-model="model.ledgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> :span="20"
</el-form-item> :message="{
</c-col> title: '开证金额',
cur: 'ledgrp.cbs.nom1.cur',
<c-col :span="12"> amt: 'ledgrp.cbs.nom1.amt',
<c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox> }"
></c-amtpanl> -->
<c-col :span="5" class="centerLable">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop"> <el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" placeholder="请输入Amount Tolerance +/-"></c-input> <c-input
</el-form-item> v-model="model.ledgrp.rec.nomtop"
</c-col> placeholder="请输入Amount Tolerance +/-"
></c-input>
<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> </el-form-item>
</c-col> </c-col>
<c-col :span="8">
<c-col :span="12"> <el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton">
<el-form-item label="地址" prop="ledgrp.ben.adrelc"> <c-input
<c-input type="textarea" v-model="model.ledgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> v-model="model.ledgrp.rec.nomton"
style="width: 90%"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Incoming Transfer -->
<c-col :span="12"> <c-col :span="5" class="centerLable">
<c-checkbox v-model="model.ledgrp.rec.inctrf">Incoming Transfer</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.inctrf"
>Incoming Transfer</c-checkbox
>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="19">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc"> <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
v-model="model.ledgrp.rec.nomspc"
style="width: 95%"
placeholder="请选择Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5" class="centerLable">
<c-col :span="12"> <c-checkbox v-model="model.ledgrp.rec.resflg"
<c-checkbox v-model="model.ledgrp.rec.resflg">Reserved Contract</c-checkbox> >Reserved Contract</c-checkbox
>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.cur"> <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
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.cur"
>
</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="Maximum Amount" prop="ledgrp.cbs.max.amt"> <el-form-item label="" label-width="20px" prop="ledgrp.cbs.max.amt">
<c-input v-model="model.ledgrp.cbs.max.amt" placeholder="请输入Maximum Amount"></c-input> <c-input-currency
</el-form-item> v-model="model.ledgrp.cbs.max.amt"
</c-col> placeholder="请输入Maximum Amount"
></c-input-currency>
<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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<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"> <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> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.ledgrp.rec.opndat"
style="width: 90%"
<c-col :span="12"> placeholder="请选择Issued on"
<el-form-item label="Date Pre-advised" prop="ledgrp.rec.preadvdt"> ></c-date-picker>
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width:100%" placeholder="请选择Date Pre-advised"></c-date-picker> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="11">
<el-form-item
<c-col :span="12"> label="Date Pre-advised"
<el-form-item label="External Key of Address" prop="ledgrp.iss.pts.extkey"> label-width="130px"
<c-input v-model="model.ledgrp.iss.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> prop="ledgrp.rec.preadvdt"
</el-form-item> >
</c-col> <c-date-picker
type="date"
<c-col :span="12"> v-model="model.ledgrp.rec.preadvdt"
<el-form-item label="" prop="letp.issp.ptsget.sdamod.seainf"> style="width: 100%"
<c-input v-model="model.letp.issp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> placeholder="请选择Date Pre-advised"
</el-form-item> ></c-date-picker>
</c-col> </el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet"> <c-col :span="13">
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"> <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> <c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 90%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="Released on" prop="ledgrp.rec.advdat"> <el-form-item
<c-date-picker type="date" v-model="model.ledgrp.rec.advdat" style="width:100%" placeholder="请选择Released on"></c-date-picker> label="Released on"
</el-form-item> label-width="130px"
</c-col> prop="ledgrp.rec.advdat"
>
<c-col :span="12"> <c-date-picker
<el-form-item label="Address Block" prop="ledgrp.iss.pts.adrblk"> type="date"
<c-input type="textarea" v-model="model.ledgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> v-model="model.ledgrp.rec.advdat"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择Released on"
></c-date-picker>
<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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="Expiring on" prop="ledgrp.rec.expdat"> <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> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.ledgrp.rec.expdat"
style="width: 90%"
<c-col :span="12"> placeholder="请选择到期日"
<el-form-item label="地址" prop="ledgrp.iss.adrelc"> ></c-date-picker>
<c-input type="textarea" v-model="model.ledgrp.iss.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="10"></c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="in (Place)/ counters of" prop="ledgrp.rec.expplc"> <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> <c-input
</el-form-item> v-model="model.ledgrp.rec.expplc"
</c-col> maxlength="29"
placeholder="有效地点"
<c-col :span="12"> ></c-input>
<el-form-item label="Applicant Ref." prop="ledgrp.apl.pts.ref"> </el-form-item>
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> </c-col>
</el-form-item>
</c-col> <c-col :span="24">
<el-form-item label="Confirmation Instruct" prop="ledgrp.rec.cnfdet">
<c-col :span="12"> <c-select
<el-form-item label="Drag Drop Sender" prop="letp.aplp.ptsget.sdamod.dadsnd"> v-model="model.ledgrp.rec.cnfdet"
<c-input v-model="model.letp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> style="width: 100%"
</el-form-item> placeholder="请选择确认接收指示"
</c-col> :code="codes.cnfins"
>
<c-col :span="12">
<el-form-item label="Confirmation Instruct." prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirmation Instruct.">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<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"> <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
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
:code="codes.apprul"
@change="apprulChange"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="地址" prop="ledgrp.apl.adrelc"> <el-form-item
<c-input type="textarea" v-model="model.ledgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> label="Other Applicable Rules"
prop="ledgrp.rec.apprultxt"
>
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入其他规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<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"> <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
</c-select> v-model="model.ledgrp.rec.shppar"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择Partial Shipment"
:code="codes.shppar"
<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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<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"> <el-form-item label="Transshipment" prop="ledgrp.rec.shptrss18">
<c-select v-model="model.ledgrp.rec.shptrss18" style="width:100%" placeholder="请选择Transshipment"> <c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择Transshipment"
:code="codes.shptrss18"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col> </c-col>
</div>
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</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="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.nonban"
>Non-Bank Issuer</c-checkbox
>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc"
>Test Key Unconfirmity</c-checkbox
>
</c-col>
</c-col>
</c-col>
</c-row>
</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/Letrsv/Event" import Event from "~/model/Letopn/Event";
import Ptap from "~/views/Public/Ptap";
// import Amtpanl from "~/views/Public/Amtpanl";
export default { export default {
inject: ['root'], components: { "c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: {
created:function(){ ...Event,
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
} }
} },
},
created: function () {},
};
</script> </script>
<style> <style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
}
.marginLable {
padding-left: 150px;
}
</style> </style>
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {}, codes: { ...CodeTable },
}; };
}, },
methods: { methods: {
......
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