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
c8ca9dad
Commit
c8ca9dad
authored
Dec 04, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改判断工作流和下单接口参数
parent
f24c8707
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+4
-4
index.tsx
src/pages/lxMall/order/index.tsx
+0
-1
index.tsx
src/pages/lxMall/purchaseOrder/index.tsx
+1
-1
No files found.
src/pages/lxMall/commodityDetail/index.tsx
View file @
c8ca9dad
...
...
@@ -392,13 +392,14 @@ const CommodityDetail = (props) => {
postFn
=
PublicApi
.
postSearchShopPurchaseSaveOrUpdatePurchase
break
;
}
const
userInfo
=
getAuth
()
||
{}
const
directParam
:
any
=
{
productId
:
selectCommodityId
,
memberId
,
shopId
:
storeId
,
memberRoleId
:
userInfo
.
memberRoleId
memberRoleId
:
commodityDetail
.
memberRoleId
}
PublicApi
.
postOrderDirectPayment
(
directParam
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
message
.
destroy
()
...
...
@@ -511,12 +512,11 @@ const CommodityDetail = (props) => {
if
(
clickFlag
)
{
clickFlag
=
false
const
userInfo
=
getAuth
()
||
{}
const
param
:
any
=
{
productId
:
selectCommodityId
,
memberId
,
shopId
:
storeId
,
memberRoleId
:
userInfo
.
memberRoleId
memberRoleId
:
commodityDetail
.
memberRoleId
}
PublicApi
.
postOrderDirectPayment
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
...
...
src/pages/lxMall/order/index.tsx
View file @
c8ca9dad
...
...
@@ -287,7 +287,6 @@ const Order: React.FC<OrderPropsType> = (props) => {
const
params
:
any
=
{
orderModel
:
getOrderMode
(),
// 下单模式
needTheInvoice
:
needTheInvoice
?
1
:
0
,
memberRoleId
:
userInfo
.
memberRoleId
,
shopId
:
storeId
}
...
...
src/pages/lxMall/purchaseOrder/index.tsx
View file @
c8ca9dad
...
...
@@ -599,7 +599,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
productIds
,
memberId
:
selectItem
.
memberId
,
shopId
:
storeId
,
memberRoleId
:
userInfo
.
memberRoleId
memberRoleId
:
selectItem
.
memberRoleId
,
}
PublicApi
.
postOrderIsWorkFlow
(
param
).
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