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
d124653b
Commit
d124653b
authored
Sep 13, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bctset修改
parent
bf6e6d8a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
139 additions
and
32 deletions
+139
-32
debug.log
debug.log
+3
-1
index.js
src/config/CodeTable/index.js
+2
-2
index.js
src/model/Bctdav/index.js
+6
-0
index.js
src/model/Bctrad/index.js
+3
-0
index.js
src/model/Bctset/index.js
+2
-0
index.vue
src/views/Business/Bctrad/index.vue
+4
-6
Bctsus.vue
src/views/Business/Bctset/Bctsus.vue
+68
-13
Dftcrep.vue
src/views/Business/Bctset/Dftcrep.vue
+49
-10
index.vue
src/views/Business/Bctset/index.vue
+2
-0
No files found.
debug.log
View file @
d124653b
[0906/090726.874:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[0908/094200.007:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[0908/141403.897:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
[0909/090947.311:ERROR:exit_code_watcher_win.cc(87)] Failed to wait for process exit or stop event
src/config/CodeTable/index.js
View file @
d124653b
...
...
@@ -3407,7 +3407,7 @@ const CodeTable = {
{
label
:
"浮动点"
,
value
:
"1"
},
{
label
:
"不浮动"
,
value
:
"0"
},
{
label
:
"浮动比率"
,
value
:
"2"
},
{
lab
le
:
"按协议"
,
value
:
"3"
},
{
lab
el
:
"按协议"
,
value
:
"3"
},
],
fmt
:
[
{
label
:
"HTML"
,
value
:
"HTM"
},
...
...
@@ -5043,7 +5043,7 @@ const CodeTable = {
rebkpflg2
:
[
{
label
:
"Reverse Booking (Claim)"
,
value
:
"N"
},
{
label
:
"Reverse Booking (Claim, Guarantee)"
,
value
:
"B"
},
//
{ label: "Contract already settled" ,value: "A"}
{
label
:
"Contract already settled"
,
value
:
"A"
}
],
refper
:
[
{
label
:
"Same Week"
,
value
:
"W="
},
...
...
src/model/Bctdav/index.js
View file @
d124653b
...
...
@@ -4,6 +4,12 @@ import Pub from "../Public"
export
default
class
Bctdav
{
constructor
()
{
this
.
data
=
{
bctdrrl1blk
:
""
,
bctdrel1blk
:
""
,
bctdrel2blk
:
""
,
bctrogl1blk
:
""
,
bctrogl2blk
:
""
,
cnybop
:{
cnyflg
:
""
,
traflg
:
""
,
...
...
src/model/Bctrad/index.js
View file @
d124653b
...
...
@@ -4,6 +4,9 @@ import Pub from "../Public"
export
default
class
Bctrad
{
constructor
()
{
this
.
data
=
{
bctdrrl1blk
:
""
,
bctdrel1blk
:
""
,
bctdrel2blk
:
""
,
bcdgrp
:{
rec
:{
ownref
:
""
,
// Collection Number .bcdgrp.rec.ownref
...
...
src/model/Bctset/index.js
View file @
d124653b
...
...
@@ -4,6 +4,8 @@ import Pub from "../Public"
export
default
class
Bctset
{
constructor
()
{
this
.
data
=
{
bctdrel1blk
:
""
,
bctdrrl1blk
:
""
,
recgrp
:{
bas
:{
txccy
:
""
,
...
...
src/views/Business/Bctrad/index.vue
View file @
d124653b
...
...
@@ -6,7 +6,7 @@
</c-function-btn>
<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=
"
t
abClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
>
<!--Additional Docs -->
<el-tab-pane
label=
"Additional Docs"
name=
"bctret"
>
...
...
@@ -114,11 +114,9 @@
}
},
methods
:
{
tabClick
(
tab
)
{
if
(
this
.
isInDisplay
)
{
return
}
const
name
=
tab
.
name
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
let
name
=
tab
.
name
;
let
rulePath
;
if
(
name
===
"setpan"
)
{
rulePath
=
"setmod.setpan"
;
...
...
src/views/Business/Bctset/Bctsus.vue
View file @
d124653b
...
...
@@ -227,7 +227,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
class=
"bctdav_bctp_bctovw_cheak"
>
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
@
change=
"f
ocflgChange
"
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
@
change=
"f
repayflgDefault
"
>
Free of Payment
</c-checkbox
>
</c-col>
...
...
@@ -265,7 +265,7 @@
</c-col>
<c-col
:span=
"24"
class=
"bctdav_bctp_bctovw_cheak"
>
<c-checkbox
true-label=
"C"
v-model=
"model.mtabut.clsflg"
@
change=
"clsflg
Change
"
<c-checkbox
true-label=
"C"
v-model=
"model.mtabut.clsflg"
@
change=
"clsflg
OtherDefault
"
>
Close Contract
</c-checkbox
>
</c-col>
...
...
@@ -280,6 +280,7 @@
<c-select
v-model=
"model.trnmod.cmtflg"
style=
"width: 100%"
:disabled=
"model.bcdgrp.rec.focflg=='X'"
placeholder=
""
>
<el-option
...
...
@@ -418,15 +419,62 @@ export default {
mounted
()
{
this
.
$nextTick
(()
=>
{});
},
computed
:
{
crefinflg
:
{
get
()
{
if
(
this
.
model
.
bddgrp
.
rec
.
frepayflg
==
'X'
)
{
return
false
;
}
else
{
return
this
.
model
.
trtcre
.
crefinflg
!=
''
}
},
set
(
val
)
{
this
.
model
.
trtcre
.
crefinflg
=
val
?
"X"
:
""
}
},
clsflg
:
{
get
()
{
return
this
.
model
.
mtabut
.
clsflg
==
'C'
;
},
set
(
val
)
{
this
.
model
.
mtabut
.
clsflg
=
val
?
"C"
:
"O"
}
},
frepayflg
:
{
get
()
{
return
this
.
model
.
bddgrp
.
rec
.
frepayflg
!=
''
},
set
(
val
)
{
if
(
this
.
model
.
bddgrp
.
rec
.
frepayflg
==
'X'
)
{
this
.
model
.
trtcre
.
crefinflg
=
''
this
.
model
.
trnmod
.
cmtflg
=
"O"
}
this
.
model
.
bddgrp
.
rec
.
frepayflg
=
val
?
"X"
:
""
}
},
dfflag
:
{
get
()
{
return
this
.
model
.
dftcre
.
dfflag
!=
''
},
set
(
val
)
{
this
.
model
.
dftcre
.
dfflag
=
val
?
"X"
:
""
}
},
},
methods
:
{
...
Event
,
f
ocflgChange
(){
this
.
executeCheck
(
'bcdgrp.rec.focflg'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
f
repayflgDefault
(){
this
.
executeDefault
(
"trnmod.cmtflg"
).
then
((
res
)
=>
{
if
(
(
res
.
respCode
==
SUCCESS
)
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
;
}
})
})
;
},
async
crefinflgChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trtcre.crefinflg"
);
...
...
@@ -434,12 +482,19 @@ export default {
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
async
dfflagChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dftcre.dfflag"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
clsflgOtherDefault
(){
this
.
executeDefault
(
"mtabut.clsflg"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
// async dfflagChange() {
// let rtnmsg = await this.executeRule("dftcre.dfflag");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
async
multipleSelect
(
selection
)
{
console
.
log
(
selection
);
if
(
selection
.
length
>
1
)
{
...
...
src/views/Business/Bctset/Dftcrep.vue
View file @
d124653b
...
...
@@ -144,7 +144,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"发票类型"
prop=
"dftcre.dfdgrp.rec.invtyp"
>
<el-form-item
label=
"发票类型"
prop=
"dftcre.dfdgrp.rec.invtyp"
label-width=
"110px"
>
<c-select
v-model=
"model.dftcre.dfdgrp.rec.invtyp"
style=
"width: 100%"
...
...
@@ -238,17 +238,26 @@
v-model=
"model.dftcre.dfdgrp.rec.flttyp"
style=
"width: 100%"
placeholder=
"请选择利率浮动方式:"
:code=
"codes.flttyp1"
>
<el-option
v-for=
"item in flttyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
<!--
<c-input
v-model=
"model.dftcre.dfdgrp.rec.flttyp"
></c-input>
-->
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"浮动值"
prop=
"dftcre.dfdgrp.rec.fltval"
>
<c-col
:span=
"12"
style=
"text-align: right"
>
<el-form-item
label=
"浮动值"
prop=
"dftcre.dfdgrp.rec.fltval"
label-width=
"110px"
>
<c-input
:disabled=
"model.dftcre.dfdgrp.rec.flttyp=='0'||model.dftcre.dfdgrp.rec.flttyp=='3'"
v-model=
"model.dftcre.dfdgrp.rec.fltval"
placeholder=
"请输入浮动值"
style=
"width: 90%"
></c-input>
<span
style=
"width: 10%"
v-if=
"model.dftcre.dfdgrp.rec.flttyp=='2'"
>
%
</span>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -288,8 +297,8 @@
</c-col>
-->
<c-col
:span=
"24"
>
<
c-col
:span=
"13"
>
<el-form-item
label=
"代付利息:"
prop=
"dftcre.dfdgrp.rec.rescur"
>
<
!--
<c-col
:span=
"13"
>
--
>
<
!--
<
el-form-item
label=
"代付利息:"
prop=
"dftcre.dfdgrp.rec.rescur"
>
<c-select
v-model=
"model.dftcre.dfdgrp.rec.rescur"
style=
"width: 100%"
...
...
@@ -298,12 +307,12 @@
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"
11
"
>
</c-col>
-->
<c-col
:span=
"
24
"
>
<el-form-item
label=
""
label=
"
代付利息
"
prop=
"dftcre.dfdgrp.rec.resamt"
label-width=
"5px"
>
<c-input
v-model=
"model.dftcre.dfdgrp.rec.resamt"
...
...
@@ -422,6 +431,10 @@
v-model=
"model.dftcre.dfdgrp.dff.pts.ref"
maxlength=
"16"
placeholder=
"请输入代付行"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('dftcre.dfdgrp.dff.pts.ref')
"
>
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -626,9 +639,35 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
flttyp
:
[
{
label
:
"浮动点"
,
value
:
"1"
},
{
label
:
"不浮动"
,
value
:
"0"
},
{
label
:
"浮动比率"
,
value
:
"2"
},
{
label
:
"按协议"
,
value
:
"3"
},
],
};
},
watch
:
{
"dftcre.dfdgrp.rec.invtyp"
:
{
immediate
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
dftcre
.
dfdgrp
.
rec
.
invtyp
==
""
)
{
this
.
model
.
dftcre
.
dfdgrp
.
rec
.
invtyp
=
"1"
}
}
},
// "dftcre.dftcrep": {
// immediate:true,
// handler(val,oldval){
// if(this.model.trtcre.crefinflg=="") {
// this.model.dftcre.dfdgrp.rec.fintyp="A"
// }else if(this.model.trtcre.crefinflg=="X") {
// this.model.dftcre.dfdgrp.rec.fintyp="B"
// }
// }
// },
},
methods
:
{
...
Event
},
// created:function(){
// this.executeRule("trdgrp.rec.actrat").then((res) => {
...
...
src/views/Business/Bctset/index.vue
View file @
d124653b
...
...
@@ -56,7 +56,9 @@
<!--PD000000 -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Bookings"
name=
"glepan"
>
...
...
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