Commit a9ace250 by taojinrui

cptrep交易完善,cptati和cptato交易bug修改

parent b6a22892
......@@ -70,7 +70,7 @@ export default {
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
......@@ -82,12 +82,12 @@ export default {
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
......@@ -100,7 +100,7 @@ export default {
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
......@@ -220,7 +220,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.dbfadrblkcn":[
......@@ -228,7 +228,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.dbfadrblkcn":[
......@@ -260,7 +260,7 @@ export default {
],
"attp.commet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.namelc":[
......@@ -268,7 +268,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.dbfadrblkcn":[
......@@ -280,7 +280,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.com102":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.rmtp.ptsget.sdamod.dadsnd":[
......@@ -301,7 +301,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.dbfadrblkcn":[
......@@ -313,7 +313,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.shouyh":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"setmod.ref":[
......
......@@ -74,7 +74,7 @@ export default {
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
......@@ -86,12 +86,12 @@ export default {
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
......@@ -104,7 +104,7 @@ export default {
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
......@@ -224,7 +224,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.dbfadrblkcn":[
......@@ -232,7 +232,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.dbfadrblkcn":[
......@@ -264,7 +264,7 @@ export default {
],
"attp.commet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.namelc":[
......@@ -272,7 +272,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.dbfadrblkcn":[
......@@ -284,7 +284,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.com102":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.rmtp.ptsget.sdamod.dadsnd":[
......@@ -305,7 +305,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.dbfadrblkcn":[
......@@ -317,7 +317,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.shouyh":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"setmod.ref":[
......
......@@ -155,7 +155,6 @@
v-model="model.attp.sysno"
maxlength="21"
placeholder="请输入清算编号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -259,7 +258,7 @@
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
placeholder="请输入汇款人帐号"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -314,7 +313,7 @@
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -478,8 +477,8 @@
<c-col :span="24">
<c-row type="flex" justify="end">
<c-col :span="12">
<el-form-item label="相关参考号" prop="" v-show="flag1">
<c-input></c-input>
<el-form-item label="相关参考号" prop="attp.xnggbh" v-show="flag1">
<c-input v-model="model.attp.xnggbh"></c-input>
</el-form-item>
</c-col>
<c-col :span="10" :offset="2" style="text-align: right">
......@@ -531,19 +530,24 @@
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-fullbox>
<c-col :span="18">
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input
v-model="model.attp.sndbch"
maxlength="11"
placeholder="请输入发报行BIC"
style="width:100%"
disabled
></c-input>
</el-form-item>
</c-col>
<template slot="footer">
<c-col :span="6">
<c-button type="primary">查询客户号</c-button>
</c-col>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
......
......@@ -62,7 +62,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk" >
<el-form-item label="" prop="cpdgrp.ori.pts.adrblk" >
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
......@@ -113,7 +113,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
<el-form-item label="" prop="cpdgrp.med.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.med.pts.adrblk"
......@@ -163,7 +163,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.rmt.pts.adrblk">
<el-form-item label="" prop="cpdgrp.rmt.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk"
......@@ -238,7 +238,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<el-form-item label="" prop="cpdgrp.pyb.pts.adrblk">
<c-input type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35"
......
......@@ -8,6 +8,7 @@
<c-input
maxlength="16"
placeholder="请输入申报号码"
></c-input>
</c-col>
</el-form-item>
......
......@@ -20,7 +20,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -29,7 +28,6 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onAttpGetref"
>
获取
</c-button>
......@@ -167,7 +165,6 @@
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.busflg"
:key="item.value"
......@@ -209,13 +206,12 @@
</c-input>
</el-form-item>
</c-col>
<!-- 还有一个按钮 -->
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCptpGetinf"
>
</c-button>
</c-col>
......@@ -315,7 +311,6 @@
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"
......@@ -330,7 +325,6 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
......@@ -513,7 +507,7 @@
<c-input></c-input>
</el-form-item>
</c-col>
<c-col :span="10" offset="2" style="text-align: right">
<c-col :span="10" :offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
......@@ -564,7 +558,7 @@
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input
v-model="model.attp.sndbch"
......@@ -608,7 +602,6 @@
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"
......@@ -622,7 +615,6 @@
size="small"
type="primary"
style="margin: 0 0"
@click="onPyepDet"
>
详情
</c-button>
......
......@@ -50,7 +50,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
......@@ -60,7 +59,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk">
<el-form-item label="" prop="cpdgrp.ori.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
......@@ -72,42 +71,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="cpdgrp.ori.namelc">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址" prop="cpdgrp.ori.adrelc">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-fullbox>
<el-form-item
......@@ -136,7 +99,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
......@@ -146,7 +108,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
<el-form-item label="" prop="cpdgrp.med.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.med.pts.adrblk"
......@@ -185,7 +147,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
......@@ -195,7 +156,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.rmt.pts.adrblk">
<el-form-item label="" prop="cpdgrp.rmt.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk"
......@@ -270,7 +231,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
......@@ -280,7 +240,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<el-form-item label="" prop="cpdgrp.pyb.pts.adrblk">
<c-input type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="235"
......
......@@ -231,22 +231,34 @@
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col> -->
</template>
<!-- <template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click" :ref="'popover_' + scope.row.IDX">
<div style="text-align: right; margin-top: -30px;margin-right: 5px; font-size: 16px;">
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])" >详情</c-button>
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
......@@ -255,21 +267,23 @@
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理
>
处理
</c-button>
</template> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="CptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="cptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
<!-- ======================================原码=================================================== -->
<!-- <c-col :span="12">
......@@ -496,7 +510,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
CptselModel: new CptselModel().data,
cptselModel: new CptselModel().data,
ownref: "",
stmData: {
columns: [
......@@ -554,6 +568,18 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.objinr = row["INR"];
this.model.inr = row["INR"];
......@@ -569,16 +595,8 @@ export default {
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
},
created: function () {},
};
......
......@@ -14,7 +14,6 @@
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.cnyflg"
......@@ -54,6 +53,7 @@
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.outflg"
......
<template>
<div class="eibs-tab">
<!-- ================左边================ -->
<c-col :span="11">
<!-- -----------上------------- -->
<c-col :span="24">
<!-- 第一行 -->
<c-col :span="12">
<el-form-item label="业务编号" prop="cpdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.cpdgrp.rec.ownref"></c-input>
......@@ -18,6 +17,25 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<!-- -----------中------------- -->
<c-col :span="24">
<c-col :span="11">
<!-- 第二行 -->
<c-col :span="24">
<el-form-item label="清算编号" prop="cpdgrp.rec.sysno">
......@@ -106,83 +124,18 @@
<!-- 第六行 -->
<c-col :span="24">
<el-form-item label="货物类型" prop="cpdgrp.rec.stagod">
<c-select v-model="model.cpdgrp.rec.stagod"></c-select>
</el-form-item>
</c-col>
<!-- 第七行 -->
<c-col :span="24">
<el-form-item label="Ordering institution" prop="cpdgrp.ori.pts.ref">
<c-input v-model="model.cpdgrp.ori.pts.ref"></c-input>
</el-form-item>
</c-col>
<!-- 第八行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.ori.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"><span>i</span></c-button>
<c-button type="primary">details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第九行 -->
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.ori.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
<!-- 第十行 -->
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input v-model="model.cpdgrp.orc.pts.ref"></c-input>
</el-form-item>
</c-col>
<!-- 第十一行 -->
<c-col :span="24">
<el-form-item label="账号" prop="">
<c-input v-model="model.cpdgrp.rec.orcact"></c-input>
</el-form-item>
</c-col>
<!-- 第十二行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.orc.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"><span>i</span></c-button>
<c-button type="primary">Temp.</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第十三行 -->
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.orc.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk"
></c-input>
<c-select v-model="model.cpdgrp.rec.stagod">
<el-option
v-for="item in stagod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ==============右边============= -->
<c-col :span="11" :offset="1">
<!-- 第一行 -->
<c-col :span="24">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- 第二行 -->
<c-col :span="24">
<c-col :span="12">
......@@ -322,7 +275,7 @@
placeholder="请选择报文类型"
>
<el-option
v-for="item in codes.swftyp2"
v-for="item in swftyp1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -363,10 +316,7 @@
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.feeamt',
model.cpdgrp.cbs.feeamt
)
defaultFunction('cpdgrp.cbs.feeamt', model.cpdgrp.cbs.feeamt)
"
></c-input-currency>
</el-form-item>
......@@ -376,13 +326,130 @@
<c-checkbox v-model="model.cpdgrp.rec.tsnflg">同名划转</c-checkbox>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="height: 0px; margin-bottom: 5px">
<el-divider></el-divider>
</c-col>
<!-- -----------下------------- -->
<c-col :span="24">
<!-- ============================下左======================================= -->
<c-col :span="11">
<c-col
v-show="
model.cpdgrp.rec.swftyp == '103' ||
model.cpdgrp.rec.swftyp == '200' ||
model.cpdgrp.rec.swftyp == '202' ||
model.cpdgrp.rec.swftyp == '910' ||
model.cpdgrp.rec.swftyp == 'OTH'
"
>
<!-- 第七行 -->
<c-col :span="24">
<el-form-item
label="Ordering institution"
prop="cpdgrp.ori.pts.ref"
>
<c-input v-model="model.cpdgrp.ori.pts.ref"></c-input>
</el-form-item>
</c-col>
<!-- 第八行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.ori.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"><span>i</span></c-button>
<c-button type="primary">details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第九行 -->
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.ori.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
<!-- 第十行 -->
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
<c-input v-model="model.cpdgrp.orc.pts.ref"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col v-show="model.cpdgrp.rec.swftyp == 'BEP'||model.cpdgrp.rec.swftyp == 'BEQ'||model.cpdgrp.rec.swftyp == 'BES'||model.cpdgrp.rec.swftyp == 'CIU'||model.cpdgrp.rec.swftyp == 'CIV'||model.cpdgrp.rec.swftyp == 'CIW'||model.cpdgrp.rec.swftyp == 'CMT'||model.cpdgrp.rec.swftyp == 'CMY'||model.cpdgrp.rec.swftyp == 'CMX'||model.cpdgrp.rec.swftyp == 'FMS'||model.cpdgrp.rec.swftyp == 'HVP'||model.cpdgrp.rec.swftyp == 'HVR'||model.cpdgrp.rec.swftyp == 'HVQ'">
<c-col :span="24">
<el-form-item label="汇款人名称" prop="cptgrp.cptp.orcnam">
<c-input v-model="model.cptp.orcnam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人地址" prop="cptp.orcadr">
<c-input v-model="model.cptp.orcadr"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="cptp.pyenam">
<c-input v-model="model.cptp.pyenam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人地址" prop="cptp.pyeadr">
<c-input v-model="model.cptp.pyeadr"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 第十一行 -->
<c-col :span="24">
<el-form-item label="账号" prop="">
<c-input v-model="model.cpdgrp.rec.orcact"></c-input>
</el-form-item>
</c-col>
<!-- 第十二行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.orc.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"><span>i</span></c-button>
<c-button type="primary">Temp.</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第十三行 -->
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.orc.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================================下右============================ -->
<c-col :span="11" :offset="1">
<!-- ==========MT103======= -->
<c-col v-show="model.cpdgrp.rec.swftyp=='103'">
<!-- 第八行 -->
<c-col :span="24">
<el-form-item label="发报行" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.snd.pts.extkey"></c-input>
<template slot="footer">
<c-button><span style="font-family: '宋体'; font-weight: bold">i</span></c-button>
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button>Details</c-button>
</template>
</c-fullbox>
......@@ -443,7 +510,10 @@
<!-- 第十二行 -->
<c-col :span="24">
<el-form-item label="汇率" prop="">
<c-input v-model="model.cpdgrp.rec.f36" placeholder="请输入汇率"></c-input>
<c-input
v-model="model.cpdgrp.rec.f36"
placeholder="请输入汇率"
></c-input>
</el-form-item>
</c-col>
<!-- 第十三行 -->
......@@ -504,7 +574,11 @@
<c-fullbox>
<c-input v-model="model.cpdgrp.pye.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"><span style="font-family: '宋体'; font-weight: bold">i</span></c-button>
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button type="primary">Details</c-button>
</template>
</c-fullbox>
......@@ -513,9 +587,251 @@
<!-- 第十七行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-input type="textarea" v-model="model.cpdgrp.pye.pts.adrblk"></c-input>
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- MT202 MT202 COV MT910 Other-->
<c-col v-show="model.cpdgrp.rec.swftyp=='200'||model.cpdgrp.rec.swftyp=='202'||model.cpdgrp.rec.swftyp=='910'||model.cpdgrp.rec.swftyp=='OTH'">
<!-- 第八行 -->
<c-col :span="24">
<el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
<c-fullbox>
<c-input v-model="model.cpdgrp.snd.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button>Details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第九行 -->
<c-col :span="24">
<el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
<c-input v-model="model.cpdgrp.snd.pts.adrblk"></c-input>
</el-form-item>
</c-col>
<!-- 第十二行 -->
<c-col :span="24">
<el-form-item label="付款详情" prop="cpdgrp.blk.contag70" v-show="!(model.cpdgrp.rec.swftyp=='200'||model.cpdgrp.rec.swftyp=='202')">
<c-input
type="textarea"
v-model="model.cpdgrp.blk.contag70"
placeholder="请输入汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人 Ref." prop="cpdgrp.pye.pts.ref">
<c-input v-model="model.cpdgrp.pye.pts.ref"></c-input>
</el-form-item>
</c-col>
<!-- 第十五行 -->
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input v-model="model.cpdgrp.rec.pyeact"></c-input>
</el-form-item>
</c-col>
<!-- 第十六行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.pye.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button type="primary">Details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第十七行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -->
<!-- beps121 beps122 beps125 CMT100 PKG001 PKG005 FMT100 hvps111 hvps112 hvps115-->
<c-col v-show="model.cpdgrp.rec.swftyp=='BEP'||model.cpdgrp.rec.swftyp=='BEQ'||model.cpdgrp.rec.swftyp=='BES'||model.cpdgrp.rec.swftyp=='CMT'||model.cpdgrp.rec.swftyp=='CMY'||model.cpdgrp.rec.swftyp=='CMX'||model.cpdgrp.rec.swftyp=='FMS'||model.cpdgrp.rec.swftyp=='HVP'||model.cpdgrp.rec.swftyp=='HVR'||model.cpdgrp.rec.swftyp=='HVQ'">
<!-- 第八行 -->
<c-col :span="24">
<el-form-item label="接收行名称" prop="">
<c-input v-model="model.cptp.resbchnam"></c-input>
</el-form-item>
</c-col>
<!-- 第九行 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="接收行名称" prop="">
<c-input v-model="model.cptp.resbch"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cptp.flg">电子凭证</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="业务种类" prop="">
<c-input v-model="model.cptp.bustyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收款人开户行行号" prop="cptp.pyebchkey">
<c-input v-model="model.cptp.pyebchkey"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="二代模式" prop="">
<c-button>获取</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="cptp.pyebchnam">
<c-input v-model="model.cptp.pyebchnam"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="0" prop="">
<c-input v-model="model.cptp.secmod"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="附言" prop="">
<c-input v-model="model.cptp.commet"></c-input>
</el-form-item>
</c-col>
<!-- 第十五行 -->
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input v-model="model.cpdgrp.rec.pyeact"></c-input>
</el-form-item>
</c-col>
<!-- 第十六行 -->
<c-col :span="24">
<el-form-item label="收款人" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.pye.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button type="primary">Details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第十七行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- cips111 cips112 cips113 -->
<c-col v-show="model.cpdgrp.rec.swftyp=='CIU'||model.cpdgrp.rec.swftyp=='CIV'||model.cpdgrp.rec.swftyp=='CIW'">
<!-- 第九行 -->
<c-col :span="24">
<el-form-item label="收款直参行号" prop="cptp.reconebch">
<c-input v-model="model.cptp.reconebch"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款直参名称" prop="cptp.reconebchnam">
<c-input type="textarea" v-model="model.cptp.reconebchnam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务种类" prop="cptp.bustyp">
<c-select v-model="model.cptp.bustyp">
<el-optipn
v-for="item in bustyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-optipn>
</c-select>
</el-form-item>
</c-col>
<!-- 第十五行 -->
<c-col :span="24">
<el-form-item label="账号" prop="cpdgrp.rec.pyeact">
<c-input v-model="model.cpdgrp.rec.pyeact"></c-input>
</el-form-item>
</c-col>
<!-- 第十六行 -->
<c-col :span="24">
<el-form-item label="收款人" prop="">
<c-fullbox>
<c-input v-model="model.cpdgrp.pye.pts.extkey"></c-input>
<template slot="footer">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
>i</span
></c-button
>
<c-button type="primary">Details</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- 第十七行 -->
<c-col :span="24">
<el-form-item label="" prop="">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- CMT100 PKG001 PKG005 FMT100 hvps111 hvps112 hvps115 -->
<!-- Other -->
</c-col>
</c-col>
<!--===============原码================== -->
......@@ -1633,7 +1949,43 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
stagod: [
{ label: "金", value: "001" },
{ label: "银", value: "002" },
{ label: "铜", value: "003" },
{ label: "铝", value: "004" },
{ label: "锌", value: "005" },
{ label: "铁砂矿", value: "006" },
{ label: "其他金属", value: "007" },
{ label: "大豆", value: "008" },
{ label: "玉米", value: "009" },
{ label: "原油", value: "010" },
{ label: "食用油", value: "011" },
{ label: "煤", value: "012" },
{ label: "其他", value: "099" },
],
swftyp1: [
{ label: "MT103", value: "103" },
{ label: "MT202", value: "200" },
{ label: "MT202 COV", value: "202" },
{ label: "MT910", value: "910" },
{ label: "beps121", value: "BEP" },
{ label: "beps122", value: "BEQ" },
{ label: "beps125", value: "BES" },
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
{ label: "cips113", value: "CIW" },
{ label: "CMT100", value: "CMT" },
{ label: "PKG005", value: "CMY" },
{ label: "PKG001", value: "CMX" },
{ label: "FMT100", value: "FMS" },
{ label: "hvps111", value: "HVP" },
{ label: "hvps115", value: "HVR" },
{ label: "hvps112", value: "HVQ" },
{ label: "Other", value: "OTH" },
],
};
},
methods: { ...Event },
created: function () {},
......
......@@ -46,7 +46,7 @@
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey"
v-for="item in codes.ownextkey1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -4,62 +4,90 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cptrep PD000020 Overview -->
<el-tab-pane label="Overview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--glemod PD000001 Bookings-->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cptp PD000434 Detail for MT910 -->
<el-tab-pane label="Detail for MT910" name="det910">
<el-tab-pane label="Detail for MT910" name="det910" v-if="model.cpdgrp.rec.swftyp=='910'">
<c-content>
<m-det910 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="涉外收入申报单-基础信息" name="dclp" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<c-content>
<m-dclp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="境内收入申报单-基础信息" name="basp" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--hvpmod PD000007 跨境支付 -->
<el-tab-pane label="跨境支付" name="secpan">
<c-content>
<m-secpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="2101跨境收入信息" name="incp">
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<c-content>
<m-incp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......
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