Commit 4bb0587c by liyixun

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 754077f4 b5be1350
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
], ],
"lendoc.account":[ "lendoc.account":[
//{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 25,message:"长度不能超过25"} {max: 75,message:"长度不能超过75"}
], ],
"lendoc.vercerref":[ "lendoc.vercerref":[
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
], ],
"cpdgrp.snd.pts.adrblk":[ "cpdgrp.snd.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"cpdgrp.snd.dbfadrblkcn":[ "cpdgrp.snd.dbfadrblkcn":[
......
...@@ -291,6 +291,28 @@ export default { ...@@ -291,6 +291,28 @@ export default {
} }
}, },
async handleReset() {
this.model.infcon.seaownref="";
this.model.infcon.opndatfrom="";
this.model.infcon.opndatto="";
this.model.infcon.searef="";
this.model.infcon.pty.extkey="";
this.model.infcon.pty.nam="";
this.model.infcon.seapty="";
this.model.infcon.nam="";
this.model.infcon.searol="";
this.model.infcon.usr.extkey="";
this.model.infcon.seasta="";
this.model.infcon.seacur="";
this.model.infcon.seaamtfr="";
this.model.infcon.seaamtto="";
this.model.seacnfdet="";
this.model.sealcrtyp="";
this.model.jyqflg="";
this.model.mylx="";
this.model.elcflg="";
},
async handleSearch() { async handleSearch() {
this.stmData.data = []; this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
...@@ -313,4 +335,5 @@ export default { ...@@ -313,4 +335,5 @@ export default {
} }
}, },
} }
\ No newline at end of file
...@@ -38,6 +38,10 @@ export default { ...@@ -38,6 +38,10 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction, "trnmod.swiadd.addamt" :Utils.defaultFunction,
"lidgrp.cbs.max2.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn2.cur" :Utils.defaultFunction,
"lidgrp.cbs.opn2.amt" :Utils.defaultFunction,
"lidgrp.blk.addamtcov" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction, "lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction, "lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
...@@ -61,11 +65,11 @@ export default { ...@@ -61,11 +65,11 @@ export default {
"lidgrp.rec.ownref" :Utils.defaultFunction, "lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction, "lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction, "trnmod.swiadd.addamtcov" :Utils.defaultFunction,
//"litamep.adlcndamep.modflg" :Utils.defaultFunction, "litamep.adlcndamep.modflg" :Utils.defaultFunction,
//"litamep.adlcndamep.modmanflg" :Utils.defaultFunction, "litamep.adlcndamep.modmanflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modflg" :Utils.defaultFunction, "litamep.lcrgodamep.modflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modmanflg" :Utils.defaultFunction, "litamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
//"lidgrp.blk.lcrgod" :Utils.defaultFunction, "lidgrp.blk.lcrgod" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction, "lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction, "lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction, "lidgrp.ben.adrelc" :Utils.defaultFunction,
......
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"trnmod.swiadd.addamt":[ "trnmod.swiadd.addamt":[
{type: "number", required: false, message: "必输项"}, {required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -94,10 +94,7 @@ export default { ...@@ -94,10 +94,7 @@ export default {
], ],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "brdgrp.cbs.max.amt":[ // "brdgrp.cbs.max.amt":[
// {type: "number", required: false}, // {type: "number", required: false},
......
...@@ -76,12 +76,15 @@ export default { ...@@ -76,12 +76,15 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} */ } */
}, },
async continueEdit(row) { async continueEdit(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}}) //let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) { //if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName; //var cacheFileName = rtnmsg.data.cacheFileName;
this.model.selsptinr = row['INR']; this.model.selsptinr = row['INR'];
let rtnmsg = await this.executeRule("tak") const selIds = [];
selIds.push(row['IDX']);
let params = { selDst: "sptstm", selIds: selIds };
let rtnmsg = await this.executeRule("tak", params)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
let trnName = row.交易代码.toLowerCase(); let trnName = row.交易代码.toLowerCase();
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> <el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input> <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -60,14 +60,14 @@ ...@@ -60,14 +60,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" <c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled> placeholder="请选择Warehouse/Insurance" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt"> <el-form-item label="" prop="bodgrp.cbs.opn1.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount" <c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
...@@ -85,11 +85,20 @@ ...@@ -85,11 +85,20 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod" style="width: 100%">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%" <c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
placeholder="请选择Collection Condition" disabled> placeholder="请选择Collection Condition" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -103,11 +112,21 @@ ...@@ -103,11 +112,21 @@
<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 label="Document Set Status" prop="bodgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta" style="width: 100%">
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
disabled> disabled>
</c-input> </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">
...@@ -139,11 +158,21 @@ ...@@ -139,11 +158,21 @@
<span>Days</span> <span>Days</span>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg"> <el-form-item label="Document Set Status" prop="bodgrp.rec.matperbeg" style="width: 100%">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%" <c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
<!-- <c-col :span="5"> <!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span> <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
...@@ -194,7 +223,7 @@ ...@@ -194,7 +223,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt"> <el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" disabled></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -215,8 +244,11 @@ ...@@ -215,8 +244,11 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24" style="margin-top: 30px"> <c-col :span="24" style="margin-top: 30px">
<c-col :span="11"> <span style="font-size:14px;margin-left:5px">Bills to Pay back:</span>
<c-edit-table :model="model" v-bind="docgrd"> </c-col>
<c-col :span="24">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-25px">
</c-edit-table> </c-edit-table>
</c-col> </c-col>
</c-col> </c-col>
...@@ -293,13 +325,13 @@ export default { ...@@ -293,13 +325,13 @@ export default {
}, },
{ {
title: "Open Amount", title: "Open Amount",
width: "80px", width: "200px",
dataIndex: "opnamt", dataIndex: "opnamt",
show: "input", show: "input",
}, },
{ {
title: "Amount Paid", title: "Amount Paid",
width: "320px", width: "200px",
dataIndex: "bckamt", dataIndex: "bckamt",
show: "input", show: "input",
}, },
...@@ -310,7 +342,7 @@ export default { ...@@ -310,7 +342,7 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
multipleSelect(){ multipleSelect() {
console.log(111); console.log(111);
} }
}, },
......
...@@ -8,17 +8,17 @@ ...@@ -8,17 +8,17 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="setp" name="setp"> <el-tab-pane label="Changing Maturity" name="setp">
<m-setp :model="model" :codes="codes" /> <m-setp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="inst" name="inst"> <el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" /> <m-inst :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000266 --> <!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lendoc.account" v-model="model.lendoc.account"
maxlength="3" maxlength="75"
style="width: 100%" style="width: 100%"
placeholder="Please input Input Amount" placeholder="Please input Input Amount"
:disabled="!actflg" :disabled="!actflg"
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<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="bodgrp.rec.nam"> <el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input <c-input
align="middle" align="middle"
v-model="model.bodgrp.rec.nam" v-model="model.bodgrp.rec.nam"
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期单据到期日" prop="matp.matinf"> <el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px"> <el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input> <c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -197,14 +197,20 @@ ...@@ -197,14 +197,20 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px"> <el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder=""></c-input> <c-input v-model="model.aamset.utlamt2" placeholder="" disabled></c-input>
</el-form-item> </el-form-item>
</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="跨境人民币清算模式" prop="trnmod.cmtflg"> <el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg">
<c-select v-model="model.trnmod.cmtflg" style="width:100%" placeholder="请选择跨境人民币清算模式" :code="codes.cmtflg"> <c-select
v-model="model.trnmod.cmtflg"
style="width:100%"
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
@change="commonExecuteRule('trnmod.cmtflg')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -216,7 +222,7 @@ ...@@ -216,7 +222,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false"> <el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false">
<c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp"> <c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp1" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -377,7 +383,12 @@ ...@@ -377,7 +383,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey"> <el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></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;"
...@@ -426,6 +437,11 @@ export default { ...@@ -426,6 +437,11 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
cmtflg:[
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
table1:[], table1:[],
columns:[ columns:[
"1 1 \"Type\" 40", "1 1 \"Type\" 40",
...@@ -437,12 +453,31 @@ export default { ...@@ -437,12 +453,31 @@ export default {
] ]
} }
}, },
methods:{...Event}, methods:{...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
}
});
},
},
created:function(){ created:function(){
}, },
watch: { watch: {
declareParams() {}, declareParams() {},
"model.trnmod.cmtflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.trnmod.cmtflg=='P'){
this.model.trnmod.swftyp='CIV';
}else{
this.model.trnmod.swftyp='';
}
}
},
}, },
} }
</script> </script>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!-- <el-tab-pane label="同业代付" name="dftcrep" > <!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="this.model.dftcre.dfflag==''">
<m-dftcrep :model="model" :codes="codes" /> <m-dftcrep :model="model" :codes="codes" />
</el-tab-pane> --> </el-tab-pane> -->
...@@ -106,6 +106,10 @@ ...@@ -106,6 +106,10 @@
</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>
</div> </div>
</template> </template>
<script> <script>
...@@ -184,14 +188,7 @@ export default { ...@@ -184,14 +188,7 @@ export default {
} }
}, },
watch:{ watch:{
'model.dftcre.dfflag': function(){
var val = this.model.dftcre.dfflag;
if(val == ""){
document.getElementById("tab-dftcrep").style.display = 'none';
}else{
document.getElementById("tab-dftcrep").style.display = '';
}
}
}, },
created:async function(){ created:async function(){
console.log("进入brtset交易"); console.log("进入brtset交易");
...@@ -200,9 +197,6 @@ export default { ...@@ -200,9 +197,6 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
document.getElementById("tab-dftcrep").style.display = 'none';
} }
else else
{ {
......
<template> <template>
<c-col :span="24"> <c-col :span="24">
<!-- ================底部--左================= --> <!-- ================底部--左================= -->
<c-col :span="11" style="margin-top: 10px"> <c-col :span="11" style="margin-top: 10px" v-if="model.cptp.liqtyp != 'S'">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Ordering institution (52a)" label="Ordering institution (52a)"
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
v-model="model.cpdgrp.ori.pts.ref" v-model="model.cpdgrp.ori.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey') showGridPromptDialog('cpdgrp.ori.pts.extkey')
" "
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
v-model="model.cpdgrp.orc.pts.ref" v-model="model.cpdgrp.orc.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
v-model="model.cpdgrp.rec.orcact" v-model="model.cpdgrp.rec.orcact"
maxlength="35" maxlength="35"
placeholder="汇款人账号" placeholder="汇款人账号"
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey') showGridPromptDialog('cpdgrp.orc.pts.extkey')
" "
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
" "
style="margin-top: 10px" style="margin-top: 10px"
> >
<c-col :span="24"> <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<c-fullbox> <c-fullbox>
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey"> <el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey" <c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey"
...@@ -238,12 +238,59 @@ ...@@ -238,12 +238,59 @@
</c-fullbox> </c-fullbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<el-form-item label="" prop="cpdgrp.snd.pts.nam"> <el-form-item label="" prop="cpdgrp.snd.pts.nam">
<c-input placeholder="" disabled v-model="model.cpdgrp.snd.pts.nam"></c-input> <c-input placeholder="" disabled v-model="model.cpdgrp.snd.pts.nam"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!--清算模式(代理行模式)报文类型Mt103-->
<c-col :span="24" v-if="this.model.cptp.liqtyp == 'C'">
<c-col :span="24">
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 70%"
placeholder="请选择清算代理行"
@change="commonExecuteRule('cptp.cleage')"
>
<el-option
v-for="item in cleageOptions"
: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="光大开户行">
<c-select
v-model="model.cptp.evebch"
style="width: 70%"
placeholder="请选择光大开户行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算代理行账号">
<c-input
v-model="model.cptp.coract"
maxlength="32"
style="width: 90%"
placeholder="请输入清算代理行账号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="指令代码" prop="cpdgrp.rec.f23e"> <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
<c-input <c-input
...@@ -410,7 +457,7 @@ ...@@ -410,7 +457,7 @@
" "
style="margin-top: 10px" style="margin-top: 10px"
> >
<c-col :span="24"> <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<c-fullbox> <c-fullbox>
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey"> <el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey" @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input> <c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey" @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
...@@ -437,7 +484,7 @@ ...@@ -437,7 +484,7 @@
</c-fullbox> </c-fullbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
<el-form-item label="" prop="cpdgrp.snd.pts.adrblk"> <el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
<c-input <c-input
type="textarea" type="textarea"
...@@ -446,10 +493,56 @@ ...@@ -446,10 +493,56 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
v-model="model.cpdgrp.snd.pts.adrblk" v-model="model.cpdgrp.snd.pts.adrblk"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!--清算模式(代理行模式)报文类型Mt202-->
<c-col :span="24" v-if="this.model.cptp.liqtyp == 'C'">
<c-col :span="24">
<el-form-item label="清算代理行">
<c-select
v-model="model.cptp.cleage"
style="width: 70%"
placeholder="请选择清算代理行"
@change="commonExecuteRule('cptp.cleage')"
>
<el-option
v-for="item in cleageOptions"
: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="光大开户分行">
<c-select
v-model="model.cptp.evebch"
style="width: 100%"
placeholder="请选择光大开户分行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算代理行账号">
<c-input
v-model="model.cptp.coract"
maxlength="32"
style="width: 90%"
placeholder="请输入清算代理行账号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey"> <el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input <c-input
...@@ -563,6 +656,7 @@ ...@@ -563,6 +656,7 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
v-model="model.cpdgrp.snd.pts.adrblk" v-model="model.cpdgrp.snd.pts.adrblk"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -646,7 +740,7 @@ ...@@ -646,7 +740,7 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================清算模式-人行支付系统===================== --> <!-- ====================清算模式-人行支付系统(停用)===================== -->
<!-- <c-col <!-- <c-col
:span="24" :span="24"
v-if="model.cptp.liqtyp === 'B'" v-if="model.cptp.liqtyp === 'B'"
...@@ -894,14 +988,14 @@ ...@@ -894,14 +988,14 @@
</c-col> </c-col>
</c-col> --> </c-col> -->
<!-- ====================清算模式-CIPS系统===================== --> <!-- ====================清算模式-CIPS系统(启用)===================== -->
<!-- <c-col <c-col
:span="24" :span="24"
v-if="model.cptp.liqtyp === 'S'" v-if="model.cptp.liqtyp === 'S'"
style="margin-top: 10px" style="margin-top: 10px"
> --> >
<!-- =========左========== --> <!-- =========左========== -->
<!-- <c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人名称"> <el-form-item label="付款人名称">
<c-input <c-input
...@@ -993,10 +1087,10 @@ ...@@ -993,10 +1087,10 @@
></c-input> ></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="4" :offset="18"> <c-col :span="4" :offset="18">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox> <c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
</c-col> </c-col>
...@@ -1007,7 +1101,8 @@ ...@@ -1007,7 +1101,8 @@
v-model="model.cptp.reconebch" v-model="model.cptp.reconebch"
maxlength="35" maxlength="35"
style="width: 80%" style="width: 80%"
placeholder="请输入收款直参行号" placeholder="请输入6位的款直参行号"
@keyup.enter.native="showGridPromptDialog('cptp.reconebch')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1030,12 +1125,11 @@ ...@@ -1030,12 +1125,11 @@
v-model="model.cptp.bustyp" v-model="model.cptp.bustyp"
style="width: 60%" style="width: 60%"
placeholder="请选择业务种类" placeholder="请选择业务种类"
disabled
> >
<el-option <el-option
v-for="item in codes.bustyp" v-for="item in this.bustyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label + '_' + item.value"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
...@@ -1101,9 +1195,9 @@ ...@@ -1101,9 +1195,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> --> </c-col>
<!-- ======================清算模式-Other================ --> <!-- ======================清算模式-Other(其他模式中复用了)================ -->
<!-- <c-col <!-- <c-col
:span="24" :span="24"
v-if="model.cptp.liqtyp === 'O'" v-if="model.cptp.liqtyp === 'O'"
...@@ -1171,7 +1265,7 @@ ...@@ -1171,7 +1265,7 @@
style="width: 90%" style="width: 90%"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1183,7 +1277,7 @@ ...@@ -1183,7 +1277,7 @@
style="width: 90%" style="width: 90%"
maxlength="35" maxlength="35"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1343,14 +1437,17 @@ ...@@ -1343,14 +1437,17 @@
</c-col> </c-col>
</c-col> --> </c-col> -->
<!-- ====================清算模式-代理行模式=================== --> <!-- ====================清算模式-代理行模式(停用)=================== -->
<!-- <c-col <!--
<c-col
:span="24" :span="24"
v-if="model.cptp.liqtyp === 'C'" v-if="model.cptp.liqtyp === 'C'"
style="margin-top: 10px" style="margin-top: 10px"
> --> >
-->
<!-- ==============左============== --> <!-- ==============左============== -->
<!-- <c-col :span="24"> <!-- <c-col :span="12">
<c-col :span="24">
<el-form-item <el-form-item
label="Ordering institution (52a)" label="Ordering institution (52a)"
prop="cpdgrp.ori.pts.ref" prop="cpdgrp.ori.pts.ref"
...@@ -1390,7 +1487,7 @@ ...@@ -1390,7 +1487,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="24">
<el-form-item label=""> <el-form-item label="">
<c-input <c-input
type="textarea" type="textarea"
...@@ -1410,7 +1507,7 @@ ...@@ -1410,7 +1507,7 @@
style="width: 90%" style="width: 90%"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1422,7 +1519,7 @@ ...@@ -1422,7 +1519,7 @@
style="width: 90%" style="width: 90%"
maxlength="35" maxlength="35"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.model.cpdgrp.rec.swftyp == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1454,7 +1551,7 @@ ...@@ -1454,7 +1551,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="24">
<el-form-item label=""> <el-form-item label="">
<c-input <c-input
type="textarea" type="textarea"
...@@ -1468,7 +1565,7 @@ ...@@ -1468,7 +1565,7 @@
</c-col> </c-col>
</c-col> --> </c-col> -->
<!-- ==============右============== --> <!-- ==============右============== -->
<!-- <c-col :span="12" > <!-- <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="清算代理行"> <el-form-item label="清算代理行">
<c-select <c-select
...@@ -1631,7 +1728,7 @@ ...@@ -1631,7 +1728,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="24">
<el-form-item label=""> <el-form-item label="">
<c-input <c-input
type="textarea" type="textarea"
...@@ -1643,8 +1740,9 @@ ...@@ -1643,8 +1740,9 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> --> </c-col>
</c-col>
-->
<!-- <c-col><div style="height: 100px"></div></c-col> <!-- <c-col><div style="height: 100px"></div></c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -1932,16 +2030,7 @@ ...@@ -1932,16 +2030,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1">
<el-form-item label="光大开户分行">
<c-select
v-model="model.cptp.evebch"
style="width: 100%"
placeholder="请选择光大开户分行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Address Block"> <el-form-item label="Address Block">
...@@ -2410,14 +2499,36 @@ ...@@ -2410,14 +2499,36 @@
<script> <script>
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
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 {
cleageOptions:[
{ label: 'BKCHHKHHXXX', value: 'BKCHHKHHXXX' },
{ label: 'CCBQHKAXXXX', value: 'CCBQHKAXXXX' },
{ label: 'EVERHKHHXXX', value: 'EVERHKHHXXX' },
{ label: 'KWHKHKHHXXX', value: 'KWHKHKHHXXX' },
{ label: 'NYCBHKHHXXX', value: 'NYCBHKHHXXX' },
{ label: 'WUBAHKHHXXX', value: 'WUBAHKHHXXX' },
],
infptaVisible: false, infptaVisible: false,
flag1:true, flag1:true,
bustyp:[
{ label: 'GODX', value: '货期贸易' },
{ label: 'STRX', value: '服务贸易' },
{ label: 'CTFX', value: '资本项下' },
{ label: 'FTFX', value: '金融机构头寸调拨' },
{ label: 'BDES', value: '债卷还本利息' },
{ label: 'BPRR', value: '债卷还本金' },
{ label: 'BINP', value: '债卷利息' },
{ label: 'BISF', value: '债卷发行手续费' },
{ label: 'BCAF', value: '债卷兑付手续费' },
{ label: 'CBCF', value: '附息式债卷兑付手续费' },
{ label: 'OTFX', value: '其他' },
],
}; };
}, },
watch:{ watch:{
...@@ -2429,16 +2540,42 @@ export default { ...@@ -2429,16 +2540,42 @@ export default {
console.log(this.model.cptp.fwtgyh) console.log(this.model.cptp.fwtgyh)
} }
}, },
"model.cpdgrp.rec.swftyp":{ "model.cpdgrp.rec.swftyp":function(){
immediate:true, console.log(this.model.cpdgrp.rec.swftyp);
handler(val ,oldVal){
if(this.model.cpdgrp.rec.swftyp == ''){ if(this.model.cpdgrp.rec.swftyp == ''){
this.flag1=true; this.flag1=true;
}else{ }else{
this.flag1=false; this.flag1=false;
} }
},
"model.cpdgrp.rec.swftyp":{
immediate:true,
handler(val,oldVal){
if(this.model.cpdgrp.rec.swftyp=="CIU"){
this.bustyp=[
{ label: 'GODX', value: '货期贸易' },
{ label: 'STRX', value: '服务贸易' },
{ label: 'CTFX', value: '资本项下' },
{ label: 'OTFX', value: '其他' },
]
}else if(this.model.cpdgrp.rec.swftyp=="CIV"){
this.bustyp=[
{ label: 'GODX', value: '货期贸易' },
{ label: 'STRX', value: '服务贸易' },
{ label: 'CTFX', value: '资本项下' },
{ label: 'FTFX', value: '金融机构头寸调拨' },
{ label: 'BDES', value: '债卷还本利息' },
{ label: 'BPRR', value: '债卷还本金' },
{ label: 'BINP', value: '债卷利息' },
{ label: 'BISF', value: '债卷发行手续费' },
{ label: 'BCAF', value: '债卷兑付手续费' },
{ label: 'CBCF', value: '附息式债卷兑付手续费' },
{ label: 'OTFX', value: '其他' },
]
}
} }
} }
}, },
methods: { methods: {
onSndpDet() { onSndpDet() {
...@@ -2453,7 +2590,14 @@ export default { ...@@ -2453,7 +2590,14 @@ export default {
pyenamEvent() { pyenamEvent() {
this.executeRule("pyenam").then( res => { this.executeRule("pyenam").then( res => {
}) })
},
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
} }
});
},
}, },
}; };
</script> </script>
......
...@@ -229,6 +229,23 @@ ...@@ -229,6 +229,23 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ===================中部--右==================== --> <!-- ===================中部--右==================== -->
...@@ -330,14 +347,12 @@ ...@@ -330,14 +347,12 @@
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
:disabled=" :disabled=this.flag2
model.cpdgrp.cbs.nom1.amt === '0.000'
"
@change="swftypChange" @change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option <el-option
v-for="item in codes.swftypOpnp" v-for="item in this.swftypOpnp"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
:key="item.value" :key="item.value"
...@@ -381,7 +396,7 @@ ...@@ -381,7 +396,7 @@
</c-fullbox> </c-fullbox>
</c-col> </c-col>
<!-- <c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item <el-form-item
label="清算模式" label="清算模式"
...@@ -394,13 +409,9 @@ ...@@ -394,13 +409,9 @@
:disabled=" :disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' model.cpdgrp.cbs.nom1.amt === '0.000'
" "
:code=this.liqtypOptions
@change="swftypChange"
> >
<el-option
v-for="item in liqtypOptions"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -408,24 +419,9 @@ ...@@ -408,24 +419,9 @@
v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')" v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')"
></el-form-item> ></el-form-item>
</c-col> </c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
...@@ -464,12 +460,18 @@ export default { ...@@ -464,12 +460,18 @@ export default {
{ value: "3", label: "其他" }, { value: "3", label: "其他" },
], ],
liqtypOptions: [ liqtypOptions: [
{ value: "B", label: "人行支付系统" },
{ value: "C", label: "代理行模式" }, { value: "C", label: "代理行模式" },
{ value: "O", label: "Other" }, { value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" }, { value: "S", label: "CIPS系统" },
], ],
swftypOpnp: [
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
],
flag1:true, flag1:true,
flag2:true,
}; };
}, },
methods: { methods: {
...@@ -497,6 +499,78 @@ export default { ...@@ -497,6 +499,78 @@ export default {
} }
} }
}, },
"model.cptp.liqtyp":{
immediate:true,
handler(val ,oldVal){
//清除数据
if(this.model.cptp.liqtyp != 'C'){
//清除liqtyp = C时填写的数据
this.model.cptp.cleage="";
this.model.cptp.evebch="";
this.model.cptp.coract="";
}else if(this.model.cptp.liqtyp != 'O'){
this.model.cpdgrp.blk.contag70="";
}else if(this.model.cptp.liqtyp != 'S'){
this.model.cptp.orcnam="";
this.model.cptp.orcadr="";
this.model.cptp.pyenam="";
this.model.cptp.pyeadr="";
this.model.cptp.reconebch="";
this.model.cptp.reconebchnam="";
this.model.cptp.cptp.bustyp="";
this.model.cptp.commetr="";
}
if(this.model.cptp.liqtyp == 'C'){
this.model.cpdgrp.rec.swftyp="103";
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'MT202', value: '200' },
]
this.flag2 = false;
}else if(this.model.cptp.liqtyp == 'O'){
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "OTH";
this.flag2 = true;
}else if(this.model.cptp.liqtyp == 'S'){
this.flag2 = false;
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "CIU";
this.swftypOpnp=[
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
]
}else{
//当为空时,恢复下拉选的选项
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
]
}
}
},
"model.cpdgrp.cbs.nom1.amt":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
},
"model.cpdgrp.cbs.nom1.cur":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
}
}, },
created: function () {}, created: function () {},
computed: { computed: {
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
<c-input <c-input
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -172,12 +173,14 @@ ...@@ -172,12 +173,14 @@
label="Intermediary Institut.(Tag 54a)" label="Intermediary Institut.(Tag 54a)"
style="width: 100%" style="width: 100%"
label-width="35%" label-width="35%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled v-model="model.cpdgrp.orc.pts.extkey"
@keyup.enter.native="showGridPromptDialog('cpdgrp.orc.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -211,6 +214,7 @@ ...@@ -211,6 +214,7 @@
type="textarea" type="textarea"
:rows="3" :rows="3"
maxlength="140" maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
disabled disabled
...@@ -236,6 +240,7 @@ ...@@ -236,6 +240,7 @@
label="Account with Institution/Account(Tag 54a)" label="Account with Institution/Account(Tag 54a)"
style="width: 100%" style="width: 100%"
label-width="35%" label-width="35%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
...@@ -244,7 +249,7 @@ ...@@ -244,7 +249,7 @@
v-model="setgll.setgrp.awi.pts.extkey" v-model="setgll.setgrp.awi.pts.extkey"
@change="setgllChange" @change="setgllChange"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey') showGridPromptDialog('setgll.setgrp.awi.pts.extkey')
" "
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -259,8 +264,7 @@ ...@@ -259,8 +264,7 @@
font-family: '宋体'; font-family: '宋体';
font-weight: bold; font-weight: bold;
" "
>i</span >i</span>
>
</c-button> </c-button>
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
...@@ -297,9 +301,7 @@ ...@@ -297,9 +301,7 @@
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="5" style="text-align: right"> <c-col :span="5" style="text-align: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" <c-checkbox v-model="model.cpdgrp.rec.tsnflg">Use Opt.F</c-checkbox>
>Use Opt.F</c-checkbox
>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -418,6 +420,8 @@ export default { ...@@ -418,6 +420,8 @@ export default {
setgrp:{ setgrp:{
awi:{ awi:{
pts:{ pts:{
extkey: '',
adrblk: '',
} }
} }
} }
......
<template> <template>
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<c-col :span="24" style="height: 50px;">
<div class="infTopBtn"> <div class="infTopBtn">
<el-button-group> <el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
...@@ -9,7 +10,7 @@ ...@@ -9,7 +10,7 @@
<c-button size="small" type="primary">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="参考号" prop="dedgrp.rec.ownref"> <el-form-item label="参考号" prop="dedgrp.rec.ownref">
...@@ -43,10 +44,7 @@ ...@@ -43,10 +44,7 @@
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据参考号" prop="bfdgrp.rec.ownref"> <el-form-item label="单据参考号" prop="bfdgrp.rec.ownref">
...@@ -69,7 +67,6 @@ ...@@ -69,7 +67,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
...@@ -172,10 +169,6 @@ ...@@ -172,10 +169,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-row>
</c-row>
<!-- <!--
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
class="m-table-search-form" class="m-table-search-form"
ref="paramsForm" ref="paramsForm"
:inline="true" :inline="true"
label-position="left" label-position="right"
label-width="110px" label-width="110px"
size="small" size="small"
> >
...@@ -490,12 +490,13 @@ ...@@ -490,12 +490,13 @@
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> --> </c-istream-table> -->
<div style="height:90%">
<c-col :span="24"> <c-col :span="24">
<c-istream-table <c-istream-table
:list="stmData.data" :list="stmData.data"
:columns="stmData.columns" :columns="stmData.columns"
:showButtonFlg="true" :showButtonFlg="true"
> >
<!-- 自定义组件里加了最右边的一列”操作“ --> <!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
...@@ -562,6 +563,7 @@ ...@@ -562,6 +563,7 @@
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</div>
<m-busbtn <m-busbtn
ref="childs" ref="childs"
...@@ -724,12 +726,7 @@ export default { ...@@ -724,12 +726,7 @@ export default {
this.$router.history.push("/business/litopn"); this.$router.history.push("/business/litopn");
}, },
handleReset: function () {
this.model = {
instNo: "",
instName: "",
};
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="110" label-width="110px"
label-position="right" label-position="right"
size="small" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
</div> </div>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Inflid from "~/model/Inflid" import Inflid from "~/model/Inflid"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input <c-input
v-model="model.oldlidgrp.cbs.nom1.amt" v-model.number="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled disabled
></c-input> ></c-input>
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt"> <el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt">
<c-input <c-input
disabled :disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input> v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入Additional Amount Covered" placeholder="请输入Additional Amount Covered"
disabled :disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -43,7 +43,9 @@ ...@@ -43,7 +43,9 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.ini.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.ini.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.ini.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.lidgrp.ini.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -147,7 +149,9 @@ ...@@ -147,7 +149,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.con.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.con.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.lidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -208,7 +212,9 @@ ...@@ -208,7 +212,9 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.a2b.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.a2b.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.a2b.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.lidgrp.a2b.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -266,7 +272,10 @@ ...@@ -266,7 +272,10 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.avb.pts.adrblk"> <el-form-item label="Address Block" prop="lidgrp.avb.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -27,6 +27,14 @@ ...@@ -27,6 +27,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> <el-table-column prop="tenday" label="Tenor" width="70px">
<template slot-scope="scope">
<c-input
v-model="scope.row.tenday"
style="width: 100%"
placeholder="请输入"
>
</c-input>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> <el-table-column prop="rol" label="Dbt." width="70px">
</el-table-column> </el-table-column>
...@@ -59,14 +67,14 @@ ...@@ -59,14 +67,14 @@
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
style="padding:4px" style="padding: 4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </el-button>
<el-button <el-button
style="padding:4px" style="padding: 4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
...@@ -76,7 +84,7 @@ ...@@ -76,7 +84,7 @@
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<c-button <c-button
style="margin-left:0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="detail1(scoped.$index, scoped.row)" @click="detail1(scoped.$index, scoped.row)"
......
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