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
biyuewuhua
isc-web-vue
Commits
87d73847
Commit
87d73847
authored
Sep 27, 2024
by
hewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fxtsqo公共
parent
15c3b713
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
159 additions
and
89 deletions
+159
-89
buildCommons.js
src/page/Funds/Fxtsqo/event/buildCommons.js
+42
-0
Event.js
src/page/Funds/Fxtsqo/model/Event.js
+10
-11
index.js
src/page/Funds/Fxtsqo/model/index.js
+73
-68
Quop.vue
src/page/Funds/Fxtsqo/views/Quop.vue
+0
-0
index.vue
src/page/Funds/Fxtsqo/views/index.vue
+34
-10
No files found.
src/page/Funds/Fxtsqo/event/buildCommons.js
0 → 100644
View file @
87d73847
import
Utils
from
"~/utils"
;
export
default
{
methods
:
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
return
{
rol
:
pts
.
rol
,
name
:
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
,
};
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
fxdgrp
,
this
.
buildPtspta
);
return
{
rec
:
{
objtyp
:
"FXD"
,
objinr
:
model
.
fxdgrp
.
rec
.
inr
,
ownref
:
model
.
fxdgrp
.
rec
.
ownref
,
},
cbsMap
:
{
MAX
:
model
.
fxdgrp
.
cbs
.
max
,
NOM1
:
model
.
fxdgrp
.
cbs
.
nom1
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
userId
:
window
.
sessionStorage
.
userId
?
window
.
sessionStorage
.
userId
:
"ZL"
,
}
}
}
}
\ No newline at end of file
src/page/Funds/Fxtsqo/model/Event.js
View file @
87d73847
...
...
@@ -2,17 +2,15 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onAplpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/page/Funds/Fxtsqo/model/index.js
View file @
87d73847
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Api
from
"~/service/Api"
;
import
Pts
from
"~/page/Model/Common/Pts"
;
import
Pub
from
"~/components/business/commonModel/index.js"
;
export
default
class
Fxtsqo
{
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
setdat
:
""
,
// 远期交割日 .fxdgrp.rec.setdat
setdatfrm
:
""
,
// 择期交割起始日 .fxdgrp.rec.setdatfrm
setdatto
:
""
,
// 择期交割截止日 .fxdgrp.rec.setdatto
rat
:
""
,
// 对外牌价 .fxdgrp.rec.rat
midrat
:
""
,
// 中间价 .fxdgrp.rec.midrat
quoref
:
""
,
// 询价编号 .fxdgrp.rec.quoref
fudref
:
""
,
// 资金部编号 .fxdgrp.rec.fudref
trnman
:
""
,
// 交易主体 .fxdgrp.rec.trnman
trdint
:
""
,
// 结售汇类型 .fxdgrp.rec.trdint
trdout
:
""
,
// 结售汇类型 .fxdgrp.rec.trdout
ownusr
:
""
,
// 业务负责人 .fxdgrp.rec.ownusr
dsp
:
""
,
// 外币结算账号 .fxdgrp.rec.dsp
acc
:
""
,
// 外币结算账号 .fxdgrp.rec.acc
dsp2
:
""
,
// 本币结算账号 .fxdgrp.rec.dsp2
acc2
:
""
,
// 本币结算账号 .fxdgrp.rec.acc2
},
apl
:{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .fxdgrp.apl.dbfadrblkcn
},
cbs
:{
max
:{
cur
:
""
,
// Currency .fxdgrp.cbs.max.cur
amt
:
""
,
// Balance .fxdgrp.cbs.max.amt
},
nom1
:{
cur
:
""
,
// Currency .fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxdgrp.cbs.nom1.amt
},
},
blk
:{
remark
:
""
,
// 备注 .fxdgrp.blk.remark
},
export
default
class
Fxtsqo
{
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
setdat
:
""
,
// 远期交割日 .fxdgrp.rec.setdat
setdatfrm
:
""
,
// 择期交割起始日 .fxdgrp.rec.setdatfrm
setdatto
:
""
,
// 择期交割截止日 .fxdgrp.rec.setdatto
rat
:
""
,
// 对外牌价 .fxdgrp.rec.rat
midrat
:
""
,
// 中间价 .fxdgrp.rec.midrat
quoref
:
""
,
// 询价编号 .fxdgrp.rec.quoref
fudref
:
""
,
// 资金部编号 .fxdgrp.rec.fudref
trnman
:
""
,
// 交易主体 .fxdgrp.rec.trnman
trdint
:
""
,
// 结售汇类型 .fxdgrp.rec.trdint
trdout
:
""
,
// 结售汇类型 .fxdgrp.rec.trdout
ownusr
:
""
,
// 业务负责人 .fxdgrp.rec.ownusr
dsp
:
""
,
// 外币结算账号 .fxdgrp.rec.dsp
acc
:
""
,
// 外币结算账号 .fxdgrp.rec.acc
dsp2
:
""
,
// 本币结算账号 .fxdgrp.rec.dsp2
acc2
:
""
,
// 本币结算账号 .fxdgrp.rec.acc2
},
apl
:
{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .fxdgrp.apl.dbfadrblkcn
},
cbs
:
{
max
:
{
cur
:
""
,
// Currency .fxdgrp.cbs.max.cur
amt
:
""
,
// Balance .fxdgrp.cbs.max.amt
},
nom1
:
{
cur
:
""
,
// Currency .fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxdgrp.cbs.nom1.amt
},
},
blk
:
{
remark
:
""
,
// 备注 .fxdgrp.blk.remark
},
},
fxtp
:
{
aplp
:
{
ptsget
:
{
sdamod
:
{
seainf
:
""
,
// .fxtp.aplp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fxtp.aplp.ptsget.sdamod.dadsnd
},
fxtp
:{
aplp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .fxtp.aplp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fxtp.aplp.ptsget.sdamod.dadsnd
},
},
},
amtlab
:
""
,
// Amount Label .fxtp.amtlab
cnylab
:
""
,
// Amount LabelCNY .fxtp.cnylab
frgchk
:
""
,
// 外币 .fxtp.frgchk
cnychk
:
""
,
// 人民币 .fxtp.cnychk
cshflg
:
""
,
// 钞汇标志 .fxtp.cshflg
},
mtabut
:{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
},
fxtapll1blk
:
""
,
// XMLPanel fxtapll1的内置block .fxtapll1blk
fxtapll2blk
:
""
,
// XMLPanel fxtapll2的内置block .fxtapll2blk
pageId
:
""
// ctx的key
}
}
},
},
amtlab
:
""
,
// Amount Label .fxtp.amtlab
cnylab
:
""
,
// Amount LabelCNY .fxtp.cnylab
frgchk
:
""
,
// 外币 .fxtp.frgchk
cnychk
:
""
,
// 人民币 .fxtp.cnychk
cshflg
:
""
,
// 钞汇标志 .fxtp.cshflg
},
mtabut
:
{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
},
fxtapll1blk
:
""
,
// XMLPanel fxtapll1的内置block .fxtapll1blk
fxtapll2blk
:
""
,
// XMLPanel fxtapll2的内置block .fxtapll2blk
pageId
:
""
,
// ctx的key
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
}
}
}
\ No newline at end of file
src/page/Funds/Fxtsqo/views/Quop.vue
View file @
87d73847
This diff is collapsed.
Click to expand it.
src/page/Funds/Fxtsqo/views/index.vue
View file @
87d73847
<
template
>
<div
class=
"eContainer"
>
<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"
>
<!--fxtsqo PD000001
Quote -->
<el-tab-pane
:label=
"$t('fxtsqo.
PD000001
')"
name=
"quop"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--
Quote -->
<el-tab-pane
:label=
"$t('fxtsqo.
Quote
')"
name=
"quop"
>
<m-quop
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
fxtsqo PD000013
业务凭证 -->
<el-tab-pane
:label=
"$t('fxtsqo.
PD000013
')"
name=
"fxtapll1"
>
<!--业务凭证 -->
<el-tab-pane
:label=
"$t('fxtsqo.
业务凭证
')"
name=
"fxtapll1"
>
<m-fxtapll1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--fxtsqo PD000019 外汇买卖水单/客户回单 -->
<el-tab-pane
:label=
"$t('fxtsqo.PD000019')"
name=
"fxtapll2"
>
<m-fxtapll2
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
:label=
"$t('commonModels.保证金')"
>
<c-content>
<m-ccvpan
:model=
"model"
:codes=
"codes"
></m-ccvpan>
</c-content>
</el-tab-pane>
<el-tab-pane
:label=
"$t('commonModels.费用/账务')"
name=
"setpan"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
></m-setmod>
</c-content>
</el-tab-pane>
<el-tab-pane
:label=
"$t('commonModels.报文/面函')"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
></m-docpan>
</c-content>
</el-tab-pane>
<!--外汇买卖水单/客户回单 -->
<!--
<el-tab-pane
:label=
"$t('fxtsqo.外汇买卖水单/客户回单')"
name=
"fxtapll2"
>
<m-fxtapll2
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
</div>
...
...
@@ -30,6 +45,12 @@ import Quop from "./Quop"
import
Fxtapll1
from
"./Fxtapll1"
import
Fxtapll2
from
"./Fxtapll2"
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"
;
export
default
{
name
:
"Fxtsqo"
,
...
...
@@ -37,16 +58,19 @@ export default {
"m-quop"
:
Quop
,
"m-fxtapll1"
:
Fxtapll1
,
"m-fxtapll2"
:
Fxtapll2
,
"m-setmod"
:
Setmod
,
"m-docpan"
:
Docpan
,
"m-ccvpan"
:
Ccvpan
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
event
,
buildFn
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
quop
"
,
trnName
:
"fxtsqo"
,
trnType
:
""
,
model
:
new
Fxtsqo
().
data
,
...
...
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