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
54ce30aa
Commit
54ce30aa
authored
Apr 12, 2023
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端费用账务代码
parent
1d1176b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
buildCommons.js
src/business/gitopn/event/buildCommons.js
+2
-0
index.js
src/components/business/setmod/event/index.js
+5
-4
SetglgRequest.js
src/components/business/setmod/model/SetglgRequest.js
+1
-0
No files found.
src/business/gitopn/event/buildCommons.js
View file @
54ce30aa
...
...
@@ -75,6 +75,8 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
liaall
:
model
.
liaall
,
liaccv
:
model
.
liaccv
,
};
return
params
},
...
...
src/components/business/setmod/event/index.js
View file @
54ce30aa
...
...
@@ -3,7 +3,7 @@ export default {
async
processSetpan
(
setfegRequest
,
fn
)
{
let
loading
=
this
.
loading
(
'正在请求试算费用'
);
let
objtyp
=
setfegRequest
.
rec
.
objtyp
;
let
rtnmsg
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/
setmod/calcSettl
eDetail`
,
setfegRequest
);
let
rtnmsg
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/
calcFe
eDetail`
,
setfegRequest
);
if
(
rtnmsg
.
respCode
===
SUCCESS
)
{
this
.
model
.
setmod
.
setfeg
=
rtnmsg
.
data
.
setfeg
;
this
.
model
.
setmod
.
ref
=
rtnmsg
.
data
.
ref
;
...
...
@@ -15,7 +15,7 @@ export default {
loading
=
this
.
loading
(
'正在请求试算账务'
);
let
setglgRequestParams
=
fn
()
let
res
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/
setmod/calcPay
Detail`
,
setglgRequestParams
);
let
res
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/
calcSettle
Detail`
,
setglgRequestParams
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
setmod
.
setglg
=
res
.
data
.
setglg
;
}
...
...
@@ -25,7 +25,8 @@ export default {
},
async
calcPayDetail
(
setglgRequest
)
{
let
loading
=
this
.
loading
(
'正在请求试算账务'
);
let
rtnmsg
=
await
Api
.
post
(
'/service/gid/setmod/calcPayDetail'
,
setglgRequest
);
let
objtyp
=
setglgRequest
.
rec
.
objtyp
;
let
rtnmsg
=
await
Api
.
post
(
`/service/
${
objtyp
.
toLowerCase
()
}
/calcSettleDetail`
,
setglgRequest
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
model
.
setmod
.
setglg
=
rtnmsg
.
data
.
setglg
;
}
...
...
@@ -33,7 +34,7 @@ export default {
},
async
setgllAccts
(
reqParams
,
index
)
{
let
loading
=
this
.
loading
();
let
rulePath
=
'/service/gid/setmod/setgll/'
+
index
+
'/accts'
;
let
rulePath
=
'/service/gid/setmod/setgll/'
+
index
+
'/accts'
;
//TODO 这里的gid应该是变量
let
rtnmsg
=
await
Api
.
post
(
rulePath
,
reqParams
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
model
.
setmod
.
setglg
=
rtnmsg
.
data
.
setglg
;
...
...
src/components/business/setmod/model/SetglgRequest.js
View file @
54ce30aa
...
...
@@ -35,6 +35,7 @@ export default class SetglgRequest {
setfel
:
[],
},
liaall
:
{},
liaccv
:
{}
};
}
}
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