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
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
306 additions
and
338 deletions
+306
-338
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
+173
-117
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
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<!-- ======================左边====================== -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<!-- ======================左边====================== -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfcn.资金调拨业务参考号')"
prop=
"ftdgrp.rec.ownref"
>
<c-input
v-model=
"model.ftdgrp.rec.ownref"
maxlength=
"16"
:placeholder=
"$t('other.请输入') + $t('fttfcn.S0000002')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfcn.资金部负责人')"
prop=
"fttp.usr.extkey"
>
<c-input
v-model=
"model.fttp.usr.extkey"
maxlength=
"8"
:placeholder=
"$t('other.请输入') + $t('fttfcn.资金部负责人')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('fttfcn.定存拆借类型')"
prop=
"ftdgrp.rec.fttyp"
>
<c-select
v-model=
"model.ftdgrp.rec.fttyp"
:code=
"codes.ffttyp"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfcn.定存拆借类型')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfcn.定存拆借金额币种')"
prop=
"ftdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.ftdgrp.cbs.max.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfcn.定存拆借金额币种')"
>
</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('fttfcn.定存拆借金额')"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfcn.待销账金额币种')"
prop=
"ftdgrp.cbs.opn2.cur"
>
<c-select
v-model=
"model.ftdgrp.cbs.opn2.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfcn.待销账金额币种')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"ftdgrp.cbs.opn2.amt"
>
<c-input
v-model=
"model.ftdgrp.cbs.opn2.amt"
:placeholder=
"$t('other.请输入') + '待销账金额币种'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('fttfcn.实际消费金币种')"
prop=
"setmod.doccur"
>
<c-select
v-model=
"model.setmod.doccur"
:code=
"codes.curtxt1"
style=
"width:100%"
:placeholder=
"$t('other.请输入') + $t('fttfcn.实际消费金币种')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"canamt"
>
<c-input
v-model=
"model.canamt"
:placeholder=
"$t('other.请输入') + '实际消费金额'"
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('fttfcn.名称')"
prop=
"ftdgrp.rec.nam"
>
<c-input
v-model=
"model.ftdgrp.rec.nam"
maxlength=
"40"
:placeholder=
"$t('other.请输入') + $t('fttfcn.S0000003')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"false"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"false"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:requiredExtkey=
"true"
:disabled=
"false"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"
{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
</c-col>
<c-form-item
label=
"业务编号"
prop=
"ftdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.ftdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入业务编号"
disabled
>
</c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 5px"
size=
"small"
type=
"primary"
disabled
>
获取
</c-button>
</
template
>
</c-fullbox>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"资金部负责人"
prop=
"ftdgrp.rec.ownusr"
>
<c-fullbox>
<c-input
disabled
v-model=
"model.ftdgrp.rec.ownusr"
placeholder=
"请输入业务负责人"
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin: 0 5px"
size=
"small"
type=
"primary"
>
i
</c-button>
</
template
>
</c-fullbox>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"定存拆借类型"
prop=
"ftdgrp.rec.fttyp"
>
<c-select
disabled
v-model=
"model.ftdgrp.rec.fttyp"
:code=
"codes.fttyp"
:filterKey=
"['LO','LI','DO','DI']"
style=
"width:100%"
placeholder=
"请输入定存拆借类型"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000009 : 定存拆借金额 -->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"定存拆借金额"
prop=
"ftdgrp.cbs.max.cur"
>
<c-select
disabled
v-model=
"model.ftdgrp.cbs.max.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
placeholder=
"请输入定存拆借金额币种"
>
</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-currency
disabled
:currency=
"model.ftdgrp.cbs.max.cur"
v-model=
"model.ftdgrp.cbs.max.amt"
placeholder=
"请输入定存拆借金额"
>
</c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"待销账金额"
prop=
"ftdgrp.cbs.opn2.cur"
>
<c-select
disabled
v-model=
"model.ftdgrp.cbs.opn2.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
placeholder=
""
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"ftdgrp.cbs.opn2.amt"
>
<c-input-currency
disabled
:currency=
"model.ftdgrp.cbs.opn2.cur"
v-model=
"model.ftdgrp.cbs.opn2.amt"
placeholder=
""
>
</c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"实际销账金额"
prop=
"ftdgrp.cbs.opn2.cur"
>
<c-select
disabled
v-model=
"model.ftdgrp.cbs.opn2.cur"
:code=
"codes.curtxt1"
style=
"width:100%"
placeholder=
""
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
class=
"pl8"
>
<c-form-item
label-width=
"0"
prop=
"canamt"
>
<c-input-currency
:currency=
"model.ftdgrp.cbs.opn2.cur"
v-model=
"model.canamt"
placeholder=
""
>
</c-input-currency>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<c-col
:span=
"24"
>
<c-form-item
label=
"业务摘要"
prop=
"ftdgrp.rec.nam"
>
<c-input
disabled
v-model=
"model.ftdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入名称"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:disabled=
"true"
:requiredExtkey=
"model.ftdgrp.rec.fttyp =='LI'||model.ftdgrp.rec.fttyp =='DI'"
:disabledExtkey=
"true"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }"
ptytyp=
"B"
>
</c-ptap>
</el-card
>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:disabled=
"true"
:requiredExtkey=
"model.ftdgrp.rec.fttyp =='LO'||model.ftdgrp.rec.fttyp =='DO'"
:disabledExtkey=
"true"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }"
ptytyp=
"B"
>
</c-ptap>
</el-card>
</c-col>
<c-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<c-ptap
:model=
"model"
:disabled=
"true"
:disabledExtkey=
"true"
:isAdrblk=
"true"
:haveAdrLabel=
"true"
:isShowCard=
"false"
:argadr=
"{ title: '资金拆出我方账户行', grp: 'ftdgrp', rol: 'act' }"
ptytyp=
"B"
>
</c-ptap>
</el-card>
</c-col>
</div>
</c-col>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
Event
from
"../event"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Event
from
"../event"
;
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[],
data
()
{
return
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
Event
,
commonProcess
],
data
()
{
return
{
}
},
computed
:
{
},
methods
:
{
//获取码值
getCodelabel
(
value
,
codenam
)
{
const
codeobj
=
this
.
codes
[
codenam
].
find
(
obj
=>
obj
.
value
===
value
)
return
codeobj
?
codeobj
.
label
:
value
;
},
}
},
methods
:
{
...
Event
},
created
:
function
()
{
created
:
function
()
{
}
},
watch
:
{
}
}
</
script
>
<
style
></
style
>
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