Commit 3dc03802 by huangshunlin

清算复核/快照,模型定义,路由定义

parent be2add72
import Pts from "../Pts.js";
export default class Crdgrp {
constructor() {
this.data = {
rec: {
inr: "", //.crdgrp.rec.inr
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
ownusr: "", // Responsible User .crdgrp.rec.ownusr
credat: "", // Date of Creation Opening or Registry .crdgrp.rec.credat
opndat: "", // Date L/C Opened/Issued .crdgrp.rec.opndat
clsdat: "", // Date L/C Closed .crdgrp.rec.clsdat
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
clrtyp: "", // Clearing Type .crdgrp.rec.clrtyp
trntyp: "", // Transaction Type .crdgrp.rec.trntyp
rcvbic: "", // Receiver BIC .crdgrp.rec.rcvbic
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
msgtyp: "", // Message Type .crdgrp.rec.msgtyp
msginr: "", // Message InrSMH .crdgrp.rec.msginr
bndtyp: "", // Bound Message Type .crdgrp.rec.bndtyp
bndinr: "", // Bound Message INRSMH .crdgrp.rec.bndinr
sta: "", // Status .crdgrp.rec.sta
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
branchinr: "", // branchinr .crdgrp.rec.branchinr
bchkeyinr: "", // BRANCH CODE KEYINR .crdgrp.rec.bchkeyinr
rcvbchinr: "", // Receiver Branch Inr .crdgrp.rec.rcvbchinr
ver: "", // Version Counter .crdgrp.rec.ver
sptinr: "", // Inr for SPT .crdgrp.rec.sptinr
etyextkey: "", // Entity holding Contract .crdgrp.rec.etyextkey
},
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
rcv: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.rcv.dbfadrblkcn
},
trf: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.trf.dbfadrblkcn
},
apl: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.apl.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
};
}
}
......@@ -2080,6 +2080,18 @@ const DisplayRouter = [
component: () => import("./Funds/DisplayFxtsss.vue"),
meta: {keepAlive: true, title: "交易快照-即期售汇", module: 'funds'}
},
{
name: "DisplayCrtcri",
path: "crtcri",
component: () => import("./Funds/DisplayCrtcri.vue"),
meta: {keepAlive: true, title: "交易快照-汇入清算", module: 'funds'}
},
{
name: "DisplayCrtcro",
path: "crtcro",
component: () => import("./Funds/DisplayCrtcro.vue"),
meta: {keepAlive: true, title: "交易快照-汇入清算", module: 'funds'}
},
];
export default DisplayRouter;
\ No newline at end of file
<template>
<Crtcri></Crtcri>
</template>
<script>
import Crtcri from "~/page/Funds/Crtcri/views";
export default {
name: "display-crtcri",
components: { Crtcri },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<Crtcro></Crtcro>
</template>
<script>
import Crtcro from "~/page/Funds/Crtcro/views";
export default {
name: "display-crtcrio",
components: { Crtcro },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -25,9 +25,17 @@ export default {
return {
rec: {
objtyp: "CRD",
forare:model.crtp.forare,
opndat:model.crdgrp.rec.opndat,
rcvbchinr:model.crdgrp.rec.rcvbchinr,
custyp:model.crdgrp.rec.custyp,
rcvactInr:model.rcvact.inr,
rcvactExtkey:model.rcvact.extkey,
rcvobjtyp:model.crdgrp.rec.rcvobjtyp,
valdat:model.cpdgrp.rec.valdat,
},
cbsMap: {
MAX: model.crdgrp.cbs.max,
},
ptsList: ptsptaList,
transName: trnName,
......
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
import commonFunctions from "~/mixin/commonFunctions.js";
import Api from "~/service/Api";
export default {
mixins: [commonFunctions],
methods: {
}
}
\ No newline at end of file
async getOwnref() {
if (this.model.crdgrp.rec.clrtyp == "") {
this.$notify.warning({
title: "提示",
message: "清算类型为空!",
});
return;
}
const loading = this.loading();
let res = await Api.post(
`/${this.moduleRouter()}/crtcri/getRef`,
this.model
);
loading.close();
if (res.respCode !== SUCCESS) {
this.$message.error(res.respMsg);
return;
}
this.model.crdgrp.rec.ownref = res.data;
},
async getBranchCodeValue() {
const loading = this.loading();
let res = await Api.post(
`/${this.moduleRouter()}/crtcri/getBranchCodeValue`,
this.model
);
loading.close();
if (res.respCode !== SUCCESS) {
this.$message.error(res.respMsg);
return;
}
this.rcvbchinrCode = res.data;
},
},
};
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
{ max: 40, message: "长度不能超过40" },
],
"crdgrp.snd.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
{ max: 20, message: "长度不能超过20" },
],
"crtp.usr.extkey": [
"crdgrp.rec.ownusr": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.sndp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 8, message: "长度不能超过8" },
],
"crdgrp.snd.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.sndp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: "小数位不能超过3位",
},
],
"crdgrp.snd.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.snd.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.msgact": [
{ type: "string", required: false, message: "必输项" },
{ max: 21, message: "长度不能超过21" }
{ max: 21, message: "长度不能超过21" },
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 20, message: "长度不能超过20" },
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.errmsg": [
{ type: "string", required: true, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" },
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crtp.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ max: 35, message: "长度不能超过35" },
],
}
\ No newline at end of file
"crtp.valdat": [{ required: false, message: "输入正确的日期" }],
};
import commonFunctions from "~/mixin/commonFunctions.js";
import Api from "~/service/Api";
import moment from "moment";
import commonDepend from "~/mixin/commonDepend";
import BigNumber from "bignumber.js";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
isModifyCrd(key) {
if (this.model.crdgrp.rec.modifySet) {
if (this.model.crdgrp.rec.modifySet.includes(key)) {
return true;
} else {
return false;
}
} else {
return false;
}
},
},
};
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
import Crdgrp from "~/components/business/commonModel/crdgrp";
import Cpdgrp from "~/components/business/commonModel/cpdgrp";
export default class Crtcri {
constructor() {
this.data = {
crdgrp: {
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rec: {
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
clrsta: "",
crdgrp: new Crdgrp().data,
cpdgrp: new Cpdgrp().data,
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
sndp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.sndp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.sndp.ptsget.sdamod.dadsnd
},
},
extkey: "", // 经办柜员 .crtp.usr.extkey
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
},
rcvact: {
inr: "",
extkey:"",
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
trnmod: new Pub().data.Trnmod,
};
}
}
\ No newline at end of file
}
......@@ -5,96 +5,225 @@
<!-- 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>
<c-fullbox>
<c-input
v-model="model.crdgrp.rec.ownref"
maxlength="16"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled=" model.crdgrp.rec.ownref != '' || model.crdgrp.rec.clrtyp == '' "
@click="getOwnref"
>
获取
</c-button>
</template>
</c-fullbox>
</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 :label="$t('crtp.经办柜员')" prop="crdgrp.rec.ownusr">
<c-input
v-model="model.crdgrp.rec.ownusr"
maxlength="8"
disabled
></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">
<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
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>
<c-input
v-model="model.crdgrp.rec.msgref"
maxlength="16"
:disabled="defaultCrdgrpRecMsgrefN1000"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<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-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }"
ptytyp="B"
></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
dbCode="CBOTXT"
:filterKey="['CPD', 'BOD', 'CCD', 'CLD', 'BED', 'BTD', 'GID']"
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
dbCode="GORS"
v-model="model.crdgrp.rec.custyp"
style="width: 100%"
:disabled="model.crdgrp.rec.rcvobjtyp != 'CPD'"
>
</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 v-model="model.crdgrp.rec.rcvbchinr" style="width: 100%">
<el-option
v-for="(item, idx) in rcvbchinrCode"
:key="idx"
:label="item.label"
:value="item.value"
></el-option>
</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>
<c-input
type="textarea"
v-model="model.crdgrp.rec.errmsg"
maxlength="40"
disabled
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>
<c-date-picker
type="date"
v-model="model.crtp.valdat"
style="width: 100%"
disabled
></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-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }"
ptytyp="B"
></c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Event from "../event"
import Event from "../event";
export default {
inject: ['root'],
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
rcvbchinrCode: [],
};
},
methods: {},
created: function () {
}
}
this.getBranchCodeValue();
},
computed: {
defaultCrdgrpRecMsgrefN1000: function () {
if (this.model.crdgrp.rec.rcvobjtyp == "") {
this.model.crdgrp.rec.msgref = "";
return true;
} else {
return false;
}
},
defaultCrdgrpRecNamN1000: function () {
if (!this.isModifyCrd("nam")) {
if (this.model.crdgrp.rec.clrtyp == "O") {
let amount = this.moneyFormat(
this.model.crdgrp.cbs.max.amt,
this.model.crdgrp.cbs.max.cur
);
let nam =
this.model.crdgrp.rec.msgtyp +
" " +
this.model.crdgrp.cbs.max.cur +
" " +
amount +
" " +
this.model.crdgrp.rec.rcvobjtyp +
"/" +
this.model.crdgrp.rcv.pts.nam;
this.model.crdgrp.rec.nam = nam.substring(0, 40);
} else {
let amount = this.moneyFormat(
this.model.crdgrp.cbs.max.amt,
this.model.crdgrp.cbs.max.cur
);
let nam =
this.model.crdgrp.rec.msgtyp +
" " +
this.model.crdgrp.cbs.max.cur +
" " +
amount +
" " +
this.model.crdgrp.rec.rcvobjtyp +
"/" +
this.model.crdgrp.snd.pta.nam;
this.model.crdgrp.rec.nam = nam.substring(0, 40);
}
}
return this.model.crdgrp.rec.nam;
},
},
};
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇入清算">
<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-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="业务信息" name="clip">
<m-clip :model="model" :codes="codes" />
</el-tab-pane>
......@@ -30,10 +42,10 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcri from "../model"
import Clip from "./Clip"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Crtcri from "../model";
import Clip from "./Clip";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
......@@ -42,6 +54,8 @@ import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
import Default from "../model/default";
export default {
name: "Crtcri",
components: {
......@@ -51,10 +65,10 @@ export default {
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [operationFunc, commonDepend, event, buildFn],
mixins: [Default, operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "clip",
......@@ -63,14 +77,14 @@ export default {
model: new Crtcri().data,
rules: Check,
codes: {
...CodeTable
...CodeTable,
},
}
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
this.tabClick(tab);
},
},
created: async function () {
console.log("进入crtcri交易");
......@@ -82,8 +96,8 @@ export default {
},
},
};
this.init(params)
}
}
this.init(params);
},
};
</script>
<style></style>
......@@ -15,13 +15,25 @@
</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">
<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
v-model="model.crdgrp.cbs.max.amt"
:currency="model.crdgrp.cbs.max.cur"
style="width: 100%"
>
</c-input-currency>
</el-form-item>
</div>
......@@ -29,76 +41,102 @@
<!-- 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
dbCode="CBOTXT"
:filterKey="['CPD', 'BCD', 'BRD', 'GID']"
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-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="清算类型" prop="crdgrp.rec.crttyp">
<c-select :code="crttyp" v-model="model.crdgrp.rec.crttyp" style="width:100%">
<c-select
:code="crttyp"
v-model="model.crdgrp.rec.crttyp"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<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%">
<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-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"
import Api from "~/service/Api";
import Event from "../event";
export default {
inject: ['root'],
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
crttyp: [
{
label: '汇出清算',
value: '汇出清算',
label: "汇出清算",
value: "汇出清算",
},
{
label: '退汇清算',
value: '退汇清算',
label: "退汇清算",
value: "退汇清算",
},
{
label: '转汇清算',
value: '转汇清算',
label: "转汇清算",
value: "转汇清算",
},
]
}
],
};
},
methods: {},
created: function () {
}
}
created: function () {},
};
</script>
<style></style>
import Pub from "~/components/business/commonModel/index.js";
import Fxdgrp from '~/components/business/commonModel/fxdgrp';
import Cpdgrp from '~/components/business/commonModel/cpdgrp';
export default class Fxtssb {
......@@ -13,6 +15,7 @@ export default class Fxtssb {
cshflg: "", // 钞汇标志 .fxtp.cshflg
},
fxdgrp: new Fxdgrp().data,
cpdgrp: new Cpdgrp().data,
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
......
<template>
<ReviewWrapper>
<Crtcri></Crtcri>
</ReviewWrapper>
</template>
<script>
import Crtcri from "~/page/Funds/Crtcri/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-crtcri",
components: {ReviewWrapper, Crtcri},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Crtcro></Crtcro>
</ReviewWrapper>
</template>
<script>
import Crtcro from "~/page/Funds/Crtcro/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-crtcro",
components: {ReviewWrapper, Crtcro},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -2197,6 +2197,18 @@ const ReviewRouter = [
component: () => import("./Funds/ReviewFxtsss.vue"),
meta: {keepAlive: true, title: "复核-即期结汇", module: 'funds'}
},
{
name: "review-crtcri",
path: "review-crtcri",
component: () => import("./Funds/ReviewCrtcri.vue"),
meta: {keepAlive: true, title: "复核-汇入清算", module: 'funds'}
},
{
name: "review-crtcro",
path: "review-crtcro",
component: () => import("./Funds/ReviewCrtcro.vue"),
meta: {keepAlive: true, title: "复核-汇出清算", module: 'funds'}
},
];
export default ReviewRouter;
\ No newline at end of file
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