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
efe5e5f9
Commit
efe5e5f9
authored
Oct 23, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增fttfcn交易
parent
d5bb675c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
133 additions
and
221 deletions
+133
-221
index.js
src/page/Funds/Fttfcm/model/index.js
+2
-0
buildCommons.js
src/page/Funds/Fttfcn/event/buildCommons.js
+10
-2
index.js
src/page/Funds/Fttfcn/event/index.js
+1
-24
Check.js
src/page/Funds/Fttfcn/model/Check.js
+24
-109
index.js
src/page/Funds/Fttfcn/model/index.js
+71
-70
Canp.vue
src/page/Funds/Fttfcn/views/Canp.vue
+0
-0
index.vue
src/page/Funds/Fttfcn/views/index.vue
+25
-16
No files found.
src/page/Funds/Fttfcm/model/index.js
View file @
efe5e5f9
...
...
@@ -70,6 +70,8 @@ export default class Fttfcm {
},
},
narblk
:
""
,
relref
:
""
,
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
...
...
src/page/Funds/Fttfcn/event/buildCommons.js
View file @
efe5e5f9
...
...
@@ -24,13 +24,21 @@ 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
,
msgtyp
:
model
.
fttp
.
msgtyp
,
fttyp
:
model
.
ftdgrp
.
rec
.
fttyp
,
rat
:
model
.
ftdgrp
.
rec
.
rat
,
bnktyp
:
model
.
ftdgrp
.
rec
.
bnktyp
,
valdat
:
model
.
ftdgrp
.
rec
.
valdat
,
canamt
:
model
.
canamt
,
},
cbsMap
:
{
MAX
:
model
.
ftdgrp
.
cbs
.
max
,
NOM1
:
model
.
ftdgrp
.
cbs
.
nom1
,
INS
:
model
.
ftdgrp
.
cbs
.
ins
,
OPN1
:
model
.
ftdgrp
.
cbs
.
opn1
,
OPN2
:
model
.
ftdgrp
.
cbs
.
opn2
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
src/page/Funds/Fttfcn/event/index.js
View file @
efe5e5f9
...
...
@@ -2,28 +2,5 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils"
;
export
default
{
async
onTropDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trop.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
onTripDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trip.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
onActpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"actp.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
};
src/page/Funds/Fttfcn/model/Check.js
View file @
efe5e5f9
export
default
{
"ftdgrp.rec.ownref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ftdgrp.rec.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"ftdgrp.tro.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"fttp.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"fttp.trop.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ftdgrp.tro.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fttp.trop.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
data
()
{
return
{
rules
:
{
"canamt"
:
[
{
required
:
true
,
message
:
"必输项"
},
// {
// validator (rule, value, callback) {
// if (value>this.model.ftdgrp.cbs.opn2.amt) {
// return callback(new Error('实际销账金额不能大于待销账金额!'));
// }
// callback();
// }, trigger: ['blur', 'change']
// }
],
"ftdgrp.tro.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.tro.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"ftdgrp.cbs.opn2.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"ftdgrp.cbs.opn2.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.doccur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"canamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"ftdgrp.tri.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"fttp.trip.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ftdgrp.tri.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fttp.trip.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
},
};
},
};
"ftdgrp.tri.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.tri.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.act.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"fttp.actp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ftdgrp.act.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fttp.actp.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"ftdgrp.act.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ftdgrp.act.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
}
\ No newline at end of file
src/page/Funds/Fttfcn/model/index.js
View file @
efe5e5f9
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
},
},
fttp
:{
usr
:{
extkey
:
""
,
// 资金部负责人 .fttp.usr.extkey
},
trop
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fttp.trop.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
},
},
},
trip
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fttp.trip.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
},
},
},
actp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fttp.actp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
},
},
},
},
canamt
:
""
,
// Cancellation Amount .canamt
setmod
:{
doccur
:
""
,
// 实际消账金额 .setmod.doccur
},
mtabut
:{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
},
pageId
:
""
,
// ctx的key
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
}
ftdgrp
:
new
Ftdgrp
().
data
,
fttp
:
{
troact
:
""
,
// Trade-out Account .fttp.troact
triact
:
""
,
// 备注 .fttp.triact
msgtyp
:
""
,
// 报文类型 .fttp.msgtyp
benact
:
""
,
bnaktypflg
:
""
,
mt32m
:
{
amecur
:
""
,
// Broker's Commission Cur. .mt30m.comcur
ameamt
:
0
,
newcur
:
""
,
// Broker's Commission Cur. .mt30m.comcur
newamt
:
0
,
s22a
:
""
,
// Typeof Operation(:22A) .mt30m.s22a
s94a
:
""
,
s17r
:
""
,
s22b
:
""
,
s30x
:
""
,
oldref
:
""
,
conref
:
""
,
conno
:
""
,
// MT300 22C - 共同参号 .mt30m.conref
a53act
:
""
,
// Delivery Agent Account .mt30m.a53act
iniact
:
""
,
// Intermediary Account .mt30m.iniact
rbcact
:
""
,
// Receiving Agent Account .mt30m.rbcact
a58act
:
""
,
b53act
:
""
,
// Delivery Agent Account .mt30m.b53act
b56act
:
""
,
// Intermediary Account .mt30m.b56act
owcact
:
""
,
// Receiving Agent Account .mt30m.owcact
b58act
:
""
,
// Beneficiary Institution Account .mt30m.b58act
str300
:
""
,
b58
:
{
pts
:
new
Pts
().
data
,
},
b53
:
{
pts
:
new
Pts
().
data
,
},
owc
:
{
pts
:
new
Pts
().
data
,
},
b56
:
{
pts
:
new
Pts
().
data
,
},
a58
:
{
pts
:
new
Pts
().
data
,
},
rbc
:
{
pts
:
new
Pts
().
data
,
},
ini
:
{
pts
:
new
Pts
().
data
,
},
a53
:
{
pts
:
new
Pts
().
data
,
},
},
},
canamt
:
0
,
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
}
}
}
\ No newline at end of file
src/page/Funds/Fttfcn/views/Canp.vue
View file @
efe5e5f9
This diff is collapsed.
Click to expand it.
src/page/Funds/Fttfcn/views/index.vue
View file @
efe5e5f9
...
...
@@ -22,24 +22,33 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleSubmit=
"handleSubmit"
@
handleSureWarning=
"handleSureWarning"
ref=
"commonBtn"
></c-function-btn>
<c-function-btn
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleSubmit=
"handleSubmit"
@
handleSureWarning=
"handleSureWarning"
ref=
"commonBtn"
></c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Fttfcn
from
"../model"
import
Canp
from
"./Canp"
import
commonProcess
from
"~/mixin/commonProcess"
import
Setpan
from
"~/components/business/setmod/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
import
buildFn
from
"../event/buildCommons.js"
;
import
Fttfcn
from
"../model"
;
import
operationFunc
from
"~/mixin/operationFunc"
;
import
commonDepend
from
"~/mixin/commonDepend"
;
import
event
from
"../event"
;
import
buildFn
from
"../event/buildCommons.js"
;
import
Check
from
"../model/Check.js"
;
import
Canp
from
"./Canp"
export
default
{
...
...
@@ -54,7 +63,7 @@ export default {
root
:
this
}
},
mixins
:
[
operationFunc
,
commonDepend
,
event
,
buildFn
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
operationFunc
,
commonDepend
,
event
,
Check
,
buildFn
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"canp"
,
...
...
@@ -74,16 +83,16 @@ export default {
}
},
created
:
async
function
()
{
console
.
log
(
"进入fttfcn交易
"
);
let
rtnmsg
=
{};
// await this.init({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
})
;
}
console
.
log
(
"进入fttfcn交易
.."
+
this
.
trnName
);
let
params
=
{
transName
:
this
.
trnName
,
ftdgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
||
""
,
},
},
}
;
this
.
init
(
params
)
}
}
</
script
>
...
...
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