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
zhouqian
vue-gjjs
Commits
3aee11cf
Commit
3aee11cf
authored
Sep 02, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bctrad修改
parent
88b78a15
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
6 deletions
+54
-6
Default.js
src/model/Bctrad/Default.js
+9
-0
Pattern.js
src/model/Bctrad/Pattern.js
+5
-0
Ovwp.vue
src/views/Business/Bctame/Ovwp.vue
+0
-1
index.vue
src/views/Business/Bctrad/index.vue
+30
-2
Bctsus.vue
src/views/Business/Bctset/Bctsus.vue
+10
-3
No files found.
src/model/Bctrad/Default.js
View file @
3aee11cf
...
...
@@ -34,19 +34,28 @@ export default {
"bcdgrp.dre.pts.adrblk"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.nam"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.adrblk"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"bcdgrp.co2.adrelc"
:
Utils
.
defaultFunction
,
"bcdgrp.co2.namelc"
:
Utils
.
defaultFunction
,
"bcdgrp.co2.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"bcdgrp.rmi.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"bcdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"bcdgrp.dre.pts.nam"
:
Utils
.
defaultFunction
,
"bcdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"bcdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"bcdgrp.co2.pts.adrblk"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.adrblk"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Bctrad/Pattern.js
View file @
3aee11cf
...
...
@@ -334,4 +334,8 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/views/Business/Bctame/Ovwp.vue
View file @
3aee11cf
...
...
@@ -262,7 +262,6 @@
<el-form-item
label=
"Maturity Text"
prop=
"bcdgrp.blk.bcgdet"
>
<c-input
type=
"textarea"
disabled
:rows=
"4"
v-model=
"model.bcdgrp.blk.bcgdet"
maxlength=
"45"
...
...
src/views/Business/Bctrad/index.vue
View file @
3aee11cf
...
...
@@ -37,6 +37,10 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Bookings"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--Completion -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -74,7 +78,7 @@
import
Coninfp
from
"~/views/Public/Coninfp"
import
Docpan
from
"~/views/Public/Docpan"
import
Doctre
from
"~/views/Public/Doctre"
import
Glepan
from
"~/views/Public/Glepan"
export
default
{
name
:
"Bctrad"
,
...
...
@@ -87,6 +91,7 @@
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-glepan"
:
Glepan
},
provide
()
{
return
{
...
...
@@ -109,7 +114,30 @@
}
},
methods
:
{
tabClick
()
{}
tabClick
(
tab
)
{
if
(
this
.
isInDisplay
)
{
return
}
const
name
=
tab
.
name
let
rulePath
;
if
(
name
===
"setpan"
)
{
rulePath
=
"setmod.setpan"
;
}
if
(
name
===
"glepan"
)
{
rulePath
=
"setmod.glemod.glepan"
;
}
if
(
name
===
"docpan"
)
{
rulePath
=
"trnmod.trndoc.docpan"
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
}
},
created
:
async
function
()
{
console
.
log
(
"进入bctrad交易"
);
...
...
src/views/Business/Bctset/Bctsus.vue
View file @
3aee11cf
...
...
@@ -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"
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
@
change=
"focflgChange"
>
Free of Payment
</c-checkbox
>
</c-col>
...
...
@@ -279,8 +279,7 @@
<c-select
v-model=
"model.trnmod.cmtflg"
style=
"width: 100%"
placeholder=
""
:disabled=
"model.gcdgrp.rec.frepaylg=='X'"
placeholder=
""
>
<el-option
v-for=
"item in codes.cmtflg"
...
...
@@ -376,6 +375,7 @@ import Api from "~/service/Api";
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Bctset/Event"
;
import
Utils
from
"~/utils"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
...
...
@@ -466,6 +466,13 @@ export default {
}
}
},
async
focflgChange
()
{
let
rtnmsg
=
await
this
.
executeDefault
(
"bcdgrp.rec.focflg"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
},
created
:
function
()
{},
};
...
...
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