Commit cecb4f90 by jianglong

修改fxtfcm交易MT300页面

parent 16a2d77d
<template>
<div>
<el-card class="box-card" :class="[isShowCard ? '' : 'is-show-card']" >
<c-col :span="24">
<el-form-item
:label="argadr.title"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model.trim="model[argadr.grp][argadr.rol].pts.extkey"
placeholder=""
maxlength="16"
:disabled="disabledExtkey"
clearable
@keyup.enter.native="showPtapDialog()"
@blur="handleExtkeyBlur"
@clear="clear"
@input="extkeyInput"
@change="extkeyChange"
>
</c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
:disabled="disabledExtkey"
@click="showPtapDialog()"
>
</c-button>
<el-button
style="margin:0 0"
size="small"
type="primary"
:disabled="disabledDetail"
@click="showDerail"
>
Details
</el-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="isShowNam ? 'Name':''"
:prop="`${argadr.grp}.${argadr.rol}.pts.nam`"
style="width: 100%"
>
<c-mul-row-input
type="textarea"
:rows="2"
:cols="20"
:charmod="charmod"
v-model="model[argadr.grp][argadr.rol].pts.nam"
placeholder=""
:disabled="disabledNam || isDisabled"
@blur="handleFocus('nam')"
>
</c-mul-row-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="isShowAddress ? 'Address':''"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-mul-row-input
type="textarea"
:rows="2"
:cols="70"
:autosize="{minRows: 1, maxRows: 2}"
:charmod="charmod"
:showTip="false"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
placeholder=""
:disabled="disabledAdrblk || isDisabled"
@blur="handleFocus('adr')"
>
</c-mul-row-input>
</el-form-item>
</c-col>
</el-card>
<!-- 临时地址名称和地址的 -->
<el-dialog
v-dialogDrag
width="64%"
custom-class="temp-rol"
:visible.sync="tempRolVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
:show-close="false"
v-if="tempRolVisible"
>
<div slot="title" style="font-size: 16px;color: black;position: realtive;">
临时角色信息
</div>
<div>
<el-form ref="tempForm" :model="tempFormData" :rules="tempRolRules" :validate-on-rule-change="false">
<el-form-item
label="名称"
prop="name"
label-width="95px">
<c-mul-row-input
type="textarea"
:rows="2"
:cols="70"
v-model="tempFormData.name"
placeholder="请输入"
:isCheckInCompontent="false"
:showTip="false"
></c-mul-row-input>
</el-form-item>
<el-form-item
label="地址"
prop="address"
label-width="95px"
>
<c-mul-row-input
type="textarea"
:rows="2"
:cols="70"
v-model="tempFormData.address"
placeholder="请输入"
:isCheckInCompontent="false"
:showTip="false"
></c-mul-row-input>
</el-form-item>
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="default" @click="handletempRolClose">取消</el-button>
<el-button type="primary" @click="buildTemp" v-if="!model[argadr.grp][argadr.rol].pts.ptainr">创建临时地址</el-button>
<el-button type="primary" @click="tempSure">确 定</el-button>
</span>
</el-dialog>
<!-- 弹窗 -->
<el-dialog
v-dialogDrag
width="64%"
:visible.sync="dialogTableVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
:show-close="false"
v-if="dialogTableVisible"
:modal-append-to-body="false"
:append-to-body="true"
>
<div slot="title" style="font-size: 16px;color: black;position: realtive;">
{{ dialogTitle }}
<!-- 关闭按钮 -->
<div class="close-btn" @click="handleCloseDialogTable"><i class="el-icon-close"></i></div>
</div>
<div v-if="!tableLoading && tableList.length === 0">暂无数据</div>
<div v-else style="width: 100%;height: 100%;">
<el-table id='tableRef' height="calc(100% - 32px)" style="width: 100%;" v-loading="tableLoading" :data="tableList" @row-dblclick="dbClickRow" :before-close="beforeClose">
<el-table-column v-for="(item,key) in tableColumn" :key="key" :prop="item.prop" :render-header="renderheader" :label="item.label">
</el-table-column>
</el-table>
<el-pagination
class="eContainer-pagination"
layout="prev, pager, next, jumper, ->, sizes, total"
:page-sizes="pageSizes"
:page-size="pageSize"
:current-page="currentPage"
:total="total"
@size-change="sizeChange"
@current-change="currentChange"
></el-pagination>
</div>
</el-dialog>
<!-- 点击详情按钮 -->
<el-dialog
v-dialogDrag
width="64%"
title="详情查看"
custom-class="temp-rol"
:visible.sync="detailVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-if="detailVisible"
>
<el-form :model="detailFormData" label-width="95px">
<c-col :span="24">
<c-col :span="12" style="padding-right: 10px">
<c-col :span="24">
<el-form-item label="客户编号">
<el-input v-model="detailFormData.ptaptyextkey" disabled></el-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中文名称">
<el-input type="textarea" v-model="detailFormData.nam" disabled></el-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中文地址">
<el-input type="textarea" v-model="detailFormData.adr" disabled></el-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 10px">
<c-col :span="24">
<!-- :prop="`${argadr.grp}.${argadr.rol}.pts.ref`" -->
<el-form-item label="参考号">
<c-input
v-model="detailFormData.ref"
:customModifykey="`${argadr.grp}.${argadr.rol}.pts.ref`"
placeholder="请输入参考号"
maxlength="16"
show-word-limit
@input="handleInput"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="英文名称">
<el-input type="textarea" v-model="detailFormData.ennam" disabled></el-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="英文地址">
<el-input type="textarea" v-model="detailFormData.enadr" disabled></el-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveRef">保存</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import { columnMap } from "./ptapColumn.js";
import { getPtaTableDtat, getPtsptaByInr,getTempExtkey } from "~/service/business/common";
import commonFunctions from '~/mixin/commonFunctions.js';
import commonDepend from '~/mixin/commonDepend.js'
export default {
inject: ["root"],
mixins: [commonFunctions,commonDepend],
props: {
model: {
type: Object,
default: () => {}
},
argadr: {
type: Object,
default: function() {
return {
title:"",//角色名称
rol: "", //角色
grp: "" //所属模块
};
}
},
charmod: {
type: Number,
default: 0
},
isShowCard: {
type: Boolean,
default: true
},
isShowNam: {
type: Boolean,
default: false
},
isShowAddress: {
type: Boolean,
default: false
},
disabledExtkey: {
//extkey是否灰显(true:extkey处灰显)
type: Boolean,
default: false
},
disabledDetail: {
//details是否灰显(true:details处灰显)
type: Boolean,
default: false
},
disabledNam: {
//nam是否灰显(true:nam处灰显)
type: Boolean,
default: false
},
disabledAdrblk: {
//Adrblk是否灰显(true:Adrblk处灰显)
type: Boolean,
default: false
},
},
data() {
return {
dialogTitle: "", // 弹框标题
dialogTableVisible: false, // 控制弹框的展示和隐藏
tableLoading: false,
total: 0,
isDisabled: false,
currentPage: 1, // 页数
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5, // 条数
tableList: [],
tableColumn: [],
detailVisible: false,
//详情数据
detailFormData:{
ptaptyextkey:'',
nam:'',
adr:'',
ennam:'',
enadr:'',
ref:''
},
isChangeRef: false,
markExtkey:"",
// 是否触发校验(客户号的有效性)
isCheckPtainr: false,
// 临时地址相关(名称和地址)
tempRolVisible: false,
tempFormData: {
name: '',
address: ''
},
tempRolRules:{
name:[
{
validator: (rule, value, callback) => {
if (this.tempFormData.name && this.tempFormData.address) {
if(this.tempFormData.name.length + this.tempFormData.address.length > 141) {
callback(new Error('名址总长度不能超过140'))
} else {
callback()
}
} else {
callback()
}
},
},
{ required: false, message: '请输入名称', trigger: 'blur' },
],
address: [
],
},
};
},
watch: {},
methods: {
// 弹框
async showPtapDialog() {
if (this.tableLoading || this.dialogTableVisible) {
return
}
const value = this.model[this.argadr.grp][this.argadr.rol].pts.extkey;
// 分层取值
await this.getTableData(value);
if (this.total == 1) {
this.dbClickRow(this.tableList[0]);
} else {
// 设置弹框标题
this.dialogTitle = `${this.argadr.title}详情`;
this.dialogTableVisible = true;
this.tableColumn = columnMap['C'];
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
}
},
// 清除
clear() {
this.$emit("clear");
},
// extkey输入框失焦
handleExtkeyBlur (e) {
let extkey = this.model[this.argadr.grp][this.argadr.rol].pts.extkey
if (extkey && extkey !== this.markExtkey) {
this.showPtapDialog()
}
},
//显示详情
showDerail(){
this.detailVisible = true
//给详情弹框赋值
this.detailFormData.ptaptyextkey=this.model[this.argadr.grp][this.argadr.rol].pts.extkey
this.detailFormData.nam=this.model[this.argadr.grp][this.argadr.rol].pts.nam
this.detailFormData.adr=this.model[this.argadr.grp][this.argadr.rol].pts.adr
this.detailFormData.ennam=this.model[this.argadr.grp][this.argadr.rol].pts.ennam
this.detailFormData.enadr=this.model[this.argadr.grp][this.argadr.rol].pts.enadr
this.detailFormData.ref=this.model[this.argadr.grp][this.argadr.rol].pts.ref
},
// 关闭弹框
handleCloseDialogTable () {
this.dialogTableVisible = false;
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
},
handletempRolClose(){
this.tempRolVisible = false
if(!this.model[this.argadr.grp][this.argadr.rol].pts.ptainr){
this.tempFormData.name = ''
this.tempFormData.address = ''
}
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
},
async dbClickRow(row, column, event) {
let params = {
inr: row.ptainr,
rol: this.argadr.rol
};
const response = await getPtsptaByInr(params, this.moduleRouter());
if (response.respCode == SUCCESS) {
// 赋值
this.model[this.argadr.grp][this.argadr.rol].pts.nam = response.data.nam
this.model[this.argadr.grp][this.argadr.rol].pts.extkey = row.ptaobjkey
this.model[this.argadr.grp][this.argadr.rol].pts.ennam = response.data.ennam;
this.model[this.argadr.grp][this.argadr.rol].pts.enadr = response.data.enadr;
this.model[this.argadr.grp][this.argadr.rol].pts.nam = response.data.nam;
this.model[this.argadr.grp][this.argadr.rol].pts.adr = response.data.adr;
this.model[this.argadr.grp][this.argadr.rol].pts.adrblk = response.data.ennamadr;
// 此处为了回填数据时回调
this.$emit('handleChange',{
rowData: row,
})
this.isDisabled = true
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
}
this.dialogTableVisible = false;
},
// 获取弹框内的table数据
async getTableData(value) {
return new Promise(async (resolve) => {
this.tableLoading = true;
this.tableList = [];
// 获取table的表格数据
let params = {
ptytyp: this.ptytyp,
extkey: value || "",
bchinr: this.bchinr,
pageNum: this.currentPage,
pageSize: this.pageSize
};
const loading = this.loading();
const res = await getPtaTableDtat(params, this.moduleRouter());
loading.close();
if (res.respCode == SUCCESS) {
if (res.data && res.data.list) {
this.total = res.data.total;
this.tableList = res.data.list.map(it => ({
...it,
}));
resolve(this.tableList)
}
}
this.tableLoading = false; //接口掉完变成false
})
},
saveRef(){
// 打开弹框并且修改过参考号才给其添加modifySet和markSet
if (this.isChangeRef) {
this.customAddModify(this.model[this.argadr.grp][this.argadr.rol].pts, 'ref')
}
this.model[this.argadr.grp][this.argadr.rol].pts.ref = this.detailFormData.ref
this.detailVisible=false
this.$nextTick(() => {
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
},
// 地址和名称的两栏聚焦
handleFocus (type) {
switch (type) {
case 'nam':
this.tempRolVisible = true
this.tempFormData.address = this.model[this.argadr.grp][this.argadr.rol].pts.adrblk
this.tempFormData.name = this.model[this.argadr.grp][this.argadr.rol].pts.nam;
break;
case 'adr':
this.tempRolVisible = true
this.tempFormData.name = this.model[this.argadr.grp][this.argadr.rol].pts.nam;
this.tempFormData.address = this.model[this.argadr.grp][this.argadr.rol].pts.adrblk
break;
default:
return;
}
},
buildTemp () {
this.$refs['tempForm'].validate((validStatic) => {
if (validStatic) {
this.queryTempExtkey(true)
this.tempRolVisible = false
}
})
this.modifyPtap()
},
// 点击确定
tempSure () {
this.$refs['tempForm'].validate((validStatic) => {
if (validStatic) {
this.queryTempExtkey(false)
this.tempRolVisible = false
}
})
this.modifyPtap()
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
},
handleInput(){
this.isChangeRef = true
},
async queryTempExtkey (flg) {
let language = 'EN'
let params = {
rol: this.argadr.rol,
flg,
typflg: this.typflg,
language,
ptainr: this.model[this.argadr.grp][this.argadr.rol].pts.ptainr,
namelc: this.tempFormData.name,
adrelc: this.tempFormData.address,
}
const loading = this.loading();
let res = await getTempExtkey(params, this.moduleRouter())
loading.close();
if (res.respCode == SUCCESS) {
this.model[this.argadr.grp][this.argadr.rol].pts.extkey = res.data.extkey
this.$nextTick(()=>{
this.root.$refs['modelForm'].validateField([`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`]);
})
// 备份的extkey
this.markExtkey = res.data.extkey
this.model[this.argadr.grp][this.argadr.rol].pts.rol = res.data.rol.toUpperCase()
this.model[this.argadr.grp][this.argadr.rol].pts.ptainr = res.data.ptainr
this.model[this.argadr.grp][this.argadr.rol].pts.ptyinr = res.data.ptyinr
this.model[this.argadr.grp][this.argadr.rol].pts.nam = res.data.nam
this.model[this.argadr.grp][this.argadr.rol].pts.adrblk = res.data.pts.adrblk
this.model[this.argadr.grp][this.argadr.rol].pts.nam = res.data.pts.nam
this.model[this.argadr.grp][this.argadr.rol].pts.adr = res.data.pts.adr
this.model[this.argadr.grp][this.argadr.rol].pts.ennam = res.data.pts.ennam
this.model[this.argadr.grp][this.argadr.rol].pts.enadr = res.data.pts.enadr
//置灰名址
this.isDisabled = true;
// 此处为了回填数据时回调
this.$emit('handleChange',{
rowData: res.data
})
} else {
this.model[this.argadr.grp][this.argadr.rol].pts.extkey = ''
this.$message.error(res.respMsg)
}
},
//extkey清空时
extkeyInput(){
if (!this.model[this.argadr.grp][this.argadr.rol].pts.extkey) {
this.model[this.argadr.grp][this.argadr.rol].pts.nam=''
this.model[this.argadr.grp][this.argadr.rol].pts.ennam=''
this.model[this.argadr.grp][this.argadr.rol].pts.enadr=''
this.model[this.argadr.grp][this.argadr.rol].pts.nam=''
this.model[this.argadr.grp][this.argadr.rol].pts.adr=''
this.model[this.argadr.grp][this.argadr.rol].pts.adrblk=''
this.model[this.argadr.grp][this.argadr.rol].pts.ptainr=''
this.model[this.argadr.grp][this.argadr.rol].pts.ptyinr=''
this.markExtkey = ''
// this.disabledDetail = true
this.isDisabled = false
// 内容被清空,触发清空事件
this.clear()
}
this.isCheckPtainr = false
},
extkeyChange () {
this.modifyPtap()
},
modifyPtap(){
this.customAddModify(this.model[this.argadr.grp][this.argadr.rol].pts, 'extkey')
this.customAddModify(this.model[this.argadr.grp][this.argadr.rol].pts,'nam')
this.customAddModify(this.model[this.argadr.grp][this.argadr.rol].pts,'adrblk')
},
},
};
</script>
<style scoped lang="less">
.box-card {
margin-bottom: 10px;
/deep/ .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
margin-bottom: 10px;
}
/deep/ .el-card__body {
padding: 10px 10px 10px 0px;
}
}
.is-show-card {
border: none!important;
box-shadow: none!important;
margin-bottom: 0!important;
/deep/ .el-card__body {
padding: 0!important;
}
}
</style>
\ No newline at end of file
......@@ -70,6 +70,7 @@ import PtapSet from "./Ptap/PtapSet.vue"
import MulTreeSelect from "./MulTreeSelect.vue"
import Ptap1 from "./Ptsp/Ptap1.vue"
import Ptap2 from "./Ptsp/Ptap2.vue"
import Ptap2en from "./Ptsp/Ptap2en.vue"
import Ptap3 from "./Ptsp/Ptap3.vue"
import Ptap4 from "./Ptsp/Ptap4.vue"
import Ptap5 from "./Ptsp/Ptap5.vue"
......@@ -162,6 +163,7 @@ export default {
Vue.component("c-table-doc",TableDocument)
Vue.component("c-ptap1", Ptap1);
Vue.component("c-ptap2", Ptap2);
Vue.component("c-ptap2-en", Ptap2en);
Vue.component("c-ptap3", Ptap3);
Vue.component("c-ptap4", Ptap4);
Vue.component("c-ptap5", Ptap5);
......
const BusRouter = [
{ path: 'inffxd', component: () => import("./Inffxd/views"), name: 'Inffxd', meta: {keepAlive: true, title: '资结售汇报表交易查询' , module: 'funds' }},
{ path: 'infftd', component: () => import("./Infftd/views"), name: 'Infftd', meta: {keepAlive: true, title: '资金拆借/头寸调拨报表交易查询' , module: 'funds' }},
{ path: 'inffxd', component: () => import("./Inffxd/views"), name: 'Inffxd', meta: {keepAlive: true, title: '结售汇/平盘' , module: 'funds' }},
{ path: 'infftd', component: () => import("./Infftd/views"), name: 'Infftd', meta: {keepAlive: true, title: '资金拆借/头寸调拨' , module: 'funds' }},
{ path: 'fttatt', component: () => import("./Fttatt/views"), name: 'Fttatt', meta: {keepAlive: true, title: 'Fttatt' , module: 'funds' }},
{ path: 'fttfcm', component: () => import("./Fttfcm/views"), name: 'Fttfcm', meta: {keepAlive: true, title: '资金定存拆借登记及确认交易' , module: 'funds' }},
{ path: 'fttfcn', component: () => import("./Fttfcn/views"), name: 'Fttfcn', meta: {keepAlive: true, title: '定存拆借销账交易' , module: 'funds' }},
......
......@@ -20,131 +20,46 @@ export default class Fxtfcm{
conref:"", // MT300 22C - 共同参号 .mt30m.conref
s17t:"", // Block Trade Indicator(:17T) .mt30m.s17t
s17u:"", // MT300 17U - 分笔结算指示 .mt30m.s17u
a53act:"", // Delivery Agent Account .mt30m.a53act
a53:{
pts:new Pts().data,
},
a53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.a53p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.a53p.ptsget.sdamod.seainf
},
},
},
iniact:"", // Intermediary Account .mt30m.iniact
ini:{
pts:new Pts().data,
},
inip:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.inip.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.inip.ptsget.sdamod.seainf
},
},
},
rbcact:"", // Receiving Agent Account .mt30m.rbcact
rbc:{
pts:new Pts().data,
},
rbcp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.rbcp.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.rbcp.ptsget.sdamod.seainf
},
},
},
b53act:"", // Delivery Agent Account .mt30m.b53act
b53:{
pts:new Pts().data,
},
b53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.b53p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.b53p.ptsget.sdamod.seainf
},
},
},
b56act:"", // Intermediary Account .mt30m.b56act
b56:{
pts:new Pts().data,
},
b56p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.b56p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.b56p.ptsget.sdamod.seainf
},
},
},
owcact:"", // Receiving Agent Account .mt30m.owcact
owc:{
pts:new Pts().data,
},
owcp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.owcp.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.owcp.ptsget.sdamod.seainf
},
},
},
b58act:"", // Beneficiary Institution Account .mt30m.b58act
b58:{
pts:new Pts().data,
},
b58p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.b58p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.b58p.ptsget.sdamod.seainf
},
},
},
coninf:"", // Contact Information .mt30m.coninf
deamet:"", // Dealing Method .mt30m.deamet
deamettxt:"", // Dealing Method Text .mt30m.deamettxt
c84:{
pts:new Pts().data,
},
c84p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.c84p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.c84p.ptsget.sdamod.seainf
},
},
},
c88:{
pts:new Pts().data,
},
c88p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.c88p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.c88p.ptsget.sdamod.seainf
},
},
},
c85:{
pts:new Pts().data,
},
c85p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mt30m.c85p.ptsget.sdamod.dadsnd
seainf:"", // .mt30m.c85p.ptsget.sdamod.seainf
},
},
},
s24d:"",
comcur:"", // Broker's Commission Cur. .mt30m.comcur
comamt:"", // Broker's Commission Amount .mt30m.comamt
comamt:0, // Broker's Commission Amount .mt30m.comamt
ctpref:"", // Counterparty's Reference .mt30m.ctpref
c88ref:"", // Broker's Reference .mt30m.c88ref
str300:"", // Sender to Receiver Information .mt30m.str300
str300:"",
enttyp:"",
sndref:"",
unlref:"",
plsdat:"",
plscur:"",
plsamt:0,
ouscur:"",
ousamt:0,
b58:{pts:new Pts().data,},
b53:{pts:new Pts().data,},
a53:{pts:new Pts().data,},
b56:{pts:new Pts().data,},
owc:{pts:new Pts().data,},
ini:{pts:new Pts().data,},
rbc:{pts:new Pts().data,},
a53:{pts:new Pts().data,},
c84:{pts:new Pts().data,},
c88:{pts:new Pts().data,},
c85:{pts:new Pts().data,},
// Sender to Receiver Information .mt30m.str300
},
fxt300l1blk:"",
aplacc:{
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
......@@ -9,7 +9,7 @@
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号" disabled>
</c-input>
<template slot="footer">
<c-button style="margin: 0 5px" size="small" type="primary" :disabled="getOwnrefFlg"
<c-button style="margin: 0 5px" size="small" type="primary" :disabled="true"
>
获取
</c-button>
......
<template>
<div class="eibs-tab">
<!-- S0000042 : Typeof Operation(:22A) -->
<c-col :span="12">
<el-form-item :label="$t('fxtfcm.S0000042')" prop="mt30m.s22a">
<c-select v-model="model.mt30m.s22a" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000042')">
<div class="eibs-tab">
<c-col :span="24"> </c-col>
<!--details-->
<c-col :span="24"><b>Details:</b> <br /><br /> </c-col>
<c-col :span="24">
<!---- 左-->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item :label="'Typeof Operation(:22A)'" prop="mt30m.s22a">
<c-select v-model="model.mt30m.s22a" style="width: 100%" >
</c-select>
</el-form-item>
</c-col>
<!-- S0000050 : Subsequence B1: Amounts Bought -->
<!-- S0000054 : Subsequence B2: Amounts Sold -->
<!-- S0000049 : Delivery Agent(:53) -->
<!-- S0000055 : Delivery Agent(:53) -->
<!-- S0000043 : Scope of Operation(:94A) -->
<c-col :span="12">
<el-form-item :label="$t('fxtfcm.S0000043')" prop="mt30m.s94a">
<c-select v-model="model.mt30m.s94a" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000043')">
<c-col :span="24">
<el-form-item :label="'Scope of Operation(:94A)'" prop="mt30m.s94a">
<c-select v-model="model.mt30m.s94a" style="width: 100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Delivery Agent Account" prop="mt30m.a53act">
<c-input v-model="model.mt30m.a53act" maxlength="34" :placeholder="$t('other.please_enter')+'Delivery Agent Account'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item :label="'Common Reference(:22C)'" prop="mt30m.conref">
<c-input v-model="model.mt30m.conref" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Delivery Agent Account" prop="mt30m.b53act">
<c-input v-model="model.mt30m.b53act" maxlength="34" :placeholder="$t('other.please_enter')+'Delivery Agent Account'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item :label="'Block Trade Indicator(:17T)'" prop="mt30m.s17t">
<c-select v-model="model.mt30m.s17t" style="width: 100%" >
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : Common Reference(:22C) -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.a53p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.a53p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item :label="'Split Settlement Indicator(:17U)'" prop="mt30m.s17u">
<c-select v-model="model.mt30m.s17u" style="width: 100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.b53p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.b53p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item :label="'Contract Information'" prop="mt30m.coninf">
<c-input v-model="model.mt30m.coninf" style="width: 100%" line="4">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.a53.pts.extkey">
<c-input v-model="model.mt30m.a53.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.a53p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.a53p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onA53pDet">
{{$t('ptsp.CF000082')}}
</c-button>
<!---- 右-->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item :label="'Dealing Method'" prop="mt30m.deamet">
<c-select v-model="model.mt30m.deamet" style="width: 100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.b53.pts.extkey">
<c-input v-model="model.mt30m.b53.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item :label="''" prop="mt30m.deamettxt">
<c-input v-model="model.mt30m.deamettxt" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="" prop="mt30m.b53p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.b53p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
<el-form-item label="Broker's Commission" prop="mt30m.comcur">
<c-select-cur disabled v-model="model.mt30m.comcur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onB53pDet">
{{$t('ptsp.CF000082')}}
</c-button>
<el-form-item label-width="5px" prop="mt30m.comamt">
<c-input-currency
disabled
:currency="model.mt30m.comcur"
v-model="model.mt30m.comamt"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="MT300 22C - 共同参号" prop="mt30m.conref">
<c-input v-model="model.mt30m.conref" maxlength="16" :placeholder="$t('other.please_enter')+'MT300 22C - 共同参号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.a53.pts.nam">
<c-input v-model="model.mt30m.a53.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.b53.pts.nam">
<c-input v-model="model.mt30m.b53.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000063 : Block Trade Indicator(:17T) -->
<c-col :span="12">
<el-form-item :label="$t('fxtfcm.S0000063')" prop="mt30m.s17t">
<c-select v-model="model.mt30m.s17t" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000063')">
</c-select>
<c-col :span="24">
<el-form-item label="Counterparty's Reference" prop="mt30m.ctpref">
<c-input v-model="model.mt30m.ctpref" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<!-- S0000051 : Intermediary(:56) -->
<!-- S0000056 : Intermediary(:56) -->
<!-- S0000048 : Split Settlement Indicator(:17U) -->
<c-col :span="12">
<c-form-item label="Intermediary Account" prop="mt30m.iniact">
<c-input v-model="model.mt30m.iniact" maxlength="34" :placeholder="$t('other.please_enter')+'Intermediary Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Intermediary Account" prop="mt30m.b56act">
<c-input v-model="model.mt30m.b56act" maxlength="34" :placeholder="$t('other.please_enter')+'Intermediary Account'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Broker's Reference" prop="mt30m.c88ref">
<c-input v-model="model.mt30m.c88ref" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="MT300 17U - 分笔结算指示" prop="mt30m.s17u">
<c-select v-model="model.mt30m.s17u" style="width:100%" :placeholder="$t('other.please_enter')+'MT300 17U - 分笔结算指示'">
</c-select>
<c-col :span="24">
<el-form-item label="Sender to Receiver Information" prop="mt30m.str300">
<c-input v-model="model.mt30m.str300" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<!-- S0000046 : Contract Information -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.inip.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.inip.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.b56p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.b56p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.ini.pts.extkey">
<c-input v-model="model.mt30m.ini.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.inip.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.inip.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<!--seq b1-->
<c-col :span="24"> <br /><br /><b>Subsequence B1: Amounts Bought:</b> <br /><br /> </c-col>
<c-col :span="24">
<!--seq b1-- 左-->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12">
<c-button size="small" type="primary" @click="onInipDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.b56.pts.extkey">
<c-input v-model="model.mt30m.b56.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'a53',
}" :label="{
labelRef: 'Delivery Agent(:53)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.b56p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.b56p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.a53act">
<c-input v-model="model.mt30m.a53act" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onB56pDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Contact Information" prop="mt30m.coninf">
<c-input type="textarea" v-model="model.mt30m.coninf" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Contact Information'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.ini.pts.nam">
<c-input v-model="model.mt30m.ini.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'ini',
}" :label="{
labelRef: 'Intermediary(:56)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.b56.pts.nam">
<c-input v-model="model.mt30m.b56.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.iniact">
<c-input v-model="model.mt30m.iniact" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<!-- S0000052 : Receiving Agent(:57) -->
<!-- S0000057 : Receiving Agent(:57) -->
<c-col :span="12">
<c-form-item label="Receiving Agent Account" prop="mt30m.rbcact">
<c-input v-model="model.mt30m.rbcact" maxlength="34" :placeholder="$t('other.please_enter')+'Receiving Agent Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Receiving Agent Account" prop="mt30m.owcact">
<c-input v-model="model.mt30m.owcact" maxlength="34" :placeholder="$t('other.please_enter')+'Receiving Agent Account'"></c-input>
</c-form-item>
</c-col>
<!-- S0000074 : Dealing Method -->
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtfcm.S0000074')" prop="mt30m.deamet">
<c-select v-model="model.mt30m.deamet" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtfcm.S0000074')">
</c-select>
</el-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'rbc',
}" :label="{
labelRef: 'Receiving Agent(:57)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.rbcp.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.rbcp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.owcp.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.owcp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.rbc.pts.extkey">
<c-input v-model="model.mt30m.rbc.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.rbcp.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.rbcp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.rbcact">
<c-input v-model="model.mt30m.rbcact" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRbcpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.owc.pts.extkey">
<c-input v-model="model.mt30m.owc.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<!--seq b1--右-->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="12">
<c-form-item label="" prop="mt30m.owcp.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.owcp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'c84',
}" :label="{
labelRef: 'Dealing Branch Party A',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOwcpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Dealing Method Text" prop="mt30m.deamettxt">
<c-input v-model="model.mt30m.deamettxt" maxlength="35" :placeholder="$t('other.please_enter')+'Dealing Method Text'"></c-input>
</c-form-item>
</c-col>
<!-- S0000079 : Broker's Commission -->
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.rbc.pts.nam">
<c-input v-model="model.mt30m.rbc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'c88',
}" :label="{
labelRef: 'Broker Identification',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.owc.pts.nam">
<c-input v-model="model.mt30m.owc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Broker's Commission Cur." prop="mt30m.comcur">
<c-select v-model="model.mt30m.comcur" style="width:100%" :placeholder="$t('other.please_enter')+'Broker\'s Commission Cur.'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Broker's Commission Amount" prop="mt30m.comamt">
<c-input v-model="model.mt30m.comamt" :placeholder="$t('other.please_enter')+'Broker\'s Commission Amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : Beneficiary Institution(:58) -->
<!-- S0000076 : Dealing Branch Party A -->
<!-- S0000081 : Counterparty's Reference -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.c84p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.c84p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!--seq b2-->
<c-col :span="24"> <br /><br /><b>Subsequence B2: Amounts Sold:</b> <br /><br /> </c-col>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Beneficiary Institution Account" prop="mt30m.b58act">
<c-input v-model="model.mt30m.b58act" maxlength="34" :placeholder="$t('other.please_enter')+'Beneficiary Institution Account'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'b53',
}" :label="{
labelRef: 'Delivery Agent(:53)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.c84.pts.extkey">
<c-input v-model="model.mt30m.c84.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.b53act">
<c-input v-model="model.mt30m.b53act" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.c84p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.c84p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onC84pDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Counterparty's Reference" prop="mt30m.ctpref">
<c-input v-model="model.mt30m.ctpref" maxlength="16" :placeholder="$t('other.please_enter')+'Counterparty\'s Reference'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'b56',
}" :label="{
labelRef: 'Intermediary(:56)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.b58p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.b58p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.b56act">
<c-input v-model="model.mt30m.b56act" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<!-- S0000082 : Broker's Reference -->
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.b58.pts.extkey">
<c-input v-model="model.mt30m.b58.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.b58p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.b58p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" @click="onB58pDet">
{{$t('ptsp.CF000082')}}
</c-button>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'owc',
}" :label="{
labelRef: 'Receiving Agent(:57)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.c84.pts.nam">
<c-input v-model="model.mt30m.c84.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.owcact">
<c-input v-model="model.mt30m.owcact" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Broker's Reference" prop="mt30m.c88ref">
<c-input v-model="model.mt30m.c88ref" maxlength="16" :placeholder="$t('other.please_enter')+'Broker\'s Reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.b58.pts.nam">
<c-input v-model="model.mt30m.b58.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000077 : Broker Identification -->
<!-- S0000083 : Sender to Receiver Information -->
<c-col :span="12">
<c-form-item label="Sender to Receiver Information" prop="mt30m.str300">
<c-input type="textarea" v-model="model.mt30m.str300" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Sender to Receiver Information'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.c88p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.c88p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'c85',
}" :label="{
labelRef: 'Dealing Branch Party B',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<!-- S0000078 : Dealing Branch Party B -->
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.c88.pts.extkey">
<c-input v-model="model.mt30m.c88.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.c88p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.c88p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" @click="onC88pDet">
{{$t('ptsp.CF000082')}}
</c-button>
<c-col :span="24">
<c-ptap10 :model="model" :argadr="{
grp: 'mt30m',
rol: 'b58',
}" :label="{
labelRef: 'Beneficiary Institution(:58)',
labelNam: '',
}" :disabledRef="false" :disabledNam="true">
</c-ptap10>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="mt30m.c85p.ptsget.sdamod.dadsnd">
<c-input v-model="model.mt30m.c85p.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
<c-col :span="24">
<c-form-item label="Account" prop="mt30m.b58act">
<c-input v-model="model.mt30m.b58act" maxlength="34" :placeholder="$t('other.please_enter') + 'Account'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="mt30m.c85.pts.extkey">
<c-input v-model="model.mt30m.c85.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="mt30m.c85p.ptsget.sdamod.seainf">
<c-input v-model="model.mt30m.c85p.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onC85pDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.c88.pts.nam">
<c-input v-model="model.mt30m.c88.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="mt30m.c85.pts.nam">
<c-input v-model="model.mt30m.c85.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</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/Event"
import CodeTable from "~/config/CodeTable";
import Event from "../model/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: {
...Event
},
created: function () {},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="平盘确认信息" name="cnfp">
<m-cnfp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt300报文信息" name="mt300">
<m-mt300 :model="model" :codes="codes" ref="mt300" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
import Cnfp from "./Cnfp";
import Mt300 from "./Mt300";
export default {
components: {
"m-cnfp": Cnfp,
"m-mt300": Mt300,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
activeNames: ["cnfp", "mt300"],
};
},
methods: {
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eContainer">
<c-content>
<c-page title="外币兑换平盘">
<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">
<!--fxtfcm PD000001 Confirmation -->
<el-tab-pane label="平盘确认" name="cnfp">
<!--el-tab-pane label="平盘确认" name="cnfp">
<m-cnfp :model="model" :codes="codes"/>
</el-tab-pane-->
<el-tab-pane label="业务信息" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
......@@ -19,9 +22,9 @@
</el-tab-pane>
<!--fxtfcm PD000023 MT300 -->
<el-tab-pane label="MT300" name="mt300">
<!-- <el-tab-pane label="MT300" name="mt300">
<m-mt300 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
......@@ -33,7 +36,7 @@
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-content>
</c-page>
</div>
</template>
<script>
......@@ -54,6 +57,7 @@ import Check from "../model/Check"
// import Default from "../model/Default"
// import Pattern from "../model/Pattern"
import Cnfp from "./Cnfp"
import Ovwp from "./Ovwp"
import Mt300 from "./Mt300"
import Fxt300l1 from "./Fxt300l1"
......@@ -62,6 +66,7 @@ export default {
name: "Fxtfcm",
components:{
"m-cnfp" : Cnfp,
"m-ovwp" : Ovwp,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-mt300" : Mt300,
......@@ -75,7 +80,7 @@ export default {
mixins: [commonProcess,operationFunc,commonDepend,event,buildFn], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "cnfp",
tabVal: "ovwp",
trnName: "fxtfcm",
trnType: "",
model: new Fxtfcm().data,
......
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