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
113fe230
Commit
113fe230
authored
Aug 09, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtudp
parent
73e69bfc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
180 deletions
+63
-180
index.vue
src/business/brtacp/views/index.vue
+0
-1
buildCommons.js
src/business/brtudp/event/buildCommons.js
+20
-10
index.js
src/business/brtudp/event/index.js
+25
-25
index.js
src/business/brtudp/model/index.js
+18
-144
No files found.
src/business/brtacp/views/index.vue
View file @
113fe230
...
...
@@ -106,7 +106,6 @@
"m-ccvpan"
:
Ccvpan
,
"m-setmod"
:
Setmod
,
"m-glentry"
:
Glentry
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
...
...
src/business/brtudp/event/buildCommons.js
View file @
113fe230
...
...
@@ -19,15 +19,25 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
brdgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
apl
));
}
if
(
model
.
brdgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
ben
));
}
if
(
model
.
brdgrp
.
prb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
prb
));
}
if
(
model
.
brdgrp
.
acb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
acb
));
}
if
(
model
.
brdgrp
.
rmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
rmb
));
}
if
(
model
.
brdgrp
.
beb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
beb
));
}
if
(
model
.
brdgrp
.
shp
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
shp
));
}
if
(
model
.
brtp
.
oth
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brtp
.
oth
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'BRD'
,
...
...
@@ -119,8 +129,8 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'BRD'
,
objinr
:
model
.
gidgrp
.
rec
.
obj
inr
,
ownref
:
model
.
gi
dgrp
.
rec
.
ownref
,
objinr
:
model
.
brdgrp
.
rec
.
inr
,
ownref
:
model
.
br
dgrp
.
rec
.
ownref
,
},
};
return
params
...
...
@@ -130,9 +140,9 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'BRD'
,
objinr
:
model
.
brdgrp
.
rec
.
obj
inr
,
objinr
:
model
.
brdgrp
.
rec
.
inr
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
swiftflg
:
model
.
brtp
.
swiftflg
,
//
swiftflg: model.brtp.swiftflg,
},
};
return
params
...
...
src/business/brtudp/event/index.js
View file @
113fe230
...
...
@@ -121,7 +121,7 @@ export default {
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
extkey
:
this
.
model
.
gi
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
extkey
:
this
.
model
.
br
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/list'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -137,7 +137,7 @@ export default {
};
let
res
=
await
Api
.
post
(
'/service/ptspta/fetch'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
gi
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
this
.
$set
(
this
.
model
.
br
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
...
...
@@ -145,31 +145,31 @@ export default {
this
.
handleChangeForm
(
key
,
value
);
},
// 初始化保函开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
let
params
=
{
gitp
:
{
swiftflg
:
this
.
model
.
gitp
.
swiftflg
,
},
gidgrp
:
{
rec
:
{
purpos
:
this
.
model
.
gidgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
};
let
res
=
await
Api
.
post
(
'/service/brtudp/initHndtyp'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
codes
,
'voHndtyp'
,
res
.
data
);
}
},
//
async queryHndtypCodeTableList(trnName) {
//
let params = {
//
gitp: {
//
swiftflg: this.model.gitp.swiftflg,
//
},
//
gidgrp: {
//
rec: {
//
purpos: this.model.gidgrp.rec.purpos,
//
},
//
},
//
transName: trnName.toUpperCase(),
//
};
//
let res = await Api.post('/service/brtudp/initHndtyp', params);
//
if (res.respCode == SUCCESS) {
//
this.$set(this.codes, 'voHndtyp', res.data);
//
}
//
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
//
handleChangeSwiftflg() {
//
this.queryHndtypCodeTableList(this.root.trnName);
//
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
//
handleChangePurpos() {
//
this.queryHndtypCodeTableList(this.root.trnName);
//
},
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
...
...
src/business/brtudp/model/index.js
View file @
113fe230
...
...
@@ -5,36 +5,6 @@ export default class Brtudp {
constructor
()
{
this
.
data
=
{
brdgrp
:
{
acb
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
shp
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
ctr
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
atb
:
{
pts
:
new
Pts
().
data
,
},
avc
:
{
pts
:
new
Pts
().
data
,
},
blk
:
{
docdisflg
:
''
,
notpty
:
''
,
...
...
@@ -54,13 +24,21 @@ export default class Brtudp {
relstoadr
:
''
},
prb
:
{
pts
:
{
extkey
:
''
}
pts
:
new
Pts
().
data
},
acb
:
{
pts
:
new
Pts
().
data
},
rmb
:
{
pts
:
new
Pts
().
data
},
beb
:
{
pts
:
new
Pts
().
data
},
shp
:
{
pts
:
new
Pts
().
data
},
rec
:
{
inr
:
''
,
branchinr
:
''
,
tenmaxday
:
''
,
predat
:
''
,
relgodflg
:
''
,
...
...
@@ -99,87 +77,25 @@ export default class Brtudp {
amt
:
''
},
opn2
:
{
cur
:
''
cur
:
''
,
amt
:
''
},
max
:
{
cur
:
''
,
amt
:
''
},
max2
:
{
amt
:
''
}
},
tag72add
:
''
},
gidgrp
:
{
rec
:
{
expdat
:
''
,
liadat
:
''
,
ownref
:
''
,
gartyp
:
''
},
ghd
:
{
wahnum
:
''
,
remark
:
''
,
bustyp
:
''
,
segtyp
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
}
},
ctr
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
atb
:
{
pts
:
new
Pts
().
data
,
},
avc
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
},
cbsMap
:
{
MAX
:
{
cur
:
''
}
},
rol
:
{
pts
:
new
Pts
().
data
,
},
gitp
:
{
swiftflg
:
''
,
tag72add
:
''
},
brtp
:
{
docgrdm
:
{
docgrd
:
{
splice
:
''
,
push
:
''
}
},
connum
:
''
,
oth
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
cre732flg
:
''
,
furide
:
''
,
connum
:
''
,
cre752flg
:
''
},
aamset
:
{
utlamt
:
''
,
...
...
@@ -241,8 +157,6 @@ export default class Brtudp {
},
lidgrp
:
{
rec
:
{
inr
:
''
,
branchinr
:
''
,
expdat
:
''
,
ownref
:
''
},
...
...
@@ -254,46 +168,6 @@ export default class Brtudp {
}
},
sftmt
:
''
,
gcdgrp
:
{
prb
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
rec
:
{
clmdat
:
''
,
ownref
:
''
,
payrol
:
''
,
nam
:
''
,
docprbrol
:
''
,
},
oth
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
},
max
:
{
cur
:
''
,
amt
:
''
}
},
ben
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
...
...
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