Commit 3368ca75 by huangshunlin

汇出汇款 止付申请 退汇处理相关

parent b807bc70
......@@ -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
......@@ -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
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.
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