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
ce45ac19
Commit
ce45ac19
authored
Apr 29, 2022
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决遗留问题
parent
847499d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
env.config.js
config/env.config.js
+5
-5
index.jsx
src/pages/ReconciliationQuery/index.jsx
+13
-11
No files found.
config/env.config.js
View file @
ce45ac19
...
@@ -3,14 +3,14 @@ const isPre = process.env.PRE_ENV === 'pre';
...
@@ -3,14 +3,14 @@ const isPre = process.env.PRE_ENV === 'pre';
const
envAPi
=
{
const
envAPi
=
{
api
:
'
//backstms-test9.liangkebang.net
'
,
api
:
'
//backstms-test9.liangkebang.net
'
,
kdspOpApi
:
'
https://kdsp-operation-test
2
.liangkebang.net
'
,
kdspOpApi
:
'
https://kdsp-operation-test
9
.liangkebang.net
'
,
kdspApi
:
'
https://sc-op-api-test
2
.liangkebang.net
'
,
kdspApi
:
'
https://sc-op-api-test
9
.liangkebang.net
'
,
goodsApi
:
'
https://sc-op-api-test
2
.liangkebang.net
'
,
goodsApi
:
'
https://sc-op-api-test
9
.liangkebang.net
'
,
querysApi
:
'
https://sc-settlement-api-test9.liangkebang.net
'
,
querysApi
:
'
https://sc-settlement-api-test9.liangkebang.net
'
,
// goodsApi: '//192.168.188.111:7000',
// goodsApi: '//192.168.188.111:7000',
prologueDomain
:
'
https://mall-test
2
.liangkebang.net
'
,
prologueDomain
:
'
https://mall-test
9
.liangkebang.net
'
,
qiniuHost
:
'
https://appsync.lkbang.net
'
,
qiniuHost
:
'
https://appsync.lkbang.net
'
,
opapiHost
:
'
https://opapi-
gyl2
.liangkebang.net
'
,
opapiHost
:
'
https://opapi-
test9
.liangkebang.net
'
,
};
};
const
prodApi
=
{
const
prodApi
=
{
...
...
src/pages/ReconciliationQuery/index.jsx
View file @
ce45ac19
...
@@ -59,15 +59,25 @@ const ReconciliationQuery = () => {
...
@@ -59,15 +59,25 @@ const ReconciliationQuery = () => {
setselectedRows
(
selectedRows
);
setselectedRows
(
selectedRows
);
}
}
};
};
const
queryData
=
async
params
=>
{
const
{
current
,
pageSize
}
=
params
;
setpages
({
current
,
pageSize
});
setselectedRowKeys
([]);
setselectedRows
([]);
const
data
=
await
query
({
...
params
});
return
data
;
};
const
confirmAction
=
async
()
=>
{
const
confirmAction
=
async
()
=>
{
setloading
(
true
);
setloading
(
true
);
if
(
checkedStatus
(
selectedRows
))
{
if
(
checkedStatus
(
selectedRows
))
{
const
data
=
await
confirmSelfBill
(
selectedRowKeys
);
const
data
=
await
confirmSelfBill
(
selectedRowKeys
);
if
(
data
.
c
ode
===
'
0000
'
)
{
if
(
data
.
businessC
ode
===
'
0000
'
)
{
setselectedRowKeys
([]);
setselectedRowKeys
([]);
setselectedRows
([]);
setselectedRows
([]);
reload
();
actionRef
.
current
.
reloadAndRest
();
// reload();
// queryData({ current: 1, pageSize: 20 })
notification
.
success
({
message
:
'
确认成功
'
});
notification
.
success
({
message
:
'
确认成功
'
});
}
}
setloading
(
false
);
setloading
(
false
);
...
@@ -91,14 +101,6 @@ const ReconciliationQuery = () => {
...
@@ -91,14 +101,6 @@ const ReconciliationQuery = () => {
setloading
(
false
);
setloading
(
false
);
}
}
};
};
const
queryData
=
async
params
=>
{
const
{
current
,
pageSize
}
=
params
;
setpages
({
current
,
pageSize
});
setselectedRowKeys
([]);
setselectedRows
([]);
const
data
=
await
query
({
...
params
});
return
data
;
};
const
gather
=
{
const
gather
=
{
onDownload
,
onDownload
,
...
...
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