Commit c98c654f by liushikai

汇款查询信息界面调整

parent 56cecbdb
...@@ -4165,6 +4165,12 @@ const CodeTable = { ...@@ -4165,6 +4165,12 @@ const CodeTable = {
{ label: "票汇", value: "2" }, { label: "票汇", value: "2" },
{ label: "其他", value: "3" }, { label: "其他", value: "3" },
], ],
paytype1: [
{ label: "电汇", value: "0" },
{ label: "票汇", value: "1" },
{ label: "信汇", value: "2" },
{ label: "其他", value: "3" },
],
payuil: [ payuil: [
{ label: "English", value: "EN" }, { label: "English", value: "EN" },
{ label: "Chinese", value: "CN" }, { label: "Chinese", value: "CN" },
...@@ -5131,6 +5137,26 @@ const CodeTable = { ...@@ -5131,6 +5137,26 @@ const CodeTable = {
{ label: "MT103+MT910", value: "103910" }, { label: "MT103+MT910", value: "103910" },
{ label: "MT103", value: "103" }, { label: "MT103", value: "103" },
], ],
swftyp1: [
{ label: "MT103", value: "103" },
{ label: "MT202 COV", value: "202" },
{ label: "MT910", value: "910" },
{ label: "Other", value: "OTH" },
{ label: "MT202", value: "200" },
{ label: "CMT100", value: "CMT" },
{ label: "hvps111", value: "HVP" },
{ label: "hvps112", value: "HVQ" },
{ label: "PKG001", value: "CMX" },
{ label: "PKG005", value: "CMY" },
{ label: "beps121", value: "BEP" },
{ label: "beps122", value: "BEQ" },
{ label: "beps125", value: "BES" },
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
{ label: "cips111", value: "CIW" },
{ label: "hvps115", value: "HVR" },
{ label: "FMT100", value: "FMS" },
],
swmfmt: [ swmfmt: [
{ label: "TradeConnect", value: "T" }, { label: "TradeConnect", value: "T" },
{ label: "DTA Import", value: "A" }, { label: "DTA Import", value: "A" },
...@@ -5345,6 +5371,12 @@ const CodeTable = { ...@@ -5345,6 +5371,12 @@ const CodeTable = {
{ label: "补充", value: "B" }, { label: "补充", value: "B" },
{ label: "替换", value: "T" }, { label: "替换", value: "T" },
], ],
trntyp1: [
{ label: "贸易", value: "0" },
{ label: "非贸易", value: "1" },
{ label: "资本", value: "2" },
{ label: "其他", value: "3" },
],
troflg: [ troflg: [
{ label: "TRO entries exist", value: "Y" }, { label: "TRO entries exist", value: "Y" },
{ label: "No TRO entries exist", value: "" }, { label: "No TRO entries exist", value: "" },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-form ref="modelForm" label-width="150px" label-position="right" size="small" <el-form
:validate-on-rule-change="false" disabled> ref="modelForm"
<c-row> label-width="150px"
<!-- <div class="infTopBtn"> label-position="right"
size="small"
:validate-on-rule-change="false"
disabled
>
<c-row>
<!-- <div class="infTopBtn">
<el-button-group> <el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
...@@ -12,38 +18,38 @@ ...@@ -12,38 +18,38 @@
<c-button size="small" type="primary">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> --> </div> -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务编号" prop="cpdgrp.rec.ownref"> <el-form-item label="业务编号" prop="cpdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cpdgrp.rec.ownref" v-model="model.cpdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Our Reference" placeholder="请输入Our Reference"
> >
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
style="margin: 0px 10px 0 10; padding: 0 12px" style="margin: 0px 10px 0 10; padding: 0 12px"
></c-button> ></c-button>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onRecpanGetref" @click="onRecpanGetref"
style="margin: 0 0" style="margin: 0 0"
> >
获取 获取
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- <c-col :span="10"> --> <!-- <c-col :span="10"> -->
<el-form-item label="Name" prop="cpdgrp.rec.nam"> <el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input <c-input
v-model="model.cpdgrp.rec.nam" v-model="model.cpdgrp.rec.nam"
...@@ -51,8 +57,8 @@ ...@@ -51,8 +57,8 @@
placeholder="请输入Name" placeholder="请输入Name"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<!-- </c-col> --> <!-- </c-col> -->
<!-- <c-col :span="10"> <!-- <c-col :span="10">
<el-form-item <el-form-item
label="Drag Drop Sender" label="Drag Drop Sender"
prop="recpan.recget.sdamod.dadsnd" prop="recpan.recget.sdamod.dadsnd"
...@@ -65,30 +71,35 @@ ...@@ -65,30 +71,35 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-col> </c-col>
<c-col :span="23" style="height: 10px"> <c-col :span="23" style="height: 10px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<!-- ============middle-left============ --> <!-- ============middle-left============ -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="清算编号" prop="cpdgrp.rec.sysno"> <el-form-item label="清算编号" prop="cpdgrp.rec.sysno">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cpdgrp.rec.sysno" v-model="model.cpdgrp.rec.sysno"
maxlength="21" maxlength="21"
placeholder="请输入清算编号" placeholder="请输入清算编号"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onRecpanGetinf" style="padding: 0 12px"> <c-button
Get size="small"
</c-button> type="primary"
</template> @click="onRecpanGetinf"
</c-fullbox> style="padding: 0 12px"
>
Get
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur"> <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select <c-select
...@@ -117,9 +128,13 @@ ...@@ -117,9 +128,13 @@
placeholder="请输入所属行" placeholder="请输入所属行"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="汇款语种" prop="recpan.payuil" label-width="40%"> <el-form-item
label="汇款语种"
prop="recpan.payuil"
label-width="40%"
>
<c-select <c-select
v-model="model.recpan.payuil" v-model="model.recpan.payuil"
style="width: 100%" style="width: 100%"
...@@ -127,8 +142,8 @@ ...@@ -127,8 +142,8 @@
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="我行费用负担" prop="cpdgrp.rec.detchgcod"> <el-form-item label="我行费用负担" prop="cpdgrp.rec.detchgcod">
<c-select <c-select
v-model="model.cpdgrp.rec.detchgcod" v-model="model.cpdgrp.rec.detchgcod"
...@@ -169,26 +184,32 @@ ...@@ -169,26 +184,32 @@
</c-input-currency> </c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ============middle-right============ --> <!-- ============middle-right============ -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp"> <el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
<c-select <c-select
v-model="model.cpdgrp.rec.trntyp" v-model="model.cpdgrp.rec.trntyp"
style="width: 100%" style="width: 100%"
placeholder="请选择汇款性质" placeholder="请选择汇款性质"
:code="codes.trntyp1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="汇款方式" prop="cpdgrp.rec.paytype" label-width="40%"> <el-form-item
label="汇款方式"
prop="cpdgrp.rec.paytype"
label-width="40%"
>
<c-select <c-select
v-model="model.cpdgrp.rec.paytype" v-model="model.cpdgrp.rec.paytype"
style="width: 100%" style="width: 100%"
placeholder="请选择汇款方式" placeholder="请选择汇款方式"
:code="codes.paytype1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -199,35 +220,45 @@ ...@@ -199,35 +220,45 @@
v-model="model.cpdgrp.rec.gors" v-model="model.cpdgrp.rec.gors"
style="width: 100%" style="width: 100%"
placeholder="请选择收款对象" placeholder="请选择收款对象"
:code="codes.gors"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="收支类型" prop="cpdgrp.rec.sztyp" label-width="40%"> <el-form-item
label="收支类型"
prop="cpdgrp.rec.sztyp"
label-width="40%"
>
<c-select <c-select
v-model="model.cpdgrp.rec.sztyp" v-model="model.cpdgrp.rec.sztyp"
style="width: 100%" style="width: 100%"
placeholder="请选择收支类型" placeholder="请选择收支类型"
:code="codes.sztyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Uetr" prop="recpan.uetr"> <el-form-item label="Uetr" prop="recpan.uetr">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.recpan.uetr" v-model="model.recpan.uetr"
maxlength="40" maxlength="40"
placeholder="请输入Uetr" placeholder="请输入Uetr"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onRecpanGetuetr"> <c-button
Get size="small"
</c-button> type="primary"
</template> @click="onRecpanGetuetr"
</c-fullbox> >
Get
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
...@@ -241,7 +272,11 @@ ...@@ -241,7 +272,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="起息日" prop="cpdgrp.rec.valdat" label-width="40%"> <el-form-item
label="起息日"
prop="cpdgrp.rec.valdat"
label-width="40%"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.cpdgrp.rec.valdat" v-model="model.cpdgrp.rec.valdat"
...@@ -256,37 +291,43 @@ ...@@ -256,37 +291,43 @@
v-model="model.cpdgrp.rec.clityp" v-model="model.cpdgrp.rec.clityp"
style="width: 100%" style="width: 100%"
placeholder="请选择客户类型" placeholder="请选择客户类型"
:code="codes.clityp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="报文类型" prop="cpdgrp.rec.swftyp" label-width="40%"> <el-form-item
label="报文类型"
prop="cpdgrp.rec.swftyp"
label-width="40%"
>
<c-select <c-select
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
style="width: 100%" style="width: 100%"
placeholder="请选择报文类型" placeholder="请选择报文类型"
:code="codes.swftyp1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg"> <c-checkbox v-model="model.cpdgrp.rec.tsnflg">
同名划转标志 同名划转标志
</c-checkbox> </c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="23" style="height: 10px"> <c-col :span="23" style="height: 10px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<!-- =============左============= --> <!-- =============左============= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -299,6 +340,36 @@ ...@@ -299,6 +340,36 @@
@onAplpDet="onOripDet" @onAplpDet="onOripDet"
> >
</c-ptap> </c-ptap>
</c-col> -->
<c-col :span="24">
<el-form-item label="Ordering institution (52a)">
<c-input v-model="model.cpdgrp.ori.ref"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'cpdgrp',
rol: 'orc',
}"
:noRef="true"
:editExtLabel="true"
:haveAdrLabel="false"
:isAdrblk="false"
@onAplpDet="onOripDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人" prop="cpdgrp.orc.ref">
<c-input
v-model="model.cpdgrp.rec.ref"
maxlength="35"
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"> <el-form-item label="汇款人账号" prop="cpdgrp.rec.orcact">
...@@ -313,20 +384,22 @@ ...@@ -313,20 +384,22 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '汇款人', title: '',
grp: 'cpdgrp', grp: 'cpdgrp',
rol: 'orc', rol: 'orc',
}" }"
:noRef="false" :noRef="true"
:onlySearch="false" :editExtLabel="true"
:haveAdrLabel="false"
:isAdrblk="false"
@onAplpDet="onOrcpDet" @onAplpDet="onOrcpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-col> </c-col>
<!-- =============右============= --> <!-- =============右============= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -340,37 +413,39 @@ ...@@ -340,37 +413,39 @@
> >
</c-ptap> </c-ptap>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发报行" prop="cpdgrp.orc.pts.extkey"> <el-form-item label="发报行" prop="cpdgrp.orc.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.cpdgrp.orc.pts.extkey"></c-input> <c-input v-model="model.cpdgrp.orc.pts.extkey"></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0px 10px 0 10;padding: 0 12px;" style="margin: 0px 10px 0 10; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family: '宋体'; font-weight: bold"
</c-button> >i</span
<c-button >
style="margin:0 0" </c-button>
size="small" <c-button
type="primary" style="margin: 0 0"
@click="onDetail" size="small"
> type="primary"
详情 @click="onDetail"
</c-button> >
</template> 详情
</c-fullbox> </c-button>
</el-form-item> </template>
</c-col> </c-fullbox>
<c-col :span="24"> </el-form-item>
<el-form-item label="" prop="cpdgrp.orc.pts.nam"> </c-col>
<c-input v-model="model.cpdgrp.orc.pts.nam"></c-input> <c-col :span="24">
</el-form-item> <el-form-item label="" prop="cpdgrp.orc.pts.nam">
</c-col> <c-input v-model="model.cpdgrp.orc.pts.nam"></c-input>
<c-col :span="24"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指令代码" prop="cpdgrp.rec.f23e"> <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
<c-input <c-input
v-model="model.cpdgrp.rec.f23e" v-model="model.cpdgrp.rec.f23e"
...@@ -407,7 +482,7 @@ ...@@ -407,7 +482,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f"> <el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
<c-select <c-select
v-model="model.cpdgrp.rec.cur71f" v-model="model.cpdgrp.rec.cur71f"
...@@ -454,14 +529,16 @@ ...@@ -454,14 +529,16 @@
rol: 'pye', rol: 'pye',
}" }"
:noRef="true" :noRef="true"
:editExtLabel="true"
:haveAdrLabel="false"
:onlySearch="false" :onlySearch="false"
:isAdrblk="false"
@onAplpDet="onPyepDet" @onAplpDet="onPyepDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-col> </c-col>
</c-row>
</c-row>
</el-form> </el-form>
</div> </div>
</template> </template>
...@@ -482,10 +559,7 @@ export default { ...@@ -482,10 +559,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event, methods: { ...Event, onSeainf() {}, onDetail() {} },
onSeainf(){},
onDetail(){},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-if="!editExtLabel">
<el-form-item <el-form-item
:label="`${argadr.title}ID`" :label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
...@@ -49,6 +49,43 @@ ...@@ -49,6 +49,43 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<template v-if="!onlySearch"> <template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24"> <c-col v-if="isAdrblk" :span="24">
<el-form-item <el-form-item
...@@ -59,7 +96,23 @@ ...@@ -59,7 +96,23 @@
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk" v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35" maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col v-else-if="!haveAdrLabel" :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="150"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入名称地址"
:disabled="disabled" :disabled="disabled"
...@@ -148,6 +201,16 @@ export default { ...@@ -148,6 +201,16 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
editExtLabel: {
//自定义ID label
type: Boolean,
default: true,
},
haveAdrLabel: {
//有无名称地址 label
type: Boolean,
default: true,
},
}, },
data() { data() {
return { return {
......
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