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
陈智峰
jinfa-platform
Commits
b4269c7f
Commit
b4269c7f
authored
Dec 18, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理采购下单查找运费提示为数量不能为空
parent
cbe457d1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
viewProducts.tsx
src/pages/commodity/products/viewProducts.tsx
+1
-1
index.tsx
src/pages/transaction/components/orderPayModal/index.tsx
+0
-2
index.tsx
src/pages/transaction/purchaseOrder/orderCollect/index.tsx
+1
-1
No files found.
src/pages/commodity/products/viewProducts.tsx
View file @
b4269c7f
...
...
@@ -613,7 +613,7 @@ const viewProducts: React.FC<{}> = () => {
<
Col
span=
{
6
}
>
<
p
>
{
productDetail
?.
isMemberPrice
&&
'允许使用会员折扣购买
'
productDetail
?.
isMemberPrice
?
'允许使用会员折扣购买'
:
'无
'
}
</
p
>
</
Col
>
...
...
src/pages/transaction/components/orderPayModal/index.tsx
View file @
b4269c7f
...
...
@@ -206,8 +206,6 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
setBalanceInfo
(
res
.
data
)
}
else
{
message
.
error
(
res
.
message
)
}
setIsSpin
(
false
)
})
...
...
src/pages/transaction/purchaseOrder/orderCollect/index.tsx
View file @
b4269c7f
...
...
@@ -71,7 +71,7 @@ export const MoneyTotalBox = registerVirtualBox('moneyTotalBox', props => {
orderProductList
:
logsiticsDataMaps
.
map
(
v
=>
({
templateId
:
v
.
logistics
.
templateId
,
weight
:
v
.
logistics
.
weight
,
count
:
v
?.
purchaseCount
||
null
count
:
v
?.
purchaseCount
||
0
})),
receiverAddressId
:
typeof
receiverAddressId
===
'object'
?
receiverAddressId
.
id
:
receiverAddressId
},
{
ttl
:
10
*
1000
,
useCache
:
true
,
ctlType
:
'none'
}).
then
(
res
=>
{
...
...
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