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
3f8448de
Commit
3f8448de
authored
May 26, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BRTEUS,LITDAV,BRTDCR前端修改
parent
daeae339
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
84 deletions
+81
-84
index.js
src/business/brtdcr/event/index.js
+1
-1
buildCommons.js
src/business/brteus/event/buildCommons.js
+2
-2
buildCommons.js
src/business/litdav/event/buildCommons.js
+36
-31
index.js
src/business/litdav/event/index.js
+9
-2
check.js
src/business/litdav/model/check.js
+17
-17
index.js
src/business/litdav/model/index.js
+13
-30
index.vue
src/business/litdav/views/index.vue
+3
-1
No files found.
src/business/brtdcr/event/index.js
View file @
3f8448de
...
...
@@ -27,7 +27,7 @@ export default {
const
res
=
await
Api
.
post
(
'/service/brtdcr/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidinr
:
this
.
$route
.
query
.
inr
brdinr
:
this
.
$route
.
query
.
inr
,
});
if
(
!
res
.
data
)
{
return
...
...
src/business/brteus/event/buildCommons.js
View file @
3f8448de
...
...
@@ -64,7 +64,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
liaccv
:
model
.
liaccv
,
doceot
:
model
.
trnmod
.
trndoc
.
doceot
,
//
doceot: model.trnmod.trndoc.doceot,
};
return
params
},
...
...
@@ -128,7 +128,7 @@ export default {
objtyp
:
'LID'
,
objinr
:
model
.
brdgrp
.
rec
.
objinr
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
swiftflg
:
model
.
brtp
.
swiftflg
,
//
swiftflg: model.brtp.swiftflg,
},
};
return
params
...
...
src/business/litdav/event/buildCommons.js
View file @
3f8448de
...
...
@@ -19,42 +19,47 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
g
idgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
g
idgrp
.
apl
));
if
(
model
.
l
idgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
l
idgrp
.
apl
));
}
if
(
model
.
g
idgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
g
idgrp
.
adv
));
if
(
model
.
l
idgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
l
idgrp
.
adv
));
}
if
(
model
.
g
idgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
g
idgrp
.
ben
));
if
(
model
.
l
idgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
l
idgrp
.
ben
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'
G
ID'
,
ownref
:
model
.
g
idgrp
.
rec
.
ownref
,
opndat
:
model
.
g
idgrp
.
rec
.
opndat
,
expdat
:
model
.
g
idgrp
.
rec
.
expdat
,
branchInr
:
model
.
g
idgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
g
idgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
g
idgrp
.
rec
.
gartyp
,
fingua
:
model
.
g
idgrp
.
rec
.
fingua
,
segtyp
:
model
.
gidgrp
.
ghd
.
segtyp
,
fromflg
:
model
.
g
idgrp
.
rec
.
fromflg
,
othersno
:
model
.
g
idgrp
.
rec
.
othersno
,
sndto
:
model
.
g
idgrp
.
rec
.
sndto
,
swiftflg
:
model
.
gitp
.
swiftflg
,
giduil
:
model
.
g
idgrp
.
rec
.
giduil
,
purpos
:
model
.
g
idgrp
.
rec
.
purpos
,
revflg
:
model
.
g
idgrp
.
rec
.
revflg
,
cnfsta
:
model
.
g
idgrp
.
rec
.
cnfsta
,
objtyp
:
'
L
ID'
,
ownref
:
model
.
l
idgrp
.
rec
.
ownref
,
opndat
:
model
.
l
idgrp
.
rec
.
opndat
,
expdat
:
model
.
l
idgrp
.
rec
.
expdat
,
branchInr
:
model
.
l
idgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
l
idgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
l
idgrp
.
rec
.
gartyp
,
fingua
:
model
.
l
idgrp
.
rec
.
fingua
,
//
segtyp: model.gidgrp.ghd.segtyp,
fromflg
:
model
.
l
idgrp
.
rec
.
fromflg
,
othersno
:
model
.
l
idgrp
.
rec
.
othersno
,
sndto
:
model
.
l
idgrp
.
rec
.
sndto
,
//
swiftflg: model.gitp.swiftflg,
giduil
:
model
.
l
idgrp
.
rec
.
giduil
,
purpos
:
model
.
l
idgrp
.
rec
.
purpos
,
revflg
:
model
.
l
idgrp
.
rec
.
revflg
,
cnfsta
:
model
.
l
idgrp
.
rec
.
cnfsta
,
},
cbsMap
:
{
MAX
:
model
.
gidgrp
.
cbs
.
max
,
OPN1
:
model
.
gidgrp
.
cbs
.
opn1
,
MAC
:
model
.
gidgrp
.
cbs
.
mac
,
MAC2
:
model
.
gidgrp
.
cbs
.
mac2
,
OPC2
:
model
.
gidgrp
.
cbs
.
opc2
,
CNF
:
model
.
gidgrp
.
cbs
.
cnf
,
MAX
:
model
.
lidgrp
.
cbs
.
max
,
OLDMAX
:
model
.
lidgrp
.
cbs
.
oldmax
,
MAX2
:
model
.
lidgrp
.
cbs
.
max2
,
NOM1
:
model
.
lidgrp
.
cbs
.
nom1
,
OPN1
:
model
.
lidgrp
.
cbs
.
opn1
,
MAC
:
model
.
lidgrp
.
cbs
.
mac
,
MAC2
:
model
.
lidgrp
.
cbs
.
mac2
,
OPC2
:
model
.
lidgrp
.
cbs
.
opc2
,
CNF
:
model
.
lidgrp
.
cbs
.
cnf
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -117,7 +122,7 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
G
ID'
,
objtyp
:
'
L
ID'
,
objinr
:
model
.
gidgrp
.
rec
.
objinr
,
ownref
:
model
.
gidgrp
.
rec
.
ownref
,
},
...
...
@@ -128,7 +133,7 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
G
ID'
,
objtyp
:
'
L
ID'
,
objinr
:
model
.
gidgrp
.
rec
.
objinr
,
ownref
:
model
.
gidgrp
.
rec
.
ownref
,
swiftflg
:
model
.
gitp
.
swiftflg
,
...
...
src/business/litdav/event/index.js
View file @
3f8448de
...
...
@@ -25,9 +25,16 @@ export default {
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
}
const
res
=
await
Api
.
post
(
'/service/litdav/init'
,
{
...
params
,
//
...params,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidgrp
:{
rec
:{
inr
:
'00000122'
,
}
}
});
if
(
!
res
.
data
)
{
return
...
...
@@ -64,7 +71,7 @@ export default {
let
engpRequest
=
buildFn
.
buildEngp
(
this
.
model
,
this
.
trnName
);
this
.
processLiaall
(
engpRequest
);
break
;
case
'set
pan
'
:
case
'set
mod
'
:
let
setfegRequest
=
buildFn
.
buildSetfeg
(
this
.
model
,
this
.
trnName
);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this
.
processSetpan
(
setfegRequest
,
()
=>
{
...
...
src/business/litdav/model/check.js
View file @
3f8448de
...
...
@@ -145,32 +145,32 @@ export default {
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"setmod.docamt":[
//
{type: "number", required: false, message: "必输项"},
//
{max: 18,message:"整数位不能超过14位"},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
//
"setmod.zmqacc":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 20,message:"长度不能超过20"}
//
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitset.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.conexedat"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"输入正确的日期"
}
...
...
src/business/litdav/model/index.js
View file @
3f8448de
...
...
@@ -71,6 +71,7 @@ export default class Litdav {
pts
:
new
Pts
().
data
,
},
rec
:
{
cur
:
''
,
totcur
:
''
,
advtyp
:
''
,
ownref
:
''
,
...
...
@@ -113,6 +114,7 @@ export default class Litdav {
},
lidgrp
:
{
rec
:
{
branchinr
:
'00000047'
,
revflg
:
''
,
expdat
:
''
,
expplc
:
''
,
...
...
@@ -134,37 +136,18 @@ export default class Litdav {
amt
:
''
}
},
avbnam
:
''
avbnam
:
''
,
apl
:{
pts
:
new
Pts
().
data
,
},
adv
:{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
},
// liaall: {
// limmod: {
// ownref: '',
// dggrd: '',
// limpts: {
// wrk: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// oth: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// pfcod1: '',
// pfcod2: '',
// nonrevflg1: '',
// nonrevflg2: ''
// },
// comamt: '',
// ccvamt: '',
// limgrd: '',
// lmegrd: '',
// tygrd: ''
// }
// },
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
src/business/litdav/views/index.vue
View file @
3f8448de
...
...
@@ -197,7 +197,9 @@ export default {
};
},
methods
:
{},
created
:
async
function
()
{},
mounted
()
{
this
.
init
()
},
};
</
script
>
<
style
>
...
...
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