Commit c969847c by hanying

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

parents 59dbddc0 ef9d1a4e
......@@ -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
......@@ -4,9 +4,11 @@
<el-collapse-item title="清算来报" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-collapse-item>
<!--
<el-collapse-item title="云平台/E结算来报" name="recode">
<m-recode :model="model" :codes="codes" />
</el-collapse-item>
-->
</c-collapse>
</div>
......
......@@ -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
const Business = [
// { path: 'wgbsel', component: () => import('./Wgbsel/views'), name: 'Wgbsel', meta: { keepAlive: true, title: '出口应收账款融资', module: 'Financing' } },
// { path: 'trtopn', component: () => import('./Trtopn/views'), name: 'Trtopn', meta: { keepAlive: true, title: '进口融资开立', module: 'Financing' } },
{ path: 'trtopn', component: () => import('./Trtopn/views'), name: 'Trtopn', meta: { keepAlive: true, title: '进口融资开立', module: 'Financing' } },
// { path: 'trtset', component: () => import('./Trtset/views'), name: 'Trtset', meta: { keepAlive: true, title: '进口融资还款', module: 'Financing' } },
// { path: 'trtcan', component: () => import('./Trtcan/views'), name: 'Trtcan', meta: { keepAlive: true, title: '进口融资注销', module: 'Financing' } },
// { path: 'trtfee', component: () => import('./Trtfee/views'), name: 'Trtfee', meta: { keepAlive: true, title: '进口融资收费', module: 'Financing' } },
......@@ -20,15 +20,15 @@ const Business = [
// { path: 'zxbsel', component: () => import('./Zxbsel/views'), name: 'Zxbsel', meta: { keepAlive: true, title: '出口信保保单融资查询', module: 'Financing' } },
// { path: 'infssr', component: () => import('./Infssr/views'), name: 'Infssr', meta: { keepAlive: true, title: '信保信息查询', module: 'Financing' } },
// { path: 'bptopn', component: () => import('./Bptopn/views'), name: 'Bptopn', meta: { keepAlive: true, title: '出口融资放款', module: 'Financing' } },
{ path: 'bptopn', component: () => import('./Bptopn/views'), name: 'Bptopn', meta: { keepAlive: true, title: '出口融资放款', module: 'Financing' } },
// { path: 'bptset', component: () => import('./Bptset/views'), name: 'Bptset', meta: { keepAlive: true, title: '出口融资还款', module: 'Financing' } },
// { path: 'bptinv', component: () => import('./Bptinv/views'), name: 'Bptinv', meta: { keepAlive: true, title: '发票修改', module: 'Financing' } },
// { path: 'bptcan', component: () => import('./Bptcan/views'), name: 'Bptcan', meta: { keepAlive: true, title: '出口融资注销', module: 'Financing' } },
// { path: 'bptfee', component: () => import('./Bptfee/views'), name: 'Bptfee', meta: { keepAlive: true, title: '出口融资收费', module: 'Financing' } },
// { path: 'cicsel', component: () => import('./Cicsel/views'), name: 'Cicsel', meta: { keepAlive: true, title: '企业跨境信用信息授权查证', module: 'Financing' } },
// { path: 'entatr', component: () => import('./Entatr/views'), name: 'Entatr', meta: { keepAlive: true, title: '企业授权情况查询', module: 'Financing' } },
// { path: 'trtsel', component: () => import('./Trtsel/views'), name: 'Trtsel', meta: { keepAlive: true, title: '进口融资&管理', module: 'Financing' } },
// { path: 'bptsel', component: () => import('./Bptsel/views'), name: 'Bptsel', meta: { keepAlive: true, title: '出口融资&管理', module: 'Financing' } },
{ path: 'trtsel', component: () => import('./Trtsel/views'), name: 'Trtsel', meta: { keepAlive: true, title: '进口融资&管理', module: 'Financing' } },
{ path: 'bptsel', component: () => import('./Bptsel/views'), name: 'Bptsel', meta: { keepAlive: true, title: '出口融资&管理', module: 'Financing' } },
// { path: 'bpdsel', component: () => import('./Bpdsel/views'), name: 'Bpdsel', meta: { keepAlive: true, title: '二级福费廷市场&管理', module: 'Financing' } },
// { path: 'dftsel', component: () => import('./Dftsel/views'), name: 'Dftsel', meta: { keepAlive: true, title: '委托方代付&管理', module: 'Financing' } },
// { path: 'trtfre', component: () => import('./Trtfre/views'), name: 'Trtfre', meta: { keepAlive: true, title: '进口融资自由格式报文', module: 'Financing' } },
......
......@@ -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
......@@ -22,6 +22,8 @@
</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>
......
......@@ -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' },
......
......@@ -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");
......
......@@ -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 = {
......
......@@ -148,6 +148,13 @@ export default {
return
}
let params = {}
let type;
if ("挂账退汇"===btn.label.toUpperCase()){
type = "GZTH"
} else if ("解付后退汇"===btn.label.toUpperCase()) {
type = "JFTH"
}
if(btn.code.toLowerCase() == 'jstopn'){
params = {
path: "/business/" + btn.code.toLowerCase(),
......@@ -155,7 +162,7 @@ export default {
}else{
params = {
path: "/business/" + btn.code.toLowerCase(),
query: { inr: row.inr,pntinr: row.pntinr,accmod: 'G' }
query: { inr: row.inr,pntinr: row.pntinr,accmod: 'G',type: type}
}
}
this.routerPush(params);
......
......@@ -80,6 +80,8 @@ export default {
ehtyp: model.cpdgrp.rec.ehtyp,
commet: model.attp.commet,
com102: model.attp.com102,
type: model.type,
operation:this.$route.query.type,
cpdSwiftBizInfo: {
m09issbic: model.swiadd.m09issbic,
m10issadrblk: model.swiadd.m10issadrblk,
......@@ -136,6 +138,7 @@ export default {
ptsList: ptsptaList,
transName: trnName,
};
console.log(model);
return dataObj
},
buildRobbop(model, trnName) {
......
......@@ -6,7 +6,7 @@
<!-- 处理方式 -->
<c-col :span="24">
<el-form-item label="处理方式" prop="cpdgrp.rec.accmod">
<c-select :disabled="this.model.cpdgrp.rec.accmod=='G'" v-model="model.cpdgrp.rec.accmod" style="width:100%" placeholder="请输入处理方式" :code="codes.cptmod" :filterKey="this.model.cpdgrp.rec.accmod=='G'?['G']:['0','2']">
<c-select :disabled="this.model.cpdgrp.rec.accmod=='G'" v-model="model.cpdgrp.rec.accmod" style="width:100%" placeholder="请输入处理方式" :code="codes.cptmod" :filterKey="this.model.cpdgrp.rec.accmod=='G'?['G']:['0','2','3']">
</c-select>
</el-form-item>
</c-col>
......
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
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();
});
},
},
};
\ No newline at end of file
// import Check2122 from "~/components/business/rmb/rmb2122/model/check.js"
import CfagitCheck from '~/components/business/Cfagit/model/check.js';
export default {
data() {
return {
rules: {
// 关联类型
"fremsg.erxmod.ersp.mantyp": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 事务类型
"fremsg.erxmod.ersp.dontyp": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
"fremsg.erxmod.ersp.bwbsh": [
// 原报文标识号
{ type: "string", required: true, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过')+35 }
],
// 止付原因
"cpdgrp.cpdret.rejcod": [
{ type: "string", required: true, message: this.$t('remit.必输项') },
{ max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 原行内关联编号
"fremsg.erxmod.ersp.yhnglbh": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 收报行行号
"cpdgrp.ooa.pts.extkey": [
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 11, message: this.$t('components.长度不能超过')+11 }
],
// 收报行名称
"cpdgrp.ooa.pts.namforall": [
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 140, message: this.$t('components.长度不能超过')+140 }
],
// ...new Check2122(this).check,
...new CfagitCheck(this).check,
}
};
},
};
import Api from '~/service/Api';
import Utils from '~/utils/index';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions],
methods: {
// 获取地区机构号
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 Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
import Cpdgrp from '~/components/business/commonModel/cpdgrp/index.js';
export default class Cptrej {
constructor() {
this.data = {
isSptLoad: false,
inifrm: "CPTREJ", //交易代码
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,
sysmod: {
usr: {
ownbchcod: "",
extkey: ""
}
},
reason: "",
cptp: {
yhnglbh: "", // 原行内关联编号
benoptflg: "", // Use Option F for Beneficiary .cptp.benoptflg
gryflg: "", // 可疑名单 .cptp.gryflg
sjzslst: "",
},
fremsg: {
sndmt: "", // Message Type .fremsg.sndmt
fulmt: "", // MT to Send .fremsg.fulmt
reldat: "", // Date of Message .fremsg.reldat
strinf: "", // Narrative .fremsg.strinf
msgrol: "", // 发送给 .fremsg.msgrol
fmo: {
pts: new Pts().data
},
ccrol: "", // 抄送至 .fremsg.ccrol
fmc: {
pts: new Pts().data
},
reldir: "", // relevant message sent/received .fremsg.reldir
relmt: "", // Related MT .fremsg.relmt
relref: "", // Related Reference(21) .fremsg.relref
paytyp: "", // 查询渠道 .fremsg.paytyp
erxmod: {
ersp: {
mantyp: "", // 关联类型 .fremsg.erxmod.ersp.mantyp
dontyp: "", // 事务类型 .fremsg.erxmod.ersp.dontyp
reutyp: "", // 退汇应答状态 .fremsg.erxmod.ersp.reutyp
contxt: "", // 事务附言 .fremsg.erxmod.ersp.contxt
sermsg: "", // 查询对象 .fremsg.erxmod.ersp.sermsg
yhnglbh: "", // 原行内关联编号 .fremsg.erxmod.ersp.yhnglbh
bwbsh: "", // 原报文标识号 .fremsg.erxmod.ersp.bwbsh
hnglbh: "", // 行内关联编号 .fremsg.erxmod.ersp.hnglbh
qsfsqd: "", // 发送渠道 .fremsg.erxmod.ersp.qsfsqd
contxtn95: "", // 事务附言 .fremsg.erxmod.ersp.contxtn95
contxtn99: "", // 事务附言 .fremsg.erxmod.ersp.contxtn99
reason: "", // 止付原因 .fremsg.erxmod.ersp.reason
rejdue: "", // 理由 .fremsg.erxmod.ersp.rejdue
sbhdm: "", // 原收/发报行 .fremsg.erxmod.ersp.sbhdm
reasontxt: "" // 止付原因代码指令 .fremsg.erxmod.ersp.reasontxt
}
},
det: "", // Query/ Answer .fremsg.det
tag77a: "", // Narrative (77A) .fremsg.tag77a
tag22d: "", // Form of Undertaking .fremsg.tag22d
tag23: "", // Undertaking Number .fremsg.tag23
issrol: "", // Issuer Role .fremsg.issrol
iss: {
pts: new Pts().data
},
tag23h: "", // Function .fremsg.tag23h
tag45d: "", // Narrative for MT 759 .fremsg.tag45d
tag23x: "", // Tag23X .fremsg.tag23x
tag23xtxt: "" // Tag23X details .fremsg.tag23xtxt
},
cptfrel1blk: "", // XMLPanel cptfrel1的内置block .cptfrel1blk
cptfrel2blk: "", // XMLPanel cptfrel2的内置block .cptfrel2blk
bifp: {
lab6: "", // 其他交易关联银行 .bifp.lab6
lab7: "", // 其他交易关联方国别/地区 .bifp.lab7
lab8: "", // 其他交易关联方 .bifp.lab8
lab9: "", // IMO NO. .bifp.lab9
bif: {
bennam: "", // 交易对手名称 .bifp.bif.bennam
traclicty: "", // 交易对手国别 .bifp.bif.traclicty
trabnknum: "", // 交易对手银行号 .bifp.bif.trabnknum
trabnknam: "", // 交易对手银行名 .bifp.bif.trabnknam
stacty: "", // 起运国 .bifp.bif.stacty
endcty: "", // 目的国 .bifp.bif.endcty
goddes: "", // 货描 .bifp.bif.goddes
convey: "", // 运输工具名称 .bifp.bif.convey
godnum: "", // �'�物数量 .bifp.bif.godnum
godamt: "", // �'�物单价 .bifp.bif.godamt
tramod: "", // 运输方式 .bifp.bif.tramod
sender: "", // 发�'�人 .bifp.bif.sender
recver: "", // 收�'�人 .bifp.bif.recver
tracom: "", // 运输公司 .bifp.bif.tracom
payway: "", // 付款方式 .bifp.bif.payway
trbtyp: "" // �'�物�'�易 .bifp.bif.trbtyp
},
recgrp: {
rec: {
harbor: "", // 港口 .bifp.recgrp.rec.harbor
warflg: "", // 是否预警 .bifp.recgrp.rec.warflg
selref: "", // 金融制裁筛查编号 .bifp.recgrp.rec.selref
matchd: "", // 匹配度 .bifp.recgrp.rec.matchd
warrea: "", // 预警原因 .bifp.recgrp.rec.warrea
sta: "", // 状态 .bifp.recgrp.rec.sta
dattim: "" // 预警匹配度 .bifp.recgrp.rec.dattim
}
},
warnumber: "", // 中预警次数 .bifp.warnumber
stacty: "", // Country Code Risk Country .bifp.stacty
banflg: "", // 无行号标志 .bifp.banflg
bnklst: [], // .bifp.bnklst
ptylst: [], // .bifp.ptylst
gblst: [], // .bifp.gblst
lab1: "", // 报关单标签 .bifp.lab1
lab3: "", // 合同标签 .bifp.lab3
lab4: "", // 发票标签 .bifp.lab4
lab2: "", // �'�物品类标签 .bifp.lab2
lab5: "", // 运输单据信息 .bifp.lab5
bghlst: [], // .bifp.bghlst
hwplst: [], // .bifp.hwplst
hthlst: [], // .bifp.hthlst
fphlst: [], // .bifp.fphlst
ydhlst: [] // .bifp.ydhlst
},
pageId: "" // ctx的key
};
}
}
<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(this.$t('remit.是否更新已存交易对手信息'), this.$t('remit.提示'), {
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 Cptrej 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 Rmbbop from "~/components/business/rmb/rmbbop/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "Cptrej",
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
// "m-rmbbop": Rmbbop,
"m-docpan": Docpan,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event, buildFn, check, commonDepend, Default],
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "cptrej",
model: new Cptrej().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("进入cptrej交易");
let params = {
transName: this.trnName,
cpdgrp: {
rec: {
inr: this.$route.query.inr || ''
}
}
};
this.init(params);
},
mounted() {
},
};
</script>
<style></style>
......@@ -32,12 +32,15 @@ const RemittanceRouter = [
{ path: 'cpdsel', component: () => import('./Cpdsel/views'), name: 'Cpdsel', meta: { keepAlive: true, title: '汇入汇款',module: 'Remittance' } },
{ path: 'infcpd', component: () => import('./Infcpd/views'), name: 'Infcpd', meta: { keepAlive: true, title: '汇款登记簿',module: 'Remittance' } },
{ path: 'infeco', component: () => import('./Infeco/views'), name: 'Infeco', meta: { keepAlive: true, title: '电商汇出汇款查询',module: 'Remittance' } },
{ path: 'cptrej', component: () => import('./Cptrej/views'), name: 'Cptrej', meta: { keepAlive: true, title: '止付申请',module: 'Remittance' } },
{ path: 'cptdcr', component: () => import('./Cptdcr/views'), name: 'Cptdcr', meta: { keepAlive: true, title: '退汇处理',module: 'Remittance' } },
// 复核夹待办夹
{ path: 'aulsig', component: () => import('./Autsig/Aulsig/views'), name: 'Aulsig', meta: { keepAlive: true, title: '自动化签约管理',module: 'Remittance' } },
{ path: 'auasig', component: () => import('./Autsig/Auasig/views'), name: 'Auasig', meta: { keepAlive: true, title: '自动化签约信息新增',module: 'Remittance' } },
{ path: 'auesig', component: () => import('./Autsig/Auesig/views'), name: 'Auesig', meta: { keepAlive: true, title: '自动化签约信息编辑',module: 'Remittance' } },
{ path: 'autrul', component: () => import('./Autsig/Autrul/views'), name: 'Autrul', meta: { keepAlive: true, title: '签约场景配置',module: 'Remittance' } },
]
export default RemittanceRouter
<!-- <template>
<ReviewWrapper>
<Cptdcr></Cptdcr>
</ReviewWrapper>
<template>
<ReviewWrapper>
<Cptdcr></Cptdcr>
</ReviewWrapper>
</template>
<script>
import Cptdcr from "~/page/Remittance/Cptdcr/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
import Cptdcr from "~/page/Remittance/Cptdcr/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-cptdcr",
components: { ReviewWrapper, Cptdcr },
created() { },
mounted() { }
};
export default {
name: "review-cptdcr",
components: {ReviewWrapper, Cptdcr},
created() {
},
mounted() {
}
};
</script>
<style></style> -->
<style></style>
\ No newline at end of file
<!-- <template>
<ReviewWrapper>
<Cptrej></Cptrej>
</ReviewWrapper>
<template>
<ReviewWrapper>
<Cptrej></Cptrej>
</ReviewWrapper>
</template>
<script>
import Cptrej from "~/page/Remittance/Cptrej/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
import Cptrej from "~/page/Remittance/Cptrej/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-cptrej",
components: { ReviewWrapper, Cptrej },
created() { },
mounted() { }
};
export default {
name: "review-cptrej",
components: {ReviewWrapper, Cptrej},
created() {
},
mounted() {
}
};
</script>
<style></style> -->
\ No newline at end of file
<style></style>
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -36,7 +36,7 @@
<c-fullbox>
<c-input :disabled="operate === 'edit'" v-model="act.extkey" placeholder="请输入账号"> </c-input>
<!--template slot="footer" v-if="operate === 'add'">
<template slot="footer" v-if="operate === 'add'">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
......@@ -45,8 +45,9 @@
>
获取
</c-button>
</template-->
</template>
<!--
<template slot="footer" >
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
......@@ -56,7 +57,7 @@
>
获取
</c-button>
</template>
</template>-->
</c-fullbox>
</el-form-item>
......@@ -69,7 +70,7 @@
<c-col :span="24" v-if="operate != 'details'">
<el-form-item label="核心业务代号" prop="acccore" v-if="operate !== 'details'">
<c-input v-model="act.acccore" placeholder="请输入核心业务代号" :disabled=true> </c-input>
<c-input v-model="act.acccore" placeholder="请输入核心业务代号" :disabled=false> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -126,7 +127,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cur" >
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select>
<!-- <c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select> -->
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable
:disabled=false> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -48,6 +48,8 @@
>
<span>详情</span>
</button>
<!--
<c-button
style="margin-left: 5px"
size="small"
......@@ -66,6 +68,27 @@
>
删除
</c-button>
// 先放开修改删除按钮-2024-10-06
-->
<c-button
style="margin-left: 5px"
size="small"
type="primary"
:disabled="!(type === 'edit')"
@click="actEdit(scope.$index, scope.row)"
>
修改
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
:disabled="!(type === 'edit')"
@click="actDelete(scope.$index, scope.row)"
>
删除
</c-button>
</template>
</c-table-column>
</c-paging-table>
......@@ -555,10 +578,10 @@ export default {
flag = false;
}
}
if(flag) {
this.$notify.error("请保持Term Typ与核心业务代号一致")
return true;
}
// if(flag) {
// this.$notify.error("请保持Term Typ与核心业务代号一致")
// return true;
// }
}
return false;
},
......
export default class Act {
constructor() {
this.data = {
typ: "",
cur: "",
extkey: "",
ptyextkey: "",
ptynam: "",
holacc: "",
acccore: "",
trmtyp: "",
acctyp: "",
actpro: "",
dirflg: "",
typnam: "",
curnam: "",
nam: "",
zmqacc: "",
trmnam: "",
trmtypShow: "",
trmnamShow: "",
actnam: "",
pri: "",
delflg: "",
ptyinr: "",
cvrflg: "",
constructor() {
this.data = {
typ: "",
cur: "",
extkey: "",
ptyextkey: "",
ptynam: "",
holacc: "",
acccore: "",
trmtyp: "",
acctyp: "",
actpro: "",
dirflg: "",
typnam: "",
curnam: "",
nam: "",
zmqacc: "",
trmnam: "",
trmtypShow: "",
trmnamShow: "",
actnam: "",
pri: "",
delflg: "",
ptyinr: "",
cvrflg: "",
startnum:"",
selectnum:""
}
startnum: "",
selectnum: ""
}
}
}
export const Pattern = {
"ptyextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"ptynam": [
{ "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"typ": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"cur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"acccore": [
{ "required": true, "message": "需获取到核心业务代号", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"trmtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"acctyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"actpro": [
// { "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"dirflg": [
// { "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"inftxt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"holacc": [
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"ptyextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"ptynam": [
{ "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"typ": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"cur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"acccore": [
// { "required": true, "message": "需获取到核心业务代号", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"trmtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"acctyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"actpro": [
// { "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"dirflg": [
// { "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"inftxt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"holacc": [
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
}
\ No newline at end of file
......@@ -164,13 +164,14 @@ export default {
return 0
}
if (zhFlg!="Y" && !(this.model.ptytyp=="C" && this.model.idtype=="2" && this.model.akkcom=="10313") ){
this.$notify.warning({
title: '提示',
message: '分行无权限维护非财务公司信息!'
});
return 0
}
//暂时放开权限控制
// if (zhFlg!="Y" && !(this.model.ptytyp=="C" && this.model.idtype=="2" && this.model.akkcom=="10313") ){
// this.$notify.warning({
// title: '提示',
// message: '分行无权限维护非财务公司信息!'
// });
// return 0
// }
console.log("--",this.$refs.pty.bchAuthMod)
let bchAuthMod=this.$refs.pty.bchAuthMod
......
......@@ -109,7 +109,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cur">
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select>
<!--<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select>-->
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="false"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -180,9 +180,11 @@ export default {
if (this.type=="info") {
return true
}else if (this.type=="edit"){
if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
return true
}
//先放开权限控制2024-10-06
// if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
// return true
// }
return false
}else if (this.type=="add"){
return false
}
......@@ -249,7 +251,11 @@ export default {
this.actConditon.ptyinr = this.$route.query.inr
queryActList(this.actConditon).then((res) => {
if (res.respCode == SUCCESS) {
this.$set(this, "actList", res.data)
console.log("==========")
console.log(this)
console.log("==========")
console.log(res.data)
this.$set(this, "actList", res.data.resultList)
this.actList.forEach((item, index) => {
item.ptyextkey = this.model.extkey
item.ptynam = this.model.nam
......
......@@ -165,10 +165,12 @@ export default {
if (this.type=="info") {
return true
}else if (this.type=="edit"){
if (this.$route.query.maaFlg != "Y" && this.$route.query.zFlg != "Y"){
console.log("$route----",this.$route)
return true
}
// if (this.$route.query.maaFlg != "Y" && this.$route.query.zFlg != "Y"){
// console.log("$route----",this.$route)
// return true
// }
//暂时屏蔽权限控制
return false
}else if (this.type=="add"){
return false
}
......@@ -177,9 +179,11 @@ export default {
if (this.type=="info") {
return true
}else if (this.type=="edit"){
if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
return true
}
// if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
// return true
// }
//暂时屏蔽权限控制
return false
}else if (this.type=="add"){
return false
}
......
......@@ -18,7 +18,8 @@
<!-- 操作按钮 -->
<c-col :span="24">
<span style="float: left">
<el-button type="primary" size="small" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button>
<!--<el-button type="primary" size="small" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button> -->
<el-button type="primary" size="small" :disabled="isPageDisabled" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button>
</span>
<span style="float: right">
<el-button size="small" @click="handleReset">重置</el-button>
......@@ -32,8 +33,11 @@
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button style="margin-left: 5px" size="small" type="" ref="ptmNDisplayBtn" @click="ptmDisplay(scope.row)">详情</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button>
<!--<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button> -->
<!--<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button> -->
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled " v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled " v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button>
</template>
</c-table-column>
</c-paging-table>
......@@ -133,9 +137,11 @@ export default {
if (this.type=="info") {
return true
}else if (this.type=="edit"){
if (this.$store.state.UserContext.currentOrg.level != 0){
return true
}
// if (this.$store.state.UserContext.currentOrg.level != 0){
// return true
// }
//暂时放开权限控制
return false
}else if (this.type=="add"){
return false
}
......
......@@ -142,10 +142,10 @@ export default {
console.log("commitAdd-----提交按钮,弹出主地址窗口--",this.root)
console.log("commitAdd-----提交按钮,弹出主地址窗口2--",this.model)
if (!this.model.getflg){
this.$notify.warning({title: '提示:',message: "请先点击“获取”按钮获取客户ECIF信息!",dangerouslyUseHTMLString: true });
return 0;
}
// if (!this.model.getflg){
// this.$notify.warning({title: '提示:',message: "请先点击“获取”按钮获取客户ECIF信息!",dangerouslyUseHTMLString: true });
// return 0;
// }
this.$refs.modelForm.validate((validated) => {
if (validated) {
......
......@@ -10,7 +10,7 @@
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="!model.extkey || type == 'info'"
:disabled="type == 'info'"
@click="clickHuoqu(model.extkey)"
>
获取
......@@ -21,17 +21,23 @@
</c-col>
<c-col :span="24">
<el-form-item label="客户类型" prop="idtype">
<c-select v-model="model.idtype" style="width: 100%" :disabled=true placeholder="请选择客户类型" dbCode="IDTYPE" :isShowKeyAndLabel="true" filterable :filterKey="['D','F','1','2']"> </c-select>
<c-select v-model="model.idtype" style="width: 100%"
:disabled="isPageDisabled || opertype == 'edit' "
placeholder="请选择客户类型" dbCode="IDTYPE" :isShowKeyAndLabel="true" filterable :filterKey="['D','F','1','2']"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="juscod">
<c-input v-model="model.juscod" placeholder="请输入组织机构代码" :disabled=true> </c-input>
<c-input v-model="model.juscod" placeholder="请输入组织机构代码"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金融机构类型" prop="akkcom">
<c-select dbCode="FINORG" :isShowKeyAndLabel="true" filterable clearable v-model="model.akkcom" placeholder="请输入金融机构类型" :disabled=true> </c-select>
<c-select dbCode="FINORG" :isShowKeyAndLabel="true" filterable clearable v-model="model.akkcom" placeholder="请输入金融机构类型"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -84,22 +90,30 @@
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="客户英文名称" prop="nam">
<c-input v-model="model.nam" placeholder="请于主地址输入英文名称" :disabled=true > </c-input>
<c-input v-model="model.nam" placeholder="请于主地址输入英文名称"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户中文名称" prop="nam1">
<c-input v-model="model.nam1" placeholder="请输入客户中文名称" :disabled=true> </c-input>
<c-input v-model="model.nam1" placeholder="请输入客户中文名称"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" placeholder="请输入统一社会信用代码" :disabled=true> </c-input>
<c-input v-model="model.idcode" placeholder="请输入统一社会信用代码"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="企业规模(国标)" prop="qygmgb">
<c-select v-model="model.qygmgb" style="width: 100%" placeholder="请选择企业规模(国标)" dbCode="SIZTXT" :disabled=true :isShowKeyAndLabel="true" filterable> </c-select>
<c-select v-model="model.qygmgb" style="width: 100%" placeholder="请选择企业规模(国标)" dbCode="SIZTXT"
:disabled="isPageDisabled || opertype == 'edit' "
:isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......
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