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
644b6d60
Commit
644b6d60
authored
Oct 10, 2024
by
huangshunlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
即期结汇前端调整
parent
981b8802
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
258 additions
and
229 deletions
+258
-229
index.js
src/components/business/commonModel/fxdgrp/index.js
+29
-28
buildCommons.js
src/page/Funds/Fxtssb/event/buildCommons.js
+5
-5
index.js
src/page/Funds/Fxtssb/event/index.js
+39
-0
Check.js
src/page/Funds/Fxtssb/model/Check.js
+63
-64
index.js
src/page/Funds/Fxtssb/model/index.js
+3
-66
Ovwp.vue
src/page/Funds/Fxtssb/views/Ovwp.vue
+119
-66
No files found.
src/components/business/commonModel/fxdgrp/index.js
View file @
644b6d60
...
...
@@ -4,45 +4,46 @@ export default class Fxdgrp {
constructor
()
{
this
.
data
=
{
rec
:
{
ownref
:
""
,
// 结售汇业务参考号 .fxtp.fxdgrp.rec.ownref
nam
:
""
,
// 名称 .fxtp.fxdgrp.rec.nam
fxtyp
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.fxtyp
opndat
:
""
,
// 登记日期 .fxtp.fxdgrp.rec.opndat
valdat
:
""
,
// 起息日 .fxtp.fxdgrp.rec.valdat
rat
:
""
,
// 对外牌价 .fxtp.fxdgrp.rec.rat
midrat
:
""
,
// 中间价 .fxtp.fxdgrp.rec.midrat
quoref
:
""
,
// 询价编号 .fxtp.fxdgrp.rec.quoref
fudref
:
""
,
// 资金部编号 .fxtp.fxdgrp.rec.fudref
setdat
:
""
,
// 远期交割日 .fxtp.fxdgrp.rec.setdat
setdatfrm
:
""
,
// 择期交割起始日 .fxtp.fxdgrp.rec.setdatfrm
setdatto
:
""
,
// 择期交割截止日 .fxtp.fxdgrp.rec.setdatto
trnman
:
""
,
// 交易主体 .fxtp.fxdgrp.rec.trnman
trdint
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.trdint
trdout
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.trdout
acc
:
""
,
// 外币结算账号 .fxtp.fxdgrp.rec.acc
acc2
:
""
,
// 本币结算账号 .fxtp.fxdgrp.rec.acc2
dsp
:
""
,
// 外币结算账号 .fxtp.fxdgrp.rec.dsp
dsp2
:
""
,
// 本币结算账号 .fxtp.fxdgrp.rec.dsp2
ownref
:
""
,
// 结售汇业务参考号 fxdgrp.rec.ownref
nam
:
""
,
// 名称 fxdgrp.rec.nam
fxtyp
:
""
,
// 结售汇类型 fxdgrp.rec.fxtyp
opndat
:
""
,
// 登记日期 fxdgrp.rec.opndat
valdat
:
""
,
// 起息日 fxdgrp.rec.valdat
rat
:
0.000000
,
// 对外牌价 fxdgrp.rec.rat
midrat
:
0.000000
,
// 中间价 fxdgrp.rec.midrat
quoref
:
""
,
// 询价编号 fxdgrp.rec.quoref
fudref
:
""
,
// 资金部编号 fxdgrp.rec.fudref
setdat
:
""
,
// 远期交割日 fxdgrp.rec.setdat
setdatfrm
:
""
,
// 择期交割起始日 fxdgrp.rec.setdatfrm
setdatto
:
""
,
// 择期交割截止日 fxdgrp.rec.setdatto
trnman
:
""
,
// 交易主体 fxdgrp.rec.trnman
trdint
:
""
,
// 结售汇类型 fxdgrp.rec.trdint
trdout
:
""
,
// 结售汇类型 fxdgrp.rec.trdout
acc
:
""
,
// 外币结算账号 fxdgrp.rec.acc
acc2
:
""
,
// 本币结算账号 fxdgrp.rec.acc2
dsp
:
""
,
// 外币结算账号 fxdgrp.rec.dsp
dsp2
:
""
,
// 本币结算账号 fxdgrp.rec.dsp2
usr
:
""
,
// 业务经办人 fxdgrp.rec.usr
},
blk
:
{
remark
:
""
,
// 备注
.fxtp.
fxdgrp.blk.remark
remark
:
""
,
// 备注 fxdgrp.blk.remark
},
cbs
:
{
max
:
{
cur
:
""
,
// Currency
.fxtp.
fxdgrp.cbs.max.cur
amt
:
""
,
// Balance .fxtp.
fxdgrp.cbs.max.amt
cur
:
""
,
// Currency fxdgrp.cbs.max.cur
amt
:
0.00
,
// Balance
fxdgrp.cbs.max.amt
},
nom1
:
{
cur
:
""
,
// Currency
.fxtp.
fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxtp.
fxdgrp.cbs.nom1.amt
cur
:
""
,
// Currency fxdgrp.cbs.nom1.cur
amt
:
0.00
,
// Balance
fxdgrp.cbs.nom1.amt
},
opn1
:
{
cur
:
""
,
// Currency
.fxtp.
fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxtp.
fxdgrp.cbs.nom1.amt
cur
:
""
,
// Currency fxdgrp.cbs.nom1.cur
amt
:
0.00
,
// Balance
fxdgrp.cbs.nom1.amt
},
opn2
:
{
cur
:
""
,
// Currency
.fxtp.
fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxtp.
fxdgrp.cbs.nom1.amt
cur
:
""
,
// Currency fxdgrp.cbs.nom1.cur
amt
:
0.00
,
// Balance
fxdgrp.cbs.nom1.amt
},
},
apl
:
{
...
...
src/page/Funds/Fxtssb/event/buildCommons.js
View file @
644b6d60
...
...
@@ -21,16 +21,16 @@ export default {
};
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
fxtp
.
fxdgrp
,
this
.
buildPtspta
);
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
fxdgrp
,
this
.
buildPtspta
);
return
{
rec
:
{
objtyp
:
"FXT"
,
objinr
:
model
.
fxtp
.
fxdgrp
.
rec
.
inr
,
ownref
:
model
.
fxtp
.
fxdgrp
.
rec
.
ownref
,
objinr
:
model
.
fxdgrp
.
rec
.
inr
,
ownref
:
model
.
fxdgrp
.
rec
.
ownref
,
},
cbsMap
:
{
MAX
:
model
.
fxtp
.
fxdgrp
.
cbs
.
max
,
NOM1
:
model
.
fxtp
.
fxdgrp
.
cbs
.
nom1
,
MAX
:
model
.
fxdgrp
.
cbs
.
max
,
NOM1
:
model
.
fxdgrp
.
cbs
.
nom1
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
src/page/Funds/Fxtssb/event/index.js
View file @
644b6d60
...
...
@@ -5,7 +5,45 @@ export default {
mixins
:
[
commonFunctions
],
methods
:
{
async
getOwnref
()
{
if
(
this
.
model
.
fxdgrp
.
rec
.
fxtyp
==
""
)
{
this
.
$notify
.
warning
({
title
:
'提示'
,
message
:
'请先选择结售汇类型!'
});
return
;
}
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
`/
${
this
.
moduleRouter
()}
/fxtssb/getRef`
,
this
.
model
);
loading
.
close
();
if
(
res
.
respCode
!==
SUCCESS
)
{
this
.
$message
.
error
(
res
.
respMsg
);
return
;
}
this
.
model
.
fxdgrp
.
rec
.
ownref
=
res
.
data
;
},
async
defaultAccountsN1000
()
{
if
(
this
.
model
.
fxdgrp
.
rec
.
fxtyp
==
""
)
{
return
;
}
if
(
this
.
model
.
fxdgrp
.
cbs
.
max
.
cur
==
""
)
{
return
;
}
if
(
this
.
model
.
fxdgrp
.
apl
.
pts
.
ptyinr
==
""
)
{
return
;
}
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
`/
${
this
.
moduleRouter
()}
/fxtssb/defaultAccountsN1000`
,
this
.
model
);
loading
.
close
();
if
(
res
.
respCode
!==
SUCCESS
)
{
this
.
$message
.
error
(
res
.
respMsg
);
return
;
}
// this.updateValueSet(res.codeSet);
this
.
model
.
accLst
=
res
.
codeSet
[
'accLst'
];
this
.
model
.
accLst2
=
res
.
codeSet
[
'acc2Lst'
];
this
.
model
.
fxdgrp
.
rec
.
acc
=
res
.
data
.
fxdgrp
.
rec
.
acc
;
this
.
model
.
fxdgrp
.
rec
.
acc2
=
res
.
data
.
fxdgrp
.
rec
.
acc2
;
},
}
}
\ No newline at end of file
src/page/Funds/Fxtssb/model/Check.js
View file @
644b6d60
export
default
{
"fxtp.fxdgrp.rec.ownref"
:
[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
"fxdgrp.rec.ownref"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxtp.fxdgrp.rec.nam"
:[
"fxdgrp.rec.nam"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fxtp.fxdgrp.apl.pts.ref"
:
[
"fxdgrp.apl.pts.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"fxtp.usrget.usr.extkey"
:
[
"fxdgrp.rec.usr"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"fxtp.usrget.sdamod.seainf"
:
[
"fxdgrp.apl.pts.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3
"
}
{
max
:
16
,
message
:
"长度不能超过16
"
}
],
"fxtp.aplp.ptsget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16
"
}
"fxdgrp.apl.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
],
"fxtp.aplp.ptspta.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
"fxdgrp.cbs.max.amt"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"fxtp.aplp.ptsget.sdamod.seainf"
:
[
"fxdgrp.cbs.nom1.amt"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"fxtp.aplp.ptspta.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxtp.aplp.ptspta.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxtp.fxdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"fxtp.fxdgrp.cbs.nom1.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"fxtp.fxdgrp.rec.rat"
:[
"fxdgrp.rec.rat"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
12
,
message
:
"长度不能超过12"
}
{
max
:
12
,
message
:
"长度不能超过12"
}
],
"fxtp.fxdgrp.rec.quoref"
:
[
"fxdgrp.rec.quoref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxtp.fxdgrp.rec.midrat"
:
[
"fxdgrp.rec.midrat"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
12
,
message
:
"长度不能超过12"
}
{
max
:
12
,
message
:
"长度不能超过12"
}
],
"fxtp.fxdgrp.rec.fudref"
:[
"fxdgrp.rec.fudref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fxtp.fxdgrp.rec.opndat"
:
[
{
type
:
"date"
,
required
:
fals
e
,
message
:
"输入正确的日期"
}
"fxdgrp.rec.opndat"
:
[
{
type
:
"date"
,
required
:
tru
e
,
message
:
"输入正确的日期"
}
],
"fxtp.fxdgrp.rec.valdat"
:
[
{
type
:
"date"
,
required
:
fals
e
,
message
:
"输入正确的日期"
}
"fxdgrp.rec.valdat"
:
[
{
type
:
"date"
,
required
:
tru
e
,
message
:
"输入正确的日期"
}
],
"fxtp.fxdgrp.rec.setdat"
:
[
"fxdgrp.rec.setdat"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"fxtp.fxdgrp.rec.setdatto"
:
[
"fxdgrp.rec.setdatto"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"fxtp.fxdgrp.rec.setdatfrm"
:
[
"fxdgrp.rec.setdatfrm"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"fxtp.fxdgrp.blk.remark"
:[
"fxdgrp.blk.remark"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"fxdgrp.rec.dsp"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
],
"fxdgrp.rec.dsp2"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
],
"fxdgrp.rec.acc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"fxdgrp.rec.acc2"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"fxdgrp.rec.trnman"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
],
"fxdgrp.rec.trdint"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
{
max
:
3
,
message
:
"长度不能超过3
"
}
],
}
\ No newline at end of file
src/page/Funds/Fxtssb/model/index.js
View file @
644b6d60
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
Fxtssb
{
constructor
()
{
this
.
data
=
{
fxtp
:
{
fxdgrp
:
{
rec
:
{
ownref
:
""
,
// 结售汇业务参考号 .fxtp.fxdgrp.rec.ownref
nam
:
""
,
// 名称 .fxtp.fxdgrp.rec.nam
fxtyp
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.fxtyp
opndat
:
""
,
// 登记日期 .fxtp.fxdgrp.rec.opndat
valdat
:
""
,
// 起息日 .fxtp.fxdgrp.rec.valdat
rat
:
""
,
// 对外牌价 .fxtp.fxdgrp.rec.rat
midrat
:
""
,
// 中间价 .fxtp.fxdgrp.rec.midrat
quoref
:
""
,
// 询价编号 .fxtp.fxdgrp.rec.quoref
fudref
:
""
,
// 资金部编号 .fxtp.fxdgrp.rec.fudref
setdat
:
""
,
// 远期交割日 .fxtp.fxdgrp.rec.setdat
setdatfrm
:
""
,
// 择期交割起始日 .fxtp.fxdgrp.rec.setdatfrm
setdatto
:
""
,
// 择期交割截止日 .fxtp.fxdgrp.rec.setdatto
trnman
:
""
,
// 交易主体 .fxtp.fxdgrp.rec.trnman
trdint
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.trdint
trdout
:
""
,
// 结售汇类型 .fxtp.fxdgrp.rec.trdout
acc
:
""
,
// 外币结算账号 .fxtp.fxdgrp.rec.acc
acc2
:
""
,
// 本币结算账号 .fxtp.fxdgrp.rec.acc2
dsp
:
""
,
// 外币结算账号 .fxtp.fxdgrp.rec.dsp
dsp2
:
""
,
// 本币结算账号 .fxtp.fxdgrp.rec.dsp2
},
cbs
:
{
max
:
{
cur
:
""
,
// Currency .fxtp.fxdgrp.cbs.max.cur
amt
:
""
,
// Balance .fxtp.fxdgrp.cbs.max.amt
},
nom1
:
{
cur
:
""
,
// Currency .fxtp.fxdgrp.cbs.nom1.cur
amt
:
""
,
// Balance .fxtp.fxdgrp.cbs.nom1.amt
},
},
apl
:
{
pts
:
new
Pts
().
data
,
},
blk
:
{
remark
:
""
,
// 备注 .fxtp.fxdgrp.blk.remark
},
},
amtlab
:
""
,
// Amount Label .fxtp.amtlab
cnylab
:
""
,
// Amount LabelCNY .fxtp.cnylab
frgchk
:
""
,
// 外币 .fxtp.frgchk
cnychk
:
""
,
// 人民币 .fxtp.cnychk
aplp
:
{
ptspta
:
{
pts
:
new
Pts
().
data
,
dbfadrblkcn
:
""
,
// Chinese address .fxtp.aplp.ptspta.dbfadrblkcn
},
ptsget
:
{
sdamod
:
{
seainf
:
""
,
// .fxtp.aplp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .fxtp.aplp.ptsget.sdamod.dadsnd
},
},
},
cshflg
:
""
,
// 钞汇标志 .fxtp.cshflg
usrget
:
{
sdamod
:
{
seainf
:
""
,
// .fxtp.usrget.sdamod.seainf
},
usr
:
{
extkey
:
""
,
// User ID .fxtp.usrget.usr.extkey
},
},
},
fxdgrp
:
{
apl
:
{
pts
:
new
Pts
().
data
,
},
},
fxdgrp
:
new
Fxdgrp
().
data
,
setmod
:
new
Pub
().
data
.
Setmod
,
docpan
:
new
Pub
().
data
.
Docpan
,
trndia
:
new
Pub
().
data
.
Trndia
,
...
...
src/page/Funds/Fxtssb/views/Ovwp.vue
View file @
644b6d60
...
...
@@ -5,11 +5,12 @@
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<!-- S0000039 : 结售汇业务参考号 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.结售汇业务参考号')"
prop=
"fxtp.
fxdgrp.rec.ownref"
>
<c-form-item
:label=
"$t('fxtp.结售汇业务参考号')"
prop=
"
fxdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.ownref"
maxlength=
"16"
></c-input>
<c-input
v-model=
"model.fxdgrp.rec.ownref"
maxlength=
"16"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"getOwnrefFlg"
@
click=
"getOwnref"
>
获取
</c-button>
...
...
@@ -20,48 +21,49 @@
<!-- S0000041 : 业务负责人 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"业务负责人"
prop=
"fxtp.usrget.usr.extkey
"
>
<c-input
v-model=
"model.fxtp.usrget.usr.extkey"
maxlength=
"8"
></c-input>
<c-form-item
label=
"业务负责人"
prop=
"fxdgrp.rec.usr
"
>
<c-input
v-model=
"model.fxdgrp.rec.usr"
maxlength=
"8"
disabled
></c-input>
</c-form-item>
<c-form-item
label=
""
prop=
"fxtp.usrget.sdamod.seainf"
style=
"display:none"
>
<c-input
v-model=
"model.fxtp.usrget.sdamod.seainf"
></c-input>
</c-form-item>
</c-col>
<!-- S0000047 : 结售汇类型 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.结售汇类型')"
prop=
"fxtp.fxdgrp.rec.fxtyp"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.fxtyp"
:code=
"codes.fxt_fxtyp"
style=
"width:100%"
>
<el-form-item
:label=
"$t('fxtp.结售汇类型')"
prop=
"fxdgrp.rec.fxtyp"
>
<c-select
v-model=
"model.fxdgrp.rec.fxtyp"
:code=
"codes.fxt_fxtyp"
style=
"width:100%"
@
change=
"defaultAccountsN1000"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Purchase Amount"
prop=
"fxtp.fxdgrp.cbs.max.cur"
>
<c-select-cur
v-model=
"model.fxtp.fxdgrp.cbs.max.cur"
style=
"width: 100%"
dbCode=
"curtxt"
>
</c-select-cur>
<el-form-item
label=
"Purchase Amount"
prop=
"fxdgrp.cbs.max.cur"
>
<c-select-cur
v-model=
"model.fxdgrp.cbs.max.cur"
style=
"width: 100%"
dbCode=
"curtxt"
@
change=
"defaultAccountsN1000"
></c-select-cur>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"5px"
prop=
"fxtp.
fxdgrp.cbs.max.amt"
>
<el-form-item
label-width=
"5px"
prop=
"
fxdgrp.cbs.max.amt"
>
<c-input-currency
:currency=
"model.fxtp
.fxdgrp.cbs.max.cur"
v-model=
"model.fxtp
.fxdgrp.cbs.max.amt"
></c-input-currency>
:currency=
"model
.fxdgrp.cbs.max.cur"
v-model=
"model
.fxdgrp.cbs.max.amt"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Domestic Cur.Amount"
prop=
"fxtp.fxdgrp.cbs.nom1.cur"
>
<c-select-cur
v-model=
"model.fxtp.fxdgrp.cbs.nom1.cur"
style=
"width: 100%"
dbCode=
"curtxt"
>
</c-select-cur>
<el-form-item
label=
"Domestic Cur.Amount"
prop=
"fxdgrp.cbs.nom1.cur"
>
<c-select-cur
v-model=
"model.fxdgrp.cbs.nom1.cur"
style=
"width: 100%"
disabled
dbCode=
"curtxt"
></c-select-cur>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"5px"
prop=
"fxtp.
fxdgrp.cbs.nom1.amt"
>
<el-form-item
label-width=
"5px"
prop=
"
fxdgrp.cbs.nom1.amt"
>
<c-input-currency
:currency=
"model.fxtp.fxdgrp.cbs.nom1.cur"
v-model=
"model.fxtp
.fxdgrp.cbs.nom1.amt"
></c-input-currency>
:currency=
"model.fxdgrp.cbs.nom1.cur"
disabled
v-model=
"model
.fxdgrp.cbs.nom1.amt"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -69,22 +71,23 @@
<!-- S0000060 : 对外牌价 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.对外牌价')"
prop=
"fxtp.
fxdgrp.rec.rat"
>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.rat"
></c-input
>
<c-form-item
:label=
"$t('fxtp.对外牌价')"
prop=
"
fxdgrp.rec.rat"
>
<c-input-currency
disabled
:precision=
'6'
v-model=
"model.fxdgrp.rec.rat"
></c-input-currency
>
</c-form-item>
</c-col>
<!-- S0000061 : 中间价 -->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('fxtp.中间价')"
prop=
"fxtp.fxdgrp.rec.midrat"
>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.midrat"
></c-input>
<c-form-item
:label=
"$t('fxtp.中间价')"
prop=
"fxdgrp.rec.midrat"
>
<c-input-currency
disabled
:precision=
'6'
v-model=
"model.fxdgrp.rec.midrat"
></c-input-currency>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"5px"
prop=
"fxtp.cshflg"
>
<c-select
v-model=
"model.fxtp.cshflg"
:code=
"codes.cshflg"
style=
"width:100%"
>
<c-select
v-model=
"model.fxtp.cshflg"
disabled
:code=
"codes.cshflg"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -93,39 +96,48 @@
<!-- S0000064 : 登记日期 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.登记日期')"
prop=
"fxtp.fxdgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxtp.fxdgrp.rec.opndat"
style=
"width:100%"
></c-date-picker>
<el-form-item
:label=
"$t('fxtp.登记日期')"
prop=
"fxdgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxdgrp.rec.opndat"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000072 : 远期交割日 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.远期交割日')"
prop=
"fxtp.fxdgrp.rec.setdat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxtp.fxdgrp.rec.setdat"
style=
"width:100%"
></c-date-picker>
<el-form-item
:label=
"$t('fxtp.远期交割日')"
prop=
"fxdgrp.rec.setdat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxdgrp.rec.setdat"
disabled
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000073 : 择期交割起始日 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.择期交割起始日')"
prop=
"fxtp.fxdgrp.rec.setdatfrm"
>
<c-date-picker
type=
"date"
v-model=
"model.fxtp.fxdgrp.rec.setdatfrm"
style=
"width:100%"
></c-date-picker>
<el-form-item
:label=
"$t('fxtp.择期交割起始日')"
prop=
"fxdgrp.rec.setdatfrm"
>
<c-date-picker
type=
"date"
v-model=
"model.fxdgrp.rec.setdatfrm"
disabled
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000078 : 外币结算账号 -->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fxtp.外币结算账号')"
prop=
"fxtp.
fxdgrp.rec.dsp"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.dsp"
:code=
"codes.fxt_dsp"
style=
"width:100%
"
>
<el-form-item
:label=
"$t('fxtp.外币结算账号')"
prop=
"
fxdgrp.rec.dsp"
>
<c-select
v-model=
"model.fxdgrp.rec.dsp"
:code=
"codes.fxt_dsp"
style=
"width:100%"
@
change=
"defaultAccountsN1000
"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"5px"
prop=
"fxtp.fxdgrp.rec.acc"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.acc"
style=
"width:100%"
>
<el-form-item
label-width=
"5px"
prop=
"fxdgrp.rec.acc"
>
<c-select
v-model=
"model.fxdgrp.rec.acc"
style=
"width:100%"
>
<el-option
v-for=
"(item, idx) in accLst"
:key=
"idx"
:label=
"item"
:value=
"item"
></el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -134,8 +146,8 @@
<!-- S0000075 : 交易主体 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.交易主体')"
prop=
"fxtp.
fxdgrp.rec.trnman"
>
<c-select
v-model=
"model.fxtp
.fxdgrp.rec.trnman"
:code=
"codes.trnman"
style=
"width:100%"
>
<el-form-item
:label=
"$t('fxtp.交易主体')"
prop=
"
fxdgrp.rec.trnman"
>
<c-select
v-model=
"model
.fxdgrp.rec.trnman"
:code=
"codes.trnman"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -143,26 +155,27 @@
<!-- S0000069 : 备注 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.备注')"
prop=
"fxtp.fxdgrp.blk.remark"
>
<c-input
type=
"textarea"
v-model=
"model.fxtp.fxdgrp.blk.remark"
maxlength=
"35"
show-word-limit
></c-input>
<c-form-item
:label=
"$t('fxtp.备注')"
prop=
"fxdgrp.blk.remark"
>
<c-input
type=
"textarea"
v-model=
"model.fxdgrp.blk.remark"
maxlength=
"35"
show-word-limit
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ==================右边================ -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<!-- S0000040 : 名称 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.名称')"
prop=
"fxtp.
fxdgrp.rec.nam"
>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.nam"
maxlength=
"40"
></c-input>
<c-form-item
:label=
"$t('fxtp.名称')"
prop=
"
fxdgrp.rec.nam"
>
<c-input
v-model=
"defaultNam950"
maxlength=
"40"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabledExtkey=
"false"
:disabled=
"false"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabledExtkey=
"false"
:disabled=
"false"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"{title: '结售汇申请人',grp: 'fxdgrp', rol: 'apl',}"
:label=
"{labelExtkey:'结售汇申请人',labelNam:'名称',labelAdrblk:'地址'}"
ptytyp=
"C"
>
</c-ptap>
...
...
@@ -171,59 +184,67 @@
<!-- S0000062 : 询价编号 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.询价编号')"
prop=
"fxtp.
fxdgrp.rec.quoref"
>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.quoref"
maxlength=
"16"
></c-input>
<c-form-item
:label=
"$t('fxtp.询价编号')"
prop=
"
fxdgrp.rec.quoref"
>
<c-input
v-model=
"model.fxdgrp.rec.quoref"
maxlength=
"16"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000063 : 资金部编号 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fxtp.资金部编号')"
prop=
"fxtp.
fxdgrp.rec.fudref"
>
<c-input
v-model=
"model.fxtp.fxdgrp.rec.fudref"
maxlength=
"16"
></c-input>
<c-form-item
:label=
"$t('fxtp.资金部编号')"
prop=
"
fxdgrp.rec.fudref"
>
<c-input
v-model=
"model.fxdgrp.rec.fudref"
maxlength=
"16"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000065 : 起息日 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.起息日')"
prop=
"fxtp.fxdgrp.rec.valdat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxtp.fxdgrp.rec.valdat"
style=
"width:100%"
></c-date-picker>
<el-form-item
:label=
"$t('fxtp.起息日')"
prop=
"fxdgrp.rec.valdat"
>
<c-date-picker
type=
"date"
v-model=
"model.fxdgrp.rec.valdat"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000074 : 择期交割截止日 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.择期交割截止日')"
prop=
"fxtp.fxdgrp.rec.setdatto"
>
<c-date-picker
type=
"date"
v-model=
"model.fxtp.fxdgrp.rec.setdatto"
style=
"width:100%"
></c-date-picker>
<el-form-item
:label=
"$t('fxtp.择期交割截止日')"
prop=
"fxdgrp.rec.setdatto"
>
<c-date-picker
type=
"date"
v-model=
"model.fxdgrp.rec.setdatto"
disabled
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fxtp.本币结算账号')"
prop=
"fxtp.
fxdgrp.rec.dsp2"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.dsp2"
:code=
"codes.fxt_dsp2"
style=
"width:100%
"
>
<el-form-item
:label=
"$t('fxtp.本币结算账号')"
prop=
"
fxdgrp.rec.dsp2"
>
<c-select
v-model=
"model.fxdgrp.rec.dsp2"
:code=
"codes.fxt_dsp2"
style=
"width:100%"
@
change=
"defaultAccountsN1000
"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"5px"
prop=
"fxtp.fxdgrp.rec.acc2"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.acc2"
style=
"width:100%"
>
<el-form-item
label-width=
"5px"
prop=
"fxdgrp.rec.acc2"
>
<c-select
v-model=
"model.fxdgrp.rec.acc2"
style=
"width:100%"
>
<el-option
v-for=
"(item, idx) in accLst2"
:key=
"idx"
:label=
"item"
:value=
"item"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- S0000076 : 结售汇类型 -->
<!-- S0000076 : 结售汇类型 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fxtp.Exchange Title')"
prop=
"fxtp.
fxdgrp.rec.trdint"
>
<c-select
v-model=
"model.fxtp.fxdgrp.rec.trdint"
style=
"width:100%
"
>
<el-form-item
:label=
"$t('fxtp.结售汇类型')"
prop=
"
fxdgrp.rec.trdint"
>
<c-select
v-model=
"model.fxdgrp.rec.trdint"
style=
"width:100%"
dbCode=
"TRAINT
"
>
</c-select>
</el-form-item>
<el-form-item
prop=
"fxtp.
fxdgrp.rec.trdout"
style=
"display:none"
>
<c-select
v-model=
"model.fxtp
.fxdgrp.rec.trdout"
style=
"width:100%"
>
<el-form-item
prop=
"
fxdgrp.rec.trdout"
style=
"display:none"
>
<c-select
v-model=
"model
.fxdgrp.rec.trdout"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -232,22 +253,54 @@
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
Event
from
"../event"
import
Event
from
"../event"
export
default
{
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
],
mixins
:
[
Event
],
data
()
{
return
{
accLst
:
[],
accLst2
:
[],
}
},
methods
:
{
...
Event
},
computed
:
{
getOwnrefFlg
:
function
()
{
return
this
.
model
.
fxdgrp
.
rec
.
fxtyp
==
''
||
this
.
model
.
fxdgrp
.
rec
.
ownref
!=
''
;
},
defaultNam950
:
function
()
{
debugger
;
let
amount
=
this
.
moneyFormat
(
this
.
model
.
fxdgrp
.
cbs
.
max
.
amt
,
this
.
model
.
fxdgrp
.
cbs
.
max
.
cur
)
return
this
.
getCodelabel
(
this
.
model
.
fxdgrp
.
rec
.
fxtyp
,
"fxt_fxtyp"
)
+
","
+
this
.
model
.
fxdgrp
.
cbs
.
max
.
cur
+
" "
+
amount
;
},
},
methods
:
{
//获取码值
getCodelabel
(
value
,
codenam
)
{
const
codeobj
=
this
.
codes
[
codenam
].
find
(
obj
=>
obj
.
value
===
value
)
return
codeobj
?
codeobj
.
label
:
value
;
},
},
created
:
function
()
{
},
watch
:
{
//申请人变得 本外币下拉框需变化
'model.fxdgrp.apl.pts.ptyinr'
:
{
handler
(
newValue
)
{
if
(
newValue
==
""
||
newValue
==
null
)
{
this
.
model
.
fxdgrp
.
rec
.
acc
=
""
;
this
.
model
.
fxdgrp
.
rec
.
acc2
=
""
;
this
.
model
.
accLst
=
[];
this
.
model
.
accLst2
=
[];
return
}
this
.
defaultAccountsN1000
();
},
},
}
}
}
</
script
>
<
style
></
style
>
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