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
shenshaokai
jinfa-platform
Commits
9e6e4421
Commit
9e6e4421
authored
Jun 16, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理24848销售订单显示优惠券使用记录异常
parent
1a2b110f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.tsx
...es/transaction/components/saleOrderProductTable/index.tsx
+4
-4
No files found.
src/pages/transaction/components/saleOrderProductTable/index.tsx
View file @
9e6e4421
...
...
@@ -12,7 +12,7 @@ import {
OrderKindType
,
}
from
'@/constants/order'
import
{
AddressPop
}
from
'../addressPop'
import
{
getOrderVendorDetailCoupon
,
getOrderVendorDetailPromotion
,
postOrderVendorValidateSubmitFreightUpdate
}
from
'@/services/OrderNewV2Api'
import
{
getOrderVendorDetailCoupon
Page
,
getOrderVendorDetailPromotion
,
postOrderVendorValidateSubmitFreightUpdate
}
from
'@/services/OrderNewV2Api'
import
{
postLogisticsFreightTemplateCalFreightPrice
}
from
'@/services/LogisticsV2Api'
import
{
getProductPositionDeductionRecordList
}
from
'@/services/ProductV2Api'
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
...
...
@@ -801,10 +801,10 @@ const SaleOrderProductTable: React.FC<OrderProductTableProps> = (props) => {
return
code
===
1000
?
data
:
[]
},
[
checkProduct
])
const
fetchCouponData
=
useCallback
(
async
(
params
)
=>
{
const
{
data
,
code
}
=
await
getOrderVendorDetailCoupon
({
...
params
,
orderId
:
String
(
orderId
)
})
const
fetchCouponData
=
async
(
params
)
=>
{
const
{
data
,
code
}
=
await
getOrderVendorDetailCoupon
Page
({
...
params
,
orderId
:
String
(
orderId
)
})
return
code
===
1000
?
data
:
[]
}
,
[
checkProduct
])
}
const
columns
=
productInfoColumns
.
map
(
col
=>
{
if
(
!
col
.
editable
)
{
...
...
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