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
4950d0e6
Commit
4950d0e6
authored
Nov 06, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev
parents
5686cdc6
df782cbb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
index.tsx
src/pages/lxMall/purchaseOrder/index.tsx
+2
-1
index.tsx
...Order/orderCollect/components/inquiryModalTable/index.tsx
+1
-1
index.ts
...s/transaction/purchaseOrder/orderCollect/effects/index.ts
+2
-1
request.ts
src/utils/request.ts
+1
-1
No files found.
src/pages/lxMall/purchaseOrder/index.tsx
View file @
4950d0e6
...
...
@@ -543,7 +543,8 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
buyOrderInfo
.
payWayList
=
await
getPayWayListByMemberId
(
selectItem
.
memberId
)
PublicApi
.
postOrderIsWorkFlow
({
productIds
}).
then
(
res
=>
{
//@ts-ignore
PublicApi
.
postOrderIsWorkFlow
({
productIds
,
memberId
:
selectItem
.
memberId
}).
then
(
res
=>
{
setConfirmLoading
(
false
)
if
(
res
.
code
===
1000
)
{
message
.
destroy
()
...
...
src/pages/transaction/purchaseOrder/orderCollect/components/inquiryModalTable/index.tsx
View file @
4950d0e6
...
...
@@ -33,7 +33,7 @@ const InquiryModalTable:React.FC<InquiryModalTableProps> = (props) => {
if
(
item
)
{
schemaAction
.
setFieldValue
(
'quotationNo'
,
item
.
quotationNo
)
const
data
=
await
fetchOrderApi
.
getProductListByQuotationOrderId
({
id
:
item
.
id
id
:
item
.
i
nquiryListI
d
})
// 将询价报价单的id字段 冗余给商品列表
schemaAction
.
setFieldValue
(
'orderProductRequests'
,
data
.
map
((
v
:
any
)
=>
{
...
...
src/pages/transaction/purchaseOrder/orderCollect/effects/index.ts
View file @
4950d0e6
...
...
@@ -98,7 +98,8 @@ export const useProductTableChangeForPay = (ctx: ISchemaFormActions | ISchemaFor
// 请求一次并复制给支付信息
const
productItem
=
value
[
0
]
fetchOrderApi
.
getPayInfoList
({
productId
:
productItem
.
id
productId
:
productItem
.
id
,
memberId
:
productItem
.
memberId
}).
then
(
data
=>
{
ctx
.
setFieldValue
(
'paymentInformationResponses'
,
data
)
}).
catch
(
err
=>
{
...
...
src/utils/request.ts
View file @
4950d0e6
...
...
@@ -48,7 +48,7 @@ const errorHandler = (error: ResponseError): IRequestError => {
message
.
error
(
'http请求错误: '
+
response
.
status
+
'->'
+
messageText
,
3
)
}
else
{
// 请求超时, 会造成没有response
message
.
error
(
'请求
错误
'
)
message
.
error
(
'请求
超时
'
)
}
// throw可令响应promise走catch, 如需走resolve需直接return
throw
{
...
...
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