Commit 8af024ae by liyixun

getopn bug (731,732)

parent fc40d906
...@@ -5,6 +5,14 @@ import Pub from "../Public" ...@@ -5,6 +5,14 @@ import Pub from "../Public"
export default class Getopn{ export default class Getopn{
constructor () { constructor () {
this.data = { this.data = {
gitbenl1blk:"",
gitapll1blk:"",
gitapll2blk:"",
gitbenl2blk:"",
gitapll3blk:"",
gitbenl4blk:"",
gitissl1blk:"",
gitrmbl1blk:"",
gitp:{ gitp:{
swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg
recget:{ recget:{
......
...@@ -5,30 +5,57 @@ ...@@ -5,30 +5,57 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur"> <el-form-item
<c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input> label="Additional Amount"
prop="gidgrp.cbs.mac2.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.mac2.cur"
maxlength="3"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input> <c-input
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入Balance"
></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur"> <el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input> <c-input
disabled
v-model="model.gidgrp.cbs.opc2.cur"
maxlength="3"
placeholder="请输入Open Add. Amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input> <c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance"
></c-input>
</c-col> </c-col>
</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 label="Covered" prop="gidgrp.blk.addamtcovc"> <el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input> <c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc"
maxlength="65"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -70,26 +97,21 @@ ...@@ -70,26 +97,21 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -10,7 +10,12 @@ ...@@ -10,7 +10,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirm. Instr." prop="gidgrp.rec.reccnfdet"> <el-form-item label="Confirm. Instr." prop="gidgrp.rec.reccnfdet">
<c-select disabled v-model="model.gidgrp.rec.reccnfdet" style="width:100%" placeholder="请选择Confirm. Instr."> <c-select
disabled
v-model="model.gidgrp.rec.reccnfdet"
style="width: 100%"
placeholder="请选择Confirm. Instr."
>
<el-option <el-option
v-for="item in codes.cnfsta" v-for="item in codes.cnfsta"
:key="item.value" :key="item.value"
...@@ -24,28 +29,43 @@ ...@@ -24,28 +29,43 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirm. Bank Ref." prop="gidgrp.cnr.pts.ref"> <el-form-item label="Confirm. Bank Ref." prop="gidgrp.cnr.pts.ref">
<c-input disabled v-model="model.gidgrp.cnr.pts.ref" maxlength="16" placeholder="请输入Confirm. Bank Ref."></c-input> <c-input
disabled
v-model="model.gidgrp.cnr.pts.ref"
maxlength="16"
placeholder="请输入Confirm. Bank Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirming. Bank" prop="gidgrp.cnr.pts.extkey"> <el-form-item label="Confirming. Bank" prop="gidgrp.cnr.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.cnr.pts.extkey" <c-input
disabled
v-model="model.gidgrp.cnr.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.cnr.pts.extkey`) showGridPromptDialog(`gidgrp.cnr.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onCnrpDet"> <c-button
disabled
size="small"
type="primary"
@click="onCnrpDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -54,13 +74,18 @@ ...@@ -54,13 +74,18 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.cnr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
disabled
type="textarea"
v-model="model.gidgrp.cnr.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</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 label=""> <el-form-item label="">
Outgoing Confirmation Instructions: Outgoing Confirmation Instructions:
...@@ -68,7 +93,12 @@ ...@@ -68,7 +93,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirm. Instr." prop="gidgrp.rec.cnfdet"> <el-form-item label="Confirm. Instr." prop="gidgrp.rec.cnfdet">
<c-select :disabled="model.gidgrp.rec.legfrm!='STBY'" v-model="model.gidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instr."> <c-select
:disabled="model.gidgrp.rec.legfrm != 'STBY'"
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择Confirm. Instr."
>
<el-option <el-option
v-for="item in codes.cnfdet" v-for="item in codes.cnfdet"
:key="item.value" :key="item.value"
...@@ -82,28 +112,43 @@ ...@@ -82,28 +112,43 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirm. Bank Ref. " prop="gidgrp.con.pts.ref"> <el-form-item label="Confirm. Bank Ref. " prop="gidgrp.con.pts.ref">
<c-input disabled v-model="model.gidgrp.con.pts.ref" maxlength="16" placeholder="请输入Confirm. Bank Ref. "></c-input> <c-input
disabled
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
placeholder="请输入Confirm. Bank Ref. "
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirming. Bank" prop="gidgrp.con.pts.extkey"> <el-form-item label="Confirming. Bank" prop="gidgrp.con.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.con.pts.extkey" <c-input
disabled
v-model="model.gidgrp.con.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`) showGridPromptDialog(`gidgrp.con.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onConpDet"> <c-button
disabled
size="small"
type="primary"
@click="onConpDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -112,7 +157,14 @@ ...@@ -112,7 +157,14 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn"> <el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
<c-input disabled type="textarea" v-model="model.gidgrp.con.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input
disabled
type="textarea"
v-model="model.gidgrp.con.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -123,14 +175,31 @@ ...@@ -123,14 +175,31 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label=""> <el-form-item
v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
label=""
>
Own confirmation details: Own confirmation details:
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Status " prop="gidgrp.rec.cnfsta"> <el-form-item
<c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" placeholder="请选择Confirmation Status "> v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
label="Confirmation Status "
prop="gidgrp.rec.cnfsta"
>
<c-select
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择Confirmation Status "
>
<el-option <el-option
v-for="item in codes.cnfsta" v-for="item in codes.cnfsta"
:key="item.value" :key="item.value"
...@@ -144,43 +213,100 @@ ...@@ -144,43 +213,100 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="10"> <c-col :span="10">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Amount" prop="gidgrp.cbs.cnf.cur"> <el-form-item
<c-input disabled v-model="model.gidgrp.cbs.cnf.cur" maxlength="3" placeholder="请输入Confirmation Amount"></c-input> v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
label="Confirmation Amount"
prop="gidgrp.cbs.cnf.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.cnf.cur"
maxlength="3"
placeholder="请输入Confirmation Amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="4"> <c-col
v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
:span="4"
>
<!-- <el-form-item prop="gidgrp.cbs.cnf.amt"> --> <!-- <el-form-item prop="gidgrp.cbs.cnf.amt"> -->
<c-input disabled v-model="model.gidgrp.cbs.cnf.amt" placeholder="请输入Balance"></c-input> <c-input
disabled
v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入Balance"
></c-input>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="2" style="margin-left:20px"> <c-col
v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
:span="2"
style="margin-left: 20px"
>
<span>or</span> <span>or</span>
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="4"> <c-col
v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
:span="4"
>
<!-- <el-form-item prop="gidgrp.rec.partcon"> --> <!-- <el-form-item prop="gidgrp.rec.partcon"> -->
<c-input disabled v-model="model.gidgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input> <c-input
disabled
v-model="model.gidgrp.rec.partcon"
placeholder="请输入Partial Confirmation"
></c-input>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="2" style="margin-left: 20px"> <c-col
v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
:span="2"
style="margin-left: 20px"
>
<span>%</span> <span>%</span>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Date" prop="gidgrp.rec.cnfdat"> <el-form-item
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" placeholder="请选择Confirmation Date"></c-date-picker> v-if="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
label="Confirmation Date"
prop="gidgrp.rec.cnfdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.cnfdat"
style="width: 100%"
placeholder="请选择Confirmation 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>
</c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- SF001031 : Confirmation Status --> <!-- SF001031 : Confirmation Status -->
<!-- SF000895 : Received Confirmation Instructions: --> <!-- SF000895 : Received Confirmation Instructions: -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta"> <el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta">
<c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000888')"> <c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000888')">
...@@ -190,7 +316,7 @@ ...@@ -190,7 +316,7 @@
<!-- SF000894 : Outgoing Confirmation Instructions: --> <!-- SF000894 : Outgoing Confirmation Instructions: -->
<!-- SF001030 : Confirmation Amount --> <!-- SF001030 : Confirmation Amount -->
<!-- SF000896 : Confirm. Instr. --> <!-- SF000896 : Confirm. Instr. -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet"> <el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet">
<c-select v-model="model.gidgrp.rec.reccnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000896')"> <c-select v-model="model.gidgrp.rec.reccnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000896')">
...@@ -305,30 +431,27 @@ ...@@ -305,30 +431,27 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
cnfdet:[ cnfdet: [
{label:"MAYADD",value:"A"}, { label: "MAYADD", value: "A" },
{label:"CONFIRM",value:"C"}, { label: "CONFIRM", value: "C" },
{label:"WITHOUT",value:"W"}, { label: "WITHOUT", value: "W" },
] ],
} };
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -5,50 +5,133 @@ ...@@ -5,50 +5,133 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc"> <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input disabled v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input> <c-input
disabled
v-model="model.gidgrp.rec.orcrefc"
maxlength="35"
placeholder="请输入Contract 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="Contract Date" prop="gidgrp.rec.orcdatc"> <el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orcdatc"
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.tenclsdatc"> <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.tenclsdatc"
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">
<c-col :span="20"> <c-col :span="20">
<c-col :span="20"> <c-col :span="20">
<el-form-item v-if="model.gitp.covgodsrvcmodflg==''" label="Object of Contract" prop="gidgrp.blk.covgodsrvc"> <el-form-item
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit placeholder="请输入Object of Contract" ></c-input> v-if="model.gitp.covgodsrvcmodflg == ''"
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="65"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
</el-form-item> </el-form-item>
<el-form-item v-if="model.gitp.covgodsrvcmodflg=='X'" label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc"> <el-form-item
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input> v-if="model.gitp.covgodsrvcmodflg == 'X'"
label="Underly. Transact. Det."
prop="gidgrp.blk.atxcovgodsrvc"
>
<c-input
:disabled="
model.gitp.covgodsrvcmodflg == '' ||
model.gitp.swiftflg == 'N'
"
rows="5"
type="textarea"
v-model="model.gidgrp.blk.atxcovgodsrvc"
maxlength="65"
show-word-limit
placeholder="请输入Underly. Transact. Det."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="4"> <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
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox> v-if="model.gitp.swiftflg == 'Y'"
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc"> 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 vs.&System
</c-button> </c-button>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc"> <c-button
disabled
v-if="model.gitp.swiftflg == 'Y'"
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhiscovgodsrvc"
>
vs.&History vs.&History
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc"> <el-form-item
<c-input disabled v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input> label="Original Perc./ Rate"
prop="gidgrp.rec.orcratc"
>
<c-input
disabled
v-model="model.gidgrp.rec.orcratc"
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.orccurc"> <el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
<c-select disabled v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount "> <c-select
disabled
v-model="model.gidgrp.rec.orccurc"
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"
...@@ -60,24 +143,50 @@ ...@@ -60,24 +143,50 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input> <c-input
disabled
v-model="model.gidgrp.rec.orcamtc"
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.orcplcc"> <el-form-item
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input> label="Original Contract Place"
prop="gidgrp.blk.orcplcc"
>
<c-input
disabled
type="textarea"
v-model="model.gidgrp.blk.orcplcc"
maxlength="35"
show-word-limit
placeholder="请输入Original Contract Place"
></c-input>
</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 label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc"> <el-form-item
<c-input disabled v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> label="A/c for Adv. Paym. Guar."
prop="gidgrp.rec.accc"
>
<c-input
disabled
v-model="model.gidgrp.rec.accc"
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">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc"> <el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law"> <c-select
v-model="model.gidgrp.rec.jurlawc"
style="width: 100%"
placeholder="请选择Governing Law"
>
<el-option <el-option
v-for="item in codes.ctytxt1" v-for="item in codes.ctytxt1"
:key="item.value" :key="item.value"
...@@ -91,33 +200,72 @@ ...@@ -91,33 +200,72 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc"> <el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input> <c-input
v-model="model.gidgrp.rec.jurlawtxtc"
maxlength="65"
placeholder="请输入Governing Law "
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc"> <el-form-item
<c-input :disabled="model.gidgrp.rec.jurlawc==''" v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> label="Place of Jurisdiction"
prop="gidgrp.rec.jurplcc"
>
<c-input
:disabled="model.gidgrp.rec.jurlawc == ''"
v-model="model.gidgrp.rec.jurplcc"
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.tenrefc"> <el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
<c-input disabled v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input> <c-input
disabled
v-model="model.gidgrp.rec.tenrefc"
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.tendatc"> <el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.tendatc"
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.trmdatc"> <el-form-item
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> label="Latest Transmiss. Date"
prop="gidgrp.rec.trmdatc"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.trmdatc"
style="width: 100%"
placeholder="请选择Latest Transmiss. 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="Additional Info" prop="gidgrp.blk.addinfc"> <el-form-item label="Additional Info" prop="gidgrp.blk.addinfc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input> <c-input
disabled
type="textarea"
v-model="model.gidgrp.blk.addinfc"
maxlength="35"
show-word-limit
placeholder="请输入Additional Info"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -267,26 +415,21 @@ ...@@ -267,26 +415,21 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -4,37 +4,84 @@ ...@@ -4,37 +4,84 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="16"> <c-col :span="16">
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt"> <el-form-item
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> v-if="model.gitp.gidtxtmodflg == ''"
label="Guarantee Text with Variables"
prop="gidgrp.blk.gidtxt"
>
<i-stream-input
:disabled="model.gitp.gidtxtmodflg == ''"
type="textarea"
rows="15"
:model="model.gidgrp.blk.gidtxt"
maxlength="65"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
</el-form-item> </el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> <el-form-item
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> v-if="model.gitp.gidtxtmodflg == 'X'"
label="Guarantee Text with Variables"
prop="gidgrp.blk.gtxgidtxt"
>
<i-stream-input
type="textarea"
:model="model.gidgrp.blk.gtxgidtxt"
rows="15"
maxlength="65"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> <c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
>Modify Guarantee Text</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox> <c-checkbox
v-model="model.gitp.chkgidtxt"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif"> <c-button
:disabled="model.gitp.gidtxtmodflg == ''"
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdif"
>
vs. &System vs. &System
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis"> <c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhis"
>
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'"> <template v-if="model.gitp.gidtxtmodflg == 'X'">
<c-col :span="24"> <c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt"> <c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxt"
>
Show&Text Show&Text
</c-button> </c-button>
</c-col> </c-col>
...@@ -42,7 +89,7 @@ ...@@ -42,7 +89,7 @@
<c-col :span="24"> <c-col :span="24">
<c-input <c-input
style="margin:5px 0 0 10px;width:50%" style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref" v-model="model.gidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
...@@ -51,7 +98,7 @@ ...@@ -51,7 +98,7 @@
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled disabled
style="margin:5px 0 0 10px" style="margin: 5px 0 0 10px"
size="small" size="small"
type="primary" type="primary"
@click="onGitpButgetref" @click="onGitpButgetref"
...@@ -60,7 +107,13 @@ ...@@ -60,7 +107,13 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod"> <c-button
:disabled="model.gitp.gidtxtmodflg == ''"
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
</c-col> </c-col>
...@@ -68,7 +121,7 @@ ...@@ -68,7 +121,7 @@
</c-col> </c-col>
</c-row> </c-row>
<!-- SF000350 : Text of Undertaking --> <!-- SF000350 : Text of Undertaking -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox> <c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col> </c-col>
...@@ -115,28 +168,23 @@ ...@@ -115,28 +168,23 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
import IStreamInput from '~/components/IStreamInput' import IStreamInput from "~/components/IStreamInput";
export default { export default {
components: {IStreamInput}, components: { IStreamInput },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<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="16"> <c-col :span="16">
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> <el-form-item
<i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> v-if="model.gitp.gidtxtmodflgc == ''"
label="Guarantee Text with Variables"
prop="gidgrp.blk.gtxgidtxt"
>
<i-stream-input
:disabled="model.gitp.gidtxtmodflgc == ''"
type="textarea"
rows="15"
:model="model.gidgrp.blk.gtxgidtxtc"
maxlength="65"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
</el-form-item> </el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc"> <el-form-item
<i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input> v-if="model.gitp.gidtxtmodflgc == 'X'"
label="Guarantee Text with Variables - Counter Undertaking"
prop="gidgrp.blk.gtxgidtxtc"
>
<i-stream-input
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
rows="15"
maxlength="65"
show-word-limit
placeholder="请输入Guarantee Text with Variables - Counter Undertaking"
></i-stream-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-col :span="24"> <c-col :span="24">
<c-input <c-input
style="margin:5px 0 0 10px;width:50%" style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref" v-model="model.gidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
...@@ -24,7 +46,7 @@ ...@@ -24,7 +46,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style="margin:5px 0 0 10px" style="margin: 5px 0 0 10px"
size="small" size="small"
type="primary" type="primary"
@click="onGitpButgetref" @click="onGitpButgetref"
...@@ -33,35 +55,65 @@ ...@@ -33,35 +55,65 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> <c-checkbox
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px"
>Modify Guarantee Text</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox> <c-checkbox
v-model="model.gitp.chkgidtxtc"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc"> <c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc"
>
vs. &System vs. &System
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc"> <c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhisc"
>
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'"> <template v-if="model.gitp.gidtxtmodflgc == 'X'">
<c-col :span="24"> <c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc"> <c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxtc"
>
Show&Text Show&Text
</c-button> </c-button>
</c-col> </c-col>
</template> </template>
<c-col :span="24"> <c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc"> <c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmodc"
>
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
</c-col> </c-col>
...@@ -122,28 +174,23 @@ ...@@ -122,28 +174,23 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
import IStreamInput from '~/components/IStreamInput' import IStreamInput from "~/components/IStreamInput";
export default { export default {
components: {IStreamInput}, components: { IStreamInput },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg"> <el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式"> <c-select
v-model="model.gitp.swiftflg"
style="width: 100%"
placeholder="请选择是否SWIFT格式"
>
<el-option <el-option
v-for="item in codes.swiftflg" v-for="item in codes.swiftflg"
:key="item.value" :key="item.value"
...@@ -16,7 +20,12 @@ ...@@ -16,7 +20,12 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua"> <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select disabled v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保"> <c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
>
<el-option <el-option
v-for="item in codes.fingua" v-for="item in codes.fingua"
:key="item.value" :key="item.value"
...@@ -31,7 +40,12 @@ ...@@ -31,7 +40,12 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:90%" placeholder="请选择对外担保类型"> <c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 90%"
placeholder="请选择对外担保类型"
>
<el-option <el-option
v-for="item in codes.cfaguatyp" v-for="item in codes.cfaguatyp"
:key="item.value" :key="item.value"
...@@ -43,7 +57,12 @@ ...@@ -43,7 +57,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox v-if="model.gidgrp.cbs.max.cur=='CNY'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> <c-checkbox
v-if="model.gidgrp.cbs.max.cur == 'CNY'"
disabled
v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col> </c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> --> <!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col> </c-col>
...@@ -78,26 +97,21 @@ ...@@ -78,26 +97,21 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -102,7 +102,10 @@ ...@@ -102,7 +102,10 @@
placeholder="请输入Guarantee Amount" placeholder="请输入Guarantee Amount"
@blur="amtBlur" @blur="amtBlur"
@keyup.enter.native=" @keyup.enter.native="
defaultFunction('gidgrp.cbs.max.amt',model.gidgrp.cbs.max.amt) defaultFunction(
'gidgrp.cbs.max.amt',
model.gidgrp.cbs.max.amt
)
" "
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -939,7 +942,7 @@ ...@@ -939,7 +942,7 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span=12> <c-col :span="12">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg != 'Y'" v-if="model.gitp.swiftflg != 'Y'"
label="Issuance Date" label="Issuance Date"
...@@ -1112,28 +1115,6 @@ ...@@ -1112,28 +1115,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否对外担保"
prop="gidgrp.rec.fingua"
>
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
>
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -1210,6 +1191,7 @@ ...@@ -1210,6 +1191,7 @@
prop="gidgrp.apl.pts.adrblk" prop="gidgrp.apl.pts.adrblk"
> >
<c-input <c-input
:disabled="model.gidgrp.apl.pts.adrblk!=''"
rows="4" rows="4"
type="textarea" type="textarea"
v-model="model.gidgrp.apl.pts.adrblk" v-model="model.gidgrp.apl.pts.adrblk"
...@@ -1371,6 +1353,29 @@ ...@@ -1371,6 +1353,29 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否对外担保"
prop="gidgrp.rec.fingua"
>
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
>
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg != 'Y'" v-if="model.gitp.swiftflg != 'Y'"
......
...@@ -4,15 +4,27 @@ ...@@ -4,15 +4,27 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Requested Issue Date" prop="gidgrp.rec.opndatc"> <el-form-item
<c-date-picker type="date" v-model="model.gidgrp.rec.opndatc" style="width:100%" placeholder="请选择Requested Issue Date"></c-date-picker> label="Requested Issue Date"
prop="gidgrp.rec.opndatc"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndatc"
style="width: 100%"
placeholder="请选择Requested Issue Date"
></c-date-picker>
</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="Guarantee Amount" prop="gidgrp.cbs.mac.cur"> <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.mac.cur">
<c-select v-model="model.gidgrp.cbs.mac.cur" style="width:100%" placeholder="请选择Guarantee Amount"> <c-select
v-model="model.gidgrp.cbs.mac.cur"
style="width: 100%"
placeholder="请选择Guarantee Amount"
>
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
:key="item.value" :key="item.value"
...@@ -24,16 +36,26 @@ ...@@ -24,16 +36,26 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<c-input v-model="model.gidgrp.cbs.mac.amt" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Guarantee Amount"></c-input> <c-input
v-model="model.gidgrp.cbs.mac.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount"
></c-input>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg">Add. Amount</c-checkbox> <c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Undertaking Type " prop="gidgrp.rec.gartypc"> <el-form-item label="Undertaking Type " prop="gidgrp.rec.gartypc">
<c-select v-model="model.gidgrp.rec.gartypc" style="width:100%" placeholder="请选择Undertaking Type "> <c-select
v-model="model.gidgrp.rec.gartypc"
style="width: 100%"
placeholder="请选择Undertaking Type "
>
<el-option <el-option
v-for="item in codes.gartypc" v-for="item in codes.gartypc"
:key="item.value" :key="item.value"
...@@ -45,13 +67,22 @@ ...@@ -45,13 +67,22 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<c-input disabled v-model="model.gidgrp.blk.gartyptxtc" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Undertaking Type "></c-input> <c-input
disabled
v-model="model.gidgrp.blk.gartyptxtc"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Undertaking Type "
></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc"> <el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc">
<c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" placeholder="请选择Form of Undertaking"> <c-select
v-model="model.gidgrp.rec.legfrmc"
style="width: 100%"
placeholder="请选择Form of Undertaking"
>
<el-option <el-option
v-for="item in codes.legfrmc1" v-for="item in codes.legfrmc1"
:key="item.value" :key="item.value"
...@@ -64,7 +95,11 @@ ...@@ -64,7 +95,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Demand Indicator " prop="gidgrp.rec.demandc"> <el-form-item label="Demand Indicator " prop="gidgrp.rec.demandc">
<c-select v-model="model.gidgrp.rec.demandc" style="width:100%" placeholder="请选择Demand Indicator "> <c-select
v-model="model.gidgrp.rec.demandc"
style="width: 100%"
placeholder="请选择Demand Indicator "
>
<el-option <el-option
v-for="item in codes.demandc" v-for="item in codes.demandc"
:key="item.value" :key="item.value"
...@@ -76,8 +111,15 @@ ...@@ -76,8 +111,15 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Requested Language" prop="gidgrp.rec.stdwrduilc"> <el-form-item
<c-select v-model="model.gidgrp.rec.stdwrduilc" style="width:100%" placeholder="请选择Requested Language"> label="Requested Language"
prop="gidgrp.rec.stdwrduilc"
>
<c-select
v-model="model.gidgrp.rec.stdwrduilc"
style="width: 100%"
placeholder="请选择Requested Language"
>
<el-option <el-option
v-for="item in codes.uiltxt" v-for="item in codes.uiltxt"
:key="item.value" :key="item.value"
...@@ -92,7 +134,11 @@ ...@@ -92,7 +134,11 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinrc"> <el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinrc">
<c-select v-model="model.gidgrp.rec.gtxinrc" style="width:100%" placeholder="请选择Choice of Text"> <c-select
v-model="model.gidgrp.rec.gtxinrc"
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option <el-option
v-for="item in codes.gtxinr" v-for="item in codes.gtxinr"
:key="item.value" :key="item.value"
...@@ -107,7 +153,11 @@ ...@@ -107,7 +153,11 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Applicable Rules" prop="gidgrp.blk.apprulc"> <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprulc">
<c-select v-model="model.gidgrp.blk.apprulc" style="width:100%" placeholder="请选择Applicable Rules"> <c-select
v-model="model.gidgrp.blk.apprulc"
style="width: 100%"
placeholder="请选择Applicable Rules"
>
<el-option <el-option
v-for="item in codes.apprulc" v-for="item in codes.apprulc"
:key="item.value" :key="item.value"
...@@ -119,13 +169,23 @@ ...@@ -119,13 +169,23 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<c-input :disabled="model.gidgrp.blk.apprulc!='OTHR'" style="margin: 0 0 0 10px; width: 80%" v-model="model.gidgrp.blk.apprultxtc" maxlength="35" placeholder="请输入Applicable Rules"></c-input> <c-input
:disabled="model.gidgrp.blk.apprulc != 'OTHR'"
style="margin: 0 0 0 10px; width: 80%"
v-model="model.gidgrp.blk.apprultxtc"
maxlength="35"
placeholder="请输入Applicable Rules"
></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp"> <el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp">
<c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type"> <c-select
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择Expiry Type"
>
<el-option <el-option
v-for="item in codes.exptyp" v-for="item in codes.exptyp"
:key="item.value" :key="item.value"
...@@ -138,7 +198,8 @@ ...@@ -138,7 +198,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Validity until" prop="gidgrp.rec.expdat"> <el-form-item label="Validity until" prop="gidgrp.rec.expdat">
<c-date-picker :disabled="model.gidgrp.rec.exptyp=='OPEN'" <c-date-picker
:disabled="model.gidgrp.rec.exptyp == 'OPEN'"
type="date" type="date"
v-model="model.gidgrp.rec.expdat" v-model="model.gidgrp.rec.expdat"
style="width: 100%" style="width: 100%"
...@@ -149,21 +210,52 @@ ...@@ -149,21 +210,52 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt"> <el-form-item
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input> label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.exptxt"
maxlength="65"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox> <c-checkbox
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifexptxt"> v-model="model.gitp.exptxtmodflg"
:disabled="
model.gidgrp.rec.exptyp == 'FIXD' ||
model.gidgrp.rec.exptyp == 'OPEN' ||
model.gidgrp.rec.exptyp == ''
"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
vs. &System vs. &System
</c-button> </c-button>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisexptxt"> <c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
>
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
...@@ -219,7 +311,7 @@ ...@@ -219,7 +311,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- SF000883 : Demand Indicator --> <!-- SF000883 : Demand Indicator -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('gitp.SF000883')" prop="gidgrp.rec.demandc"> <el-form-item :label="$t('gitp.SF000883')" prop="gidgrp.rec.demandc">
<c-select v-model="model.gidgrp.rec.demandc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000883')"> <c-select v-model="model.gidgrp.rec.demandc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000883')">
...@@ -266,26 +358,21 @@ ...@@ -266,26 +358,21 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -4,9 +4,16 @@ ...@@ -4,9 +4,16 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric"> <el-form-item
label="Delivery of Undertak."
prop="gidgrp.rec.deloric"
>
<c-fullbox> <c-fullbox>
<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."
>
<el-option <el-option
v-for="item in codes.deloric" v-for="item in codes.deloric"
:key="item.value" :key="item.value"
...@@ -15,15 +22,30 @@ ...@@ -15,15 +22,30 @@
> >
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer" > <template slot="footer">
<c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input> <c-input
:disabled="
model.gidgrp.rec.deloric != 'OTHR' &&
model.gidgrp.rec.deloric != 'COUR'
"
v-model="model.gidgrp.rec.deloritxtc"
maxlength="35"
placeholder="请输入Delivery of Undertak."
></c-input>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc"> <el-form-item
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By"> 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 <el-option
v-for="item in codes.deltoc" v-for="item in codes.deltoc"
:key="item.value" :key="item.value"
...@@ -35,23 +57,65 @@ ...@@ -35,23 +57,65 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc"> <el-form-item
<c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input> label="Delivery to Address"
prop="gidgrp.blk.deltoadrc"
>
<c-input
:disabled="model.gidgrp.rec.deltoc == 'BENE'"
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
maxlength="35"
show-word-limit
placeholder="请输入Delivery to Address"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc"> <el-form-item
<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> 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> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> <c-checkbox
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox> v-model="model.gitp.prepercmodflg"
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc"> 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. &System vs. &System
</c-button> </c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc"> <c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 98px"
type="primary"
@click="onGitpButdifhispreperc"
>
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
...@@ -60,22 +124,52 @@ ...@@ -60,22 +124,52 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> <el-form-item
<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> 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> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> <c-button
style="margin: 5px 0 0 10px"
size="small"
type="primary"
icon="el-icon-search"
@click="onChargicButtxmsel"
>
... ...
</c-button> </c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox> <c-checkbox
style="margin: 0 0 0 10px"
v-model="model.gitp.chargic.chkast"
>Allow *</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc"> <el-form-item
<c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> label="Transfer Conditions"
prop="gidgrp.blk.trfcondc"
>
<c-input
disabled
rows="5"
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>
</c-col> </c-col>
...@@ -175,26 +269,21 @@ ...@@ -175,26 +269,21 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -5,26 +5,33 @@ ...@@ -5,26 +5,33 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> <c-input
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey" <c-input
v-model="model.gidgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`) showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onAplpDet"> <c-button size="small" type="primary" @click="onAplpDet">
Details Details
...@@ -35,35 +42,59 @@ ...@@ -35,35 +42,59 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
:disabled="model.gidgrp.apl.pts.adrblk!=''"
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirming Bank's Ref." prop="gidgrp.con.pts.ref"> <el-form-item
<c-input disabled v-model="model.gidgrp.con.pts.ref" maxlength="16" placeholder="请输入Confirming Bank's Ref."></c-input> label="Confirming Bank's Ref."
prop="gidgrp.con.pts.ref"
>
<c-input
disabled
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
placeholder="请输入Confirming Bank's Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirming Bank" prop="gidgrp.con.pts.extkey"> <el-form-item label="Confirming Bank" prop="gidgrp.con.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.con.pts.extkey" <c-input
disabled
v-model="model.gidgrp.con.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`) showGridPromptDialog(`gidgrp.con.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onConpDet"> <c-button
disabled
size="small"
type="primary"
@click="onConpDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -72,35 +103,55 @@ ...@@ -72,35 +103,55 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.con.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.con.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.con.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</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 label="Beneficiary's Ref." prop="gidgrp.ben.pts.ref"> <el-form-item label="Beneficiary's Ref." prop="gidgrp.ben.pts.ref">
<c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary's Ref."></c-input> <c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary's Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Beneficiary" prop="gidgrp.ben.pts.extkey"> <el-form-item label="Beneficiary" prop="gidgrp.ben.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.ben.pts.extkey" <c-input
v-model="model.gidgrp.ben.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`) showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onBenpDet"> <c-button
disabled
size="small"
type="primary"
@click="onBenpDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -109,35 +160,54 @@ ...@@ -109,35 +160,54 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref"> <el-form-item 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> <c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuing Bnak's Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.iss.pts.extkey" <c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`) showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onIsspDet"> <c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -146,7 +216,15 @@ ...@@ -146,7 +216,15 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -154,9 +232,13 @@ ...@@ -154,9 +232,13 @@
</c-row> </c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Parties" > <el-form-item label="Additional Parties">
<c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px"> <c-edit-table
<el-table-column label="操作" > :model="model"
v-bind="ptsaddg"
style="margin-left: -120px"
>
<el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
...@@ -169,21 +251,21 @@ ...@@ -169,21 +251,21 @@
</c-edit-table> </c-edit-table>
</el-form-item> </el-form-item>
</c-col> </c-col>
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
ptsaddg: { ptsaddg: {
columns: [ columns: [
...@@ -212,14 +294,11 @@ export default { ...@@ -212,14 +294,11 @@ export default {
], ],
urls: "gitp.ptsaddp.ptsaddg", urls: "gitp.ptsaddp.ptsaddg",
}, },
} };
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -3,29 +3,35 @@ ...@@ -3,29 +3,35 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> <c-input
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey" <c-input
v-model="model.gidgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`) showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onAplpDet"> <c-button size="small" type="primary" @click="onAplpDet">
Details Details
...@@ -36,57 +42,82 @@ ...@@ -36,57 +42,82 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
:model="model"
:argadr="{
title: 'Obligor', title: 'Obligor',
grp: 'gidgrp', grp: 'gidgrp',
rol: 'ctc', rol: 'ctc',
}" }"
:disabled="false" :disabled="false"
@onAplpDet="onCtcpDet"> @onAplpDet="onCtcpDet"
>
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
:model="model"
:argadr="{
title: 'Int. Beneficiary', title: 'Int. Beneficiary',
grp: 'gidgrp', grp: 'gidgrp',
rol: 'bec', rol: 'bec',
}" }"
:disabled="false" :disabled="false"
@onAplpDet="onBecpDet"> @onAplpDet="onBecpDet"
>
</c-ptap> </c-ptap>
</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 label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref"> <el-form-item 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> <c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuing Bnak's Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.iss.pts.extkey" <c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`) showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"></c-input> "
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onIsspDet"> <c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
Details Details
</c-button> </c-button>
</template> </template>
...@@ -95,32 +126,59 @@ ...@@ -95,32 +126,59 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
:model="model"
:argadr="{
title: 'Ultimate Ben Bank', title: 'Ultimate Ben Bank',
grp: 'gidgrp', grp: 'gidgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true" :disabled="true"
@onAplpDet="onCtcpDet"> @onAplpDet="onCtcpDet"
>
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref"> <el-form-item
<c-input disabled v-model="model.gidgrp.avc.pts.ref" maxlength="16" placeholder="请输入Avail. with Bank Ref."></c-input> label="Avail. with Bank Ref."
prop="gidgrp.avc.pts.ref"
>
<c-input
disabled
v-model="model.gidgrp.avc.pts.ref"
maxlength="16"
placeholder="请输入Avail. with Bank Ref."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey"> <el-form-item
label="External Key of Address"
prop="gidgrp.avc.pts.extkey"
>
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.avc.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
disabled
v-model="model.gidgrp.avc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
...@@ -136,7 +194,12 @@ ...@@ -136,7 +194,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam"> <el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam">
<c-input disabled v-model="model.gidgrp.avc.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
disabled
v-model="model.gidgrp.avc.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -145,28 +208,23 @@ ...@@ -145,28 +208,23 @@
</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/Getopn/Event" import Event from "~/model/Getopn/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -15,99 +15,154 @@ ...@@ -15,99 +15,154 @@
<!-- <el-button size="small">拆分报文</el-button> --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--gitp PD001291 开立方式 --> <!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp"> <el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes"/> <m-opnp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--gitp PD000002 Overview --> <!--gitp PD000002 Overview -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Overview" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000043 Parties --> <!--gitp PD000043 Parties -->
<el-tab-pane label="Parties" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000389 Details --> <!--gitp PD000389 Details -->
<el-tab-pane label="Details" name="detp"> <el-tab-pane label="Details" name="detp">
<c-content> <c-content>
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000210 Undertaking Text --> <!--gitp PD000210 Undertaking Text -->
<el-tab-pane label="Undertaking Text" name="gidtxtp"> <el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/> <m-gidtxtp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF')" label="Confirmation Details" name="confp"> <el-tab-pane
<m-confp :model="model" :codes="codes"/> v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.legfrm == 'STBY' ||
model.gidgrp.rec.purpos == 'ACNF')
"
label="Confirmation Details"
name="confp"
>
<m-confp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Liability" name="liability"> <el-tab-pane label="Liability" name="liability">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan"> <el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/> <m-glepan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Completion" name="Completion"> <el-tab-pane label="Completion" name="Completion">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Messages" name="Messages"> <el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments"> <el-tab-pane label="Attachments" name="Attachments">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc"> <el-tab-pane
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label="Seq C : Overview"
name="ovwpc"
>
<c-content> <c-content>
<m-ovwpc :model="model" :codes="codes"/> <m-ovwpc :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 : 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"> <el-tab-pane
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label="Seq C : Presentation/Delivery"
name="preperpc"
>
<c-content> <c-content>
<m-preperpc :model="model" :codes="codes"/> <m-preperpc :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 : Details" name="detpc"> <el-tab-pane
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label="Seq C : Details"
name="detpc"
>
<c-content> <c-content>
<m-detpc :model="model" :codes="codes"/> <m-detpc :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 : Undertaking Text" name="gidtxtpc"> <el-tab-pane
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label="Seq C : Undertaking Text"
name="gidtxtpc"
>
<c-content> <c-content>
<m-gidtxtpc :model="model" :codes="codes"/> <m-gidtxtpc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.gitp.aacp.aacmod.addamtflg=='X'" label="Seq C : Add Amounts" name="aacp"> <el-tab-pane
v-if="model.gitp.aacp.aacmod.addamtflg == 'X'"
label="Seq C : Add Amounts"
name="aacp"
>
<c-content> <c-content>
<m-aacp :model="model" :codes="codes"/> <m-aacp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000409 Confirmation Details --> <!--gitp PD000409 Confirmation Details -->
...@@ -116,32 +171,36 @@ ...@@ -116,32 +171,36 @@
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Getopn from "~/model/Getopn" import Getopn from "~/model/Getopn";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Getopn/Check" import Check from "~/model/Getopn/Check";
import Default from "~/model/Getopn/Default" import Default from "~/model/Getopn/Default";
import Pattern from "~/model/Getopn/Pattern" import Pattern from "~/model/Getopn/Pattern";
import Opnp from "./Opnp" import Opnp from "./Opnp";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp";
import Detp from "./Detp" import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp" import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp" import Confp from "./Confp";
import Ovwpc from "./Ovwpc" import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc" import Ptypc from "./Ptypc";
import Preperpc from "./Preperpc" import Preperpc from "./Preperpc";
import Detpc from "./Detpc" import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc" import Gidtxtpc from "./Gidtxtpc";
import Aacp from "./Aacp" import Aacp from "./Aacp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan"; import Ccvpan from "~/views/Public/Ccvpan";
...@@ -152,41 +211,40 @@ import Docpan from "~/views/Public/Docpan"; ...@@ -152,41 +211,40 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Getopn", name: "Getopn",
components:{ components: {
"m-opnp" : Opnp, "m-opnp": Opnp,
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-detp" : Detp, "m-detp": Detp,
"m-gidtxtp" : Gidtxtp, "m-gidtxtp": Gidtxtp,
"m-confp" : Confp, "m-confp": Confp,
"m-ovwpc" :Ovwpc, "m-ovwpc": Ovwpc,
"m-ptypc" : Ptypc, "m-ptypc": Ptypc,
"m-preperpc" :Preperpc, "m-preperpc": Preperpc,
"m-detpc" :Detpc, "m-detpc": Detpc,
"m-gidtxtpc" :Gidtxtpc, "m-gidtxtpc": Gidtxtpc,
"m-aacp" :Aacp, "m-aacp": Aacp,
"m-engp" :Engp, "m-engp": Engp,
"m-ccvpan" :Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-glepan" :Glepan, "m-glepan": Glepan,
"m-coninfp" :Coninfp, "m-coninfp": Coninfp,
"m-docpan" :Docpan, "m-docpan": Docpan,
"m-doctre" :Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this, root: this,
flag:false, flag: false,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "opnp", tabVal: "opnp",
trnName: "getopn", trnName: "getopn",
...@@ -197,49 +255,44 @@ export default { ...@@ -197,49 +255,44 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
const name = tab.name const name = tab.name;
let rulePath; let rulePath;
if(name==="setpan"){ if (name === "setpan") {
this.flag=true; this.flag = true;
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then(res => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data) this.updateModel(res.data);
} }
}) });
} }
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入getopn交易"); console.log("进入getopn交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
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