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
2efb8141
Commit
2efb8141
authored
Nov 02, 2023
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letame修改
parent
8213da25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
38 deletions
+51
-38
index.js
src/business/letamc/event/index.js
+1
-1
buildCommons.js
src/business/letame/event/buildCommons.js
+14
-14
index.js
src/business/letame/event/index.js
+25
-12
index.js
src/business/letame/model/index.js
+11
-11
Amep.vue
src/business/letame/views/Amep.vue
+0
-0
No files found.
src/business/letamc/event/index.js
View file @
2efb8141
...
...
@@ -169,7 +169,7 @@ export default {
nom1amt
:
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
,
nomtop
:
this
.
model
.
ledgrp
.
rec
.
nomtop
};
let
res
=
await
Api
.
post
(
'/service/let
opn
/cbsmax'
,
params
);
let
res
=
await
Api
.
post
(
'/service/let
amc
/cbsmax'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
res
.
data
.
maxcur
;
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
res
.
data
.
maxamt
;
...
...
src/business/letame/event/buildCommons.js
View file @
2efb8141
export
default
{
buildPtspta
(
ptsptaObj
)
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
let
ptspta
=
{
rol
:
pts
.
rol
,
...
...
@@ -17,7 +17,7 @@ export default {
};
return
ptspta
;
},
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
ledgrp
.
a2b
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
a2b
));
...
...
@@ -62,7 +62,7 @@ export default {
let
dataObj
=
{
rec
:
{
objinr
:
model
.
ledgrp
.
rec
.
inr
,
objinr
:
model
.
ledgrp
.
rec
.
inr
,
objtyp
:
'LED'
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
opndat
:
model
.
ledgrp
.
rec
.
opndat
,
...
...
@@ -81,6 +81,7 @@ export default {
cnfsta
:
model
.
ledgrp
.
rec
.
cnfsta
,
maxamt
:
model
.
letamep
.
maxamt
,
engamt
:
model
.
letamep
.
engamt
,
newamt
:
model
.
trnmod
.
swiadd
.
newamt
,
// advRolsetflg: model.ledgrp.Adv.Rolsetflg,
// advPtainr: model.ledgrp.Adv.pts.ptainr,
// advAdrblk: model.ledgrp.Adv.pts.adrblk,
...
...
@@ -91,7 +92,6 @@ export default {
// issRolsetflg: model.ledgrp.iss.Rolsetflg,
// issPtainr: model.ledgrp.iss.pts.ptainr,
// issAdrblk: model.ledgrp.iss.pts.adrblk,
// newamt: model.letamep.Swiadd.newamt,
// engamt: model.letamep.engamt,
// opn1Amt: model.oldledgrp.cbs.opn1.Amt,
// opn2Amt: model.oldledgrp.cbs.opn2.Amt,
...
...
@@ -115,7 +115,7 @@ export default {
};
return
dataObj
},
buildSetfeg
(
model
,
trnName
)
{
buildSetfeg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
...
...
@@ -124,7 +124,7 @@ export default {
};
return
params
},
buildSetglg
(
model
,
trnName
)
{
buildSetglg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
...
...
@@ -133,7 +133,7 @@ export default {
};
return
params
},
buildGlentry
(
model
,
trnName
)
{
buildGlentry
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
...
...
@@ -143,24 +143,24 @@ export default {
};
return
params
},
buildEngp
(
model
,
trnName
)
{
buildEngp
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
amdRec
:{
amdRec
:
{
maxamt
:
model
.
letamep
.
maxamt
,
engamt
:
model
.
letamep
.
engamt
,
}
};
return
params
},
buildDocpan
(
model
,
trnName
)
{
buildDocpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
return
params
},
buildCcvpan
(
model
,
trnName
)
{
buildCcvpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaccvg
:
model
.
liaccv
.
liaccvg
,
...
...
@@ -170,7 +170,7 @@ export default {
};
return
params
},
buildLimitbody
(
model
,
trnName
)
{
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -181,7 +181,7 @@ export default {
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -194,7 +194,7 @@ export default {
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
...
...
src/business/letame/event/index.js
View file @
2efb8141
...
...
@@ -20,7 +20,7 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trninr
:
this
.
$route
.
query
.
trninr
,
...
...
@@ -29,12 +29,12 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ledgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
ledgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
}
});
if
(
!
res
.
data
)
{
return
...
...
@@ -45,7 +45,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
])
{
...
...
@@ -94,7 +94,7 @@ export default {
let
doctreRequest
=
buildFn
.
buildDoctre
(
this
.
model
,
this
.
trnName
);
this
.
processDoctre
(
doctreRequest
);
break
;
default
:
return
;
}
...
...
@@ -171,7 +171,7 @@ export default {
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
buildLiaccv
()
{
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
liaccvg
:
this
.
model
.
liaccv
.
liaccvg
,
...
...
@@ -179,11 +179,11 @@ export default {
chgamt
:
this
.
model
.
liaccv
.
chgamt
,
concur
:
this
.
model
.
liaccv
.
concur
,
};
return
params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel
(
emitParams
)
{
changeSetmodModel
(
emitParams
)
{
let
reqParams
=
{}
switch
(
emitParams
.
code
)
{
case
'processMethods'
:
...
...
@@ -193,13 +193,26 @@ export default {
case
'changeDsp'
:
let
index
=
emitParams
.
index
;
let
setglgRequest
=
buildFn
.
buildSetglg
(
this
.
model
,
this
.
trnName
);
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
this
.
setgllAccts
(
setglgRequest
,
index
);
break
default
:
return
}
},
onSeainf
()
{},
//最大金额
async
cbsmax
()
{
let
params
=
{
nom1cur
:
this
.
model
.
oldledgrp
.
cbs
.
max
.
cur
,
nom1amt
:
this
.
model
.
oldledgrp
.
cbs
.
max
.
amt
,
nomtop
:
this
.
model
.
trnmod
.
swiadd
.
newnomtop
,
};
let
res
=
await
Api
.
post
(
'/service/letame/cbsmax'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
letamep
.
maxcur
=
res
.
data
.
maxcur
;
this
.
model
.
letamep
.
maxamt
=
res
.
data
.
maxamt
;
}
},
onSeainf
()
{
},
},
};
src/business/letame/model/index.js
View file @
2efb8141
...
...
@@ -16,16 +16,16 @@ export default class Letame {
},
cbs
:
{
max
:
{
cur
:
""
,
amt
:
""
,
cur
:
""
,
amt
:
""
,
},
max2
:
{
cur
:
""
,
amt
:
""
,
cur
:
""
,
amt
:
""
,
},
nom1
:
{
cur
:
""
,
amt
:
""
,
cur
:
""
,
amt
:
""
,
}
}
},
...
...
@@ -52,8 +52,8 @@ export default class Letame {
lcrgodame
:
''
},
rec
:
{
inr
:
''
,
branchinr
:
''
,
inr
:
''
,
branchinr
:
''
,
tenmaxday
:
''
,
nomton
:
''
,
expplc
:
''
,
...
...
@@ -187,7 +187,7 @@ export default class Letame {
modmanflg
:
''
,
usrblk
:
''
},
engamt
:
''
,
engamt
:
'
0.00
'
,
lcrgodame
:
{
buttxmsel
:
''
}
...
...
@@ -218,7 +218,7 @@ export default class Letame {
newnomtop
:
''
,
shpfro
:
''
,
shpper
:
''
,
amedat
:
new
Date
(),
amedat
:
new
Date
(),
pordis
:
''
,
addamtcov
:
''
,
newnomton
:
''
,
...
...
@@ -229,7 +229,7 @@ export default class Letame {
newamt
:
''
,
shpto
:
''
,
newexpdat
:
new
Date
(),
ameamt
:
''
,
ameamt
:
'
0.00
'
,
newcur
:
''
,
porloa
:
''
,
nomspc
:
''
...
...
src/business/letame/views/Amep.vue
View file @
2efb8141
This diff is collapsed.
Click to expand it.
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