Commit b3408ca5 by liyixun

gitpop 完善,gitopn新增Seq C : Undertaking Text页面

parent 17db3d95
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Object of Contract" prop="gidgrp.blk.covgodsrvc">
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="35" show-word-limit placeholder="请输入Object of Contract" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc">
vs.&System
</c-button>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc">
vs.&History
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc">
<c-input v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
<c-select v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount ">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplcc">
<c-input type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc">
<c-input v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc">
<c-input v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
<c-input v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Additional Info" prop="gidgrp.blk.addinfc">
<c-input type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input>
</el-form-item>
......@@ -127,7 +242,7 @@
<c-col :span="12">
<span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text local undertaking" ></c-input>
</el-form-item>
......@@ -49,7 +112,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-fullbox>
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
<el-option
v-for="item in codes.deloric"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer" >
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
<c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. S&ystem
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
...
</c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input aria-disabled="" rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
</c-select>
......@@ -83,7 +163,7 @@
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-row>
<c-row>
<c-col :span="24">
<c-col :span="12">
......@@ -348,8 +348,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
......@@ -164,11 +164,29 @@
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc">
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc">
<c-content>
<m-ptypc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Presentation/Delivery" name="preperpc">
<c-content>
<m-preperpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Details" name="detpc">
<c-content>
<m-detpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Undertaking Text" name="gidtxtpc">
<c-content>
<m-gidtxtpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000749 -->
<!-- <el-tab-pane label="PD000749" name="ovwpc">
......
......@@ -307,7 +307,6 @@
v-model="model.gidgrp.rec.giduil"
style="width: 100%"
placeholder="请选择Language of Undertak."
@change="lanChange"
>
<el-option
v-for="item in codes.uiltxt"
......@@ -814,7 +813,7 @@
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabeld
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
......@@ -1658,7 +1657,7 @@ export default {
{ label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" },
],
apprul:[
apprul:[
{label:"UCPR Undertaking is subject to UCP Rules f. Doc. Credit",value:"UCPR" },
{label:"OTHR The guarantee is subject to another set of rules, see Narrative",value:"OTHR" },
{label:"URDG The guarantee is subject to the ICC Rules for Demand Guarantees",value:"URDG" },
......@@ -1680,12 +1679,6 @@ export default {
onSeainf(data) {
this.$emit("onSeainf", data);
},
lanchange(){
if(this.model.gidgrp.rec.giduil=='CN'){
// this.model.gidgrp.rec.gtxinr="LMTEST02";
// this.model.gidgrp.rec.gtxinr="01";
}
}
},
created: function () {},
watch: {
......@@ -1694,6 +1687,18 @@ export default {
this.model.gidgrp.rec.liaflg='X';
}
},
"model.gidgrp.rec.legfrm":function(){
if(this.model.gidgrp.rec.legfrm=='DGAR'){
this.model.gidgrp.blk.apprul='URDG';
}else if(this.model.gidgrp.rec.legfrm=='STBY'){
this.model.gidgrp.blk.apprul='OTHR';
this.model.gidgrp.blk.apprultxt="Standby date of credit ";
}else if(this.model.gidgrp.rec.legfrm=='DEPU'){
this.model.gidgrp.blk.apprul='NONE';
}
},
declareParams() {},
},
};
......
......@@ -104,7 +104,7 @@
</c-col>
<c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='N'"
<c-ptap v-if="model.gitp.swiftflg!='Y'"
:model="model"
:argadr="{
title: '保兑行',
......@@ -126,11 +126,47 @@
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.hndtyp=='OT'" label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
<c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bnak's Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.hndtyp=='OT'" label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onIsspDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.hndtyp=='OT'" label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '受益人',
......
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