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
5f6dfee2
Commit
5f6dfee2
authored
Jun 07, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
betdcr 前端代码修改
parent
ef566c49
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
91 additions
and
89 deletions
+91
-89
buildCommons.js
src/business/betdcr/event/buildCommons.js
+33
-36
index.js
src/business/betdcr/event/index.js
+5
-27
index.js
src/business/betdcr/model/index.js
+9
-23
Betdcrs.vue
src/business/betdcr/views/Betdcrs.vue
+2
-1
index.vue
src/business/betdcr/views/index.vue
+42
-2
No files found.
src/business/betdcr/event/buildCommons.js
View file @
5f6dfee2
...
...
@@ -19,42 +19,40 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
gidgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
gidgrp
.
apl
));
if
(
model
.
bedgrp
.
prb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
prb
));
}
if
(
model
.
gidgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
gidgrp
.
adv
));
if
(
model
.
bedgrp
.
iss
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
iss
));
}
if
(
model
.
gidgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
gidgrp
.
ben
));
if
(
model
.
bedgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
apl
));
}
if
(
model
.
bedgrp
.
oth
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
oth
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'LID'
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
opndat
:
model
.
brdgrp
.
rec
.
opndat
,
expdat
:
model
.
brdgrp
.
rec
.
expdat
,
branchInr
:
model
.
brdgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
brdgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
brdgrp
.
rec
.
gartyp
,
fingua
:
model
.
brdgrp
.
rec
.
fingua
,
// segtyp: model.brdgrp.ghd.segtyp,
fromflg
:
model
.
brdgrp
.
rec
.
fromflg
,
othersno
:
model
.
brdgrp
.
rec
.
othersno
,
sndto
:
model
.
brdgrp
.
rec
.
sndto
,
// swiftflg: model.gitp.swiftflg,
giduil
:
model
.
brdgrp
.
rec
.
giduil
,
purpos
:
model
.
brdgrp
.
rec
.
purpos
,
revflg
:
model
.
brdgrp
.
rec
.
revflg
,
cnfsta
:
model
.
brdgrp
.
rec
.
cnfsta
,
objtyp
:
'BED'
,
ownref
:
model
.
bedgrp
.
rec
.
ownref
,
predat
:
model
.
bedgrp
.
rec
.
predat
,
rcvdat
:
model
.
bedgrp
.
rec
.
rcvdat
,
doctypcod
:
model
.
bedgrp
.
rec
.
doctypcod
,
docsta
:
model
.
bedgrp
.
rec
.
docsta
,
payrol
:
model
.
bedgrp
.
rec
.
payrol
,
matdat
:
model
.
bedgrp
.
rec
.
matdat
,
nam
:
model
.
bedgrp
.
rec
.
nam
,
docprbrol
:
model
.
bedgrp
.
rec
.
docprbrol
,
advdocflg
:
model
.
bedgrp
.
rec
.
advdocflg
,
},
cbsMap
:
{
MAX
:
model
.
b
r
dgrp
.
cbs
.
max
,
OPN1
:
model
.
b
r
dgrp
.
cbs
.
opn1
,
MAC
:
model
.
br
dgrp
.
cbs
.
mac
,
MAC2
:
model
.
br
dgrp
.
cbs
.
mac2
,
OPC2
:
model
.
br
dgrp
.
cbs
.
opc2
,
CNF
:
model
.
br
dgrp
.
cbs
.
cnf
,
MAX
:
model
.
b
e
dgrp
.
cbs
.
max
,
OPN1
:
model
.
b
e
dgrp
.
cbs
.
opn1
,
// MAC: model.be
dgrp.cbs.mac,
// MAC2: model.be
dgrp.cbs.mac2,
// OPC2: model.be
dgrp.cbs.opc2,
// CNF: model.be
dgrp.cbs.cnf,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -117,9 +115,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
LI
D'
,
objinr
:
model
.
b
r
dgrp
.
rec
.
objinr
,
ownref
:
model
.
b
r
dgrp
.
rec
.
ownref
,
objtyp
:
'
BE
D'
,
objinr
:
model
.
b
e
dgrp
.
rec
.
objinr
,
ownref
:
model
.
b
e
dgrp
.
rec
.
ownref
,
},
};
return
params
...
...
@@ -128,10 +126,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LID'
,
objinr
:
model
.
brdgrp
.
rec
.
objinr
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
// swiftflg: model.gitp.swiftflg,
objtyp
:
'BED'
,
objinr
:
model
.
bedgrp
.
rec
.
objinr
,
ownref
:
model
.
bedgrp
.
rec
.
ownref
,
},
};
return
params
...
...
src/business/betdcr/event/index.js
View file @
5f6dfee2
...
...
@@ -24,7 +24,7 @@ export default {
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
}
const
res
=
await
Api
.
post
(
'/service/b
r
tdcr/init'
,
{
const
res
=
await
Api
.
post
(
'/service/b
e
tdcr/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
...
...
@@ -103,18 +103,18 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
gi
dgrp
.
apl
.
pts
.
ptainr
,
ptainr
:
this
.
model
.
be
dgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LG'
,
tbl
:
'LG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/b
r
tdcr/getOwnRef'
,
params
);
let
res
=
await
Api
.
post
(
'/service/b
e
tdcr/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
gidgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取b
r
tdcr弹框表格数据
// 获取b
e
tdcr弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
...
...
@@ -128,7 +128,7 @@ export default {
this
.
root
.
promptData
.
type
=
type
;
}
},
// 选中b
r
tdcr弹框表格的行数据
// 选中b
e
tdcr弹框表格的行数据
async
selectGridEtyPromptData
(
row
)
{
let
params
=
{
...
row
,
...
...
@@ -142,28 +142,6 @@ export default {
purposChange
(
key
,
value
)
{
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/brtdcr/initHndtyp'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
codes
,
'voHndtyp'
,
res
.
data
);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
...
...
src/business/betdcr/model/index.js
View file @
5f6dfee2
...
...
@@ -5,9 +5,11 @@ export default class Betcan {
this
.
data
=
{
betp
:
{
adaflg
:
''
,
oth
:{
pts
:
new
Pts
().
data
,
}
docgrdm
:{
docgrd
:
''
,
},
},
advdisflg
:
''
,
ledgrp
:
{
...
...
@@ -20,21 +22,6 @@ export default class Betcan {
amt
:
''
}
},
prb
:
{
pts
:
new
Pts
().
data
,
},
apl
:{
pts
:
new
Pts
().
data
,
},
ben
:{
pts
:
new
Pts
().
data
,
},
oth
:{
pts
:
new
Pts
().
data
,
},
acb
:{
pts
:
new
Pts
().
data
,
},
},
rejpenins
:
''
,
advrefflg
:
''
,
...
...
@@ -72,18 +59,17 @@ export default class Betcan {
prb
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:{
apl
:{
pts
:
new
Pts
().
data
,
},
oth
:{
pts
:
new
Pts
().
data
,
},
acb
:{
pts
:
new
Pts
().
data
,
},
},
...
...
src/business/betdcr/views/Betdcrs.vue
View file @
5f6dfee2
...
...
@@ -227,7 +227,8 @@
</template>
<
script
>
import
event
from
"../event"
;
import
Ptsmsg
from
"./Ptsmsg"
;
// import Ptsmsg from "./Ptsmsg";
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
...
...
src/business/betdcr/views/index.vue
View file @
5f6dfee2
...
...
@@ -62,8 +62,6 @@
<
script
>
import
CodeTable
from
"~/config/CodeTable"
;
import
Betdcr
from
"../model"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
formRules
from
'../model/check'
import
Ovwp
from
"./Ovwp"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
...
...
@@ -106,6 +104,48 @@ export default {
codes
:
{
...
CodeTable
,
},
promptData
:
{
title
:
'Select a Party'
,
columns
:
[
{
prop
:
'ptyInr'
,
label
:
'Party Number'
},
{
prop
:
'inr'
,
label
:
'Address Number'
},
{
prop
:
'branch'
,
label
:
'Branch Code'
},
{
prop
:
'bchName'
,
label
:
'Branch Name'
},
{
prop
:
'adrName'
,
label
:
'Address Name'
},
{
prop
:
'adr1'
,
label
:
'Address1'
},
{
prop
:
'locCty'
,
label
:
'City'
},
{
prop
:
'locZip'
,
label
:
'Zip'
},
{
prop
:
'bicCode'
,
label
:
'BIC'
}
],
data
:
[]
},
};
},
methods
:
{},
...
...
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