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
f137d446
Commit
f137d446
authored
Oct 25, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试FXTFCN交易
parent
417b475b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
60 additions
and
194 deletions
+60
-194
Canp.vue
src/page/Funds/Fxtfcn/views/Canp.vue
+1
-1
buildCommons.js
src/page/Funds/Fxtlcn/event/buildCommons.js
+11
-2
index.js
src/page/Funds/Fxtlcn/event/index.js
+3
-20
check.js
src/page/Funds/Fxtlcn/model/check.js
+7
-97
index.js
src/page/Funds/Fxtlcn/model/index.js
+27
-61
Canp.vue
src/page/Funds/Fxtlcn/views/Canp.vue
+0
-0
index.vue
src/page/Funds/Fxtlcn/views/index.vue
+11
-13
No files found.
src/page/Funds/Fxtfcn/views/Canp.vue
View file @
f137d446
...
...
@@ -142,7 +142,7 @@ export default {
}
},
methods
:{
...
Event
},
methods
:{},
created
:
function
(){
}
...
...
src/page/Funds/Fxtlcn/event/buildCommons.js
View file @
f137d446
...
...
@@ -24,9 +24,18 @@ export default {
let
ptsptaList
=
[];
return
{
rec
:
{
objtyp
:
"FXT"
,
objtyp
:
"FXD"
,
objinr
:
model
.
fxdgrp
.
rec
.
inr
,
ownref
:
model
.
fxdgrp
.
rec
.
ownref
,
fxtyp
:
model
.
fxdgrp
.
rec
.
fxtyp
,
swtflg
:
model
.
swtflg
,
cancur
:
model
.
cancur
,
canamt
:
model
.
canamt
,
},
cbsMap
:
{
MAX
:
model
.
fxdgrp
.
cbs
.
max
,
NOM1
:
model
.
fxdgrp
.
cbs
.
nom1
,
},
cbsMap
:
{},
ptsList
:
ptsptaList
,
transName
:
trnName
,
userId
:
window
.
sessionStorage
.
userId
?
window
.
sessionStorage
.
userId
:
"ZL"
,
...
...
src/page/Funds/Fxtlcn/event/index.js
View file @
f137d446
...
...
@@ -4,25 +4,7 @@ import Api from '~/service/Api';
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onActpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"actp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
}
\ No newline at end of file
src/page/Funds/Fxtlcn/model/check.js
View file @
f137d446
import
Utils
from
"~/utils"
/**
* Fxtlcn Check规则
*/
export
default
{
"fxdgrp.rec.ownref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxdgrp.rec.nam"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fxdgrp.apl.pts.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"fxtp.usr.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"fxtp.usrget.sdamod.seainf"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fxtp.aplp.ptsget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxdgrp.apl.pts.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxtp.aplp.ptsget.sdamod.seainf"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fxdgrp.apl.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxdgrp.apl.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxdgrp.cbs.opn2.cur"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fxdgrp.cbs.opn2.amt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"cancur"
:
[
{
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位"
}
],
"fxdgrp.rec.opndat"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"fxtp.actp.ptsget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxdgrp.rec.valdat"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"fxdgrp.act.pts.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxtp.actp.ptsget.sdamod.seainf"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fxdgrp.act.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxdgrp.act.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxdgrp.blk.remark"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
]
}
"fxtlcn.canamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
}
\ No newline at end of file
src/page/Funds/Fxtlcn/model/index.js
View file @
f137d446
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
import
Pub
from
"~/components/business/commonModel/index.js"
;
import
Fxdgrp
from
'~/components/business/commonModel/fxdgrp'
;
export
default
class
Fxtlcn
{
constructor
()
{
this
.
data
=
{
fxdgrp
:{
rec
:{
ownref
:
""
,
// 平盘业务参考号 .fxdgrp.rec.ownref
nam
:
""
,
// 名称 .fxdgrp.rec.nam
fxtyp
:
""
,
// 平盘类型 .fxdgrp.rec.fxtyp
opndat
:
""
,
// 平盘日期 .fxdgrp.rec.opndat
valdat
:
""
,
// 起息日 .fxdgrp.rec.valdat
},
apl
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .fxdgrp.apl.dbfadrblkcn
},
blk
:{
remark
:
""
,
// 备注 .fxdgrp.blk.remark
},
cbs
:{
opn2
:{
cur
:
""
,
// 待销账金额 .fxdgrp.cbs.opn2.cur
amt
:
""
,
// Balance .fxdgrp.cbs.opn2.amt
},
},
act
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .fxdgrp.act.dbfadrblkcn
},
},
fxtp
:{
aplp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fxtp.aplp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fxtp.aplp.ptsget.sdamod.dadsnd
},
},
},
usrget
:{
sdamod
:{
seainf
:
""
,
// .fxtp.usrget.sdamod.seainf
},
},
usr
:{
extkey
:
""
,
// 资金部负责人 .fxtp.usr.extkey
},
actp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fxtp.actp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fxtp.actp.ptsget.sdamod.dadsnd
},
},
},
},
mtabut
:{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
},
canamt
:
""
,
// Cancel Amount .canamt
cancur
:
""
,
// 实际销账金额 .cancur
pageId
:
""
,
// ctx的key
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
fxdgrp
:
new
Fxdgrp
().
data
,
fxtp
:{
frgchk
:
"X"
},
mtabut
:{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
},
cancur
:
""
,
canamt
:
0
,
oldactinr
:
""
,
relcur
:
""
,
relamt
:
0
,
f21
:
""
,
acc2
:
""
,
// APLACC's Account .acc2
acc1
:
""
,
aplacc
:{
pts
:
new
Pts
().
data
,
},
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
}
}
}
\ No newline at end of file
src/page/Funds/Fxtlcn/views/Canp.vue
View file @
f137d446
This diff is collapsed.
Click to expand it.
src/page/Funds/Fxtlcn/views/index.vue
View file @
f137d446
...
...
@@ -3,7 +3,7 @@
<c-page
title=
"结售汇平盘销账"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-tab-pane
label=
"
概要
"
name=
"canp"
>
<el-tab-pane
label=
"
业务信息
"
name=
"canp"
>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"setpan"
>
...
...
@@ -74,18 +74,16 @@ export default {
}
},
created
:
async
function
(){
console
.
log
(
"进入fxtlcn交易"
);
let
rtnmsg
=
{};
// await this.init({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
console
.
log
(
"进入fxtlcn交易.."
+
this
.
trnName
);
let
params
=
{
transName
:
this
.
trnName
,
fxdgrp
:
{
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