Commit 08999356 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 1afb387c a9be9a5a
......@@ -1711,6 +1711,10 @@ const CodeTable = {
{ label: "新增", value: "1" },
{ label: "变动", value: "3" },
],
cfaflg1:[
{ label: "不报送", value: "4" },
{ label: "新增", value: "1" },
],
cfaguatyp: [
{ label: "质量类", value: "1202" },
{ label: "履约类", value: "1203" },
......@@ -3610,7 +3614,7 @@ const CodeTable = {
{ label: "Advise", value: "FA" },
{ label: "Indirect (please issue)", value: "OC" },
],
seahndtyp: [
seahndtyp1: [
{ label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" },
{ label: "Advise with confirmation", value: "FI" },
......@@ -4590,9 +4594,9 @@ const CodeTable = {
{ label: "Y", value: "Y" },
{ label: "N", value: "N" },
],
ownextkey: [
{ label: "08350012", value: "08350012" },
{ label: "08357113", value: "08357113" },
ownextkey1: [
{ label: "08350012北京分行", value: "08350012" },
{ label: "08357113 LM ADD", value: "08357113" },
],
ownextkey: [
{ label: "修改", value: "C" },
......@@ -5987,6 +5991,13 @@ const CodeTable = {
{ label: "VN Vietnam", value: "VN" },
{ label: "TH Thailand", value: "TH" },
],
uiltxt1:[
{ label: "EN English", value: "EN" },
{ label: "CN Chinese", value: "CN" },
],
uiltxt2:[
{ label: "EN English", value: "EN" },
],
unttyp: [
{ label: "Constant", value: "CONST" },
],
......@@ -6666,7 +6677,7 @@ const CodeTable = {
{ label: "Refund Guarantee", value: "00000006" },
{ label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" },
{ label: "blank text", value: "<NILTXT>" },
{ label: "blank text", value: "" },
],
gtxinr1:[
{label:"Performance Guaratee2",value:"00000008"},
......@@ -6674,7 +6685,7 @@ const CodeTable = {
{label:"Advance/Down Payment Guarantee",value:"00000203"},
{label:"performance Gua for Project contracting",value:"00000202"},
{label:"LMTEST02",value:"00000216"},
{label:"blank text",value:"<NILTXT>"},
{label:"blank text",value:""},
],
docstabot: [
{ label: "Collection pre-opened", value: "A" },
......@@ -31579,6 +31590,27 @@ const CodeTable = {
{ label: "Advise", value: "FA" },
{ label: "Indirect (please issue)", value: "OC" },
],
hndtyp1:[
{ label: "Transfer", value: "OT" },
],
hndtyp2:[
{ label: "Receive to issue", value: "FR" },
],
hndtyp3:[
{ label: "Direct (we issue)", value: "OL" },
],
hndtyp4:[
{ label: "Indirect (please issue)", value: "OC" },
],
hndtyp5:[
{ label: "Receive to issue", value: "FR" },
],
hndtyp6:[
{ label: "Advise", value: "FA" },
],
hndtyp7:[
{ label: "Advise with confirmation", value: "FI" },
],
idtype: [
{ label: "对私中国居民", value: "D" },
{ label: "对私中国非居民", value: "F" },
......@@ -31719,7 +31751,26 @@ const CodeTable = {
{ label: "Standby Letter of Credit", value: "STBY" },
{ label: "Dependent Undertaking", value: "DEPU" },
],
legfrmc1: [
{ label: "Demand Guarantee", value: "DGAR" },
{ label: "Standby Letter of Credit", value: "STBY" },
],
legfrm: [
{ label: "Standby letter of credit ", value: "STBY" },
{ label: "Uniform Rules for Contract Guarant. URCG", value: "URG" },
{ label: "Undertaking (for example guarantee, surely)", value: "UNDK" },
{ label: "Uniform Rules for Contract Bonds URCB", value: "URB" },
{ label: "OTHER", value: "DEPU" },
{ label: "Unit. Nations Convention ind. Guarantees", value: "UNC" },
{ label: "Demand guarantee ", value: "DGAR" },
{ label: "Guarantee (Standard)", value: "STD" },
{ label: "Guarantee (Others)", value: "GUO" },
{ label: "Surety Payable On First Demand ", value: "SPDM" },
{ label: "Guarantee (ICC758)", value: "758" },
{ label: "Guarantee (ICC458)", value: "458" },
{ label: "Uniform Customs and Pract.Doc.Cre. UCP", value: "UCP" },
{ label: "Standby Letter of Credit (ISP)", value: "ISP" },
],
lev: [
{ label: "Cover Letter", value: "2" },
{ label: "Attachment", value: "5" },
......@@ -32255,11 +32306,21 @@ const CodeTable = {
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
],
// purpos:[
// {label:"Advice of the credit amendment",value:"ADVI" },
// {label:"Advice and confirmation of the credit amendment",value:"ACNF" },
// {label:"Issuance of the credit amendment",value:"ISSU" },
// ]
purpos1:[
{ label: "ISSU Issuance of undertaking", value: "ISSU" },
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
],
purpos2:[
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
],
purpos3:[
{ label: "ISSU Issuance of undertaking", value: "ISSU" },
],
purpos4:[
{ label: "ADVI Advice of issued undertaking", value: "ADVI" },
{ label: "ACNF Advice and confirm of issued undert", value: "ACNF" },
],
purposin: [
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
{ label: "ISSU Issuance of undertaking", value: "ISSU" },
......@@ -33167,15 +33228,19 @@ const CodeTable = {
{ label: "Refund Guarantee", value: "00000006" },
{ label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" },
{ label: "LMTEST02", value: "00000216" },
{ label: "LMTEST01", value: "00000215" },
{ label: "blank text", value: "<NILTXT>" },
{ label: "blank text", value: "" },
],
gtxinr1:[
{label:"LMTEST02",value:"00000216" },
{label:"blank text",value:"<NILTXT>"},
{label:"LMTEST01",value:"00000215" },
{label:"blank text",value:""},
],
gtxinr2:[
{label:"LMTEST02",value:"00000216" },
{label:"blank text",value:""},
],
gtxinr3:[
{label:"blank text",value:""},
],
docstabot:[
{label:"Collection pre-opened",value:"A"},
{label:"Collection opened",value:"B"},
......@@ -33228,24 +33293,10 @@ const CodeTable = {
{label:"Other method",value:"OTHR"},
{label:"By registered mail or airmail",value:"REGM"},
],
apprul1: [
{ label: "UCP LATEST VERSION", value: "UCP LATEST VERSION" },
{ label: "UCPURR LATEST VERSION", value: "UCPURR LATEST VERSION" },
{ label: "EUCPURR LATEST VERSION", value: "EUCPURR LATEST VERSION" },
{ label: "EUCP LATEST VERSION", value: "EUCP LATEST VERSION" },
{ label: "ANY OTHER RULE", value: "OTHR" },
{ label: "ISP LATEST VERSION", value: "ISP LATEST VERSION" },
],
apprul2: [
{ label: "The guarantee is subject to the ICC Rules for Demand Guarantees", value: "URDG" },
{ label: "The guarantee is subject to the ICC Rules for Contract Guarantees", value: "URCG" },
{ label: "The guarantee is not subject to any set of rule", value: "NONE" },
{ label: "The guarantee is subject to another set of rules,see Narrative", value: "OTHR" },
{ label: "The guarantee is subject to International Standby Practices", value: "ISPR" },
{ label: "Undertaking is subject to UCP Rules f.Doc.Credit", value: "UCPR" },
],
atxinr: [
{ label: "blank text (for electronic SWIFT msg)", value: "<NILTXT>" },
],
ctytxt1:[
{label:"CN People's Republic of China",value:"CN"},
{label:"HK HONG KONG",value:"HK"},
{label:"GB Great Britain",value:"GB"},
]
}
export default CodeTable;
\ No newline at end of file
......@@ -231,7 +231,7 @@ export default {
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 300,message:"长度不能超过300"}
],
"bodgrp.blk.intins":[
......
......@@ -180,6 +180,7 @@ let checkObj = {
"cnybop.cnyvou.stransattr" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gitp.inccormsgflg" :null,
......@@ -206,6 +207,7 @@ let checkObj = {
"gidgrp.iss.pts.ref" :null,
"cnybop.svouchername" :null,
"cfagit.recgrp.bas.guaranamount" :null,
"gidgrp.cbs.mac2.amt" :null,
"addbcb.preexpdat" :null,
"cnybop.libflg" :null,
"gitp.gidtxtmodflg" :null,
......
......@@ -95,6 +95,7 @@ export default {
"gidgrp.atb.namelc" :Utils.defaultFunction,
"gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.adrblk" :Utils.defaultFunction,
"gidgrp.cbs.mac2.amt" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
......@@ -175,6 +176,8 @@ export default {
"gidgrp.rec.tendatc" :Utils.defaultFunction,
"gidgrp.rec.jurlaws20" :Utils.defaultFunction,
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.blk.addamtcovc" :Utils.defaultFunction,
"gidgrp.cbs.mac2.cur" :Utils.defaultFunction,
"gitp.aacp.aacmod.addamtflg" :Utils.defaultFunction,
"gidgrp.rec.cnfdat" :Utils.defaultFunction,
"gidgrp.ben.adrelc" :Utils.defaultFunction,
......@@ -217,9 +220,5 @@ export default {
"gitp.lettername" :Utils.defaultFunction,
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"cfagit.ownextkey" :Utils.defaultFunction,//新增字段,地区机构号
"cnybop.cnyvou.sbankorgcode" :Utils.defaultFunction,//新增字段,报送银行机构代码
"cnybop.cnyvou.spk" :Utils.defaultFunction,//新增字段,业务主键
"cfagit.recgrp.bas.guarancurr" :Utils.defaultFunction,//新增字段,保函金额
}
//你可以添加自动default处理
......@@ -216,9 +216,23 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
this.model.infcon.godcod = "";
},
}
\ No newline at end of file
......@@ -115,8 +115,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
async handleReset(formName) {
console.log(this);
this.$refs[formName].resetFields();
},
async handleSearch() {
......
......@@ -206,9 +206,22 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
}
\ No newline at end of file
......@@ -260,26 +260,18 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset(formName) {
this.$refs[formName].resetFields();
},
// async handleSearch() {
// this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
......
......@@ -398,5 +398,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onExtkey(){},
}
\ No newline at end of file
......@@ -45,7 +45,7 @@ export default {
"ledgrp.ben.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.cbs.nom1.amt": [
......@@ -56,24 +56,24 @@ export default {
"ledgrp.ben.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.ben.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.nomtop": [
{ type: "stirng", required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" }
{ type: "number", required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过2" }
],
"ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" }
{ type: "number",required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过2" }
],
"ledgrp.ben.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
......@@ -109,7 +109,7 @@ export default {
"ledgrp.iss.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
......@@ -119,11 +119,11 @@ export default {
],
"ledgrp.iss.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.iss.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
......@@ -165,20 +165,20 @@ export default {
],
"ledgrp.apl.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.apl.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.apl.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.apprultxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
......@@ -216,7 +216,7 @@ export default {
],
"ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string",max: 999, message: "长度不能超过35" }
],
"ledgrp.avb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -231,8 +231,8 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ type:"number",required: false, message: "必输项" },
{ type:"number",max: 999, message: "长度不能超过3" }
],
......@@ -291,15 +291,15 @@ export default {
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.tenmaxday": [
{ required: false, message: "必输项" },
{ max: 4, message: "长度不能超过4" }
{ type: "number",required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过4" }
],
"ledgrp.rec.porloa": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.pordis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.shpto": [
......@@ -307,7 +307,7 @@ export default {
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.adv.pts.ref": [
......@@ -593,13 +593,13 @@ export default {
],
"ledgrp.cbs.max2.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -75,7 +75,11 @@
placeholder="请输入Draft Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.dftins.buttxmsel',null,null,{TXT:'bodgrp.blk.dftins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -108,7 +112,11 @@
placeholder="请输入Protest Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.proins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -143,7 +151,11 @@
placeholder="请输入Other Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.othins.buttxmsel',null,null,{TXT:'bodgrp.blk.othins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -174,7 +186,11 @@
placeholder="请输入Warehouse/Insurance instruction">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.whins.buttxmsel',null,null,{TXT:'bodgrp.blk.delins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -309,8 +325,8 @@
<c-col :span="12">
<el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" :disabled="true"
:code="codes.cur">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount"
:disabled="true" :code="codes.cur">
</c-select>
</el-form-item>
......@@ -338,36 +354,36 @@
</c-row>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
},
methods: { ...Event },
created: function () {
},
computed:{
colinsflg:{
get(){
return this.model.bodgrp.blk.colinsflg ==="X";
},
set(val){
this.model.bodgrp.blk.colinsflg=val ? "X":"";
},
},
computed: {
colinsflg: {
get() {
return this.model.bodgrp.blk.colinsflg === "X";
},
set(val) {
this.model.bodgrp.blk.colinsflg = val ? "X" : "";
},
},
}
}
}
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -44,7 +44,7 @@
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......
......@@ -87,97 +87,98 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern"
import Ovwp from "./Ovwp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
//import Doctre from "./Doctre"
import Cnyp from "./Cnyp"
import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
export default {
name: "botdav",
components: {
"m-ovwp": Ovwp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-srmp": Srmp,
"m-engp": Engp,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "botdav",
model: new Botdav().data,
// checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
// tabClick(){
// },
// handleSubmit(){},
// handleCheck(){},
// handleStash(){},
},
created: async function () {
console.log("进入botdav交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern"
import Ovwp from "./Ovwp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
//import Doctre from "./Doctre"
import Cnyp from "./Cnyp"
import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
export default {
name: "botdav",
components: {
"m-ovwp": Ovwp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-srmp": Srmp,
"m-engp": Engp,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "botdav",
model: new Botdav().data,
// checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
// tabClick(){
// },
// handleSubmit(){},
// handleCheck(){},
// handleStash(){},
},
created: async function () {
console.log("进入botdav交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
};
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
};
</script>
<style>
</style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-col :span="14">
<el-form-item 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>
</c-col>
<c-col :span="10">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<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>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<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>
</el-form-item>
</c-col>
</c-col>
</c-col>
</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>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -10,7 +10,7 @@
style="width:100%"
placeholder="请选择数据采集标志">
<el-option
v-for="item in cfaflg"
v-for="item in codes.cfaflg1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -35,6 +35,13 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<el-option
v-for="item in codes.ownextkey1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -81,25 +88,12 @@ export default {
mixins: [commonProcess],
data(){
return {
cfaflg:[
{ label: "不报送", value: "4" },
{ label: "新增", value: "1" },
]
}
},
computed :{
},
watch:{
// "model.cfagit.cfaflg":function(){
// if(this.model.cfagit.cfaflg=="1"){
// this.model.cfagit.basflg="X";
// this.model.cfagit.dclflg="X";
// }else{
// this.model.cfagit.basflg="";
// this.model.cfagit.dclflg="";
// }
// }
},
methods:{
...Event,
......
......@@ -73,7 +73,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select :disabled="model.gitp.swiftflg!='Y'" v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -88,7 +88,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
<c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<c-input :disabled="model.gidgrp.rec.jurlaws20==''" v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -8,7 +8,7 @@
<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 v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
<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>
</c-col>
</c-col>
......
......@@ -4,8 +4,11 @@
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
<el-form-item 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 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>
</c-col>
</c-col>
......@@ -119,9 +122,11 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import IStreamInput from '~/components/IStreamInput'
import Event from "~/model/Gitopn/Event"
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-row>
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
......@@ -45,7 +45,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-input 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>
......@@ -53,7 +53,7 @@
<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">
<el-option
v-for="item in codes.legfrmc"
v-for="item in codes.legfrmc1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -119,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-input :disabled="model.gidgrp.blk.apprulc=='URDG'||model.gidgrp.blk.apprulc=='NONE'||model.gidgrp.blk.apprulc=='UCPR'" 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>
......
<template>
<div class="eibs-tab">
<c-row>
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
......@@ -16,7 +16,7 @@
</el-option>
</c-select>
<template slot="footer" >
<c-input 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>
</c-fullbox>
</el-form-item>
......@@ -36,7 +36,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
<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>
</c-col>
<c-col :span="24">
......@@ -49,7 +49,7 @@
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. S&ystem
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
......@@ -75,12 +75,12 @@
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input aria-disabled="" rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
<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>
</c-col>
</c-col>
</c-col>
</c-row>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
......
......@@ -99,9 +99,7 @@
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
......@@ -187,6 +185,10 @@
<m-gidtxtpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.aacp.aacmod.addamtflg=='X'" label="Seq C : Add Amounts" name="aacp">
<m-aacp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000749 -->
<!-- <el-tab-pane label="PD000749" name="ovwpc">
......@@ -246,6 +248,7 @@ import Ovwp20 from "./Ovwp20"
import Confp from "./Confp"
import Conp from "./Conp"
import Conp1 from "./Conp1"
import Aacp from "./Aacp"
import Engp from "~/views/Public/Engp";
......@@ -290,6 +293,7 @@ export default {
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
"m-aacp" :Aacp,
},
provide() {
return {
......@@ -317,10 +321,10 @@ export default {
const name = tab.name
let rulePath;
if (name === "conp") {
rulePath = "recp.conp";
rulePath = "cfagit.recp.conp";
}
if(name==="cfap"){
rulepath = "cfap";
if(name==="voup"){
rulePath = "cnybop.voup";
}
// if (name === "glepan") {
// rulePath = "glepan";
......
......@@ -58,35 +58,7 @@
<c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
<c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-if="model.gitp.swiftflg=='Y'" v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
<c-input disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
......@@ -94,7 +66,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
<c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<c-input :disabled="model.gidgrp.rec.jurlaws20==''" v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -115,6 +87,37 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
<c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
<c-input disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="手册号码" prop="gidgrp.rec.mannum">
<c-input disabled v-model="model.gidgrp.rec.mannum" maxlength="12" placeholder="请输入手册号码"></c-input>
......
......@@ -71,26 +71,28 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc">
<c-input v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<c-input :disabled="model.gidgrp.rec.jurlawc==''" v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -53,7 +53,7 @@
<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">
<el-option
v-for="item in codes.legfrmc"
v-for="item in codes.legfrmc1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -272,6 +272,8 @@ export default {
**/
}
},
created:async function(){
console.log("进入gitpop交易");
let rtnmsg = await this.init({})
......@@ -285,7 +287,25 @@ export default {
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
watch:{
ogiamt: {
handler(num) {
console.log("=================================")
num = this.ogiamt;
num = num.toFixed(2);
num = parseFloat(num);
num = num.toLocaleString();
return num;//返回的是字符串23,245.12保留2位小数
},
immediate: true
}
},
}
</script>
<style>
......
<template>
<div class="eibs-tab">
<!-- 持续展示区 -->
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
......@@ -10,6 +10,7 @@
label-position="right"
label-width="110px"
size="small"
:model="model"
>
<c-row>
<c-col :span="24">
......
......@@ -66,8 +66,6 @@
</c-col>
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......
......@@ -327,7 +327,7 @@
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.seahndtyp"
v-for="item in codes.seahndtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
......@@ -9,6 +9,7 @@
label-position="left"
label-width="110px"
size="small"
:model="model"
>
<el-row>
<c-col :span="8">
......@@ -641,12 +642,12 @@ async getButtons(ownref){
this.$router.history.push("/business/letrsv")
},
handleReset: function () {
this.model = {
instNo: "",
instName: "",
};
},
// handleReset: function () {
// this.model = {
// instNo: "",
// instName: "",
// };
// },
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.rec.avbwth">
<c-select
v-model="model.ledgrp.rec.avbwth"
v-model="avbFlag"
style="width: 100%"
placeholder="Please select Available with"
:code="codes.avbwth"
......@@ -211,7 +211,7 @@
<el-form-item label="Presentation Period" prop="ledgrp.rec.prepers18">
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.prepers18"
v-model.number="model.ledgrp.rec.prepers18"
placeholder="Please input Presentation Period"
></c-input>
<template slot="footer">
......@@ -220,6 +220,7 @@
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
disabled
>
...
</c-button>
......@@ -293,10 +294,9 @@
<c-col :span="24">
<el-form-item label="Maximum Tenor(Days)" prop="ledgrp.rec.tenmaxday">
<c-input
v-model="model.ledgrp.rec.tenmaxday"
v-model.number="model.ledgrp.rec.tenmaxday"
placeholder="Please input Maximum Tenor"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
......@@ -347,6 +347,37 @@ export default {
});
},
},
computed: {
avbFlag: {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
)
},
},
defdetFlag: {
get() {
return (
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this.model.ledgrp.rec.avbby != 'D' &&
this.model.ledgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag: {
get() {
return (
this.model.ledgrp.rec.avbby == 'D' ||
this.model.ledgrp.rec.avbby == 'M' ||
this.model.ledgrp.rec.avbby == ''
)
},
},
},
created: function () {},
watch: {
"model.ledgrp.avb.pts.adrblk": {
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<!-- 顶部 -->
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="Please input Reference"
style="width: 95%"
disabled
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
Get
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select
......@@ -79,7 +96,6 @@
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
>
</c-button>
</template>
......@@ -117,19 +133,21 @@
style="text-align: left; width: 100%"
placeholder="Please input Nominal Amount"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" style="margin-left: 10px"
>Add. Amount</c-checkbox
>
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>Add. Amount</c-checkbox
>
</c-col>
</c-col>
......@@ -137,9 +155,9 @@
<c-col :span="12">
<el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input
v-model="model.ledgrp.rec.nomtop"
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
style="width: 100%"
placeholder="Please input Amount Tolerance +/-"
class="m-input-currency"
></c-input>
......@@ -148,7 +166,7 @@
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input
v-model="model.ledgrp.rec.nomton"
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="Please input Amount Tolerance - Negative"
......@@ -157,27 +175,32 @@
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" disabled style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px">Reserved Contract</c-checkbox>
<c-checkbox v-model="resflg" style="margin-left: 10px"
>Reserved Contract</c-checkbox
>
</c-col>
</c-col>
......@@ -286,12 +309,15 @@
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation Instruct" prop="ledgrp.rec.cnfdet">
<el-form-item
label="Confirmation Instruct. Received"
prop="ledgrp.rec.cnfdet"
>
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="Please select Confirmation Instruct"
:code="codes.cnfins"
placeholder="Please select Confirmation Instruct. Received"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
......@@ -350,17 +376,6 @@
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-ptap
:model="model"
:argadr="{
......@@ -400,26 +415,23 @@
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving L/C</c-checkbox
>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving L/C</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
</c-col>
</div>
</template>
......
......@@ -11,7 +11,7 @@
grp: 'ledgrp',
rol: 'adv',
}"
:disabled="true"
disabled
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
......@@ -38,7 +38,7 @@
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfins"
:code="codes.cnfflg1"
disabled
>
</c-select>
......@@ -90,7 +90,6 @@
grp: 'ledgrp',
rol: 'con',
}"
:disbled="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
......@@ -103,10 +102,12 @@
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="Please input Confirmation Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Details"></el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select
v-model="model.ledgrp.rec.revtyp"
style="width: 100%"
placeholder="Please select Revolving Type"
placeholder="请选择Revolving Type"
:code="codes.revtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model="model.ledgrp.rec.revtimes"
placeholder="Please input Revolve Times"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model="model.ledgrp.rec.revnbr"
placeholder="Please input Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.revdat"
style="width: 100%"
placeholder="Please select Next Revolve Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.revcum" style="margin-left: 150px"
<c-col :span="8">
<!-- Credit is Marked as Cumulative -->
<c-checkbox v-model="model.ledgrp.rec.revcum"
style="margin-left:10px"
>Cumulative</c-checkbox
>
</c-col>
</c-row>
<c-row>
<c-col :span="8">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model.number="model.ledgrp.rec.revtimes"
placeholder="请输入Revolve Times"
></c-input>
</el-form-item>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Revolving Clause"
prop="ledgrp.blk.revcls"
<c-col :span="8">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model.number="model.ledgrp.rec.revnbr"
placeholder="请输入Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.revdat"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="50"
show-word-limit
placeholder="Please input Revolving Clause"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
placeholder="请选择Next Revolve Date"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Clause" prop="ledgrp.blk.revcls">
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revnotes"
maxlength="35"
show-word-limit
placeholder="Please input Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="390"
show-word-limit
placeholder="请输入Revolving Clause"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRevclauseButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
<c-input
type="textarea"
v-model="model.ledgrp.blk.revnotes"
maxlength="210"
show-word-limit
placeholder="请输入Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select v-model="model.ledgrp.rec.revtyp" style="width:100%" placeholder="请选择Revolving Type">
......
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