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
0ff18868
Commit
0ff18868
authored
Dec 23, 2022
by
liaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bptopn功能测试 解决缺陷
parent
81c1be34
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
81 additions
and
24 deletions
+81
-24
Event.js
src/model/Bptset/Event.js
+7
-6
Shisuan.vue
src/views/Business/Bptcan/Shisuan.vue
+1
-1
index.vue
src/views/Business/Bptcan/index.vue
+6
-5
Bptopnp.vue
src/views/Business/Bptopn/Bptopnp.vue
+5
-3
Bptset2.vue
src/views/Business/Bptset/Bptset2.vue
+62
-9
No files found.
src/model/Bptset/Event.js
View file @
0ff18868
...
...
@@ -15,9 +15,10 @@ export default {
}
},
async
onFinmodCal
(){
let
rtnmsg
=
await
this
.
executeRule
(
"finmod.cal"
)
let
rtnmsg
=
await
this
.
executeRule
(
"
bptmod.
finmod.cal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
...
...
@@ -50,7 +51,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
Inv
pDet
(){
async
on
Bu3
pDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"invp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -74,7 +75,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onB
ptcodSelbut1
(){
async
onB
u3pDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"bptcod.selbut1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -86,7 +87,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
LiaallButmisam
t
(){
async
on
Bu3pDe
t
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -98,7 +99,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
LiaallButmissig
(){
async
on
Bu3pDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -110,7 +111,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
LiaccvAdd
(){
async
on
Bu3pDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaccv.add"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
src/views/Business/Bptcan/Shisuan.vue
View file @
0ff18868
...
...
@@ -264,7 +264,7 @@
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/B
dtset
/Event"
import
Event
from
"~/model/B
ptcan
/Event"
export
default
{
inject
:
[
'root'
],
...
...
src/views/Business/Bptcan/index.vue
View file @
0ff18868
...
...
@@ -11,7 +11,7 @@
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
t
abClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
>
<!--PD000016 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
...
...
@@ -34,7 +34,7 @@
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
-->
<el-collapse-item
title=
"结算"
name=
"setpan"
>
<!-- 结算 -费用及账务
-->
<!-- 结算
-->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"会计分录"
name=
"glepan"
>
...
...
@@ -155,7 +155,6 @@ export default {
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
activeNames
:
[
"setpan"
],
tabVal
:
"ovwp"
,
trnName
:
"bptcan"
,
model
:
new
Bptcan
().
data
,
...
...
@@ -165,11 +164,13 @@ export default {
rules
:
null
,
codes
:
{
...
CodeTable
,
}
},
activeNames
:
[
"setpan"
],
}
},
methods
:{
tabClick
(){
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
}
},
created
:
async
function
()
{
...
...
src/views/Business/Bptopn/Bptopnp.vue
View file @
0ff18868
...
...
@@ -78,7 +78,7 @@
placeholder=
""
disabled
></c-input>
<
template
slot=
"footer"
>
</
template
>
<
!-- <template slot="footer"> </template> --
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -325,6 +325,7 @@
v-model=
"model.bpdgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择融资币种"
@
keyup
.
enter
.
native=
"maxCurEvent"
>
<el-option
v-for=
"item in codes.curtxt1"
...
...
@@ -338,7 +339,7 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"
融资金额"
prop=
"bpdgrp.cbs.max.amt
"
>
<el-form-item
label=
"
"
prop=
"bpdgrp.cbs.max.amt"
label-width=
"5px
"
>
<c-input
v-model=
"model.bpdgrp.cbs.max.amt"
placeholder=
"请输入融资金额"
...
...
@@ -854,7 +855,7 @@
:disabled=
"model.bptmod.finmod.ovdinttyp!='1'"
v-model=
"model.bptmod.finmod.ovdintrat"
placeholder=
"请输入罚息比率"
></c-input>
>
%
</c-input>
</el-form-item>
</c-col>
</c-row>
...
...
@@ -993,6 +994,7 @@ export default {
zmqflg
:
null
,
};
},
watch
:
{},
methods
:
{
...
Event
,
onSeainf
(
data
)
{
...
...
src/views/Business/Bptset/Bptset2.vue
View file @
0ff18868
...
...
@@ -214,8 +214,19 @@
</c-col>
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
maxlength=
"17"
disabled
>
抹账
</c-checkbox>
</c-col>
<c-checkbox
v-model=
"model.clsflg"
:disabled=
"checkDate(model.bpdgrp.rec.opndat)"
@
change=
"change(model.clsflg)"
>
抹账
</c-checkbox>
</c-col>
<!-- <c-col :span="4">
<c-checkbox
v-model="model.clsflg"
:disabled="checkDate(model.trdgrp.rec.stttendat)"
@change="change(model.clsflg)"
>{{ $t("抹账") }}</c-checkbox
>
</c-col> -->
<c-col
:span=
"24"
>
...
...
@@ -417,11 +428,11 @@
</c-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-form-item
prop=
"bptmod.finmodcal"
label-width=
"5px"
>
<c-form-item
prop=
"bptmod.finmod
.
cal"
label-width=
"5px"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"on
Seainf
"
@
click=
"on
FinmodCal
"
>
计算
</c-button>
...
...
@@ -456,8 +467,10 @@
<el-form-item
label=
"还款方式"
prop=
"bptmod.finmod.reptyp"
>
<c-select
v-model=
"model.bptmod.finmod.reptyp"
:disabled=
"model.clsflg == 'X'"
style=
"width: 100%"
placeholder=
"还款方式"
@
change=
"selChange(model.bptmod.finmod.reptyp)"
placeholder=
"请选择还款方式"
>
<el-option
v-for=
"item in codes.reptyp"
...
...
@@ -566,7 +579,7 @@
<!-- SG000118 : 执行利率 -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"
19
"
>
<c-col
:span=
"
20
"
>
<c-form-item
label=
"执行利率"
prop=
"bpdgrp.rec.tolrat"
>
<c-input
v-model=
"model.bpdgrp.rec.tolrat"
...
...
@@ -575,8 +588,13 @@
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
maxlength=
"17"
disabled
>
已结算合约
</c-checkbox>
<c-col
:span=
"4"
>
<!-- <c-checkbox v-model="model.mtabut.clsflg" maxlength="17" disabled>闭卷</c-checkbox> -->
<c-checkbox
v-model=
"model.mtabut.clsflg"
true-label=
"C"
false-label=
"O"
:disabled=
"flag1"
>
{{
$t("闭卷")
}}
</c-checkbox>
</c-col>
</c-col>
<!-- </c-col> -->
...
...
@@ -614,13 +632,48 @@ export default {
codes
:
{
...
CodeTable
,
},
flag1
:
true
,
flag2
:
false
};
},
methods
:
{
// ...Event
...
Event
,
onSeainf
(
data
)
{
this
.
$emit
(
"onSeainf"
,
data
);
},
checkDate
(
date
)
{
var
d
=
new
Date
().
getDate
();
var
m
=
new
Date
().
getMonth
();
var
y
=
new
Date
().
getFullYear
();
var
dd
=
new
Date
(
this
.
model
.
bpdgrp
.
rec
.
opndat
).
getDate
();
var
mm
=
new
Date
(
this
.
model
.
bpdgrp
.
rec
.
opndat
).
getMonth
();
var
yy
=
new
Date
(
this
.
model
.
bpdgrp
.
rec
.
opndat
).
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
.
bptmod
.
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
}
},
},
created
()
{
// 初始化下拉框
...
...
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