Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
2332494f
Commit
2332494f
authored
Oct 23, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fttfmt交易修改
parent
8a81667c
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
61 additions
and
164 deletions
+61
-164
index.js
src/page/Funds/Fttfcn/model/index.js
+7
-30
buildCommons.js
src/page/Funds/Fttfmt/event/buildCommons.js
+4
-2
Check.js
src/page/Funds/Fttfmt/model/Check.js
+1
-1
index.js
src/page/Funds/Fttfmt/model/index.js
+7
-29
Matp.vue
src/page/Funds/Fttfmt/views/Matp.vue
+22
-21
index.vue
src/page/Funds/Fttfmt/views/index.vue
+12
-11
index.js
src/page/Funds/Fttpcm/model/index.js
+2
-34
buildCommons.js
src/page/Funds/Fttpcn/event/buildCommons.js
+1
-1
index.js
src/page/Funds/Fttpcn/model/index.js
+3
-29
index.js
src/page/Funds/Infftd/event/index.js
+2
-6
No files found.
src/page/Funds/Fttfcn/model/index.js
View file @
2332494f
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pub
from
"~/components/business/commonModel/index.js"
;
import
Ftdgrp
from
'~/components/business/commonModel/ftdgrp'
;
export
default
class
Fttfcn
{
constructor
()
{
this
.
data
=
{
ftdgrp
:{
rec
:{
ownref
:
""
,
// 资金调拨业务参考号 .ftdgrp.rec.ownref
nam
:
""
,
// 名称 .ftdgrp.rec.nam
fttyp
:
""
,
// 定存拆借类型 .ftdgrp.rec.fttyp
},
cbs
:{
max
:{
cur
:
""
,
// 定存拆借金额 .ftdgrp.cbs.max.cur
amt
:
""
,
// 定存拆借金额 .ftdgrp.cbs.max.amt
},
opn2
:{
cur
:
""
,
// 待销账金额 .ftdgrp.cbs.opn2.cur
amt
:
""
,
// Balance .ftdgrp.cbs.opn2.amt
},
},
tro
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tri.dbfadrblkcn
},
act
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.act.dbfadrblkcn
},
},
ftdgrp
:
new
Ftdgrp
().
data
,
fttp
:{
troact
:
""
,
// Trade-out Account .fttp.troact
triact
:
""
,
// 备注 .fttp.triact
msgtyp
:
""
,
// 报文类型 .fttp.msgtyp
benact
:
""
,
bnaktypflg
:
""
,
usr
:{
extkey
:
""
,
// 资金部负责人 .fttp.usr.extkey
},
...
...
src/page/Funds/Fttfmt/event/buildCommons.js
View file @
2332494f
...
...
@@ -24,13 +24,15 @@ export default {
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
ftdgrp
,
this
.
buildPtspta
);
return
{
rec
:
{
objtyp
:
"F
XT
"
,
objtyp
:
"F
TD
"
,
objinr
:
model
.
ftdgrp
.
rec
.
inr
,
ownref
:
model
.
ftdgrp
.
rec
.
ownref
,
fttyp
:
model
.
ftdgrp
.
rec
.
fttyp
,
},
cbsMap
:
{
MAX
:
model
.
ftdgrp
.
cbs
.
max
,
NOM1
:
model
.
ftdgrp
.
cbs
.
nom1
,
OPN1
:
model
.
ftdgrp
.
cbs
.
opn1
,
INS
:
model
.
ftdgrp
.
cbs
.
ins
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
src/page/Funds/Fttfmt/model/Check.js
View file @
2332494f
...
...
@@ -38,7 +38,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"number"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
src/page/Funds/Fttfmt/model/index.js
View file @
2332494f
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pub
from
"~/components/business/commonModel/index.js"
;
import
Ftdgrp
from
'~/components/business/commonModel/ftdgrp'
;
export
default
class
Fttfmt
{
constructor
()
{
this
.
data
=
{
ftdgrp
:{
rec
:{
ownref
:
""
,
// 资金调拨业务参考号 .ftdgrp.rec.ownref
nam
:
""
,
// 名称 .ftdgrp.rec.nam
fttyp
:
""
,
// 定存拆借类型 .ftdgrp.rec.fttyp
matdat
:
""
,
// 到期日 .ftdgrp.rec.matdat
rat
:
""
,
// 年利率 .ftdgrp.rec.rat
gzno
:
""
,
// 挂账编号 .ftdgrp.rec.gzno
},
cbs
:{
max
:{
cur
:
""
,
// 定存拆借金额 .ftdgrp.cbs.max.cur
amt
:
""
,
// 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tri.dbfadrblkcn
},
act
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.act.dbfadrblkcn
},
},
ftdgrp
:
new
Ftdgrp
().
data
,
fttp
:{
troact
:
""
,
// Trade-out Account .fttp.troact
triact
:
""
,
// 备注 .fttp.triact
msgtyp
:
""
,
// 报文类型 .fttp.msgtyp
benact
:
""
,
bnaktypflg
:
""
,
usr
:{
extkey
:
""
,
// 资金部负责人 .fttp.usr.extkey
},
...
...
src/page/Funds/Fttfmt/views/Matp.vue
View file @
2332494f
...
...
@@ -5,16 +5,16 @@
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfmt.资金调拨业务参考号')"
prop=
"ftdgrp.rec.ownref"
>
<c-input
v-model=
"model.ftdgrp.rec.ownref"
maxlength=
"16"
:placeholder=
"$t('other.请输入') + $t('fttfmt.资金调拨业务参考号')"
></c-input>
<c-input
v-model=
"model.ftdgrp.rec.ownref"
maxlength=
"16"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 资金部负责人 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfmt.资金部负责人')"
prop=
"ft
tp.usr.extkey
"
>
<c-input
v-model=
"model.ft
tp.usr.extkey
"
maxlength=
"8"
:placeholder=
"$t('other.请输入') + $t('fttfmt.资金部负责人')"
></c-input>
<c-form-item
:label=
"$t('fttfmt.资金部负责人')"
prop=
"ft
dgrp.rec.ownusr
"
>
<c-input
v-model=
"model.ft
dgrp.rec.ownusr
"
maxlength=
"8"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 定存拆借类型 -->
...
...
@@ -30,16 +30,16 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfmt.定存拆借金额')"
prop=
"
setmod.doc
cur"
>
<c-select
v-model=
"model.
setmod.doc
cur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfmt.定存拆借金额币种')"
>
<el-form-item
:label=
"$t('fttfmt.定存拆借金额')"
prop=
"
ftdgrp.cbs.max.
cur"
>
<c-select
v-model=
"model.
ftdgrp.cbs.max.
cur"
:code=
"codes.curtxt1"
style=
"width:100%"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"ftdgrp.cbs.max.amt"
>
<c-input
v-model=
"model.ftdgrp.cbs.max.amt"
:placeholder=
"$t('other.请输入') + $t('fttfmt.定存拆借金额')"
></c-input>
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -48,7 +48,7 @@
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fttfmt.到期日')"
prop=
"ftdgrp.rec.matdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ftdgrp.rec.matdat"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfmt.到期日')"
></c-date-picker>
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000012 : 年利率 -->
...
...
@@ -56,7 +56,7 @@
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfmt.年利率')"
prop=
"ftdgrp.rec.rat"
>
<c-input
v-model=
"model.ftdgrp.rec.rat"
:placeholder=
"$t('other.请输入') + $t('fttfmt.年利率')"
></c-input>
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 利息金额 -->
...
...
@@ -64,14 +64,14 @@
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfmt.利息金额币种')"
prop=
"ftdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.ftdgrp.cbs.max.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfmt.利息金额币种')"
>
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"
int
amt"
>
<c-input
v-model=
"model.
int
amt"
:placeholder=
"$t('other.请输入') + $t('fttfmt.利息金额')"
></c-input>
<c-form-item
label-width=
"0"
prop=
"
ftdgrp.cbs.ins.
amt"
>
<c-input
v-model=
"model.
ftdgrp.cbs.ins.
amt"
:placeholder=
"$t('other.请输入') + $t('fttfmt.利息金额')"
></c-input>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -81,13 +81,13 @@
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfmt.结算总金额币种')"
prop=
"ftdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.ftdgrp.cbs.max.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfmt.结算总金额币种')"
>
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"setmod.setamt"
>
<c-input
v-model=
"model.setmod.setamt"
:placeholder=
"$t('other.请输入') + '结算总金额'"
></c-input>
<c-input
v-model=
"model.setmod.setamt"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -105,12 +105,12 @@
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfmt.名称')"
prop=
"ftdgrp.rec.nam"
>
<c-input
v-model=
"model.ftdgrp.rec.nam"
maxlength=
"40"
:placeholder=
"$t('other.请输入') + $t('fttfmt.名称')"
></c-input>
disabled
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
fals
e"
:isAdrblk=
"true"
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
true"
:disabledExtkey=
"tru
e"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
...
...
@@ -118,7 +118,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
false"
:isAdrblk=
"true"
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
true"
:disabledExtkey=
"true"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
...
...
@@ -126,7 +126,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
fals
e"
:isAdrblk=
"true"
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"
tru
e"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
...
...
@@ -139,10 +139,11 @@
<
script
>
import
Api
from
"~/service/Api"
import
Event
from
"../event"
import
commonProcess
from
"~/mixin/commonProcess"
;
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
...
...
src/page/Funds/Fttfmt/views/index.vue
View file @
2332494f
...
...
@@ -32,6 +32,7 @@ import Api from "~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Fttfmt
from
"../model"
import
Matp
from
"./Matp"
import
commonProcess
from
"~/mixin/commonProcess"
import
Setpan
from
"~/components/business/setmod/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
...
...
@@ -54,14 +55,14 @@ export default {
root
:
this
}
},
mixins
:
[
operationFunc
,
commonDepend
,
event
,
buildFn
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
operationFunc
,
commonDepend
,
event
,
buildFn
,
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"matp"
,
trnName
:
"fttfmt"
,
trnType
:
""
,
model
:
new
Fttfmt
().
data
,
rules
:
Check
,
rules
:
{}
,
codes
:
{
...
CodeTable
},
}
},
...
...
@@ -75,15 +76,15 @@ export default {
},
created
:
async
function
()
{
console
.
log
(
"进入fttfmt交易"
);
let
rtnmsg
=
{};
// await this.init({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
})
;
}
let
params
=
{
transName
:
this
.
trnName
,
ftdgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
||
""
,
},
},
}
;
this
.
init
(
params
)
}
}
</
script
>
...
...
src/page/Funds/Fttpcm/model/index.js
View file @
2332494f
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pub
from
"~/components/business/commonModel/index.js"
;
import
Ftdgrp
from
'~/components/business/commonModel/ftdgrp'
;
export
default
class
Fttpcm
{
constructor
()
{
this
.
data
=
{
ftdgrp
:{
rec
:{
int
:
""
,
nam
:
""
,
fttyp
:
""
,
ownref
:
""
,
// Reference .ftdgrp.rec.ownref
nam
:
""
,
// 名称 .ftdgrp.rec.nam
opndat
:
""
,
// 调拨日期 .ftdgrp.rec.opndat
valdat
:
""
,
// 起息日 .ftdgrp.rec.valdat
ownusr
:
""
,
// 资金部负责人 .ftdgrp.rec.ownusr
usr
:
""
,
// 清算中心负责人 .ftdgrp.rec.usr
},
tro
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tri.dbfadrblkcn
},
cbs
:{
max
:{
cur
:
""
,
// 头寸调拨金额 .ftdgrp.cbs.max.cur
amt
:
""
,
// 头寸调拨金额 .ftdgrp.cbs.max.amt
},
},
blk
:{
remark
:
""
,
// 备注 .ftdgrp.blk.remark
},
ben
:{
pts
:
new
Pts
().
data
,
},
},
ftdgrp
:
new
Ftdgrp
().
data
,
fttp
:{
trop
:{
ptsget
:{
...
...
src/page/Funds/Fttpcn/event/buildCommons.js
View file @
2332494f
...
...
@@ -24,7 +24,7 @@ export default {
let
ptsptaList
=
[];
return
{
rec
:
{
objtyp
:
"F
XT
"
,
objtyp
:
"F
TD
"
,
objinr
:
model
.
ftdgrp
.
rec
.
inr
,
ownref
:
model
.
ftdgrp
.
rec
.
ownref
,
fttyp
:
model
.
ftdgrp
.
rec
.
fttyp
,
...
...
src/page/Funds/Fttpcn/model/index.js
View file @
2332494f
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pub
from
"~/components/business/commonModel/index.js"
;
import
Ftdgrp
from
'~/components/business/commonModel/ftdgrp'
;
export
default
class
Fttpcn
{
constructor
()
{
this
.
data
=
{
ftdgrp
:{
rec
:{
int
:
""
,
ownusr
:
""
,
ownref
:
""
,
// 头寸调拨业务参考号 .ftdgrp.rec.ownref
nam
:
""
,
// 名称 .ftdgrp.rec.nam
fttyp
:
""
,
// 头寸调拨类型 .ftdgrp.rec.fttyp
},
cbs
:{
max
:{
cur
:
""
,
// 头寸调拨金额 .ftdgrp.cbs.max.cur
amt
:
""
,
// 头寸调拨金额 .ftdgrp.cbs.max.amt
},
opn2
:{
cur
:
""
,
// 待销账金额 .ftdgrp.cbs.opn2.cur
amt
:
""
,
// Balance .ftdgrp.cbs.opn2.amt
},
},
tro
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .ftdgrp.tri.dbfadrblkcn
},
},
ftdgrp
:
new
Ftdgrp
().
data
,
fttp
:{
trop
:{
...
...
@@ -52,7 +26,7 @@ export default class Fttpcn{
},
},
cancur
:
""
,
canamt
:
0
,
// Cancellation Amount .canamt
canamt
:
""
,
// Cancellation Amount .canamt
setmod
:{
doccur
:
""
,
// 实际销账金额 .setmod.doccur
},
...
...
src/page/Funds/Infftd/event/index.js
View file @
2332494f
...
...
@@ -138,16 +138,12 @@ export default {
return
}
let
params
=
{}
if
(
btn
.
code
.
toLowerCase
()
==
'fttfmt'
){
params
=
{
path
:
"/business/"
+
btn
.
code
.
toLowerCase
(),
}
}
else
{
params
=
{
path
:
"/business/"
+
btn
.
code
.
toLowerCase
(),
query
:
{
inr
:
row
.
inr
,
pntinr
:
row
.
pntinr
}
}
}
this
.
routerPush
(
params
);
this
.
initdialog
=
false
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment