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
9e8988e6
Commit
9e8988e6
authored
Jul 15, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-srm' into v2
parents
5e230859
9ac7e002
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
index.tsx
src/pages/procurement/components/descriptionsInfo/index.tsx
+1
-1
index.tsx
...Order/orderCollect/components/productModalTable/index.tsx
+2
-1
index.ts
...s/transaction/purchaseOrder/orderCollect/effects/index.ts
+1
-0
index.tsx
src/pages/transaction/purchaseOrder/orderCollect/index.tsx
+6
-0
No files found.
src/pages/procurement/components/descriptionsInfo/index.tsx
View file @
9e8988e6
...
...
@@ -124,7 +124,7 @@ const DescriptionsInfo: React.FC<BasicInfoProps> = ({cardTitle, type}) => {
{
span
:
8
,
fieldList
:
[
{
title
:
'招标编号:'
,
name
:
'code'
,
render
:
(
t
)
=>
<
a
href=
{
`/memberCenter/procurementAbility/
tender
/callForBidsSearch/detail?id=${_data.inviteTender.id}`
}
target=
"_blank"
>
{
t
}
</
a
>
},
{
title
:
'招标编号:'
,
name
:
'code'
,
render
:
(
t
)
=>
<
a
href=
{
`/memberCenter/procurementAbility/
${apiType[0]==='c'?'callForBids':'tender'}
/callForBidsSearch/detail?id=${_data.inviteTender.id}`
}
target=
"_blank"
>
{
t
}
</
a
>
},
{
title
:
'招标会员:'
,
name
:
'memberName'
},
{
title
:
'适用城市:'
,
...
...
src/pages/transaction/purchaseOrder/orderCollect/components/productModalTable/index.tsx
View file @
9e8988e6
...
...
@@ -188,7 +188,8 @@ const ProductModalTable:React.FC<ProductModalTableProps> = (props) => {
environment
:
1
,
memberId
:
supplyMembersId
,
// 手工下单/合并订单下单时,查询现货价格商品
priceTypeList
:
(
modelType
===
OrderModalType
.
CONSOLIDATED_ORDER
||
modelType
===
OrderModalType
.
HAND_ORDER
)
?
[
1
]
:
undefined
priceTypeList
:
(
modelType
===
OrderModalType
.
CONSOLIDATED_ORDER
||
modelType
===
OrderModalType
.
HAND_ORDER
)
?
[
1
]
:
undefined
,
shopId
:
schemaAction
.
getFieldValue
(
'shopId'
)
}
return
fetchOrderApi
.
getProductList
(
params
)
}
...
...
src/pages/transaction/purchaseOrder/orderCollect/effects/index.ts
View file @
9e8988e6
...
...
@@ -113,6 +113,7 @@ export const useProductTableChangeForPay = (ctx: ISchemaFormActions | ISchemaFor
memberId
:
productItem
?.
memberId
||
ctx
.
getFieldValue
(
'supplyMembersId'
),
memberRoleId
:
productItem
?.
memberRoleId
||
ctx
.
getFieldValue
(
'supplyMembersRoleId'
),
orderModel
:
orderModel
,
shopId
:
ctx
.
getFieldValue
(
'shopId'
)
}).
then
(
data
=>
{
ctx
.
setFieldValue
(
'paymentInformationResponses'
,
data
)
}).
catch
(
err
=>
{
...
...
src/pages/transaction/purchaseOrder/orderCollect/index.tsx
View file @
9e8988e6
...
...
@@ -405,6 +405,9 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
const
handleOrderNo
=
async
()
=>
{
// @todo 未完整实现功能, 缺少商品接口
// 询价报价单, 合并订单需要唤起询价弹窗
if
(
!
addSchemaAction
.
getFieldValue
(
'shopId'
))
{
return
message
.
error
(
'请先选择适应商城'
)
}
const
orderModel
=
addSchemaAction
.
getFieldValue
(
'orderModel'
)
if
(
orderModel
===
OrderModalType
.
INQUIRY_QUOTATION_ORDER
||
orderModel
===
OrderModalType
.
CONSOLIDATED_ORDER
)
{
inquiryRef
.
current
.
setVisible
(
true
)
...
...
@@ -414,6 +417,9 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
}
// 选择会员弹窗
const
handleOrderMember
=
()
=>
{
if
(
!
addSchemaAction
.
getFieldValue
(
'shopId'
))
{
return
message
.
error
(
'请先选择适应商城'
)
}
memberRef
.
current
.
setVisible
(
true
)
}
...
...
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