Commit 4af36039 by taojinrui

cptati,cptato,cnysel交易修改

parent 15476d7e
......@@ -98,6 +98,10 @@ const CodeTable = {
{ label: "客户账", value: "0" },
{ label: "银行内部账", value: "1" },
],
acttyp:[
{label:"境内非居民", value:"JN"},
{label:"境外",value:"JW"}
],
acksta: [
{ label: "ack", value: "1" },
{ label: "nack", value: "2" },
......
......@@ -396,7 +396,7 @@ const BusRouter = [
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: 'Cnysel' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: 'Cptrel' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: '跨境人民币查询' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: '汇款复核与查询' } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ===================左边================= -->
<c-col :span="11">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.cnytyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<div class="eibs-tab">
<!-- ===================左边================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报类型" prop="cnytyp">
<c-select
v-model="model.cnytyp"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.cnytyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="ownref">
<c-input
v-model="model.ownref"
maxlength="20"
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width:100%" placeholder="请选择Initial Code">
<el-option
v-for="item in codes.ownextkey"
: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="12">
<el-form-item label="From" prop="frmdat">
<c-date-picker type="date" v-model="model.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select
v-model="model.ownextkey"
style="width: 100%"
placeholder="请选择Initial Code"
>
<el-option
v-for="item in codes.ownextkey"
: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="From" prop="frmdat">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Until" prop="tildat">
<c-date-picker type="date" v-model="model.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Until" prop="tildat">
<c-date-picker
type="date"
v-model="model.tildat"
style="width: 100%"
placeholder="请选择Until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Selection" prop="cnystm">
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<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">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>详情</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>修改</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>删除</a
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
</c-select>
......@@ -121,29 +165,37 @@
Exit
</c-button>
</c-col> -->
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cnysel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cnysel/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
'0 1 "业务编号" 110',
'1 2 "币种" 110',
'2 3 "金额" 120 2 8:1 2 5',
'3 4 "收款人名称" 250',
'4 5 "付款人名称" 250',
'5 6 "业务发生日期" 150 20 30 1',
'6 7 "复核状态" 120 1 0:0 1 RELSTA',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 -->
<el-tab-pane label="PD000001" name="selp">
<m-selp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="跨境人民币查询">
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--PD000001 -->
<el-tab-pane label="接口信息选择" name="selp">
<m-selp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cnysel from "~/model/Cnysel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cnysel/Check"
import Default from "~/model/Cnysel/Default"
import Pattern from "~/model/Cnysel/Pattern"
import Selp from "./Selp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cnysel from "~/model/Cnysel";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cnysel/Check";
import Default from "~/model/Cnysel/Default";
import Pattern from "~/model/Cnysel/Pattern";
import Selp from "./Selp";
export default {
name: "Cnysel",
components:{
"m-selp" : Selp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cnysel",
model: new Cnysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable
},
}
name: "Cnysel",
components: {
"m-selp": Selp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selp",
trnName: "cnysel",
model: new Cnysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cnysel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入cnysel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -3,8 +3,10 @@
<c-col :span="11">
<c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number"
style="text-align: left;"
></c-input>
</el-form-item>
</c-col>
......@@ -16,19 +18,20 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="8">
<c-col :span="4">
<c-checkbox v-model="model.lendoc.actflg"
>Input Account</c-checkbox>
</c-col>
<c-col :span="16">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number"
style="text-align: left;"
></c-input>
<c-col :span="20">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
</c-col>
</c-col>
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<!-- ==============左边=========== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="业务编号"
prop="cpdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.cpdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
<template slot="footer">
<c-button
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>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onAttpGetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择汇款金额"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="cpdgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@keyup.enter.native="
defaultFunction('cpdgrp.cbs.nom1.amt',model.cpdgrp.cbs.nom1.amt)
"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp">
<c-select
v-model="model.cpdgrp.rec.ischktyp"
style="width: 100%"
placeholder="请选择是否需要核验"
>
<el-option
v-for="item in codes.ischktyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预计核验日期" prop="cpdgrp.rec.prechkdat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.prechkdat"
style="width: 100%"
placeholder="请选择PRECHKDAT"
:disabled="model.cpdgrp.rec.ischktyp == ''"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人账户性质" prop="attp.acctyp">
<c-select
v-model="model.attp.acctyp"
style="width: 100%"
placeholder="请选择汇款人账户性质"
>
<el-option
v-for="item in codes.acctyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="所属行" prop="cpdgrp.rec.othbch">
<c-input
v-model="model.cpdgrp.rec.othbch"
maxlength="8"
placeholder="请输入所属行"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="汇款语种" prop="attp.payuil">
<c-select
v-model="model.attp.payuil"
style="width: 100%"
placeholder="请选择Uil Payment"
>
<el-option
v-for="item in codes.payuil"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="业务种类" prop="attp.bustyp">
<c-select
v-model="model.attp.bustyp"
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.busflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="10">
<el-form-item label="清算编号" prop="attp.sysno">
<c-input
v-model="model.attp.sysno"
maxlength="21"
placeholder="请输入清算编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="收款人常驻国家/地区代码"
prop="attp.paycountcode"
>
<c-input
v-model="model.attp.paycountcode"
filterable
style="width: 100%"
placeholder="收款人常驻国家/地区代码"
@keyup.enter.native="
showGridPromptDialog('attp.paycountcode')
"
>
</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>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人名称" prop="attp.orcnam">
<c-input
type="textarea"
v-model="model.attp.orcnam"
maxlength="65"
show-word-limit
placeholder="请输入汇款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人地址" prop="attp.orcadr">
<c-input
type="textarea"
v-model="model.attp.orcadr"
maxlength="65"
show-word-limit
placeholder="请输入汇款人地址"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="收款人名称" prop="attp.pyenam">
<c-input
type="textarea"
v-model="model.attp.pyenam"
maxlength="65"
show-word-limit
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="收款人地址" prop="attp.pyeadr">
<c-input
type="textarea"
v-model="model.attp.pyeadr"
maxlength="65"
show-word-limit
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.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
placeholder="请输入汇款人帐号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.extkey">
<c-input
:disabled="model.attp.swftyp == ''"
v-model="model.cpdgrp.orc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 95%"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.orc.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ===============================右边============================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<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>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
<c-select
v-model="model.cpdgrp.rec.trntyp"
style="width: 100%"
placeholder="请选择汇款性质"
>
<el-option
v-for="item in codes.trntyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="汇款方式" prop="cpdgrp.rec.paytype">
<c-select
v-model="model.cpdgrp.rec.paytype"
style="width: 100%"
placeholder="请选择汇款方式"
>
<el-option
v-for="item in codes.paytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收款对象" prop="cpdgrp.rec.gors">
<c-select
v-model="model.cpdgrp.rec.gors"
style="width: 100%"
placeholder="请选择收款对象"
>
<el-option
v-for="item in codes.gors"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="费用类型" prop="attp.feetyp">
<c-select
v-model="model.attp.feetyp"
style="width: 100%"
placeholder="请选择费用类型"
disabled
>
<el-option
v-for="item in codes.feetyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="起息日期" prop="attp.opndat">
<c-date-picker
type="date"
v-model="model.attp.opndat"
style="width: 100%"
placeholder="请选择起息日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="委托日期" prop="cpdgrp.rec.valdat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
placeholder="请选择Value Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
<c-select
v-model="model.cpdgrp.rec.clityp"
style="width: 100%"
placeholder="请选择客户类型"
>
<el-option
v-for="item in codes.clityp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="报文类型" prop="attp.swftyp">
<c-select
v-model="model.attp.swftyp"
style="width: 100%"
placeholder="请选择报文类型"
>
<el-option
v-for="item in codes.swftyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<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>
</c-col>
<c-col :span="10" offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
</c-col>
</c-row>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="接收行名称" prop="attp.resbchnam">
<c-input
v-model="model.attp.resbchnam"
maxlength="42"
placeholder="请输入接收行名称"
@keyup.enter.native="showGridPromptDialog('attp.resbchnam')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="接收行BIC" prop="attp.resbch">
<c-input
v-model="model.attp.resbch"
maxlength="11"
placeholder="请输入接收行BIC"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="发报行名称" prop="attp.sndbchnam">
<c-input
v-model="model.attp.sndbchnam"
maxlength="42"
placeholder="请输入发报行名称"
disabled
@keyup.enter.native="showGridPromptDialog('attp.sndbchnam')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="业务编号"
prop="cpdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.cpdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
<template slot="footer">
<c-button
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>
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onAttpGetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="13">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="13">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select v-model="model.cpdgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择汇款金额">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="cpdgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@keyup.enter.native="
defaultFunction('cpdgrp.cbs.nom1.amt', model.cpdgrp.cbs.nom1.amt)
"
></c-input-currency>
</el-form-item>
</c-col>
<!-- <c-col :span="11">
<el-form-item prop="cpdgrp.cbs.nom1.amt">
<c-input v-model="model.cpdgrp.cbs.nom1.amt" placeholder="请输入汇款金额"></c-input>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<!-- <c-col :span="13">
<el-form-item label="是否需要核验" prop="dedgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.dedgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp">
<c-select v-model="model.cpdgrp.rec.ischktyp" style="width:100%" placeholder="请选择是否需要核验">
<el-option
v-for="item in codes.ischktyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <el-form-item
label="预计核验日期"
prop="cpdgrp.rec.prechckdat"
style="width: 100%"
>
<c-input
v-model="model.cpdgrp.rec.prechckdat"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
>
</c-input>
</el-form-item> -->
<el-form-item label="预计核验日期" prop="cpdgrp.rec.prechkdat">
<c-date-picker type="date" v-model="model.cpdgrp.rec.prechkdat" style="width:100%" placeholder="请选择PRECHKDAT"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="汇款人账户性质" prop="attp.acctyp">
<c-select v-model="model.attp.acctyp" style="width:100%" placeholder="请选择汇款人账户性质">
<el-option
v-for="item in codes.acctyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="所属行" prop="cpdgrp.rec.othbch">
<c-input v-model="model.cpdgrp.rec.othbch" maxlength="8" placeholder="请输入所属行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="汇款语种" prop="attp.payuil">
<c-select v-model="model.attp.payuil" style="width:100%" placeholder="请选择Uil Payment">
<el-option
v-for="item in codes.payuil"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="业务种类" prop="attp.bustyp">
<c-select v-model="model.attp.bustyp" style="width:100%" placeholder="请选择业务种类">
<el-option
v-for="item in codes.bustyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="清算编号" prop="attp.sysno">
<c-input v-model="model.attp.sysno" maxlength="21" placeholder="请输入清算编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款人常驻国家/地区代码" prop="attp.paycountcode">
<c-input v-model="model.attp.paycountcode" maxlength="3" placeholder="请输入收款人常驻国家/地区代码"></c-input>
</el-form-item>
</c-col>
<!-- 还有一个按钮 -->
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人名称" prop="attp.orcnam">
<c-input type="textarea" v-model="model.attp.orcnam" maxlength="65" show-word-limit placeholder="请输入汇款人名称" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人地址" prop="attp.orcadr">
<c-input type="textarea" v-model="model.attp.orcadr" maxlength="65" show-word-limit placeholder="请输入汇款人地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="收款人名称" prop="attp.pyenam">
<c-input type="textarea" v-model="model.attp.pyenam" maxlength="65" show-word-limit placeholder="请输入收款人名称" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="收款人地址" prop="attp.pyeadr">
<c-input type="textarea" v-model="model.attp.pyeadr" maxlength="65" show-word-limit placeholder="请输入收款人地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="汇款人帐号" prop="cpdgrp.rec.orcact">
<c-input v-model="model.cpdgrp.rec.orcact" maxlength="35" placeholder="请输入汇款人帐号"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.extkey">
<c-input
v-model="model.cpdgrp.orc.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"
style="width: 95%"
@keyup.enter.native="showGridPromptDialog('cpdgrp.orc.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.orc.pts.adrblk">
<c-input type="textarea" v-model="model.cpdgrp.orc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ===============================右边============================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<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"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
<c-select v-model="model.cpdgrp.rec.trntyp" style="width:100%" placeholder="请选择汇款性质">
<el-option
v-for="item in codes.trntyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="汇款方式" prop="cpdgrp.rec.paytype">
<c-select v-model="model.cpdgrp.rec.paytype" style="width:100%" placeholder="请选择汇款方式">
<el-option
v-for="item in codes.paytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收款对象" prop="cpdgrp.rec.gors">
<c-select v-model="model.cpdgrp.rec.gors" style="width:100%" placeholder="请选择收款对象">
<el-option
v-for="item in codes.gors"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="费用类型" prop="attp.feetyp">
<c-select v-model="model.attp.feetyp" style="width:100%" placeholder="请选择费用类型">
<el-option
v-for="item in codes.feetyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="起息日期" prop="attp.opndat">
<c-date-picker type="date" v-model="model.attp.opndat" style="width:100%" placeholder="请选择起息日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="委托日期" prop="cpdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.cpdgrp.rec.valdat" style="width:100%" placeholder="请选择Value Date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
<c-select v-model="model.cpdgrp.rec.clityp" style="width:100%" placeholder="请选择客户类型">
<el-option
v-for="item in codes.clityp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="报文类型" prop="attp.swftyp">
<c-select v-model="model.attp.swftyp" style="width:100%" placeholder="请选择报文类型">
<el-option
v-for="item in codes.swftyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="相关参考号" prop="">
<c-input></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg">同名划转标志</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="接收行名称" prop="attp.resbchnam">
<c-input v-model="model.attp.resbchnam" maxlength="42" placeholder="请输入接收行名称"
@keyup.enter.native="showGridPromptDialog('attp.resbchnam')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="接收行BIC" prop="attp.resbch">
<c-input v-model="model.attp.resbch" maxlength="11" placeholder="请输入接收行BIC"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="发报行名称" prop="attp.sndbchnam">
<c-input v-model="model.attp.sndbchnam" maxlength="42" placeholder="请输入发报行名称"
@keyup.enter.native="showGridPromptDialog('attp.sndbchnam')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input v-model="model.attp.sndbch" maxlength="11" placeholder="请输入发报行BIC"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="收款人帐号" prop="cpdgrp.rec.pyeact">
<c-input v-model="model.cpdgrp.rec.pyeact" maxlength="35" placeholder="请输入收款人帐号"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input v-model="model.cpdgrp.pye.pts.extkey" maxlength="16" style="width: 95%" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('cpdgrp.pye.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button size="small" type="primary" style="margin: 0 0" @click="onPyepDet">
详情
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pye.pts.adrblk">
<c-input type="textarea" v-model="model.cpdgrp.pye.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
</c-col>
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input
v-model="model.attp.sndbch"
maxlength="11"
placeholder="请输入发报行BIC"
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.pyeact">
<c-input
v-model="model.cpdgrp.rec.pyeact"
maxlength="35"
placeholder="请输入收款人帐号"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input
v-model="model.cpdgrp.pye.pts.extkey"
maxlength="16"
style="width: 95%"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin: 0 0"
@click="onPyepDet"
>
详情
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pye.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.pye.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- =========================原码=================== -->
<!-- <c-col :span="12">
......@@ -900,8 +1021,16 @@ export default {
},
computed: {
flag() {
return this.model.cpdgrp.orc.pts.extkey == "";
return this.model.cpdgrp.orc.pts.extkey == "";
},
flag1(){
if(this.model.attp.swftyp == "200"){
return true;
}
else{
return false;
}
}
},
}
</script>
......
<template>
<div class="eibs-tab">
<!-- ===============左边================ -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
<c-input v-model="model.cpdgrp.ori.pts.ref" maxlength="16" placeholder="请输入汇款人开户行"></c-input>
</el-form-item>
</c-col>
<!-- ===============左边================ -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
<c-input
v-model="model.cpdgrp.ori.pts.ref"
maxlength="16"
placeholder="请输入汇款人开户行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人开户行账号" prop="attp.atd.rbkact">
<c-input v-model="model.attp.atd.rbkact" maxlength="35" placeholder="请输入收款人开户行帐号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="attp.atd.sbkact">
<c-input
v-model="model.attp.atd.sbkact"
maxlength="35"
placeholder="请输入收款人开户行帐号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="attp.orip.ptsget.sdamod.dadsnd">
<c-input v-model="model.attp.orip.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
prop="cpdgrp.ori.pts.extkey"
>
<c-input
v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="cpdgrp.ori.pts.extkey">
<c-input v-model="model.cpdgrp.ori.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="attp.orip.ptsget.sdamod.seainf">
<c-input v-model="model.attp.orip.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOripDet">
Details
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <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>
<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> -->
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk">
<c-input type="textarea" v-model="model.cpdgrp.ori.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <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>
<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>
<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-col :span="10">
<el-form-item label="External Key of Address" prop="cpdgrp.med.pts.extkey">
<c-input v-model="model.cpdgrp.med.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" prop="attp.medp.ptsget.sdamod.seainf">
<c-input v-model="model.attp.medp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onMedpDet">
Details
</c-button>
</c-col>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
<c-input type="textarea" v-model="model.cpdgrp.med.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
prop="cpdgrp.med.pts.extkey"
>
<c-input
v-model="model.cpdgrp.med.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-col :span="24">
<c-col :span="10">
<el-form-item label="External Key of Address" prop="cpdgrp.rmt.pts.extkey">
<c-input v-model="model.cpdgrp.rmt.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" prop="attp.rmtp.ptsget.sdamod.seainf">
<c-input v-model="model.attp.rmtp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onRmtpDet">
Details
</c-button>
</c-col>
</c-col>
</c-col>
<!-- =================右边=============== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref">
<c-input v-model="model.cpdgrp.pyb.pts.ref" maxlength="16" placeholder="请输入收款人开户行"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人开户行帐号" prop="attp.atd.sbkact">
<c-input v-model="model.attp.atd.sbkact" maxlength="35" placeholder="请输入汇款人开户行帐号"></c-input>
</el-form-item>
</c-col>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="attp.pybp.ptsget.sdamod.dadsnd">
<c-input v-model="model.attp.pybp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.med.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="cpdgrp.pyb.pts.extkey">
<c-input v-model="model.cpdgrp.pyb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
prop="cpdgrp.rmt.pts.extkey"
>
<c-input
v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="attp.pybp.ptsget.sdamod.seainf">
<c-input v-model="model.attp.pybp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPybpDet">
Details
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.rmt.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
rows="4"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================右边=============== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref">
<c-input
v-model="model.cpdgrp.pyb.pts.ref"
maxlength="16"
placeholder="请输入收款人开户行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称" prop="cpdgrp.pyb.namelc">
<c-input type="textarea" v-model="model.cpdgrp.pyb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="帐号" prop="attp.atd.rbkact">
<c-input
v-model="model.attp.atd.rbkact"
maxlength="35"
placeholder="请输入汇款人开户行帐号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Chinese address" prop="cpdgrp.ori.dbfadrblkcn">
<c-input type="textarea" v-model="model.cpdgrp.ori.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="attp.pybp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.attp.pybp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="Chinese address" prop="cpdgrp.pyb.dbfadrblkcn">
<c-input type="textarea" v-model="model.cpdgrp.pyb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
prop="cpdgrp.pyb.pts.extkey"
>
<c-input
v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="地址" prop="cpdgrp.pyb.adrelc">
<c-input type="textarea" v-model="model.cpdgrp.pyb.adrelc" 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"
rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<span v-text="model.attp.commetlab" data-path=".attp.commetlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区备注" prop="attp.comsystbl">
<c-select v-model="model.attp.comsystbl" style="width:100%" placeholder="请选择自�'�区备注">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="cpdgrp.pyb.namelc">
<c-input
type="textarea"
v-model="model.cpdgrp.pyb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Chinese address" prop="cpdgrp.ori.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="附言" prop="attp.commet">
<c-input type="textarea" v-model="model.attp.commet" maxlength="35" show-word-limit placeholder="请输入附言" ></c-input>
<c-input
type="textarea"
v-model="model.attp.commet"
maxlength="35"
show-word-limit
placeholder="请输入附言"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Account with Institution / Account (Tag 57a)" prop="attp.com102">
<c-input type="textarea" v-model="model.attp.com102" maxlength="35" show-word-limit placeholder="请输入Account with Institution / Account (Tag 57a)" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Account with Institution / Account (Tag 57a)"
prop="attp.com102"
>
<c-input
type="textarea"
v-model="model.attp.com102"
maxlength="35"
show-word-limit
placeholder="请输入Account with Institution / Account (Tag 57a)"
rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益行" prop="attp.shouyh">
<c-input type="textarea" v-model="model.attp.shouyh" maxlength="30" show-word-limit placeholder="请输入受益行" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="受益行" prop="attp.shouyh">
<c-input
type="textarea"
v-model="model.attp.shouyh"
maxlength="30"
show-word-limit
placeholder="请输入受益行"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
<c-input v-model="model.cpdgrp.ori.pts.ref" maxlength="16" placeholder="请输入汇款人开户行"></c-input>
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-page title="境内外币汇入汇款">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!--Ovweview -->
<el-tab-pane label="Ovweview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="pardet">
<c-content>
<m-pardet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlements" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--Ovweview -->
<el-tab-pane label="Ovweview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="pardet">
<c-content>
<m-pardet :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<!--Settlement -->
<el-tab-pane label="Settlements" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cptati from "~/model/Cptati"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptati/Check"
import Default from "~/model/Cptati/Default"
import Pattern from "~/model/Cptati/Pattern"
import Opnp1 from "./Opnp1"
import Pardet from "./Pardet"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Addinf from "./Addinf"
import Doctre from "~/views/Public/Doctre"
import Docpan1 from "~/views/Public/Docpan"
import Docpan from "./Docpan"
import Wg from "./Wg"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cptati from "~/model/Cptati";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cptati/Check";
import Default from "~/model/Cptati/Default";
import Pattern from "~/model/Cptati/Pattern";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Addinf from "./Addinf";
import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan";
import Wg from "./Wg";
export default {
name: "Cptati",
components:{
"m-opnp1" : Opnp1,
"m-pardet" : Pardet,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-addinf" : Addinf,
"m-doctre" : Doctre,
"m-docpan1" : Docpan1,
"m-docpan" : Docpan,
"m-wg" : Wg,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cptati",
model: new Cptati().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
name: "Cptati",
components: {
"m-opnp1": Opnp1,
"m-pardet": Pardet,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-addinf": Addinf,
"m-doctre": Doctre,
"m-docpan1": Docpan1,
"m-docpan": Docpan,
"m-wg": Wg,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "opnp1",
trnName: "cptati",
model: new Cptati().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cptati交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入cptati交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -167,8 +167,9 @@
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.bustyp"
v-for="item in codes.busflg"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -506,16 +507,18 @@
</c-col>
<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>
</c-col>
<c-col :span="12" style="text-align: right">
<c-col :span="10" offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
</c-col>
</c-row>
</c-col>
<c-col :span="24">
......
......@@ -22,18 +22,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="attp.orip.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.attp.orip.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-fullbox>
<el-form-item
......@@ -44,6 +32,9 @@
v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -127,6 +118,9 @@
v-model="model.cpdgrp.med.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -174,6 +168,9 @@
v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -184,8 +181,6 @@
icon="el-icon-search"
>
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button
style="margin: 0 0"
size="small"
......@@ -256,6 +251,9 @@
v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -325,6 +323,7 @@
show-word-limit
placeholder="请输入附言"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -354,6 +353,7 @@
show-word-limit
placeholder="请输入受益行"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -4,6 +4,12 @@
<c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -11,7 +17,18 @@
<c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
<c-select
v-model="model.bopmod.acttyp"
style="width:100%"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -19,23 +36,32 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
<el-option
v-for="item in codes.ownextkey"
: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">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-checkbox v-model="model.bopmod.basflg"
>基础数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
</c-col>
<!-- ==================原码================= -->
......@@ -91,7 +117,24 @@ export default {
methods:{...Event},
created:function(){
}
},
// computed:{
// //可以用watch做
// flag() {
// if(this.model.bopmod.szflg == "3"){
// return false;
// }
// else{ return true;}
// },
// flag1(){
// if(this.model.bopmod.szflg == "1"){
// return true;
// }
// else{return false;}
// }
// }
}
</script>
<style>
......
......@@ -34,6 +34,7 @@
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
......@@ -62,14 +63,14 @@ import CodeTable from "~/config/CodeTable";
import Cptato from "~/model/Cptato";
import commonProcess from "~/mixin/commonProcess";
import Pattern from "~/model/Cptato/Pattern";
import Opnp1 from "./Opnp1";
import Wg from "./Wg";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Glepan from "~/views/Public/Glepan";
import Pardet from "./Pardet";
import Doctre from "~/views/Public/Doctre";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Wg from "./Wg";
export default {
name: "Cptato",
......
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