Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
36d8557d
Commit
36d8557d
authored
Oct 19, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复trtset缺陷
parent
e700d219
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
199 additions
and
358 deletions
+199
-358
Infsea.vue
src/business/inftrd/views/Infsea.vue
+0
-1
buildCommons.js
src/business/trtset/event/buildCommons.js
+13
-13
index.js
src/business/trtset/event/index.js
+0
-0
check.js
src/business/trtset/model/check.js
+0
-0
index.js
src/business/trtset/model/index.js
+107
-106
Addbcb.vue
src/business/trtset/views/Addbcb.vue
+36
-41
Limitbody.vue
src/business/trtset/views/Limitbody.vue
+3
-77
Limitbody2.vue
src/business/trtset/views/Limitbody2.vue
+0
-18
Ovwp.vue
src/business/trtset/views/Ovwp.vue
+4
-10
Ovwp1.vue
src/business/trtset/views/Ovwp1.vue
+3
-40
Shisuan.vue
src/business/trtset/views/Shisuan.vue
+0
-0
index.vue
src/business/trtset/views/index.vue
+33
-52
No files found.
src/business/inftrd/views/Infsea.vue
View file @
36d8557d
...
...
@@ -584,7 +584,6 @@ export default {
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
,
closedDate
)
{
this
.
ownref
=
ownref
;
this
.
TrtselModel
.
clsflg
=
(
closedDate
??
""
).
trim
()
===
""
?
""
:
"C"
;
...
...
src/business/trtset/event/buildCommons.js
View file @
36d8557d
...
...
@@ -33,13 +33,13 @@ export default {
branchInr
:
model
.
trdgrp
.
rec
.
branchinr
,
},
cbsMap
:
{
MAX
:
model
.
b
rdgrp
.
cbs
.
max
,
OPN1
:
model
.
b
rdgrp
.
cbs
.
opn1
,
// OPN2: model.
b
rdgrp.cbs.opn2,
// MAC: model.
b
rdgrp.cbs.mac,
// MAC2: model.
b
rdgrp.cbs.mac2,
// OPC2: model.
b
rdgrp.cbs.opc2,
// CNF: model.
b
rdgrp.cbs.cnf,
MAX
:
model
.
t
rdgrp
.
cbs
.
max
,
OPN1
:
model
.
t
rdgrp
.
cbs
.
opn1
,
// OPN2: model.
t
rdgrp.cbs.opn2,
// MAC: model.
t
rdgrp.cbs.mac,
// MAC2: model.
t
rdgrp.cbs.mac2,
// OPC2: model.
t
rdgrp.cbs.opc2,
// CNF: model.
t
rdgrp.cbs.cnf,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -102,9 +102,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
li
d'
,
objinr
:
model
.
b
rdgrp
.
rec
.
objinr
,
ownref
:
model
.
b
rdgrp
.
rec
.
ownref
,
objtyp
:
'
tr
d'
,
objinr
:
model
.
t
rdgrp
.
rec
.
objinr
,
ownref
:
model
.
t
rdgrp
.
rec
.
ownref
,
},
};
return
params
...
...
@@ -113,9 +113,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
li
d'
,
objinr
:
model
.
b
rdgrp
.
rec
.
objinr
,
ownref
:
model
.
b
rdgrp
.
rec
.
ownref
,
objtyp
:
'
tr
d'
,
objinr
:
model
.
t
rdgrp
.
rec
.
objinr
,
ownref
:
model
.
t
rdgrp
.
rec
.
ownref
,
swiftflg
:
model
.
brtp
.
swiftflg
,
},
};
...
...
src/business/trtset/event/index.js
View file @
36d8557d
This diff is collapsed.
Click to expand it.
src/business/trtset/model/check.js
View file @
36d8557d
This diff is collapsed.
Click to expand it.
src/business/trtset/model/index.js
View file @
36d8557d
...
...
@@ -2,112 +2,112 @@ import Pts from '~/components/business/commonModel/Pts';
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Trtset
{
constructor
()
{
export
default
class
Trtset
{
constructor
()
{
this
.
data
=
{
trdgrp
:
{
rec
:
{
inr
:
""
,
pntref
:
""
,
// 父交易参考号 .trdgrp.rec.pntref
pntnam
:
""
,
// Name .trdgrp.rec.pntnam
ownref
:
""
,
// 参考号 .trdgrp.rec.ownref
nam
:
""
,
// Name .trdgrp.rec.nam
pctfin
:
""
,
// 融资比例 .trdgrp.rec.pctfin
stttendat
:
""
,
// 起息日期 .trdgrp.rec.stttendat
matdat
:
""
,
// Maturity Date .trdgrp.rec.matdat
fintyp
:
""
,
// 融资品种 .trdgrp.rec.fintyp
finact
:
""
,
// 融资账号 .trdgrp.rec.finact
ovdflg
:
""
,
// Overdue Flag .trdgrp.rec.ovdflg
actrat
:
""
,
// 执行利率 .trdgrp.rec.actrat
branchinr
:
""
,
},
cbs
:
{
max
:
{
cur
:
""
,
// 融资金额 .trdgrp.cbs.max.cur
amt
:
""
,
// 融资金额 .trdgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// 余额 .trdgrp.cbs.opn1.cur
amt
:
""
,
// Balance .trdgrp.cbs.opn1.amt
},
},
fip
:
{
pts
:
new
Pts
().
data
,
},
},
trtp0
:
{
bcdget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.bcdget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
},
},
ledget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.ledget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
},
},
brdget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.brdget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
},
},
bedget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.bedget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
},
},
recget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.recget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.recget.sdamod.dadsnd
},
},
},
trtmod
:
{
finmod
:
{
setlab
:
""
,
// Settlement Label .trtmod.finmod.setlab
fincod
:
""
,
// 借据号 .trtmod.finmod.fincod
reptyp
:
""
,
// 还款方式 .trtmod.finmod.reptyp
cbs
:
{
cbb
:
{
intamt1
:
""
,
// 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1
intamty1
:
""
,
// 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1
intamt2
:
""
,
// 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2
intamty2
:
""
,
// 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2
intamt
:
""
,
// 利息 .trtmod.finmod.cbs.cbb.intamt
amt
:
""
,
// 本金 .trtmod.finmod.cbs.cbb.amt
},
cbe
:
{
intamt1
:
""
,
// 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1
intamty1
:
""
,
// 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1
intamt2
:
""
,
// 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2
intamty2
:
""
,
// 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2
intamt
:
""
,
// 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt
amt
:
""
,
// 偿还本金 .trtmod.finmod.cbs.cbe.amt
},
totint
:
""
,
// 偿还利息总额 .trtmod.finmod.cbs.totint
},
acttyp
:
""
,
// 第三方还款方式 .trtmod.finmod.acttyp
act3
:
""
,
// 第三方还款账号 .trtmod.finmod.act3
intprd
:
""
,
// 计息周期 .trtmod.finmod.intprd
},
},
setamt
:
""
,
// Settlement Amount .setamt
setact
:
""
,
// Settlement Account .setact
clsflg
:
""
,
// 抹�'� .clsflg
setact1
:
""
,
// 我行借记�'�户 .setact1
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
pageId
:
""
,
// ctx的key
trtfipl1blk
:
""
,
}
trdgrp
:
{
rec
:
{
inr
:
""
,
pntref
:
""
,
// 父交易参考号 .trdgrp.rec.pntref
pntnam
:
""
,
// Name .trdgrp.rec.pntnam
ownref
:
""
,
// 参考号 .trdgrp.rec.ownref
nam
:
""
,
// Name .trdgrp.rec.nam
pctfin
:
""
,
// 融资比例 .trdgrp.rec.pctfin
stttendat
:
""
,
// 起息日期 .trdgrp.rec.stttendat
matdat
:
""
,
// Maturity Date .trdgrp.rec.matdat
fintyp
:
""
,
// 融资品种 .trdgrp.rec.fintyp
finact
:
""
,
// 融资账号 .trdgrp.rec.finact
ovdflg
:
""
,
// Overdue Flag .trdgrp.rec.ovdflg
actrat
:
""
,
// 执行利率 .trdgrp.rec.actrat
branchinr
:
""
,
},
cbs
:
{
max
:
{
cur
:
""
,
// 融资金额 .trdgrp.cbs.max.cur
amt
:
""
,
// 融资金额 .trdgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// 余额 .trdgrp.cbs.opn1.cur
amt
:
""
,
// Balance .trdgrp.cbs.opn1.amt
},
},
fip
:
{
pts
:
new
Pts
().
data
,
},
},
trtp0
:
{
bcdget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.bcdget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
},
},
ledget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.ledget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
},
},
brdget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.brdget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
},
},
bedget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.bedget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
},
},
recget
:
{
sdamod
:
{
seainf
:
""
,
// .trtp0.recget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .trtp0.recget.sdamod.dadsnd
},
},
},
trtmod
:
{
finmod
:
{
setlab
:
""
,
// Settlement Label .trtmod.finmod.setlab
fincod
:
""
,
// 借据号 .trtmod.finmod.fincod
reptyp
:
""
,
// 还款方式 .trtmod.finmod.reptyp
cbs
:
{
cbb
:
{
intamt1
:
""
,
// 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1
intamty1
:
""
,
// 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1
intamt2
:
""
,
// 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2
intamty2
:
""
,
// 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2
intamt
:
""
,
// 利息 .trtmod.finmod.cbs.cbb.intamt
amt
:
""
,
// 本金 .trtmod.finmod.cbs.cbb.amt
},
cbe
:
{
intamt1
:
""
,
// 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1
intamty1
:
""
,
// 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1
intamt2
:
""
,
// 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2
intamty2
:
""
,
// 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2
intamt
:
""
,
// 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt
amt
:
""
,
// 偿还本金 .trtmod.finmod.cbs.cbe.amt
},
totint
:
""
,
// 偿还利息总额 .trtmod.finmod.cbs.totint
},
acttyp
:
""
,
// 第三方还款方式 .trtmod.finmod.acttyp
act3
:
""
,
// 第三方还款账号 .trtmod.finmod.act3
intprd
:
""
,
// 计息周期 .trtmod.finmod.intprd
},
},
setamt
:
""
,
// Settlement Amount .setamt
setact
:
""
,
// Settlement Account .setact
clsflg
:
""
,
// 抹�'� .clsflg
setact1
:
""
,
// 我行借记�'�户 .setact1
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
pageId
:
""
,
// ctx的key
trtfipl1blk
:
""
,
}
}
}
\ No newline at end of file
src/business/trtset/views/Addbcb.vue
View file @
36d8557d
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Event
from
"~/model/Bptcan/Event"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{
...
Event
,
handleChange
(
val
)
{
console
.
log
(
val
);
},
},
created
:
function
()
{},
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
commonProcess
from
"~/mixin/commonProcess"
;
import
event
from
"../event"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
</
script
>
<
style
>
</
style
>
},
methods
:
{},
created
:
function
()
{
},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/business/trtset/views/Limitbody.vue
View file @
36d8557d
...
...
@@ -26,13 +26,11 @@
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSeainf"
/>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
@
click=
"onWrkpDet"
icon=
"el-icon-info"
>
...
...
@@ -87,7 +85,6 @@
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLimptsGet1"
:disabled =
"true"
>
</c-button>
...
...
@@ -137,13 +134,11 @@
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSeainf"
/>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
@
click=
"onOthpDet"
icon=
"el-icon-info"
>
...
...
@@ -197,7 +192,6 @@
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLimptsGet2"
>
</c-button>
</
template
>
...
...
@@ -262,7 +256,7 @@
</c-col>
<c-col
:span=
"24"
style=
"text-align: right"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLimmodTrycal"
>
<c-button
size=
"small"
type=
"primary"
>
试算
</c-button>
</c-col>
...
...
@@ -331,15 +325,13 @@
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
// import Event from "~/model/Ditopn/Event";
import
event
from
'../event'
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
tableData
:
{},
...
...
@@ -347,40 +339,6 @@ export default {
};
},
methods
:
{
onSeainf
()
{},
async
onPreperButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"preper_buttxmsel"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get1"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get2"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
nonrevflg1Change
()
{
if
(
this
.
model
.
liaall
.
limmod
.
limpts
.
nonrevflg1
==
"1"
)
{
this
.
model
.
liaall
.
limmod
.
limpts
.
pfcod1
=
""
;
...
...
@@ -391,39 +349,7 @@ export default {
this
.
model
.
liaall
.
limmod
.
limpts
.
pfcod2
=
""
;
}
},
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.limmod.wrkp.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.limmod.othp.det"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
,
});
}
},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.limmod.trycal"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
show
(){
let
len1
=
this
.
model
.
liaall
.
limmod
.
tygrd
[
"rows"
].
length
||
[];
let
len2
=
this
.
model
.
liaall
.
limmod
.
dggrd
[
"rows"
].
length
||
[];
...
...
src/business/trtset/views/Limitbody2.vue
View file @
36d8557d
<!-- <el-tab-pane label="统一授信" name="shisuan,limitbody">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="试算结果" name="shisuan">
试算结果
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="统一授信" name="limitbody">
统一授信
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane> -->
<
template
>
<div
class=
"eibs-tab"
>
<c-content>
...
...
@@ -32,7 +15,6 @@
</div>
</
template
>
<
script
>
// import Limitbody from '~/views/Public/Limitbody';
import
Shisuan
from
"./Shisuan"
;
import
Limitbody
from
"./Limitbody"
;
...
...
src/business/trtset/views/Ovwp.vue
View file @
36d8557d
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"还款"
name=
"ovwp1"
>
<m-ovwp1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
@@ -9,10 +8,8 @@
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Trtame/Event"
;
import
event
from
"../event"
;
import
Ovwp1
from
"./Ovwp1"
;
export
default
{
...
...
@@ -21,18 +18,15 @@ export default {
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
activeNames
:
[
"ovwp1"
],
};
},
methods
:
{
...
Event
,
},
methods
:
{},
created
:
function
()
{},
computed
:
{
},
computed
:
{},
};
</
script
>
<
style
>
...
...
src/business/trtset/views/Ovwp1.vue
View file @
36d8557d
...
...
@@ -568,57 +568,20 @@
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Trtset/Event"
;
import
event
from
"../event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
flag1
:
true
,
flag2
:
false
};
},
methods
:
{
...
Event
,
// checkDate(date) {
// var d = new Date().getDate();
// var m = new Date().getMonth();
// var y = new Date().getFullYear();
// var dd = new Date(this.model.trdgrp.rec.stttendat).getDate();
// var mm = new Date(this.model.trdgrp.rec.stttendat).getMonth();
// var yy = new Date(this.model.trdgrp.rec.stttendat).getFullYear();
// if (d != dd || m != mm || y != yy) {
// return true;
// } else {
// return false;
// }
// },
// change(a){
// this.executeRule("clsflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// if (a = 'X'){
// this.model.trtmod.finmod.reptyp = "1"
// if(this.flag1 == true){
// this.flag1 = false
// this.model.mtabut.clsflg = "C"
// }
// }
// },
// selChange(b){
// if(b == '2'||this.flag2 == false){
// this.model.mtabut.clsflg = 'O'
// this.flag1 = true
// }
// },
},
methods
:
{},
created
:
function
()
{},
};
</
script
>
...
...
src/business/trtset/views/Shisuan.vue
View file @
36d8557d
This diff is collapsed.
Click to expand it.
src/business/trtset/views/index.vue
View file @
36d8557d
...
...
@@ -2,31 +2,31 @@
<div
class=
"eContainer"
>
<c-page
title=
"进口融资还款"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
t
abClick"
>
<!--trtset PD000015 Settle -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody,shisuan"
>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
>
<el-collapse>
<el-collapse-item
title=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"试算结果"
name=
"shisuan"
>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
...
...
@@ -36,41 +36,42 @@
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glentry"
>
<c-content>
<!-- 会计分录 -->
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
'm-glentry': Glentry,
<!-- 会计分录 -->
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!-- 'm-glentry': Glentry,-->
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
...
...
@@ -79,14 +80,14 @@
<m-shisuan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
-->
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<!--
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
...
...
@@ -100,7 +101,6 @@
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Trtset
from
"../model"
;
...
...
@@ -110,6 +110,7 @@ import operationFunc from "~/mixin/operationFunc";
import
Ovwp
from
"./Ovwp"
;
import
Shisuan
from
"./Shisuan"
;
import
Addbcb
from
"./Addbcb"
;
import
formRules
from
'../model/check'
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
Engp
from
"~/components/business/engp/views"
;
...
...
@@ -138,40 +139,20 @@ export default {
root
:
this
,
};
},
mixins
:
[
event
,
operationFunc
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
operationFunc
,
event
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"trtset"
,
model
:
new
Trtset
().
data
,
rules
:
null
,
codes
:
{
...
CodeTable
},
rules
:
formRules
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"engp"
],
// activeNames1: ["limitbody"],
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
},
created
:
async
function
()
{
// console.log("进入trtset交易");
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// //TODO 处理数据逻辑
// if (this.isInDisplay) {
// this.restoreDisplay();
// }
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
mounted
()
{
methods
:
{},
created
:
{},
mounted
()
{
this
.
init
()
},
};
...
...
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