Commit b3408ca5 by liyixun

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

parent 17db3d95
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <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"> <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> <c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input>
</el-form-item> </el-form-item>
...@@ -127,7 +242,7 @@ ...@@ -127,7 +242,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span> <span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <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"> <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> <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> </el-form-item>
...@@ -49,7 +112,7 @@ ...@@ -49,7 +112,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmodc"> <c-button size="small" type="primary" @click="onGitpGidtxtmodc">
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <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"> <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 v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
</c-select> </c-select>
...@@ -83,7 +163,7 @@ ...@@ -83,7 +163,7 @@
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc"> <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> <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
...@@ -348,8 +348,10 @@ import Api from "~/service/Api" ...@@ -348,8 +348,10 @@ 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/Gitopn/Event" import Event from "~/model/Gitopn/Event"
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap },
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -164,11 +164,29 @@ ...@@ -164,11 +164,29 @@
</c-content> </c-content>
</el-tab-pane> </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> <c-content>
<m-ptypc :model="model" :codes="codes"/> <m-ptypc :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </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 --> <!--PD000749 -->
<!-- <el-tab-pane label="PD000749" name="ovwpc"> <!-- <el-tab-pane label="PD000749" name="ovwpc">
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Contract Date" prop="gidgrp.rec.orcdat"> <el-form-item label="Contract Date" prop="gidgrp.rec.orcdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> <c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdat"> <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdat" style="width:100%" placeholder="请选择Closing Date"></c-date-picker> <c-date-picker disabled type="date" v-model="model.gidgrp.rec.tenclsdat" style="width:100%" placeholder="请选择Closing Date"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -37,13 +37,13 @@ ...@@ -37,13 +37,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcrat"> <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcrat">
<c-input v-model="model.gidgrp.rec.orcrat" placeholder="请输入Original Perc./ Rate"></c-input> <c-input disabled v-model="model.gidgrp.rec.orcrat" placeholder="请输入Original Perc./ Rate"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orccur"> <el-form-item label="Contract Amount " prop="gidgrp.rec.orccur">
<c-select v-model="model.gidgrp.rec.orccur" style="width:100%" placeholder="请选择Contract Amount "> <c-select disabled v-model="model.gidgrp.rec.orccur" style="width:100%" placeholder="请选择Contract Amount ">
<el-option <el-option
v-for="item in codes.curtxt" v-for="item in codes.curtxt"
:key="item.value" :key="item.value"
...@@ -55,22 +55,22 @@ ...@@ -55,22 +55,22 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-input v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input> <c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc"> <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
<c-input type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input> <c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc"> <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
<c-input v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> <c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlaws20"> <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law"> <c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option <el-option
v-for="item in codes.ctytxt" v-for="item in codes.ctytxt"
...@@ -83,39 +83,45 @@ ...@@ -83,39 +83,45 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-input v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input> <c-input disabled v-if="model.gitp.swiftflg=='Y'" v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
<c-input v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc"> <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
<c-input v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> <c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tender Reference" prop="gidgrp.rec.tenref"> <el-form-item label="Tender Reference" prop="gidgrp.rec.tenref">
<c-input v-model="model.gidgrp.rec.tenref" maxlength="35" placeholder="请输入Tender Reference"></c-input> <c-input disabled v-model="model.gidgrp.rec.tenref" maxlength="35" placeholder="请输入Tender Reference"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tender Date" prop="gidgrp.rec.tendat"> <el-form-item label="Tender Date" prop="gidgrp.rec.tendat">
<c-date-picker type="date" v-model="model.gidgrp.rec.tendat" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> <c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendat" style="width:100%" placeholder="请选择Tender Date"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdat"> <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.trmdat" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> <c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdat" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="手册号码" prop="gidgrp.rec.mannum"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="手册号码" prop="gidgrp.rec.mannum">
<c-input v-model="model.gidgrp.rec.mannum" maxlength="12" placeholder="请输入手册号码"></c-input> <c-input disabled v-model="model.gidgrp.rec.mannum" maxlength="12" placeholder="请输入手册号码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="业务类型" prop="gidgrp.ghd.bustyp"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="业务类型" prop="gidgrp.ghd.bustyp">
<c-select v-model="model.gidgrp.ghd.bustyp" style="width:100%" placeholder="请选择业务类型"> <c-select v-model="model.gidgrp.ghd.bustyp" style="width:100%" placeholder="请选择业务类型">
<el-option <el-option
v-for="item in codes.bustyp" v-for="item in codes.bustyp"
...@@ -129,29 +135,29 @@ ...@@ -129,29 +135,29 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="仓库号" prop="gidgrp.ghd.wahnum"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="仓库号" prop="gidgrp.ghd.wahnum">
<c-input v-model="model.gidgrp.ghd.wahnum" maxlength="20" placeholder="请输入仓库号"></c-input> <c-input v-model="model.gidgrp.ghd.wahnum" maxlength="20" placeholder="请输入仓库号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="受益人名称" prop="gidgrp.gidcxm.benefi"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="受益人名称" prop="gidgrp.gidcxm.benefi">
<c-input v-model="model.gidgrp.gidcxm.benefi" maxlength="80" placeholder="请输入受益人名称"></c-input> <c-input v-model="model.gidgrp.gidcxm.benefi" maxlength="80" placeholder="请输入受益人名称"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="企业海关编码" prop="gidgrp.rec.bngcod"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="企业海关编码" prop="gidgrp.rec.bngcod">
<c-input v-model="model.gidgrp.rec.bngcod" maxlength="10" placeholder="请输入企业海关编码"></c-input> <c-input disabled v-model="model.gidgrp.rec.bngcod" maxlength="10" placeholder="请输入企业海关编码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="组织机构代码" prop="gidgrp.rec.juscod"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="组织机构代码" prop="gidgrp.rec.juscod">
<c-input v-model="model.gidgrp.rec.juscod" maxlength="10" placeholder="请输入组织机构代码"></c-input> <c-input disabled v-model="model.gidgrp.rec.juscod" maxlength="10" placeholder="请输入组织机构代码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="流动资金贷款利率档次" prop="gidgrp.rec.cunqii"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="流动资金贷款利率档次" prop="gidgrp.rec.cunqii">
<c-select v-model="model.gidgrp.rec.cunqii" style="width:100%" placeholder="请选择流动资金贷款利率档次"> <c-select disabled v-model="model.gidgrp.rec.cunqii" style="width:100%" placeholder="请选择流动资金贷款利率档次">
<el-option <el-option
v-for="item in codes.cunqii" v-for="item in codes.cunqii"
:key="item.value" :key="item.value"
...@@ -163,22 +169,22 @@ ...@@ -163,22 +169,22 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="上浮比率" prop="gidgrp.rec.bilvvv"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="上浮比率" prop="gidgrp.rec.bilvvv">
<c-input v-model="model.gidgrp.rec.bilvvv" placeholder="请输入上浮比率"></c-input> <c-input disabled v-model="model.gidgrp.rec.bilvvv" placeholder="请输入上浮比率"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="InDirect Swift Add" prop="gitp.indirectswiadd"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="InDirect Swift Add" prop="gitp.indirectswiadd">
<c-input type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit placeholder="请输入InDirect Swift Add" ></c-input> <c-input type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit placeholder="请输入InDirect Swift Add" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Info" prop="gidgrp.blk.addinf"> <el-form-item label="Additional Info" prop="gidgrp.blk.addinf">
<c-input type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input> <c-input disabled type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="备注" prop="gidgrp.ghd.remark"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="备注" prop="gidgrp.ghd.remark">
<c-input type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit placeholder="请输入备注" ></c-input> <c-input type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit placeholder="请输入备注" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -307,7 +307,6 @@ ...@@ -307,7 +307,6 @@
v-model="model.gidgrp.rec.giduil" v-model="model.gidgrp.rec.giduil"
style="width: 100%" style="width: 100%"
placeholder="请选择Language of Undertak." placeholder="请选择Language of Undertak."
@change="lanChange"
> >
<el-option <el-option
v-for="item in codes.uiltxt" v-for="item in codes.uiltxt"
...@@ -814,7 +813,7 @@ ...@@ -814,7 +813,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> <el-form-item v-if="model.gitp.swiftflg!='Y'" label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select <c-select
disabeld disabled
v-model="model.gidgrp.rec.cfaguatyp" v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%" style="width: 100%"
placeholder="请选择对外担保类型" placeholder="请选择对外担保类型"
...@@ -1658,7 +1657,7 @@ export default { ...@@ -1658,7 +1657,7 @@ export default {
{ label: "Direct (we issue)", value: "OL" }, { label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" }, { label: "Indirect (please issue)", value: "OC" },
], ],
apprul:[ apprul:[
{label:"UCPR Undertaking is subject to UCP Rules f. Doc. Credit",value:"UCPR" }, {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:"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" }, {label:"URDG The guarantee is subject to the ICC Rules for Demand Guarantees",value:"URDG" },
...@@ -1680,12 +1679,6 @@ export default { ...@@ -1680,12 +1679,6 @@ export default {
onSeainf(data) { onSeainf(data) {
this.$emit("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 () {}, created: function () {},
watch: { watch: {
...@@ -1694,6 +1687,18 @@ export default { ...@@ -1694,6 +1687,18 @@ export default {
this.model.gidgrp.rec.liaflg='X'; 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() {}, declareParams() {},
}, },
}; };
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='N'" <c-ptap v-if="model.gitp.swiftflg!='Y'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '保兑行', title: '保兑行',
...@@ -126,11 +126,47 @@ ...@@ -126,11 +126,47 @@
rol: 'ben', rol: 'ben',
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false"
@onAplpDet="onBenpDet"> @onAplpDet="onBenpDet">
</c-ptap> </c-ptap>
</c-col> </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-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: '受益人', 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