Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
5a1335dc
Commit
5a1335dc
authored
Apr 20, 2022
by
lxd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:问题修复
parent
0335b83e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
service.js
src/pages/PaymentMange/service.js
+5
-4
service.js
src/pages/ReconciliationQuery/service.js
+4
-4
service.js
src/pages/SettlementSheet/service.js
+4
-4
No files found.
src/pages/PaymentMange/service.js
View file @
5a1335dc
import
request
from
'
@/utils/request
'
;
import
config
from
'
../../../config/env.config
'
;
import
moment
from
'
moment
'
;
import
_
from
'
lodash
'
;
// 分页查询所有数据
const
{
querysApi
}
=
config
;
...
...
@@ -19,11 +20,11 @@ export async function query(params) {
};
const
{
data
}
=
await
request
.
post
(
'
/selfPaymentBill/merchant/page
'
,
{
prefix
:
querysApi
,
data
:
queryParams
,
data
:
_
.
omitBy
(
queryParams
,
v
=>
!
v
)
,
});
return
{
data
:
data
.
records
,
total
:
data
.
total
,
data
:
data
?.
records
||
[]
,
total
:
data
.
total
||
1
,
};
}
...
...
@@ -56,7 +57,7 @@ export async function selfPaymentExport(params) {
};
return
request
.
post
(
'
/selfPaymentBill/merchant/export
'
,
{
prefix
:
querysApi
,
data
:
queryParams
,
data
:
_
.
omitBy
(
queryParams
,
v
=>
!
v
)
,
responseType
:
'
arrayBuffer
'
,
});
}
...
...
src/pages/ReconciliationQuery/service.js
View file @
5a1335dc
import
request
from
'
@/utils/request
'
;
import
config
from
'
../../../config/env.config
'
;
import
_
from
'
lodash
'
;
// 分页查询所有数据
const
{
querysApi
}
=
config
;
...
...
@@ -16,11 +16,11 @@ export async function query(params) {
};
const
{
data
}
=
await
request
.
post
(
'
/selfBill/merchant/querySelfBill
'
,
{
prefix
:
querysApi
,
data
:
queryParams
,
data
:
_
.
omitBy
(
queryParams
,
v
=>
!
v
)
,
});
return
{
data
:
data
.
records
,
total
:
data
.
total
,
data
:
data
?.
records
||
[]
,
total
:
data
?.
total
||
1
,
};
}
...
...
src/pages/SettlementSheet/service.js
View file @
5a1335dc
import
request
from
'
@/utils/request
'
;
import
config
from
'
../../../config/env.config
'
;
import
{
stringify
}
from
'
querystring
'
;
import
_
from
'
lodash
'
;
// 分页查询所有数据
const
{
querysApi
}
=
config
;
...
...
@@ -18,12 +18,12 @@ export async function query(params) {
};
const
{
data
}
=
await
request
.
post
(
'
/selfSettleBill/merchant/pageQuery
'
,
{
prefix
:
querysApi
,
data
:
queryParams
,
data
:
_
.
omitBy
(
queryParams
,
v
=>
!
v
)
,
});
return
{
data
:
data
.
records
,
total
:
data
.
total
,
data
:
data
?.
records
||
[]
,
total
:
data
.
total
||
1
,
};
}
// 生成付款单
...
...
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