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
9dfcaf9b
Commit
9dfcaf9b
authored
Jun 28, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复缺陷
parent
ad65c4a2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
73 deletions
+15
-73
index.js
src/business/betdrv/event/index.js
+3
-18
index.js
src/business/betrcl/event/index.js
+2
-3
index.js
src/business/letamc/event/index.js
+10
-52
No files found.
src/business/betdrv/event/index.js
View file @
9dfcaf9b
...
...
@@ -32,10 +32,9 @@ export default {
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
const
res
=
await
Api
.
post
(
'/service/betd
cr
/init'
,
{
const
res
=
await
Api
.
post
(
'/service/betd
rv
/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
brdgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
...
...
@@ -108,21 +107,7 @@ export default {
queryFormData
(
key
)
{
console
.
log
(
key
);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
bedgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LG'
,
tbl
:
'LG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/betdcr/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
gidgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取betdcr弹框表格数据
// 获取betdrv弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
...
...
@@ -136,7 +121,7 @@ export default {
this
.
root
.
promptData
.
type
=
type
;
}
},
// 选中betd
cr
弹框表格的行数据
// 选中betd
rv
弹框表格的行数据
async
selectGridEtyPromptData
(
row
)
{
let
params
=
{
...
row
,
...
...
src/business/betrcl/event/index.js
View file @
9dfcaf9b
...
...
@@ -35,7 +35,6 @@ export default {
const
res
=
await
Api
.
post
(
'/service/betrcl/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
bedgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
...
...
@@ -114,7 +113,7 @@ export default {
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
extkey
:
this
.
model
.
b
r
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
extkey
:
this
.
model
.
b
e
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/list'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -130,7 +129,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
.
be
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
...
...
src/business/letamc/event/index.js
View file @
9dfcaf9b
...
...
@@ -32,17 +32,15 @@ export default {
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
const
res
=
await
Api
.
post
(
'/service/let
drv
/init'
,
{
const
res
=
await
Api
.
post
(
'/service/let
amc
/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
// brdgrp:{
// rec:{
// inr: this.$route.query.inr
// // inr: '00000484'
// }
// },
ledgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
},
});
if
(
!
res
.
data
)
{
return
...
...
@@ -110,26 +108,12 @@ export default {
queryFormData
(
key
)
{
console
.
log
(
key
);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
gidgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LG'
,
tbl
:
'LG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/letdrv/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
gidgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取letdrv弹框表格数据
// 获取letamc弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
extkey
:
this
.
model
.
br
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
extkey
:
this
.
model
.
le
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/list'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -138,42 +122,16 @@ export default {
this
.
root
.
promptData
.
type
=
type
;
}
},
// 选中
letdrv
弹框表格的行数据
// 选中弹框表格的行数据
async
selectGridEtyPromptData
(
row
)
{
let
params
=
{
...
row
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/fetch'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
gidgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
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/letdrv/initHndtyp'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
codes
,
'voHndtyp'
,
res
.
data
);
this
.
$set
(
this
.
model
.
ledgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
...
...
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