Commit 17791549 by wangna

infccd修改

parent 7644c663
...@@ -4143,6 +4143,12 @@ const CodeTable = { ...@@ -4143,6 +4143,12 @@ const CodeTable = {
searol2:[ searol2:[
{ label: "Collecting Bank", value: "COL" }, { label: "Collecting Bank", value: "COL" },
], ],
searol3:[
{ label: "Collecting Bank", value: "COL" },
{ label: "Correspondent", value: "COR" },
{ label: "Drawee Bank", value: "DRO" },
{ label: "Presenting Bnk", value: "PRE" },
],
seacur:[ seacur:[
{ label: `CNY-人民币`, value: `CNY` }, { label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` }, { label: `KRW-韩元`, value: `KRW` },
......
...@@ -99,6 +99,8 @@ ...@@ -99,6 +99,8 @@
v-model="model.infcon.pty.extkey" v-model="model.infcon.pty.extkey"
maxlength="16" maxlength="16"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
:disabled="model.infcon.seapty != ''"
@keyup.enter.native="showGridPromptDialog('infcon.pty.extkey')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -129,6 +131,7 @@ ...@@ -129,6 +131,7 @@
v-model="model.infcon.seapty" v-model="model.infcon.seapty"
maxlength="24" maxlength="24"
placeholder="请输入Party Name/BIC" placeholder="请输入Party Name/BIC"
:disabled="model.infcon.pty.extkey != ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -144,7 +147,7 @@ ...@@ -144,7 +147,7 @@
placeholder="请选择Role" placeholder="请选择Role"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.searol3"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
<c-content> ref="modelForm"
<m-infsea :model="model" :codes="codes" ref="infsea" /> label-width="150px"
</c-content> label-position="left"
size="small"
<!--PD000006 --> :validate-on-rule-change="false"
<!-- <el-tab-pane label="Selection" name="infsea"> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
<!--PD000006 -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000013 --> <!--PD000013 -->
<!-- <el-tab-pane label="Transactions" name="trnpan"> <!-- <el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/> <m-trnpan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000019 --> <!--PD000019 -->
<!-- <el-tab-pane label="CBS Info" name="cbsinfp"> <!-- <el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/> <m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000028 --> <!--PD000028 -->
<!-- <el-tab-pane label="CBE Info" name="cbeinfp"> <!-- <el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/> <m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000111 --> <!--PD000111 -->
<!-- <el-tab-pane label="FEP/FCP Info" name="fepinfp"> <!-- <el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/> <m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000162 --> <!--PD000162 -->
<!-- <el-tab-pane label="SEP Info" name="sepinfp"> <!-- <el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/> <m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<!-- <el-tab-pane label="Details of Temporary Settlement" name="sepp0"> <!-- <el-tab-pane label="Details of Temporary Settlement" name="sepp0">
<m-sepp0 :model="model" :codes="codes"/> <m-sepp0 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000177 --> <!--PD000177 -->
<!-- <el-tab-pane label="GLE Bookings" name="gleinfp"> <!-- <el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/> <m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000119 --> <!--PD000119 -->
<!-- <el-tab-pane label="SMH Info" name="smhinfp"> <!-- <el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/> <m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000130 --> <!--PD000130 -->
<!-- <el-tab-pane label="SPT/DIA Info" name="peninfp"> <!-- <el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/> <m-peninfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000147 --> <!--PD000147 -->
<!-- <el-tab-pane label="Engagement" name="liainfp"> <!-- <el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/> <m-liainfp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000005 --> <!--PD000005 -->
<!-- <el-tab-pane label="Print" name="prtpan"> <!-- <el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/> <m-prtpan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000185 --> <!--PD000185 -->
<!-- <el-tab-pane label="Order" name="ordpan"> <!-- <el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/> <m-ordpan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000029 --> <!--PD000029 -->
<!-- <el-tab-pane label="Order" name="ordp0"> <!-- <el-tab-pane label="Order" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/> <m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<!-- <el-tab-pane label="DTA Fields" name="dtetag"> <!-- <el-tab-pane label="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes"/> <m-dtetag :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000065 --> <!--PD000065 -->
<!-- <el-tab-pane label="Settlement Instructions" name="setinsp"> <!-- <el-tab-pane label="Settlement Instructions" name="setinsp">
<m-setinsp :model="model" :codes="codes"/> <m-setinsp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<!-- <el-tab-pane label="Fee Conditions" name="fecp"> <!-- <el-tab-pane label="Fee Conditions" name="fecp">
<m-fecp :model="model" :codes="codes"/> <m-fecp :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000204 --> <!--PD000204 -->
<!-- <el-tab-pane label="CIPS" name="cips"> <!-- <el-tab-pane label="CIPS" name="cips">
<m-cips :model="model" :codes="codes"/> <m-cips :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000449 --> <!--PD000449 -->
<!-- <el-tab-pane label="CIPS2.0" name="cips2"> <!-- <el-tab-pane label="CIPS2.0" name="cips2">
<m-cips2 :model="model" :codes="codes"/> <m-cips2 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000450 --> <!--PD000450 -->
<!-- <el-tab-pane label="CIPS2.0" name="cips3"> <!-- <el-tab-pane label="CIPS2.0" name="cips3">
<m-cips3 :model="model" :codes="codes"/> <m-cips3 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Infccd from "~/model/Infccd" import Infccd from "~/model/Infccd";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Infccd/Check" import Check from "~/model/Infccd/Check";
import Default from "~/model/Infccd/Default" import Default from "~/model/Infccd/Default";
import Pattern from "~/model/Infccd/Pattern" import Pattern from "~/model/Infccd/Pattern";
import Infsea from "./Infsea" import Infsea from "./Infsea";
// import Trnpan from "./Trnpan" // import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp" // import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp" // import Cbeinfp from "./Cbeinfp"
...@@ -139,74 +152,68 @@ import Infsea from "./Infsea" ...@@ -139,74 +152,68 @@ import Infsea from "./Infsea"
// import Cips2 from "./Cips2" // import Cips2 from "./Cips2"
// import Cips3 from "./Cips3" // import Cips3 from "./Cips3"
export default { export default {
components:{ components: {
"m-infsea" : Infsea, "m-infsea": Infsea,
// "m-trnpan" : Trnpan, // "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp, // "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp, // "m-cbeinfp" : Cbeinfp,
// "m-fepinfp" : Fepinfp, // "m-fepinfp" : Fepinfp,
// "m-sepinfp" : Sepinfp, // "m-sepinfp" : Sepinfp,
// "m-sepp0" : Sepp0, // "m-sepp0" : Sepp0,
// "m-gleinfp" : Gleinfp, // "m-gleinfp" : Gleinfp,
// "m-smhinfp" : Smhinfp, // "m-smhinfp" : Smhinfp,
// "m-peninfp" : Peninfp, // "m-peninfp" : Peninfp,
// "m-liainfp" : Liainfp, // "m-liainfp" : Liainfp,
// "m-prtpan" : Prtpan, // "m-prtpan" : Prtpan,
// "m-ordpan" : Ordpan, // "m-ordpan" : Ordpan,
// "m-ordp0" : Ordp0, // "m-ordp0" : Ordp0,
// "m-dtetag" : Dtetag, // "m-dtetag" : Dtetag,
// "m-setinsp" : Setinsp, // "m-setinsp" : Setinsp,
// "m-fecp" : Fecp, // "m-fecp" : Fecp,
// "m-cips" : Cips, // "m-cips" : Cips,
// "m-cips2" : Cips2, // "m-cips2" : Cips2,
// "m-cips3" : Cips3, // "m-cips3" : Cips3,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
trnName: "infccd",
model: new Infccd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 },
data(){ created: async function () {
return { console.log("进入infccd交易");
tabVal: "", let rtnmsg = await this.init({});
trnName: "infccd", if (rtnmsg.respCode == SUCCESS) {
model: new Infccd().data, this.updateModel(rtnmsg.data);
checkRules: Check, //TODO 处理数据逻辑
defaultRules: Default, } else {
pattern: Pattern, this.$notify.error({ title: "错误", message: "服务请求失败!" });
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infccd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment