Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
linweijiong
jinfa-platform
Commits
64b38dfb
Commit
64b38dfb
authored
Apr 12, 2023
by
linweijiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:筛选合同以及币种的全部时,不需要传值
parent
d6fd4184
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
0 deletions
+36
-0
index.tsx
...ages/statistic/auditStatistics/buyerSrmContract/index.tsx
+3
-0
index.tsx
...s/statistic/contractStatistics/buyerSrmContract/index.tsx
+6
-0
index.tsx
...ges/statistic/contractStatistics/contractExpend/index.tsx
+6
-0
index.tsx
src/pages/statistic/orderStatistics/orderSrm/index.tsx
+3
-0
index.tsx
...es/statistic/orderStatistics/proportionAnalysis/index.tsx
+3
-0
index.tsx
src/pages/statistic/priceManage/priceReport/index.tsx
+3
-0
index.tsx
...ges/statistic/purchaseStatistics/purchaseReport/index.tsx
+3
-0
index.tsx
...ages/statistic/purchaseStatistics/purchaseRound/index.tsx
+3
-0
index.tsx
...s/statistic/settleStatistics/readySettleRanking/index.tsx
+3
-0
index.tsx
...ages/statistic/settleStatistics/settleAuditPage/index.tsx
+3
-0
No files found.
src/pages/statistic/auditStatistics/buyerSrmContract/index.tsx
View file @
64b38dfb
...
@@ -71,6 +71,9 @@ const Index = () => {
...
@@ -71,6 +71,9 @@ const Index = () => {
// if (isEmpty(obj[key])) {
// if (isEmpty(obj[key])) {
// delete obj[key]
// delete obj[key]
// }
// }
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
moment
.
isMoment
(
obj
[
key
]))
{
if
(
moment
.
isMoment
(
obj
[
key
]))
{
obj
[
key
]
=
moment
(
obj
[
key
]).
format
(
'YYYY-MM-DD'
)
obj
[
key
]
=
moment
(
obj
[
key
]).
format
(
'YYYY-MM-DD'
)
}
}
...
...
src/pages/statistic/contractStatistics/buyerSrmContract/index.tsx
View file @
64b38dfb
...
@@ -70,6 +70,12 @@ const Index = () => {
...
@@ -70,6 +70,12 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'status'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/contractStatistics/contractExpend/index.tsx
View file @
64b38dfb
...
@@ -64,6 +64,12 @@ const Index = () => {
...
@@ -64,6 +64,12 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'status'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/orderStatistics/orderSrm/index.tsx
View file @
64b38dfb
...
@@ -53,6 +53,9 @@ const Index = () => {
...
@@ -53,6 +53,9 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/orderStatistics/proportionAnalysis/index.tsx
View file @
64b38dfb
...
@@ -52,6 +52,9 @@ const Index = () => {
...
@@ -52,6 +52,9 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
&&
(
typeof
obj
[
key
]
!=
'boolean'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/priceManage/priceReport/index.tsx
View file @
64b38dfb
...
@@ -48,6 +48,9 @@ const Index = () => {
...
@@ -48,6 +48,9 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
))
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
))
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/purchaseStatistics/purchaseReport/index.tsx
View file @
64b38dfb
...
@@ -50,6 +50,9 @@ const Index = () => {
...
@@ -50,6 +50,9 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/purchaseStatistics/purchaseRound/index.tsx
View file @
64b38dfb
...
@@ -49,6 +49,9 @@ const Index = () => {
...
@@ -49,6 +49,9 @@ const Index = () => {
const
handleSubmit
=
(
values
)
=>
{
const
handleSubmit
=
(
values
)
=>
{
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/settleStatistics/readySettleRanking/index.tsx
View file @
64b38dfb
...
@@ -56,6 +56,9 @@ const Index = () => {
...
@@ -56,6 +56,9 @@ const Index = () => {
// }
// }
// }
// }
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
src/pages/statistic/settleStatistics/settleAuditPage/index.tsx
View file @
64b38dfb
...
@@ -48,6 +48,9 @@ const Index = () => {
...
@@ -48,6 +48,9 @@ const Index = () => {
const
obj
=
{
...
values
}
const
obj
=
{
...
values
}
for
(
const
key
in
obj
)
{
for
(
const
key
in
obj
)
{
if
(
key
==
'currencyType'
&&
obj
[
key
]
==
0
){
delete
obj
[
key
]
}
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
if
(
isEmpty
(
obj
[
key
])
&&
(
typeof
obj
[
key
]
!=
'number'
)
)
{
delete
obj
[
key
]
delete
obj
[
key
]
}
}
...
...
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