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
aa35c0ed
Commit
aa35c0ed
authored
Jan 26, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 去掉 过滤未支付的订单
parent
e3d25b88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
index.tsx
src/pages/afterService/components/GoodsDrawer/index.tsx
+3
-4
No files found.
src/pages/afterService/components/GoodsDrawer/index.tsx
View file @
aa35c0ed
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-2
1 15:26:30
* @LastEditTime: 2021-01-2
6 18:06:04
* @Description: 维修商品抽屉组件
* @Description: 维修商品抽屉组件
*/
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
@@ -485,7 +485,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
...
@@ -485,7 +485,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
}
=
item
;
}
=
item
;
return
{
return
{
payAmount
:
payPrice
,
payAmount
:
payPrice
,
payTime
:
payTime
?
moment
(
payTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
payTime
:
payTime
?
moment
(
payTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
null
,
payWay
,
payWay
,
channel
,
channel
,
payWayName
:
PAYWAY
[
payWay
],
payWayName
:
PAYWAY
[
payWay
],
...
@@ -494,8 +494,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
...
@@ -494,8 +494,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
payRuleId
:
ruleConfigurationId
,
payRuleId
:
ruleConfigurationId
,
...
rest
,
...
rest
,
}
}
})
})
:
.
filter
(
item
=>
item
.
payTime
)
:
[]
[]
,
,
// 计算已支付金额,采购单价 * 支付比例 累加
// 计算已支付金额,采购单价 * 支付比例 累加
...
...
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