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
a389a0ed
Commit
a389a0ed
authored
Oct 26, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改统一收发货文案
parent
48c21e9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
index.tsx
src/pages/transaction/components/orderDeleveRecord/index.tsx
+3
-3
index.tsx
...Order/orderCollect/components/productModalTable/index.tsx
+9
-4
useProductTable.tsx
...tion/purchaseOrder/orderCollect/model/useProductTable.tsx
+1
-1
No files found.
src/pages/transaction/components/orderDeleveRecord/index.tsx
View file @
a389a0ed
...
...
@@ -162,19 +162,19 @@ const OrderDeleveRecord:React.FC<OrderDeleveRecordProps> = (props) => {
const
{
orderReceivingStatisticsResponses
,
orderDeliveryDetailsResponses
}
=
data
const
sideOrderCols
:
any
[]
=
[
{
title
:
'
收
货批次'
,
title
:
'
发
货批次'
,
dataIndex
:
'deliveryBatch'
,
align
:
'center'
,
key
:
'deliveryBatch'
},
{
title
:
'
收
货单号'
,
title
:
'
发
货单号'
,
dataIndex
:
'deliveryNo'
,
align
:
'center'
,
key
:
'deliveryNo'
,
},
{
title
:
'
收
货时间'
,
title
:
'
发
货时间'
,
dataIndex
:
'deliveryTime'
,
align
:
'center'
,
key
:
'deliveryTime'
,
...
...
src/pages/transaction/purchaseOrder/orderCollect/components/productModalTable/index.tsx
View file @
a389a0ed
...
...
@@ -137,10 +137,15 @@ const ProductModalTable:React.FC<ProductModalTableProps> = (props) => {
},
[])
const
handleConfirmProduct
=
async
()
=>
{
const
productData
=
schemaAction
.
getFieldValue
(
'orderProductRequests'
)
schemaAction
.
setFieldValue
(
'orderProductRequests'
,
await
filterProductDataById
(
productData
,
rowSelectionCtl
.
selectRow
))
confirmModal
&&
confirmModal
()
setVisible
(
false
)
// 判断所选择的商品是否属于同一个工作流
const
{
code
,
data
}
=
await
PublicApi
.
postOrderIsWorkFlow
({
productIds
:
rowSelectionCtl
.
selectedRowKeys
},
{
ctlType
:
'none'
})
if
(
code
===
1000
)
{
const
productData
=
schemaAction
.
getFieldValue
(
'orderProductRequests'
)
schemaAction
.
setFieldValue
(
'orderProductRequests'
,
await
filterProductDataById
(
productData
,
rowSelectionCtl
.
selectRow
))
confirmModal
&&
confirmModal
()
setVisible
(
false
)
}
}
const
fetchProductList
=
(
values
)
=>
{
...
...
src/pages/transaction/purchaseOrder/orderCollect/model/useProductTable.tsx
View file @
a389a0ed
...
...
@@ -44,7 +44,7 @@ export const useProductTable = (ctx: ISchemaFormActions | ISchemaFormAsyncAction
productInfoColumns
[
productInfoColumns
.
length
-
1
].
render
=
(
text
,
record
)
=>
{
return
<>
<
Button
type=
'link'
onClick=
{
()
=>
handleDelete
(
record
)
}
>
删除
</
Button
>
<
Button
type=
'link'
>
选择合并订单
</
Button
>
{
/* <Button type='link'>选择合并订单</Button> */
}
</>
}
}
else
{
...
...
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