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
e9c8d541
Commit
e9c8d541
authored
Jun 28, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复缺陷
parent
9dfcaf9b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
28 deletions
+28
-28
index.js
src/business/betdcr/event/index.js
+1
-2
index.js
src/business/betsnd/event/index.js
+1
-2
index.js
src/business/letdav/event/index.js
+5
-7
index.js
src/business/letdrv/event/index.js
+5
-7
index.js
src/business/letnot/event/index.js
+16
-10
index.js
src/business/letnot/model/index.js
+0
-0
No files found.
src/business/betdcr/event/index.js
View file @
e9c8d541
...
...
@@ -35,8 +35,7 @@ export default {
const
res
=
await
Api
.
post
(
'/service/betdcr/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
brdgrp
:{
bedgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
...
...
src/business/betsnd/event/index.js
View file @
e9c8d541
...
...
@@ -35,8 +35,7 @@ export default {
const
res
=
await
Api
.
post
(
'/service/betsnd/init'
,
{
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
brdgrp
:{
bedgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
...
...
src/business/letdav/event/index.js
View file @
e9c8d541
...
...
@@ -36,13 +36,11 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
// brdgrp:{
// rec:{
// inr: this.$route.query.inr
// // inr: '00000484'
// }
// },
bedgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
},
});
if
(
!
res
.
data
)
{
return
...
...
src/business/letdrv/event/index.js
View file @
e9c8d541
...
...
@@ -36,13 +36,11 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
// brdinr: this.$route.query.inr,
// brdgrp:{
// rec:{
// inr: this.$route.query.inr
// // inr: '00000484'
// }
// },
bedgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
},
});
if
(
!
res
.
data
)
{
return
...
...
src/business/letnot/event/index.js
View file @
e9c8d541
...
...
@@ -9,6 +9,7 @@ import docpan from '~/components/business/docpan/event';
import
ccvpan
from
'~/components/business/ccvpan/event'
;
import
limitbody
from
'~/components/business/limitbody/event'
;
import
doctre
from
'~/components/business/doctre/event'
;
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
...
...
@@ -22,19 +23,24 @@ export default {
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trnmod
:
{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
trnmod
:
{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
}
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
params
.
trnmod
.
trn
=
null
}
const
loading
=
this
.
loading
();
const
res
=
await
Api
.
post
(
'/service/letnot/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ledgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
}
});
loading
.
close
();
if
(
!
res
.
data
)
{
...
...
@@ -46,7 +52,7 @@ export default {
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setglg
,
res
.
data
.
setglg
)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
...
...
@@ -171,13 +177,13 @@ export default {
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
openAddAmount
(
val
)
{
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
)
)
{
this
.
$confirm
(
'是否确定要删除此合同的附加金额?'
,
'提示'
,
{
openAddAmount
(
val
)
{
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
))
{
this
.
$confirm
(
'是否确定要删除此合同的附加金额?'
,
'提示'
,
{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
,
showClose
:
false
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'letp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -191,7 +197,7 @@ export default {
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
...
...
src/business/letnot/model/index.js
View file @
e9c8d541
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