Commit 9c1b1382 by 李少勇

修改清算交易模块

parent fd15fea8
<template>
<div class="eibs-tab">
<!-- S0000023 : 业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</el-form-item>
</c-col> -->
<!-- S0000024 : 名称 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000025 : 经办柜员 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<!-- S0000031 : 收报行 -->
<!-- S0000032 : Ref. -->
<c-col :span="12">
<el-form-item :label="$t('crtp.收报行')" prop="crdgrp.rcv.pts.ref">
<c-input v-model="model.crdgrp.rcv.pts.ref" maxlength="20"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.rcvp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="crdgrp.rcv.pts.extkey">
<c-input v-model="model.crdgrp.rcv.pts.extkey" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.rcvp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col> -->
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="crdgrp.rcv.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.rcv.pts.adrblk" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="crdgrp.rcv.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.rcv.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col> -->
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000028 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="12">
<el-form-item :label="$t('crtp.账户行')" prop="crdgrp.acc.pts.ref">
<c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="crdgrp.acc.pts.extkey">
<c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="crdgrp.acc.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.acc.pts.adrblk" maxlength="35" show-word-limit ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="crdgrp.acc.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.acc.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess,Event],
data(){
return {
}
},
methods:{},
created:function(){
}
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="24" class="custom-box-wrap">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
<c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%">
</c-input-currency>
</el-form-item>
</div>
</c-col>
<!-- S0000028 : 业务种类 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true"
:argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: {},
created: function () {
}
</script>
<style>
</style>
\ No newline at end of file
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="退汇结算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--crtcbk PD000001 概要 -->
<el-tab-pane :label="$t('crtcbk.概要')" name="retp">
<el-tab-pane label="业务信息" name="retp">
<c-content>
<m-retp :model="model" :codes="codes" />
</c-content>
......@@ -20,16 +19,6 @@
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -49,8 +38,6 @@ import Crtcbk from "../model"
import Retp from "./Retp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -63,8 +50,6 @@ export default {
"m-retp": Retp,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.recget.sdamod.dadsnd">
<c-input v-model="model.crtp.recget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<!-- S0000005 : 业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000006 : 名称 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000010 : 发报行 -->
<!-- S0000011 : Ref. -->
<!-- S0000009 : 经办柜员 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.sndp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.sndp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000013 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
<!-- S0000014 : 本行业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.本行业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '发报行', grp: 'crdgrp', rol: 'snd'}"
ptytyp="C"
></c-ptap>
</c-col>
<!-- S0000004 : 汇款账号(Tag59) -->
<c-col :span="12">
<el-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input>
</el-form-item>
</c-col>
<!-- S0000015 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000017 : 账户行 -->
<!-- S0000018 : Ref. -->
<!-- S0000020 : 归属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.归属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.accp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.accp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '账户行', grp: 'crdgrp', rol: 'acc'}"
ptytyp="C"
></c-ptap>
</c-col>
<!-- S0000021 : 出错信息 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.出错信息')" prop="crdgrp.rec.errmsg">
<c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input>
</el-form-item>
</c-col>
<!-- S0000053 : 客户类型 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.crtp.forare">{{ $t('crtp.C0000058') }}</c-checkbox>
</c-col>
<!-- S0000056 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.起息日')" prop="crtp.valdat">
<c-date-picker type="date" v-model="model.crtp.valdat" style="width:100%"></c-date-picker>
</el-form-item>
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000005 : 业务编号 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000009 : 经办柜员 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="24" class="custom-box-wrap">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
<c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%">
</c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.本行业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.归属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.出错信息')" prop="crdgrp.rec.errmsg">
<c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.起息日')" prop="crtp.valdat">
<c-date-picker type="date" v-model="model.crtp.valdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
......
......@@ -4,7 +4,7 @@
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Clearing In" name="clip">
<el-tab-pane label="业务信息" name="clip">
<m-clip :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
......@@ -17,16 +17,6 @@
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -46,8 +36,6 @@ import Crtcri from "../model"
import Clip from "./Clip"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -60,8 +48,6 @@ export default {
"m-clip": Clip,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -16,20 +16,12 @@
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="24" class="custom-box-wrap">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select-cur
v-model="model.crdgrp.cbs.max.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
disabled>
<c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
<c-input-currency
v-model="model.crdgrp.cbs.max.amt"
:currency="model.crdgrp.cbs.max.cur"
style="width: 100%">
<c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%">
</c-input-currency>
</el-form-item>
</div>
......@@ -44,15 +36,8 @@
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="24">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '账户行', grp: 'crdgrp', rol: 'acc'}"
ptytyp="C"
></c-ptap>
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
......@@ -69,7 +54,7 @@
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
......@@ -78,14 +63,8 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:argadr="{title: '收报行', grp: 'crdgrp', rol: 'rcv'}"
ptytyp="C"
></c-ptap>
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true"
:argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }" ptytyp="C"></c-ptap>
</c-col>
</c-col>
</div>
......
......@@ -5,38 +5,23 @@
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--crtcro PD000009 Clearing Out -->
<el-tab-pane label="Clearing Out" name="clop">
<el-tab-pane label="业务信息" name="clop">
<m-clop :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-coninfp :codes="codes" :model="model" />
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
......@@ -47,8 +32,6 @@ import Crtcro from "../model"
import Clop from "./Clop"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -61,8 +44,6 @@ export default {
"m-clop": Clop,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
<template>
<div class="eContainer">
<c-page title="转汇结算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--crtp PD000035 Transferring -->
<el-tab-pane :label="$t('crtp.Transferring')" name="ctfp">
<el-tab-pane label="业务信息" name="ctfp">
<c-content>
<m-ctfp :model="model" :codes="codes" />
</c-content>
......@@ -20,16 +20,6 @@
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
......@@ -44,8 +34,6 @@ import Crtctf from "../model"
import Ctfp from "./Ctfp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -58,8 +46,6 @@ export default {
"m-ctfp": Ctfp,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -21,16 +21,15 @@ export default {
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.fxtp.fxdgrp, this.buildPtspta);
let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.fxtp.fxdgrp.rec.inr,
ownref: model.fxtp.fxdgrp.rec.ownref,
ownref: model.crdgrp.rec.ownref,
},
cbsMap: {
MAX: model.fxtp.fxdgrp.cbs.max,
NOM1: model.fxtp.fxdgrp.cbs.nom1,
MAX: model.crdgrp.cbs.max,
NOM1: model.crdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
......
import Api from "~/service/Api"
import Utils from "~/utils"
import Api from "~/service/Api";
import moment from "moment";
export default {
async onSndpDet(){
let rtnmsg = await this.executeRule("sndp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
methods: {
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAccpDet(){
let rtnmsg = await this.executeRule("accp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
},
};
......@@ -4,20 +4,15 @@
<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">
<el-tab-pane label="menu" name="infconp">
<el-tab-pane label="业务信息" name="infconp">
<c-content>
<m-infconp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
......@@ -25,59 +20,49 @@
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infcrd from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check.js"
import Pattern from "../event/buildCommons.js"
import Infconp from "./Infconp"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event/index.js";
import Check from "../model/Check.js";
import buildFn from "../event/buildCommons.js";
export default {
name: "Infcrd",
components:{
"m-infconp" : Infconp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,Pattern], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infconp",
trnName: "infcrd",
trnType: "",
model: new Infcrd().data,
rules: Check,
codes: {...CodeTable },
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infcrd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
name: "Infcrd",
components: {
"m-infconp": Infconp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "infconp",
trnName: "infcrd",
trnType: "",
model: new Infcrd().data,
rules: Check,
codes: { ...CodeTable },
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入infcrd交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<style></style>
......@@ -119,7 +119,7 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
width: 72px;
width: 80px;
height: 25px;
overflow-wrap: break-word;
color: rgba(24, 31, 44, 1);
......
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