Commit 521c369f by niewei

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents dd414a89 5fd62874
......@@ -701,3 +701,8 @@ i.el-select__caret.el-input__icon.el-icon-circle-close {
width: 780px;
}
}
/*通用样式*/
.pl8 {
padding-left: 8px;
}
\ No newline at end of file
......@@ -31,6 +31,9 @@ export default class Pts {
cnadr: '', //中文地址
ennam: '', //英文名称
enadr: '', //英文地址
cipsid: '', //
leino: '', //
eid: '', //
};
}
}
import Pts from '../Pts.js'
export default class Cpdgrp {
constructor() {
this.data = {
rec: {
inr: "",
cptrou: "", // 清算路径
ownref: "",
nam: "",
pyeptyinr: "",
pyeptainr: "",
pyenam: "",
pyeref: "",
pybptyinr: "",
pybptainr: "",
pybnam: "",
pybref: "",
orcptyinr: "",
orcptainr: "",
orcnam: "",
orcref: "",
oriptyinr: "",
oriptainr: "",
orinam: "",
oriref: "",
valdat: "",
opndat: "",
clsdat: "",
chato: "",
credat: "",
ownusr: "",
ver: "",
detchgcod: "", // 费用承担方
paytyp: "",
stagod: "", // 货物类型
stacty: "",
etyextkey: "",
sysno: "",
othbch: "",
gors: "",
feecur: "",
feeamt: "",
trntyp: "", // 汇款性质
paytype: "", // 汇款方式
paydat: "",
clityp: "",
trdint: "",
curf33b: "", // 原始币种
cur71f: "", // 发报行扣费币种
amt71f: 0, // 发报行扣费金额
amtf33b: 0, // 原始金额
f36: "",
f23e: "",
f23b: "", // 银行操作码
trdout: "",
swftyp: "",
trdinr: "",
rel21: "",
branchinr: "",
bchkeyinr: "",
accmod: "",
sztyp: "",
sndbanref: "",
orcact: "",
pyeact: "",
tsnflg: "", // 同名划转
prechkdat: "", // 预计核验日期
ischktyp: "", // 是否需要核验
rskrelusr: "",
rskexp: "",
pyectycod: "",
orcctycod: "",
uetr: "",
oppnam: "",
ehtyp: "",//电商汇款或海运费标记
manbod: "",//交易主体
},
blk: {
inr: "",
fldmodblk: "",
narhis: "",
contag72: "",
contag79: "",
contag70: "",
rskinf: "",
},
cbs: {
max: {
cur: "",
amt: "",
},
nom1: {
cur: "",
amt: "",
},
},
orc: {
ptytyp:'',
pts: new Pts().data,
},
ori: {
ptytyp:'',
pts: new Pts().data,
},
pyb: {
ptytyp:'',
pts: new Pts().data,
},
pye: {
ptytyp:'',
pts: new Pts().data,
},
med: {
ptytyp:'',
pts: new Pts().data,
},
rmt: {
ptytyp:'',
pts: new Pts().data,
},
snd: {
ptytyp:'',
pts: new Pts().data,
},
int: {
ptytyp:'',
pts: new Pts().data,
},
awi: {
ptytyp:'',
pts: new Pts().data,
},
res: {
ptytyp:'',
pts: new Pts().data,
},
pyebchkey:'',
pyebchnam:'',
msgtyp:'',
acc54:'',
bic54:'',
adr54:'',
constructor() {
this.data = {
rec: {
inr: "",
cptrou: "", // 清算路径
ownref: "",
nam: "",
pyeptyinr: "",
pyeptainr: "",
pyenam: "",
pyeref: "",
pybptyinr: "",
pybptainr: "",
pybnam: "",
pybref: "",
orcptyinr: "",
orcptainr: "",
orcnam: "",
orcref: "",
oriptyinr: "",
oriptainr: "",
orinam: "",
oriref: "",
valdat: "",
opndat: "",
clsdat: "",
chato: "",
credat: "",
ownusr: "",
ver: "",
detchgcod: "", // 费用承担方
paytyp: "",
stagod: "", // 货物类型
stacty: "",
etyextkey: "",
sysno: "",
othbch: "",
gors: "",
feecur: "",
feeamt: "",
trntyp: "", // 汇款性质
paytype: "", // 汇款方式
paydat: "",
clityp: "",
trdint: "",
curf33b: "", // 原始币种
cur71f: "", // 发报行扣费币种
amt71f: 0, // 发报行扣费金额
amtf33b: 0, // 原始金额
f36: "",
f23e: "",
f23b: "", // 银行操作码
trdout: "",
swftyp: "",
trdinr: "",
rel21: "",
branchinr: "",
bchkeyinr: "",
accmod: "",
sztyp: "",
sndbanref: "",
orcact: "",
pyeact: "",
tsnflg: "", // 同名划转
prechkdat: "", // 预计核验日期
ischktyp: "", // 是否需要核验
rskrelusr: "",
rskexp: "",
pyectycod: "",
orcctycod: "",
uetr: "",
oppnam: "",
ehtyp: "",//电商汇款或海运费标记
manbod: "",//交易主体
},
blk: {
inr: "",
fldmodblk: "",
narhis: "",
contag72: "",
contag79: "",
contag70: "",
rskinf: "",
},
cbs: {
max: {
cur: "",
amt: "",
},
nom1: {
cur: "",
amt: "",
},
},
orc: {
ptytyp: '',
pts: new Pts().data,
},
ooa: {
ptytyp: '',
pts: new Pts().data,
},
oob: {
ptytyp: '',
pts: new Pts().data,
},
ori: {
ptytyp: '',
pts: new Pts().data,
},
pyb: {
ptytyp: '',
pts: new Pts().data,
},
pye: {
ptytyp: '',
pts: new Pts().data,
},
med: {
ptytyp: '',
pts: new Pts().data,
},
rmt: {
ptytyp: '',
pts: new Pts().data,
},
snd: {
ptytyp: '',
pts: new Pts().data,
},
int: {
ptytyp: '',
pts: new Pts().data,
},
awi: {
ptytyp: '',
pts: new Pts().data,
},
res: {
ptytyp: '',
pts: new Pts().data,
},
pyebchkey: '',
pyebchnam: '',
msgtyp: '',
acc54: '',
bic54: '',
adr54: '',
cpdret: {
inr: "", // 主键
chownref: "", // 新汇出汇款业务编号
objtyp: "",
objinr: "",
bfth: "", // 部分退汇
rejcod: "", // 原因代码
remark: "", // 原因详情
clsm: "", // 处理说明 标准收发器专用
smhinr: "",
objref: "",
iniref: "", // 前端业务编号
credat: "",
rightunit: "", // 正确清分机构
iniusr: "",
inifrm: ""
},
}
}
}
}
\ No newline at end of file
......@@ -9673,6 +9673,39 @@ const CodeTable = {
{label: "已丢弃", value: "G"},
{label: "暂存", value: "Z"},
],
cshflg:[
{label:"现钞",value:"2" },
{label:"现汇",value:"1" },
],
fxt_dsp:[
{label:"内部往来清算账户",value:"HA" },
{label:"国际结算过渡账户",value:"SP" },
{label:"客户往来账户",value:"LO" },
{label:"客户待核查账户",value:"VT" },
{label:"客户外汇资本金帐户",value:"CA" },
],
fxt_dsp2:[
{label:"内部往来清算账户",value:"HA" },
{label:"国际结算过渡账户",value:"SP" },
{label:"客户往来账户",value:"LO" },
{label:"客户待核查账户",value:"VT" },
],
fxt_fxtyp:[
{label:"远期结汇",value:"UB" },
{label:"即期结汇",value:"SB" },
{label:"择期结汇",value:"NB" },
{label:"代客外汇买入",value:"XB" },
{label:"外汇平盘买入",value:"BX" },
{label:"择期售汇",value:"NS" },
{label:"兑换平盘卖出",value:"FS" },
{label:"平盘买入",value:"LB" },
{label:"远期售汇",value:"US" },
{label:"代客外汇卖出",value:"XS" },
{label:"即期售汇",value:"SS" },
{label:"外汇平盘卖出",value:"SX" },
{label:"平盘卖出",value:"LS" },
{label:"兑换平盘买入",value:"FB" },
],
rmbsta: [
{label: "待申报", value: "0"},
{label: "已发送", value: "8"},
......@@ -9807,5 +9840,21 @@ const CodeTable = {
{label:"头寸调拨",value:"PT" },
{label:"资金拆出",value:"LO" },
],
fxt_fxtyp:[
{label:"远期结汇",value:"UB" },
{label:"即期结汇",value:"SB" },
{label:"择期结汇",value:"NB" },
{label:"代客外汇买入",value:"XB" },
{label:"外汇平盘买入",value:"BX" },
{label:"择期售汇",value:"NS" },
{label:"兑换平盘卖出",value:"FS" },
{label:"平盘买入",value:"LB" },
{label:"远期售汇",value:"US" },
{label:"代客外汇卖出",value:"XS" },
{label:"即期售汇",value:"SS" },
{label:"外汇平盘卖出",value:"SX" },
{label:"平盘卖出",value:"LS" },
{label:"兑换平盘买入",value:"FB" },
],
};
export default CodeTable;
......@@ -1233,6 +1233,18 @@ const DisplayRouter = [
meta: {keepAlive: true, title: "交易快照-汇出汇款", module: 'Remittance'}
},
{
name: "DisplayCptrej",
path: "cptrej",
component: () => import("./Remittance/DisplayCptrej.vue"),
meta: {keepAlive: true, title: "交易快照-止付申请", module: 'Remittance'}
},
{
name: "DisplayCptdcr",
path: "cptdcr",
component: () => import("./Remittance/DisplayCptdcr.vue"),
meta: {keepAlive: true, title: "交易快照-退汇处理", module: 'Remittance'}
},
{
name: "DisplayCptadv",
path: "cptadv",
component: () => import("./Remittance/DisplayCptadv.vue"),
......
<template>
<Cptdcr></Cptdcr>
</template>
<script>
import Cptdcr from "~/page/Remittance/Cptdcr/views";
export default {
name: "display-cptdcr",
components: {Cptdcr},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<Cptrej></Cptrej>
</template>
<script>
import Cptrej from "~/page/Remittance/Cptrej/views";
export default {
name: "display-cptrej",
components: {Cptrej},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -18,7 +18,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起使日期" prop="rcvdatsta" style="width: 100%">
<el-form-item label="起日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.mgsp.stadat"
......@@ -26,7 +26,12 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="截止日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
......@@ -37,9 +42,7 @@
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> </el-row>
</el-row>
</template>
</c-list-search>
......
......@@ -31,7 +31,9 @@
</c-col>
</c-col>
</el-row>
<el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
......@@ -50,8 +52,6 @@
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标志号" prop="" style="width: 100%">
......@@ -70,8 +70,6 @@
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账号" prop="" style="width: 100%">
......@@ -89,8 +87,6 @@
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="消息处理状态" prop="" style="width: 100%">
......@@ -106,8 +102,6 @@
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> </el-row>
</template>
</c-list-search>
......
......@@ -2,7 +2,7 @@
const BusRouter = [
{ path: 'batchg', component: ()=>import("./Batchg/views"), name: 'Batchg', meta: { title: 'Batchg' } ,module:'frontend'},
{ path: 'cpsmsg', component: ()=>import("./Cpsmsg/views"), name: 'Cpsmsg', meta: { title: 'Cpsmsg' } ,module:'frontend'},
{ path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: 'Cpssxf' } ,module:'frontend'},
{ path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: '手续费管理' } ,module:'frontend'},
{ path: 'cpysel', component: ()=>import("./Cpysel/views"), name: 'Cpysel', meta: { title: 'Cpysel' } ,module:'frontend'},
{ path: 'cpzsel', component: ()=>import("./Cpzsel/views"), name: 'Cpzsel', meta: { title: 'Cpzsel' } ,module:'frontend'},
{ path: 'ctmsel', component: ()=>import("./Ctmsel/views"), name: 'Ctmsel', meta: { title: 'Ctmsel' } ,module:'frontend'},
......
......@@ -152,7 +152,7 @@ export default {
{
label: "被封装20域编号",
prop: "bfzybh",
width: "120px"
width: "160px"
},
{
label: "处理状态",
......
......@@ -68,6 +68,9 @@ export default class Fxtsss {
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,
}
}
}
\ No newline at end of file
......@@ -68,6 +68,9 @@ export default class Crtcri {
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,
}
}
}
\ No newline at end of file
......@@ -97,7 +97,7 @@
<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 dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -146,7 +146,7 @@
<c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select v-model="model.crdgrp.rec.custyp" style="width:100%" dbCode="custyp">
<c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......
......@@ -17,6 +17,16 @@
<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
......@@ -36,6 +46,8 @@ 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";
......@@ -48,6 +60,8 @@ export default {
"m-clip": Clip,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -63,6 +63,9 @@ export default class Crtcri {
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,
}
}
}
\ No newline at end of file
......@@ -68,7 +68,7 @@
<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 v-model="model.crdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......@@ -89,7 +89,7 @@
<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 dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......
......@@ -18,6 +18,16 @@
<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
......@@ -37,6 +47,8 @@ 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";
......@@ -49,6 +61,8 @@ export default {
"m-clop": Clop,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -72,6 +72,9 @@ export default class Fxtsss {
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,
}
}
}
\ No newline at end of file
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onA53pDet(){
let rtnmsg = await this.executeRule("a53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB53pDet(){
let rtnmsg = await this.executeRule("b53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB56pDet(){
let rtnmsg = await this.executeRule("b56p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRbcpDet(){
let rtnmsg = await this.executeRule("rbcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOwcpDet(){
let rtnmsg = await this.executeRule("owcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA58pDet(){
let rtnmsg = await this.executeRule("a58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB58pDet(){
let rtnmsg = await this.executeRule("b58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
export default {
methods: {
},
};
import Utils from "~/utils"
/**
* Fttfcm Check规则
*/
let checkObj = {
"fttp.mt32m.s30x" :null,
"fttp.mt32m.ini.pts.extkey" :null,
"fttp.mt32m.b58.pts.extkey" :null,
"fttp.mt32m.a58.pts.extkey" :null,
"fttp.mt32m.owc.pts.adrblk" :null,
"fttp.mt32m.conref" :null,
"fttp.mt32m.b53.pts.extkey" :null,
"fttp.mt32m.b58.pts.adrblk" :null,
"fttp.mt32m.b56.pts.extkey" :null,
"fttp.mt32m.rbc.pts.adrblk" :null,
"fttp.mt32m.owc.pts.extkey" :null,
"fttp.mt32m.rbc.pts.extkey" :null,
"fttp.mt32m.a53.pts.extkey" :null,
"fttp.mt32m.a58.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
/**
* Fttfcm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fttp.mt32m.owc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.ini.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b56.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.a58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.s22b" :Utils.defaultFunction,
"fttp.mt32m.b58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.extkey" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcm{
constructor () {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt199l1blk的内容" prop="ftt199l1blk">
<c-input type="textarea" v-model="model.ftt199l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt299l1blk的内容" prop="ftt299l1blk">
<c-input type="textarea" v-model="model.ftt299l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt320l1blk的内容" prop="ftt320l1blk">
<c-input type="textarea" v-model="model.ftt320l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="Reference" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="please_enter + Reference"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000010 : Reference -->
<!-- S0000011 : Related Reference -->
<!-- S0000012 : Narrative -->
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="参考号" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="请输入参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -23,7 +23,7 @@
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.ffttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.定存拆借类型')">
</c-select>
</el-form-item>
......@@ -72,7 +72,7 @@
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.计息方式')" prop="ftdgrp.rec.cntfra">
<c-select v-model="model.ftdgrp.rec.cntfra" style="width:100%"
<c-select v-model="model.ftdgrp.rec.cntfra" :code="codes.ictyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.计息方式')">
</c-select>
</el-form-item>
......@@ -93,14 +93,14 @@
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.报文类型')" prop="fttp.msgtyp">
<c-select v-model="model.fttp.msgtyp" style="width:100%"
<c-select v-model="model.fttp.msgtyp" :code="codes.msgtyp2" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.报文类型')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.银行行类别')" prop="ftdgrp.rec.bnktyp">
<c-select v-model="model.ftdgrp.rec.bnktyp" :code="codes.curtxt1" style="width:100%"
<c-select v-model="model.ftdgrp.rec.bnktyp" :code="codes.avbwth" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.银行行类别')">
</c-select>
</el-form-item>
......@@ -132,7 +132,7 @@
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.troact">
<c-select v-model="model.fttp.troact" style="width:100%" :placeholder="$t('other.请输入') + '交易账户'">
<c-select v-model="model.fttp.troact" :code="codes.idtype" style="width:100%" :placeholder="$t('other.请输入') + '交易账户'">
</c-select>
</el-form-item>
</c-col>
......@@ -152,7 +152,7 @@
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.triact">
<c-select v-model="model.fttp.triact" style="width:100%" :placeholder="$t('other.请输入') + $t('fttp.S0000103')">
<c-select v-model="model.fttp.triact" :code="codes.idtype"style="width:100%" :placeholder="$t('other.请输入') + $t('fttp.账户')">
</c-select>
</el-form-item>
</c-col>
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfcm PD000001 MT320 -->
<el-tab-pane :label="$t('fttfcm.PD000001')" name="ftt320l1">
<m-ftt320l1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000002 MT320 -->
<el-tab-pane :label="$t('fttfcm.PD000002')" name="mt320">
<m-mt320 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000003 MT199 -->
<el-tab-pane :label="$t('fttfcm.PD000003')" name="mt199">
<m-mt199 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000004 MT299 -->
<el-tab-pane :label="$t('fttfcm.PD000004')" name="mt299">
<m-mt299 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000014 MT199 -->
<el-tab-pane :label="$t('fttfcm.PD000014')" name="ftt199l1">
<m-ftt199l1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000015 MT299 -->
<el-tab-pane :label="$t('fttfcm.PD000015')" name="ftt299l1">
<m-ftt299l1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<div class="eContainer">
<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">
<el-tab-pane label="概要" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</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>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfcm from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Ftt320l1 from "./Ftt320l1"
import Mt320 from "./Mt320"
import Mt199 from "./Mt199"
import Mt299 from "./Mt299"
import Ftt199l1 from "./Ftt199l1"
import Ftt299l1 from "./Ftt299l1"
import Ovwp from "./Ovwp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Fttfcm",
components:{
"m-ftt320l1" : Ftt320l1,
"m-mt320" : Mt320,
"m-mt199" : Mt199,
"m-mt299" : Mt299,
"m-ftt199l1" : Ftt199l1,
"m-ftt299l1" : Ftt299l1,
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "ftt320l1",
tabVal: "ovwp",
trnName: "fttfcm",
trnType: "",
model: new Fttfcm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
rules: Check,
codes: { ...CodeTable },
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入fttfcm交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
import Utils from "~/utils"
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
/**
* Fttfcn Check规则
*/
let checkObj = {
"canamt" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"ftdgrp.rec.fttyp" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"canamt" :Utils.defaultFunction,
"ftdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onActpDet(){
let rtnmsg = await this.executeRule("actp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcn{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
......@@ -69,7 +70,10 @@ export default class Fttfcn{
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
\ No newline at end of file
......@@ -19,7 +19,7 @@
<c-col :span="24">
<el-form-item :label="$t('fttfcn.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.ffttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借类型')">
</c-select>
</el-form-item>
......@@ -111,9 +111,7 @@
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
import Event from "../event"
export default {
inject: ['root'],
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfcn PD000001 Cancellation -->
<el-tab-pane :label="$t('fttfcn.PD000001')" name="canp">
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<div class="eContainer">
<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">
<!--fttfcn PD000001 Cancellation -->
<el-tab-pane label="销账" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</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>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfcn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Canp from "./Canp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Fttfcn",
components:{
"m-canp" : Canp,
components: {
"m-canp": Canp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
trnName: "fttfcn",
trnType: "",
model: new Fttfcn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
rules: Check,
codes: { ...CodeTable },
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入fttfcn交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
import Utils from "~/utils"
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
/**
* Fttfmt Check规则
*/
let checkObj = {
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.rec.fttyp" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfmt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onActpDet(){
let rtnmsg = await this.executeRule("actp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfmt{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
......@@ -69,7 +70,10 @@ export default class Fttfmt{
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
\ No newline at end of file
......@@ -21,7 +21,7 @@
<c-col :span="24">
<el-form-item :label="$t('fttfmt.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.curtxt1" style="width:100%"
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.ffttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借类型')">
</c-select>
</el-form-item>
......@@ -30,10 +30,11 @@
<c-col :span="24">
<c-col :span="12">
<c-form-item :label="$t('fttfmt.定存拆借金额')" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额币种')"></c-input>
</c-form-item>
<el-form-item :label="$t('fttfmt.定存拆借金额')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
......@@ -78,10 +79,11 @@
<!-- S0000018 : 结算总金额 -->
<c-col :spam="24">
<c-col :span="12">
<c-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
<c-input v-model="model.ftdgrp.cbs.max.cur" maxlength="3"
:placeholder="$t('other.请输入') + $t('fttfmt.结算总金额币种')"></c-input>
</c-form-item>
<el-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.结算总金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="setmod.setamt">
......@@ -136,9 +138,7 @@
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
import Event from "../event"
export default {
inject: ['root'],
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfmt PD000001 Maturity -->
<el-tab-pane :label="$t('fttfmt.PD000001')" name="matp">
<m-matp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<div class="eContainer">
<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">
<!--fttfmt PD000001 Maturity -->
<el-tab-pane label="到期处理" name="matp">
<c-content>
<m-matp :model="model" :codes="codes" />
</c-content>
</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>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfmt from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Matp from "./Matp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Fttfmt",
components:{
"m-matp" : Matp,
components: {
"m-matp": Matp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "matp",
trnName: "fttfmt",
trnType: "",
model: new Fttfmt().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
rules: Check,
codes: { ...CodeTable },
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入fttfmt交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<style></style>
......@@ -33,10 +33,7 @@
prop="fttp.usr.extkey"
>
<c-fullbox>
<c-input
v-model="model.fttp.usr.extkey"
maxlength="8"
></c-input>
<c-input v-model="model.fttp.usr.extkey" maxlength="8"></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 5px" type="primary">
i
......@@ -68,13 +65,20 @@
:label="$t('fttp.Position Amount')"
prop="ftdgrp.cbs.max.cur"
>
<c-select v-model="model.ftdgrp.cbs.max.cur" style="width: 100%">
<c-select
v-model="model.ftdgrp.cbs.max.cur"
:code="codes.curtxt"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt"></c-input>
<c-input-currency
v-model="model.ftdgrp.cbs.max.amt"
:currency="model.ftdgrp.cbs.max.cur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
......@@ -114,9 +118,15 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.Beneficiary')" prop="ftdgrp.ben.pts.extkey">
<c-form-item
:label="$t('fttp.Beneficiary')"
prop="ftdgrp.ben.pts.extkey"
>
<c-fullbox>
<c-input v-model="model.ftdgrp.ben.pts.extkey" maxlength="34"></c-input>
<c-input
v-model="model.ftdgrp.ben.pts.extkey"
maxlength="34"
></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 5px" type="primary">
i
......@@ -139,7 +149,11 @@
<!-- S0000104 : 报文类型 -->
<c-col :span="24">
<c-form-item :label="$t('fttp.Message Type')" prop="fttp.msgtyp">
<c-select v-model="model.fttp.msgtyp" style="width: 100%">
<c-select
v-model="model.fttp.msgtyp"
:code="codes.swftyp1"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
......@@ -161,7 +175,10 @@
<c-col :span="24">
<c-form-item label="" prop="ftdgrp.tro.pts.extkey">
<c-fullbox>
<c-input v-model="model.ftdgrp.tro.pts.extkey" maxlength="8"></c-input>
<c-input
v-model="model.ftdgrp.tro.pts.extkey"
maxlength="8"
></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 5px" type="primary">
i
......@@ -186,7 +203,11 @@
</c-col>
<c-col :span="24">
<c-form-item label="" prop="fttp.troact">
<c-select v-model="model.fttp.troact" style="width: 100%">
<c-select
v-model="model.fttp.troact"
:code="[{ label: '7026141140101010009', value: '1' }]"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
......@@ -229,7 +250,11 @@
</c-col>
<c-col :span="24">
<c-form-item prop="fttp.triact">
<c-select v-model="model.fttp.triact" style="width: 100%">
<c-select
v-model="model.fttp.triact"
:code="[{ label: '7026141140101010009', value: '1' }]"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
......
......@@ -37,7 +37,11 @@
<!-- S0000063 : 头寸调拨类型 -->
<c-col :span="24">
<c-form-item :label="$t('fttpcn.头寸调拨类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width: 100%">
<c-select
v-model="model.ftdgrp.rec.fttyp"
:code="codes.fttyp"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
......@@ -48,13 +52,20 @@
:label="$t('fttp.头寸调拨金额')"
prop="ftdgrp.cbs.max.cur"
>
<c-select v-model="model.ftdgrp.cbs.max.cur" style="width: 100%">
<c-select
v-model="model.ftdgrp.cbs.max.cur"
:code="codes.curtxt"
style="width: 100%"
>
</c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt"></c-input>
<c-input-currency
v-model="model.ftdgrp.cbs.max.amt"
:currency="model.ftdgrp.cbs.max.cur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
......@@ -67,13 +78,17 @@
>
<c-select
v-model="model.ftdgrp.cbs.opn2.cur"
:code="codes.curtxt"
maxlength="3"
></c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="ftdgrp.cbs.opn2.amt">
<c-input v-model="model.ftdgrp.cbs.opn2.amt"></c-input>
<c-input-currency
v-model="model.ftdgrp.cbs.opn2.amt"
:currency="model.ftdgrp.cbs.opn2.cur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
......@@ -81,16 +96,23 @@
<c-col :span="24">
<c-col :span="10">
<c-form-item :label="$t('fttpcn.实际销账金额')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" maxlength="3"></c-select>
<c-select
v-model="model.setmod.doccur"
:code="codes.curtxt"
maxlength="3"
></c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="canamt">
<c-input v-model="model.canamt"></c-input>
<c-input-currency
v-model="model.canamt"
:currency="model.doccur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24" style="display:inline-flex;padding-left: 150px;">
<c-col :span="24" style="display: inline-flex; padding-left: 150px">
<c-checkbox v-model="model.mtabut.clsflg">{{
$t("mtabut.业务闭卷")
}}</c-checkbox>
......
......@@ -33,6 +33,8 @@ const BusRouter = [
},
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' },
{ path: 'crtcri', component: () => import("./Crtcri/views"), name: 'Crtcri', meta: { title: '汇入清算' }, module: 'Funds' },
{ path: 'crtcro', component: () => import("./Crtcro/views"), name: 'Crtcro', meta: { title: '汇出清算' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
{ path: 'crtcbk', component: () => import("./Crtcbk/views"), name: 'Crtcbk', meta: { title: '退汇清算' }, module: 'Funds' },
{ path: 'crtctf', component: () => import("./Crtctf/views"), name: 'Crtctf', meta: { title: '转汇清算' }, module: 'Funds' },
......
......@@ -6,32 +6,33 @@ export default class Fxtfcm{
this.data = {
fxtfcm:{
rec:{
ownref:"", // 平盘业务参考号 .fxdgrp.rec.ownref
nam:"", // 名称 .fxdgrp.rec.nam
fxtyp:"", // 平盘类型 .fxdgrp.rec.fxtyp
opndat:"", // 平盘日期 .fxdgrp.rec.opndat
valdat:"", // 起息日 .fxdgrp.rec.valdat
rat:"", // 平盘牌价 .fxdgrp.rec.rat
midrat:"", // 中间价 .fxdgrp.rec.midrat
ownusr:"", // 资金部负责人 .fxdgrp.rec.ownusr
usr:"", // 清算中心负责人 .fxdgrp.rec.usr
ownref:"", // 平盘业务参考号 .fxtfcm.rec.ownref
nam:"", // 名称 .fxtfcm.rec.nam
fxtyp:"", // 平盘类型 .fxtfcm.rec.fxtyp
opndat:"", // 平盘日期 .fxtfcm.rec.opndat
valdat:"", // 起息日 .fxtfcm.rec.valdat
rat:"", // 平盘牌价 .fxtfcm.rec.rat
midrat:"", // 中间价 .fxtfcm.rec.midrat
ownusr:"", // 资金部负责人 .fxtfcm.rec.ownusr
usr:"", // 清算中心负责人 .fxtfcm.rec.usr
detail:"", // 详情 .fxtfcm.rec.detail
other:"", //其它
},
apl:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fxdgrp.apl.dbfadrblkcn
dbfadrblkcn:"", // Chinese address .fxtfcm.apl.dbfadrblkcn
},
blk:{
remark:"", // 备注 .fxdgrp.blk.remark
remark:"", // 备注 .fxtfcm.blk.remark
},
cbs:{
max:{
cur:"", // Currency .fxdgrp.cbs.max.cur
amt:"", // Balance .fxdgrp.cbs.max.amt
cur:"", // Currency .fxtfcm.cbs.max.cur
amt:"", // Balance .fxtfcm.cbs.max.amt
},
nom1:{
cur:"", // Currency .fxdgrp.cbs.nom1.cur
amt:"", // Balance .fxdgrp.cbs.nom1.amt
cur:"", // Currency .fxtfcm.cbs.nom1.cur
amt:"", // Balance .fxtfcm.cbs.nom1.amt
},
},
act:{
......
......@@ -40,6 +40,7 @@
</c-col>
</c-col>
<c-col :span="24"></c-col>
<c-col :span="12">
<!-- S0000021 : 清算中心负责人 -->
<c-col :span="12">
......@@ -47,7 +48,6 @@
<c-input v-model="model.fxtfcm.rec.usr" maxlength="8" ></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="12">
......@@ -69,7 +69,7 @@
<!-- S0000005 : 平盘类型 -->
<c-col :span="12">
<el-form-item label="平盘类型" prop="fxtfcm.rec.fxtyp">
<c-input disabled v-model="model.fxtfcm.rec.fxtyp" maxlength="20" ></c-input>
<c-select disabled v-model="model.fxtfcm.rec.fxtyp" maxlength="20" ></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -119,8 +119,8 @@
</c-col>
<c-col :span="9">
<c-form-item label="Account with Liquidation Party" prop="fxtp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" ></c-input>
<c-form-item label="平盘机构账户行" prop="acc2">
<c-input v-model="model.acc2" ></c-input>
</c-form-item>
</c-col>
<c-col :span="3">
......@@ -131,8 +131,6 @@
</c-col>
</c-col>
<c-col :span="24">
<!-- S0000013 : 平盘牌价 -->
<c-col :span="12">
......@@ -152,8 +150,6 @@
</c-col>
<c-col :span="24">
<!-- S0000007 : 平盘日期 -->
......@@ -165,8 +161,8 @@
<c-col :span="12">
<el-form-item prop="acc1">
<c-select v-model="model.acc1" style="width:100%">
<el-form-item prop="fxtfcm.rec.other">
<c-select v-model="model.fxtfcm.rec.other" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -190,11 +186,10 @@
<c-col :span="24">
<c-col :span="12">
<c-form-item label="备注" prop="fxtfcm.apl.pts.remark">
<c-input type="textarea" v-model="model.fxtfcm.apl.pts.adrblk" maxlength="35" show-word-limit ></c-input>
<c-form-item label="备注" prop="fxtfcm.blk.remark">
<c-input type="textarea" v-model="model.fxtfcm.blk.remark" maxlength="35" show-word-limit ></c-input>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item prop="fxtp.aplp.ptsget.sdamod.seainf">
......
......@@ -34,8 +34,8 @@ import CodeTable from "~/config/CodeTable"
import Fxtfcm from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
// import Default from "../model/Default"
// import Pattern from "../model/Pattern"
import Cnfp from "./Cnfp"
import Mt300 from "./Mt300"
import Fxt300l1 from "./Fxt300l1"
......@@ -60,10 +60,10 @@ export default {
trnName: "fxtfcm",
trnType: "",
model: new Fxtfcm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
// checkRules: Check,
// defaultRules: Default,
// pattern: Pattern,
rules: Check,
codes: {
},
}
......
......@@ -42,7 +42,7 @@
<!-- 平盘类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" >
<c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%" >
</c-select>
</el-form-item>
......@@ -51,7 +51,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur">
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
<c-select v-model="model.fxdgrp.cbs.max.cur" :code="codes.bopcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -65,7 +65,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" :code="codes.bopcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -175,7 +175,6 @@
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default {
......
<template>
<div class="eContainer">
<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">
<!--fxtlcm PD000001 Confirmation -->
......@@ -27,6 +28,7 @@
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -61,11 +63,15 @@ export default {
trnName: "fxtlcm",
trnType: "",
model: new Fxtlcm().data,
codes: {},
codes: { ...CodeTable },
rules: {},
}
},
methods:{},
methods:{
myTabClick(tab) {
this.tabClick(tab);
},
},
created:async function(){},
mounted() {
console.log("fxtlcm");
......
......@@ -29,7 +29,7 @@
<!-- S0000005 : 平盘类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtlcn.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width: 100%">
<c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width: 100%">
</c-select>
</el-form-item>
</c-col>
......@@ -42,13 +42,17 @@
>
<c-select
v-model="model.fxdgrp.cbs.opn2.cur"
:code="codes.curtxt"
maxlength="3"
></c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="fxdgrp.cbs.opn2.amt">
<c-input v-model="model.fxdgrp.cbs.opn2.amt"></c-input>
<c-input-currency
v-model="model.fxdgrp.cbs.opn2.amt"
:currency="model.fxdgrp.cbs.opn2.cur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
......@@ -59,23 +63,30 @@
:label="$t('fxtlcn.fxtlcn.Domestic Cur Amount')"
prop="cancur"
>
<c-select v-model="model.cancur" maxlength="3"></c-select>
<c-select
v-model="model.cancur"
:code="codes.curtxt"
maxlength="3"
></c-select>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label-width="10px" prop="canamt">
<c-input v-model="model.canamt"></c-input>
<c-input-currency
v-model="model.canamt"
:currency="model.cancur"
></c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fxtlcn.平盘牌价')" prop="cancur">
<c-select v-model="model.canamt" maxlength="3"></c-select>
<c-form-item :label="$t('fxtlcn.平盘牌价')" prop="canamt">
<c-input v-model="model.canamt"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fxtlcn.中间价')" prop="cancur">
<c-select v-model="model.canamt" maxlength="3"></c-select>
<c-form-item :label="$t('fxtlcn.中间价')" prop="canamt">
<c-input v-model="model.canamt"></c-input>
</c-form-item>
</c-col>
<!-- S0000007 : 平盘日期 -->
......
......@@ -32,7 +32,6 @@
<c-input
v-model="model.fxdgrp.rec.ownusr"
placeholder="请输入业务负责人"
disabled
/>
</c-form-item>
</c-col>
......@@ -42,7 +41,7 @@
v-model="model.fxdgrp.rec.fxtyp"
style="width: 100%"
placeholder="请输入平盘类型"
dbCode=""
:code="codes.fxt_fxtyp"
>
</c-select>
</el-form-item>
......@@ -53,7 +52,7 @@
<c-select-cur
v-model="model.fxdgrp.cbs.max.cur"
style="width: 100%"
dbCode="curtxt"
:code="codes.bopcur"
>
</c-select-cur>
</el-form-item>
......@@ -73,7 +72,8 @@
<c-select-cur
v-model="model.fxdgrp.cbs.nom1.cur"
style="width: 100%"
dbCode="curtxt"
:code="codes.bopcur"
disabled
>
</c-select-cur>
</el-form-item>
......@@ -94,7 +94,6 @@
v-model="model.fxdgrp.rec.rat"
style="width: 100%"
:precision="6"
disabled
placeholder="请输入平盘牌价"
>
</c-input-currency>
......
<template>
<div class="eContainer">
<c-page title="结售汇平盘确认">
<el-form
:model="model"
:rules="rules"
......@@ -28,6 +29,14 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -61,28 +70,28 @@ export default {
trnName: "fxtlop",
trnType: "",
model: new Fxtlop().data,
codes: {},
codes: {...CodeTable},
rules: {},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created() {
console.log("进入fxtlop交易");
let rtnmsg = this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
created() {},
mounted() {
console.log("fxtlop");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
},
};
</script>
<style></style>
......@@ -25,11 +25,6 @@
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
<m-fxtapll2 :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -42,16 +37,15 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Fxtsqo from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Quop from "./Quop";
import Fxtapll1 from "./Fxtapll1";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Ccvpan from "~/components/business/ccvpan/views";
import event from "../event";
import buildFn from "../event/buildCommons.js";
......@@ -62,28 +56,25 @@ export default {
"m-fxtapll1" : Fxtapll1,
"m-setmod": Setmod,
"m-docpan": Docpan,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
mixins: [event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "quop",
trnName: "fxtsqo",
trnType: "",
model: new Fxtsqo().data,
rules: null,
codes: {
},
rules: {},
codes: {...CodeTable}
}
},
methods:{},
created:async function(){
},
created:async function(){},
mounted() {
console.log("进入fxtsqo交易");
let params = {
......
......@@ -32,7 +32,7 @@
<c-col :span="24">
<el-form-item :label="$t('fxtp.结售汇类型')" prop="fxtp.fxdgrp.rec.fxtyp">
<c-select v-model="model.fxtp.fxdgrp.rec.fxtyp" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -84,7 +84,7 @@
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.cshflg">
<c-select v-model="model.fxtp.cshflg" style="width:100%">
<c-select v-model="model.fxtp.cshflg" :code="codes.cshflg" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -118,14 +118,14 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtp.外币结算账号')" prop="fxtp.fxdgrp.rec.dsp">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp" :code="codes.fxt_dsp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc">
<c-select v-model="model.fxtp.fxdgrp.rec.acc" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.acc" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -135,7 +135,7 @@
<c-col :span="24">
<el-form-item :label="$t('fxtp.交易主体')" prop="fxtp.fxdgrp.rec.trnman">
<c-select v-model="model.fxtp.fxdgrp.rec.trnman" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.trnman" :code="codes.trnman" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -202,14 +202,14 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtp.本币结算账号')" prop="fxtp.fxdgrp.rec.dsp2">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp2" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp2" :code="codes.fxt_dsp2" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc2">
<c-select v-model="model.fxtp.fxdgrp.rec.acc2" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.acc2" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -218,7 +218,7 @@
<!-- S0000076 : 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtp.结售汇类型')" prop="fxtp.fxdgrp.rec.trdint">
<el-form-item :label="$t('fxtp.Exchange Title')" prop="fxtp.fxdgrp.rec.trdint">
<c-select v-model="model.fxtp.fxdgrp.rec.trdint" style="width:100%">
</c-select>
</el-form-item>
......
......@@ -32,7 +32,7 @@
<c-col :span="24">
<el-form-item :label="$t('fxtp.结售汇类型')" prop="fxtp.fxdgrp.rec.fxtyp">
<c-select v-model="model.fxtp.fxdgrp.rec.fxtyp" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -84,7 +84,7 @@
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.cshflg">
<c-select v-model="model.fxtp.cshflg" style="width:100%">
<c-select v-model="model.fxtp.cshflg" :code="codes.cshflg" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -118,14 +118,14 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtp.外币结算账号')" prop="fxtp.fxdgrp.rec.dsp">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp" :code="codes.fxt_dsp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc">
<c-select v-model="model.fxtp.fxdgrp.rec.acc" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.acc" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -135,7 +135,7 @@
<c-col :span="24">
<el-form-item :label="$t('fxtp.交易主体')" prop="fxtp.fxdgrp.rec.trnman">
<c-select v-model="model.fxtp.fxdgrp.rec.trnman" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.trnman" :code="codes.trnman" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -202,14 +202,14 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fxtp.本币结算账号')" prop="fxtp.fxdgrp.rec.dsp2">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp2" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.dsp2" :code="codes.fxt_dsp2" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc2">
<c-select v-model="model.fxtp.fxdgrp.rec.acc2" style="width:100%">
<c-select v-model="model.fxtp.fxdgrp.rec.acc2" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -218,7 +218,7 @@
<!-- S0000076 : 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtp.结售汇类型')" prop="fxtp.fxdgrp.rec.trdint">
<el-form-item :label="$t('fxtp.Exchange Title')" prop="fxtp.fxdgrp.rec.trdint">
<c-select v-model="model.fxtp.fxdgrp.rec.trdint" style="width:100%">
</c-select>
</el-form-item>
......
import Utils from "~/utils"
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
nam: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.cpdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: 'CPD',
objinr: model.cpdgrp.rec.objinr,
ownref: model.cpdgrp.rec.ownref,
nam: model.cpdgrp.rec.nam,
ownextkey: model.cpdgrp.rec.ownextkey,
chato: model.cpdgrp.rec.chato,
opndat: model.cpdgrp.rec.opndat,
expdat: model.cpdgrp.rec.expdat,
fremsgPaytyp: model.cpdgrp.rec.fremsgPaytyp,
paytyp: model.cpdgrp.rec.paytyp,
custyp: model.cpdgrp.rec.clityp,
accmod: model.cpdgrp.rec.accmod,
trninr: model.cpdgrp.rec.trninr,
traclicty: model.cpdgrp.rec.traclicty,
cur: model.cpdgrp.cbs.max.cur,
amt: model.cpdgrp.cbs.max.amt,
oricur: model.cpdgrp.rec.oricur,
bentyp: model.cpdgrp.rec.bentyp,
oriamt: model.cpdgrp.rec.oriamt,
// bopmodTyp: model.cpdgrp.rec.bopmodTyp,
pyerdtflg: model.cpdgrp.rec.pyerdtflg,
orcrdtflg: model.cpdgrp.rec.orcrdtflg,
cur33b: model.cpdgrp.blk.cur33b,
amt33b: model.cpdgrp.blk.amt33b,
orcstacty: model.cpdgrp.rec.orcstacty,
contag70: model.cpdgrp.blk.contag70,
blk72: model.cpdgrp.blk.blk72,
tmptyp: model.cpdgrp.rec.tmptyp,
orctyp: model.cpdgrp.rec.orctyp,
route: model.cpdgrp.rec.route,
cfxprotry: model.cpdgrp.rec.cfxprotry,
swftyp: model.cpdgrp.rec.swftyp,
detchgcod: model.cpdgrp.rec.detchgcod,
szflg: model.bopgat.szflg,
cptrou: model.cpdgrp.rec.cptrou,
},
cbsMap: {
MAX: model.cpdgrp.cbs.max,
NOM1: model.cpdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : '742549'
};
return dataObj
}
}
}
\ No newline at end of file
import Api from '~/service/Api';
import buildFn from '../event/buildCommons.js';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions, buildFn],
methods: {
queryOwnref() {
let params = this.model.cpdgrp.rec;
let ptainr = ""
const loading = this.loading();
let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/remit/ref/cpt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.cpdgrp.rec.regref = res.data;
}
}).catch(() => {
loading.close();
});
},
requireNewOwnref() {
},
},
};
\ No newline at end of file
// import Check2122 from '~/components/business/Rmbbop/model/check2122';
import CfagitCheck from '~/components/business/Cfagit/model/check.js';
export default {
data() {
return {
rules: {
"cpdgrp.rec.dispsemth": [
// 处理方式
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.flwextkey": [
// 下一处理机构
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.chownref": [
// 新汇款参号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.rec.reason": [
// 退汇原因
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.bfth": [
// 部分退汇
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.dfhgj": [
// 待分行跟进
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.oricur": [
// 退汇币种
{ type: "string", required: true, message: this.$t('remit.必输项') }
],
"cpdgrp.rec.oriamt": [
// 退汇金额
{ required: true, message: this.$t('remit.必输项') }, {
validator: (rule, value, callback) => {
if (parseFloat(value) > parseFloat(this.model.cpdgrp.rec.amt)) {
callback(new Error(`必须小于` + this.$t('remit.原始汇出金额')))
}
callback()
},
trigger: ['blur', 'change']
}
],
"cpdgrp.rec.recseq": [
// 销账序号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 10, message: this.$t('components.长度不能超过') + 10 }
],
detflg: [
// 删除原申报
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 1, message: this.$t('components.长度不能超过') + 1 }
],
"cpdgrp.orc.pts.ref": [
// 汇款人参号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.orc.pts.extact": [
// 汇款人(行)账号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.orc.pts.extkey": [
// 汇款人(行)客户号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.rec.custyp": [
// 汇款人(行)类型
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.orcrdtflg": [
// 汇款人(行)居民标志
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.orcstacty": [
// 汇款人常驻国家代码
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 3, message: this.$t('components.长度不能超过') + 3 }
],
"cpdgrp.pye.pts.extact": [
// 收款人(行)账号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.pye.pts.extkey": [
// 收款人(行)客户号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.rec.bentyp": [
// 收款人(行)类型
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.rec.pyerdtflg": [
// 收款人(行)居民标志
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.pyestacty": [
// 收款人常驻国家(地区)代码
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 3, message: this.$t('components.长度不能超过') + 3 }
],
// ...new Check2122(this).check,
...new CfagitCheck(this).check,
}
};
},
};
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions],
methods: {
defaultFunc() {
if (this.model.cpdgrp.rec.oricur == '') {
this.model.cpdgrp.rec.oricur = this.model.cpdgrp.rec.cur
this.model.cpdgrp.rec.oriamt = this.model.cpdgrp.rec.amt
}
this.model.changeAmtFlag = "X"
},
// 获取地区机构号
async getOwnExtkeyCondition1() {
const loading = this.loading();
let params = {ownExtKey: ""};
let res = await Api.post(`/${this.moduleRouter()}/bch/getBranchListByownExtKey`, params);
loading.close();
if (res.respCode === SUCCESS) {
console.log('this.codes', this.codes)
this.$set(this.codes, 'ownExtkeyList', res.data)
}
},
async loadBopCtyList() {
const loading = this.loading();
let res = await Api.post(`/${this.moduleRouter()}/bopcty/loadBopCtyList`);
loading.close();
if (res.respCode === SUCCESS) {
this.$set(this.codes, 'bopCtyList', res.data)
}
},
},
};
import Pub from '~/components/business/commonModel/index.js';
import Cpdgrp from '~/components/business/commonModel/cpdgrp/index.js';
export default class Cptdcr {
constructor() {
this.data = {
isSptLoad: false,
inifrm: "CPTDCR", //交易代码
cpdgrp: new Cpdgrp().data,
setmod: new Pub().data.Setmod,
rmbbop: new Pub().data.Rmbbop,
docpan: new Pub().data.Docpan,
liaall: new Pub().data.Liaall,
trndia: new Pub().data.Trndia,
oldcpdgrp: new Cpdgrp().data,
changeAmtFlag: "",
quadrangle: {
cn: "",
code: ""
},
savFlag: "",
sysmod: {
usr: {
ownbchcod: "",
extkey: ""
},
spt: {
sta: ""
}
},
warnmod: {
wanlst: []
},
flwswf: "", // 原报转发 .flwswf
fedihu: "", // 非电汇 。fedihu
detflg: "", // 删除原申报 .detflg
dettxt: "", // 退汇原因 .dettxt
bopgat: new Pub().data.Bopgat,
};
}
}
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item :title="$t('remit.基本信息')" name="1">
<m-preInput :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item :title="$t('remit.原收、汇款人的信息')" name="2">
<m-ptyp :model="model" :codes="codes"/>
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import PreInput from "./PreInput";
import Ptyp from "./Ptyp";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"m-preInput": PreInput,
"m-ptyp": Ptyp,
},
data() {
return {
activeNames: ["1", "2"],
};
},
watch: {},
methods: {},
computed: {},
created() {
}
};
</script>
<style>
/* .fullbox_checkbox {
margin-left: 4px !important;
margin-top: 6px !important;
} */
</style>
<template>
<span>
<div v-if="isAme">
<c-button
style="margin: 0 0 10px 178px;"
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</div>
<div v-else>
<c-col :span="12" class="containner" style="padding-right: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</el-form-item>
</c-col>
<c-col :span="12" class="containner" style="padding-left: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
</el-form-item>
</c-col>
</div>
</span>
</template>
<script>
export default {
inject: ["root"],
computed: {},
watch: {},
created() {
this.add = true;
},
data: function () {
return {
updBtn: true,
editSta: "A",
add: true,
update: false,
};
},
props: {
model: {
type: Object,
default: function () {
return {};
}
},
show1: {
type: Boolean,
default: true
},
show2: {
type: Boolean,
default: true
},
// 是否一行展示
isAme: {
type: Boolean,
default: false
}
},
methods: {
goUrlRoute(url) {
//pye收款人 orc汇款人
if (url == "cusinf") {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.orc.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.orc.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.orcact);
} else {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.pye.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.pye.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.pyeact);
}
} else {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.pye.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.orc.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.pye.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.pyeact);
} else {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.orc.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.pye.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.orc.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.orcact);
}
}
let params = {
path: `/business/${url}`
};
this.$router.push(params);
},
updateCoupty() {
this.$confirm("是否更新已存交易对手信息", "提示", {
confirmButtonText: this.$t('remit.确认'),
cancelButtonText: this.$t('remit.取消'),
type: "info",
}).then((res) => {
this.update = true;
this.add = false;
this.editSta = "E"; //更新标识
}).catch(() => {
})
},
},
destroyed() {
}
};
</script>
<style scoped>
.item {
margin-left: 175px;
}
.containner {
margin-bottom: 10px;
}
</style>
<template>
<div class="eContainer">
<c-page :title="$t('remit.退汇处理')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane :label="$t('remit.业务概况')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.费用/账务')" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.报文/面函')" name="docpan">
<c-content>
<m-docpan :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-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Cptdcr from "../model";
import Default from "../model/default";
import commonDepend from "~/mixin/commonDepend";
import check from '../model/check'
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Ovwp from "./Ovwp";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "Cptdcr",
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event, buildFn, check, commonDepend, Default],
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "cptdcr",
model: new Cptdcr().data,
codes: {
...CodeTable,
listyj: [
{label: "需至柜面办理", value: "01"},
{label: "填报信息需修改", value: "02"},
{label: "资金来源不合规", value: "03"},
{label: "需补充上传资料", value: "04"},
{label: "需电话沟通", value: "05"},
{label: "业务信息不完整", value: "06"},
{label: "其他", value: "07"}
],
blk_boc_lstCodes: [
{label: "CRED", value: "CRED"},
{label: "CRTS", value: "CRTS"},
{label: "SPAY", value: "SPAY"},
{label: "SPRI", value: "SPRI"},
{label: "SSTD", value: "SSTD"}
],
cfxbustyp_cips: [
{label: "货物贸易(GODX)", value: "01"},
{label: "服务贸易(STRX)", value: "02"},
{label: "资本项下(CTFX)", value: "03"},
{label: "个人汇款(RMTX)", value: "04"},
{label: "金融机构头寸调拨(FTFX)", value: "05"},
{label: "货物贸易退汇(RGOD)", value: "06"},
{label: "服务贸易退汇(RSTR)", value: "07"},
{label: "资本项下退汇(RCTF)", value: "08"},
{label: "个人汇款退汇(RRMT)", value: "09"},
{label: "北向通(WMCN)", value: "16"},
{label: "南向通(WMCS)", value: "17"},
{label: "其他(OCAX)", value: "99"}
],
cpspnumb12: [
{label: "01支付运保费", value: "01"},
{label: "02代理进出口", value: "02"},
{label: "03与特殊经济区企业资金往来", value: "03"},
{label: "04同一企业不同账户资金划转", value: "04"},
{label: "05归还国内外贷款或转贷款", value: "05"},
{label: "06贸易深加工结转业务", value: "06"},
{label: "07贸易融资业务", value: "07"},
{label: "08其他", value: "08"},
{label: "同步交收业务(PVP)02804", value: "02804"},
{label: "外币资金拆借业务 02805", value: "02805"},
{label: "券款对付业务(DVP)02806", value: "02806"},
{label: "轧差净额 02807", value: "02807"},
{label: "退汇 02108", value: "02108"},
{label: "支付运保费 09101", value: "09101"},
{label: "代理进出口 09102", value: "09102"},
{label: "与特殊经济区企业资金往来 09103", value: "09103"},
{label: "同一企业不同账户资金划转 09104", value: "09104"},
{label: "归还国内外贷款或转贷款 09105", value: "09105"},
{label: "贸易深加工结转业务 09106", value: "09106"},
{label: "贸易融资业务 09107", value: "09107"},
{label: "贷记汇入业务 09108", value: "09108"},
{label: "贷记汇出业务 09109", value: "09109"},
{label: "行间资金汇划 09110", value: "09110"},
{label: "信息类业务 06001", value: "06001"},
{label: "其他 09001", value: "09001"}
],
listsb: [],
paycodlst: {
columns: [
{
title: "Instruction",
width: "120px",
dataIndex: "cod",
show: "input",
isDisable: true,
scopedSlots: {customRender: "cod"},
maxLength: 4
},
{
title: "additional information",
width: "240px",
dataIndex: "codtxt",
show: "input",
isDisable: false,
maxLength: 30,
scopedSlots: {customRender: "codtxt"}
}
],
rowNum: 1
},
},
};
},
methods: {},
created() {
console.log("进入cptdcr交易");
let params = {
transName: this.trnName,
cpdgrp: {
rec: {
inr: this.$route.query.inr || ''
}
}
};
this.init(params);
},
mounted() {
},
};
</script>
<style></style>
import Utils from "~/utils"
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
nam: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.cpdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: 'CPD',
objinr: model.cpdgrp.rec.objinr,
ownref: model.cpdgrp.rec.ownref,
nam: model.cpdgrp.rec.nam,
ownextkey: model.cpdgrp.rec.ownextkey,
chato: model.cpdgrp.rec.chato,
opndat: model.cpdgrp.rec.opndat,
expdat: model.cpdgrp.rec.expdat,
fremsgPaytyp: model.cpdgrp.rec.fremsgPaytyp,
paytyp: model.cpdgrp.rec.paytyp,
custyp: model.cpdgrp.rec.clityp,
accmod: model.cpdgrp.rec.accmod,
trninr: model.cpdgrp.rec.trninr,
traclicty: model.cpdgrp.rec.traclicty,
cur: model.cpdgrp.cbs.max.cur,
amt: model.cpdgrp.cbs.max.amt,
oricur: model.cpdgrp.rec.oricur,
bentyp: model.cpdgrp.rec.bentyp,
oriamt: model.cpdgrp.rec.oriamt,
// bopmodTyp: model.cpdgrp.rec.bopmodTyp,
pyerdtflg: model.cpdgrp.rec.pyerdtflg,
orcrdtflg: model.cpdgrp.rec.orcrdtflg,
cur33b: model.cpdgrp.blk.cur33b,
amt33b: model.cpdgrp.blk.amt33b,
orcstacty: model.cpdgrp.rec.orcstacty,
contag70: model.cpdgrp.blk.contag70,
blk72: model.cpdgrp.blk.blk72,
tmptyp: model.cpdgrp.rec.tmptyp,
orctyp: model.cpdgrp.rec.orctyp,
cptrou: model.cpdgrp.rec.cptrou,
bacflg: model.cpdgrp.rec.bacflg
},
cbsMap: {
MAX: model.cpdgrp.cbs.max,
NOM1: model.cpdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : '742549'
};
return dataObj
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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