Commit c1714fb2 by liyixun

gitopn 优化

parent d79225cd
<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">
<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="780" show-word-limit placeholder="请输入Covered" ></c-input> <c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc"
maxlength="780"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</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/Gitopn/Event" import Event from "~/model/Gitopn/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>
<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">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="数据采集标志" prop="cfagit.cfaflg"> <el-form-item label="数据采集标志" prop="cfagit.cfaflg">
<c-select v-model="model.cfagit.cfaflg" <c-select
style="width:100%" v-model="model.cfagit.cfaflg"
style="width: 100%"
placeholder="请选择数据采集标志" placeholder="请选择数据采集标志"
@change="dclpChange" @change="dclpChange"
> >
...@@ -22,21 +22,31 @@ ...@@ -22,21 +22,31 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" :offset="20"> <c-col :span="4" :offset="20">
<c-checkbox disabled v-model="model.cfagit.basflg">签约信息</c-checkbox> <c-checkbox disabled v-model="model.cfagit.basflg"
>签约信息</c-checkbox
>
</c-col> </c-col>
<c-col :span="4" :offset="20"> <c-col :span="4" :offset="20">
<c-checkbox disabled v-model="model.cfagit.dclflg">责任余额信息</c-checkbox> <c-checkbox disabled v-model="model.cfagit.dclflg"
>责任余额信息</c-checkbox
>
</c-col> </c-col>
<c-col :span="4" :offset="20"> <c-col :span="4" :offset="20">
<c-checkbox disabled v-model="model.cfagit.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfagit.vrfflg"
>履约信息</c-checkbox
>
</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="地区机构号" prop="cfagit.ownextkey"> <el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号"> <c-select
v-model="model.cfagit.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
<el-option <el-option
v-for="item in codes.ownextkey1" v-for="item in codes.ownextkey1"
:key="item.value" :key="item.value"
...@@ -50,75 +60,42 @@ ...@@ -50,75 +60,42 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="数据采集标志" prop="cfagit.cfaflg">
<c-select v-model="model.cfagit.cfaflg" style="width:100%" placeholder="请选择数据采集标志">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfagit.basflg">签约信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfagit.dclflg">�'�任余额信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfagit.vrfflg">履约信息</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</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/Gitopn/Event" import Event from "~/model/Gitopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
computed :{ computed: {},
watch: {},
}, methods: {
watch:{
},
methods:{
...Event, ...Event,
async dclpChange(){ async dclpChange() {
this.executeDefault("cfagit.dclnum").then((res) => { this.executeDefault("cfagit.dclnum").then((res) => {
if ((res.respCode == SUCCESS)) { if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
}); });
this.executeDefault("cfagit.recp.dclp").then((res) => { this.executeDefault("cfagit.recp.dclp").then((res) => {
if ((res.respCode == SUCCESS)) { if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
}); });
}
}, },
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="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg"> <el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"> <c-select
disabled
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表"
>
<el-option <el-option
v-for="item in codes.cnyflg" v-for="item in codes.cnyflg"
:key="item.value" :key="item.value"
...@@ -20,7 +24,12 @@ ...@@ -20,7 +24,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg"> <el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select disabled v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表"> <c-select
disabled
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2107表"
>
<el-option <el-option
v-for="item in codes.traflg" v-for="item in codes.traflg"
:key="item.value" :key="item.value"
...@@ -34,7 +43,12 @@ ...@@ -34,7 +43,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg"> <el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select disabled v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表"> <c-select
disabled
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2111表"
>
<el-option <el-option
v-for="item in codes.outflg" v-for="item in codes.outflg"
:key="item.value" :key="item.value"
...@@ -45,13 +59,16 @@ ...@@ -45,13 +59,16 @@
</c-select> </c-select>
</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="是否报送跨境人民币2106表" prop="cnybop.libflg"> <el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select disabled v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表"> <c-select
disabled
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2106表"
>
<el-option <el-option
v-for="item in codes.libflg" v-for="item in codes.libflg"
:key="item.value" :key="item.value"
...@@ -65,7 +82,12 @@ ...@@ -65,7 +82,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg"> <el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select :disabled="model.gidgrp.rec.fingua!='Y'" v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表"> <c-select
:disabled="model.gidgrp.rec.fingua != 'Y'"
v-model="model.cnybop.vouflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2122表"
>
<el-option <el-option
v-for="item in codes.vouflg" v-for="item in codes.vouflg"
:key="item.value" :key="item.value"
...@@ -79,64 +101,24 @@ ...@@ -79,64 +101,24 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
</el-form-item>
</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/Gitopn/Event" import Event from "~/model/Gitopn/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},
created:function(){
}, },
methods: { ...Event },
} created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
<c-checkbox <c-checkbox
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.covgod.chkast" v-model="model.gitp.covgod.chkast"
style="margin: 0 0 0 10px" style="margin: 0 0 0 10px;"
>Allow *</c-checkbox >Allow *</c-checkbox
> >
<c-button <c-button
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px" style="margin: 5px 0 0 10px;width:100px"
@click="onGitpButdifcovgodsrv" @click="onGitpButdifcovgodsrv"
> >
vs.&System vs.&System
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px" style="margin: 5px 0 0 10px;width:100px"
@click="onGitpButdifhiscovgodsrv" @click="onGitpButdifhiscovgodsrv"
> >
vs.&History vs.&History
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<c-col :span="20">
<el-form-item <el-form-item
v-if="model.gitp.covgodsrvcmodflg == ''" v-if="model.gitp.covgodsrvcmodflg == ''"
label="Object of Contract" label="Object of Contract"
...@@ -69,7 +68,6 @@ ...@@ -69,7 +68,6 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox <c-checkbox
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
......
...@@ -122,50 +122,6 @@ ...@@ -122,50 +122,6 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -4,18 +4,41 @@ ...@@ -4,18 +4,41 @@
<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="32500" 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="32500"
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="32500" 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="32500"
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 +47,7 @@ ...@@ -24,7 +47,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,115 +56,91 @@ ...@@ -33,115 +56,91 @@
</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>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text local undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="1" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButgetrefc">
Get &Ref.
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflgc">Modify Guarantee Text - Local Undertaking Seq. C</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxtc">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifc">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxtc">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</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 IStreamInput from '~/components/IStreamInput' import IStreamInput from "~/components/IStreamInput";
import Event from "~/model/Gitopn/Event" import Event from "~/model/Gitopn/Event";
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,11 @@ ...@@ -16,7 +20,11 @@
<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 v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保"> <c-select
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"
...@@ -28,10 +36,17 @@ ...@@ -28,10 +36,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12" v-if="model.gidgrp.cbs.max.cur == 'CNY'">
<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="model.gidgrp.rec.fingua=='N'||model.gidgrp.rec.fingua==''" v-model="model.gidgrp.rec.cfaguatyp" style="width:90%" placeholder="请选择对外担保类型"> <c-select
:disabled="
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
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,59 +58,53 @@ ...@@ -43,59 +58,53 @@
</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 disabled v-model="model.gidgrp.rec.cmtflg"
</c-col> >跨境人民币保函</c-checkbox
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> --> >
</c-col>
<!-- <c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式">
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保">
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12" v-if="model.gidgrp.cbs.max.cur != 'CNY'">
<c-col :span="24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" placeholder="请选择对外担保类型"> <c-select
:disabled="
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
>
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</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/Gitopn/Event" import Event from "~/model/Gitopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
computed: { computed: {},
}, 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="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item <c-col :span="16">
label="Delivery of Undertak." <c-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori">
prop="gidgrp.rec.delori"
>
<c-fullbox>
<c-select <c-select
:disabled=" :disabled="
model.gidgrp.rec.purpos == 'ICCO' || model.gidgrp.rec.purpos == 'ICCO' ||
...@@ -26,7 +23,9 @@ ...@@ -26,7 +23,9 @@
> >
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer"> </c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxt"> <el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
<c-input <c-input
:disabled=" :disabled="
...@@ -38,9 +37,7 @@ ...@@ -38,9 +37,7 @@
placeholder="请输入Delivery of Undertak." placeholder="请输入Delivery of Undertak."
></c-input> ></c-input>
</el-form-item> </el-form-item>
</template> </c-col>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -53,23 +50,14 @@ ...@@ -53,23 +50,14 @@
v-model="model.gidgrp.rec.sndto" v-model="model.gidgrp.rec.sndto"
style="width: 100%" style="width: 100%"
placeholder="请选择Undertaking Send to" placeholder="请选择Undertaking Send to"
:code="codes.rolall"
> >
<el-option
v-for="item in codes.rolall"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="Deliv. To/Collection By" prop="gidgrp.rec.delto">
label="Deliv. To/Collection By"
prop="gidgrp.rec.delto"
>
<c-select <c-select
:disabled=" :disabled="
model.gidgrp.rec.purpos == 'ICCO' || model.gidgrp.rec.purpos == 'ICCO' ||
...@@ -78,23 +66,14 @@ ...@@ -78,23 +66,14 @@
v-model="model.gidgrp.rec.delto" v-model="model.gidgrp.rec.delto"
style="width: 100%" style="width: 100%"
placeholder="请选择Deliv. To/Collection By" placeholder="请选择Deliv. To/Collection By"
:code="codes.delto"
> >
<el-option
v-for="item in codes.delto"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
label="Delivery to Address"
prop="gidgrp.blk.deltoadr"
>
<c-input <c-input
:disabled=" :disabled="
model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != '' model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''
...@@ -148,11 +127,11 @@ ...@@ -148,11 +127,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20">
<el-form-item <el-form-item
label="Additional Details to Code for Charges" label="Additional Details to Code for Charges"
prop="gidgrp.blk.feetxt" prop="gidgrp.blk.feetxt"
> >
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
rows="4" rows="4"
...@@ -161,8 +140,11 @@ ...@@ -161,8 +140,11 @@
show-word-limit show-word-limit
placeholder="请输入Additional Details to Code for Charges" placeholder="请输入Additional Details to Code for Charges"
></c-input> ></c-input>
<template slot="footer"> </el-form-item>
</c-col>
<c-col :span="4">
<c-button <c-button
style="margin: 5px 0 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
...@@ -170,9 +152,7 @@ ...@@ -170,9 +152,7 @@
> >
... ...
</c-button> </c-button>
</template> </c-col>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
...@@ -241,7 +221,7 @@ ...@@ -241,7 +221,7 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-row> <!-- </c-row> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -267,13 +247,13 @@ export default { ...@@ -267,13 +247,13 @@ export default {
} }
}, },
async modflgChange(){ async modflgChange() {
let rtnmsg = await this.executeRule("gitp.prepermodflg"); let rtnmsg = await this.executeRule("gitp.prepermodflg");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
} },
}, },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
> >
</c-button> </c-button>
<c-button <c-button
disabled :disabled="model.gidgrp.apl.pts.adrblk==''"
size="small" size="small"
type="primary" type="primary"
@click="onAplpDet" @click="onAplpDet"
......
...@@ -194,9 +194,7 @@ ...@@ -194,9 +194,7 @@
label="Seq C : Parties" label="Seq C : Parties"
name="ptypc" name="ptypc"
> >
<c-content>
<m-ptypc :model="model" :codes="codes" /> <m-ptypc :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
...@@ -370,6 +368,8 @@ export default { ...@@ -370,6 +368,8 @@ export default {
rulePath = "dclpp"; rulePath = "dclpp";
}if (name === "gidtxtp"){ }if (name === "gidtxtp"){
rulePath = "gitp.gidtxtp" rulePath = "gitp.gidtxtp"
}if (name === "ptypc"){
rulePath = "gitp.ptypc"
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
......
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