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
a00f1b49
Commit
a00f1b49
authored
Apr 21, 2022
by
rainbowmorel@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改送货单收货单的页面
parent
c39df004
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
29 deletions
+54
-29
label.ts
src/pages/order/constants/label.ts
+1
-0
details.tsx
...pages/order/deliveryNotice/receivingNoteQuery/details.tsx
+38
-15
index.tsx
src/pages/order/deliveryNotice/receivingNoteQuery/index.tsx
+7
-7
index.tsx
.../order/deliveryNotice/receivingNoteQuery/schema/index.tsx
+8
-7
No files found.
src/pages/order/constants/label.ts
View file @
a00f1b49
...
...
@@ -3,6 +3,7 @@ export const ReceiptAddLabel = '新增收货单';
export
const
ReceiptAbstractLabel
=
'收货单摘要'
;
export
const
DeliveryAbstractLabel
=
'送货单摘要'
;
export
const
DeliveryAbstractNoLabel
=
'送货通知编号'
;
export
const
ReNoLabel
=
'收货单编号'
;
export
const
DeliveryPanleNoLabel
=
'送货计划编号'
export
const
SupplyMembersLabel
=
'供应会员'
;
export
const
NoteLabel
=
'备注'
;
...
...
src/pages/order/deliveryNotice/receivingNoteQuery/details.tsx
View file @
a00f1b49
...
...
@@ -6,15 +6,15 @@
import
AnchorPage
,
{
AnchorsItem
}
from
'@/components/AnchorPage'
import
React
,
{
useEffect
,
useState
}
from
'react'
import
{
BillsInfo
,
ConsigneeLabel
,
ConsigneeTimeLabel
,
DeliveryAbstractLabel
,
DeliveryAddrLabel
,
BillsInfo
,
BuyerLabel
,
ConsigneeLabel
,
ConsigneeTimeLabel
,
DeliveryAbstractLabel
,
DeliveryAddrLabel
,
DeliveryDateLabel
,
DeliveryGood
,
DeliveryInfo
,
DeliveryNameLabel
,
DeliveryNoLabel
,
DeliveryPhoneLabel
,
DeliverySlefAddrLabel
,
DeliveryTimeLabel
,
DeliveryTypeLabel
,
Distribution
,
ExternalRoamRecord
,
Harvest
,
LogisticsCarNoLabel
,
LogisticsCompanyLabel
,
LogisticsInfo
,
LogisticsNoLabel
,
NoteLabel
,
OutStatusLabel
,
Recei
vingAddress
,
ReceivingTime
LogisticsInfo
,
LogisticsNoLabel
,
NoteLabel
,
OutStatusLabel
,
Recei
ptAbstractLabel
,
ReceivingAddress
,
ReceivingTime
,
ReNoLabel
}
from
'../../constants'
import
{
BaseInfo
as
ContentBox
}
from
'@/components/BaseInfo'
import
{
Table
}
from
'antd'
;
import
{
DeliveryNoticeTableColumn
,
ExternalRoamRecordTableColumn
}
from
'../../constants/page-table-column'
;
import
{
DeliveryNoticeTableColumn
,
DeliveryNoticeTableColumnSRM
,
ExternalRoamRecordTableColumn
}
from
'../../constants/page-table-column'
;
import
{
useLocation
}
from
'umi'
;
import
NoteFactoryService
from
'../../assets/handles/DeliveryNoteService'
;
...
...
@@ -71,11 +71,15 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
>
<
ContentBox
title=
{
BillsInfo
.
name
}
id=
{
BillsInfo
.
key
}
>
<
ContentBoxItem
label=
{
Delivery
NoLabel
}
>
{
info
?.
delivery
No
}
<
ContentBoxItem
label=
{
Re
NoLabel
}
>
{
info
?.
receive
No
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
DeliveryAbstractLabel
}
>
<
ContentBoxItem
label=
{
BuyerLabel
}
>
{
info
?.
buyerMemberName
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
ReceiptAbstractLabel
}
>
{
info
?.
digest
}
</
ContentBoxItem
>
...
...
@@ -90,6 +94,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
ContentBox
title=
{
Harvest
.
name
}
id=
{
Harvest
.
key
}
>
<
div
>
<
ContentBoxItem
label=
{
ReceivingTime
}
>
{
info
?.
receiveTime
}
</
ContentBoxItem
>
...
...
@@ -98,6 +103,12 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
{
info
?.
receiveVO
?.
consignee
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
DeliveryPhoneLabel
}
>
{
info
?.
receiveVO
?.
phone
}
</
ContentBoxItem
>
</
div
>
<
div
>
<
ContentBoxItem
label=
{
ReceivingAddress
}
>
<
div
>
{
info
?.
receiveVO
?.
provinceName
}
...
...
@@ -112,17 +123,23 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
</
div
>
</
ContentBoxItem
>
</
div
>
<
ContentBoxItem
label=
{
DeliveryPhoneLabel
}
>
{
info
?.
receiveVO
?.
phone
}
</
ContentBoxItem
>
</
ContentBox
>
<
ContentBox
title=
{
DeliveryInfo
.
name
}
id=
{
DeliveryInfo
.
key
}
>
<
div
>
<
ContentBoxItem
label=
{
DeliveryNoLabel
}
>
{
info
?.
deliveryNo
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
ConsigneeTimeLabel
}
>
{
info
?.
sendTime
}
</
ContentBoxItem
>
</
div
>
<
div
>
<
ContentBoxItem
label=
{
DeliverySlefAddrLabel
}
>
<
div
>
{
info
?.
deliverVO
?.
provinceName
}
...
...
@@ -135,8 +152,8 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
{
info
?.
deliverVO
?.
phone
}
{
info
?.
deliverVO
?.
consignee
}
</
div
>
</
ContentBoxItem
>
</
div
>
</
ContentBox
>
...
...
@@ -145,22 +162,28 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
ContentBoxItem
label=
{
DeliveryTypeLabel
}
>
{
service
.
getDeliveryType
(
info
?.
deliveryType
)
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
LogisticsCarNoLabel
}
>
{
info
?.
executorVO
?.
carNumbers
}
<
ContentBoxItem
label=
{
LogisticsNoLabel
}
>
{
info
?.
logisticsNo
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
LogisticsCompanyLabel
}
>
{
info
?.
logisticsCompany
}
</
ContentBoxItem
>
<
ContentBoxItem
label=
{
LogisticsNoLabel
}
>
{
info
?.
logisticsNo
}
<
ContentBoxItem
label=
{
LogisticsCarNoLabel
}
>
{
info
?.
executorVO
?.
carNumbers
}
</
ContentBoxItem
>
</
ContentBox
>
<
ContentBox
title=
{
DeliveryGood
.
name
}
id=
{
DeliveryGood
.
key
}
cols=
{
1
}
>
<
Table
columns=
{
DeliveryNoticeTableColumn
}
columns=
{
info
?.
type
==
1
?
DeliveryNoticeTableColumn
:
DeliveryNoticeTableColumnSRM
}
rowKey=
"id"
dataSource=
{
tableDataSource
}
pagination=
{
{
...
...
src/pages/order/deliveryNotice/receivingNoteQuery/index.tsx
View file @
a00f1b49
...
...
@@ -75,13 +75,13 @@ const ReceivingNoteQuery: React.FC = () => {
)
}
},
{
title
:
'操作'
,
dataIndex
:
''
,
key
:
'x'
,
align
:
'center'
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
},
//
{
//
title: '操作',
//
dataIndex: '',
//
key: 'x',
//
align: 'center',
//
render: (record) => renderOptionButton(record)
//
},
]
const
fetchData
=
(
params
:
unknown
)
=>
{
...
...
src/pages/order/deliveryNotice/receivingNoteQuery/schema/index.tsx
View file @
a00f1b49
...
...
@@ -2,10 +2,10 @@
* 订单能力 -送货通知单协同 - 待确认送货通知单 - Schema
* @author: Gavin
*/
import
{
ISchema
}
from
'@formily/antd'
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
import
{
ISchema
}
from
'@formily/antd'
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
export
const
receivingNoteQuerySchema
:
ISchema
=
{
export
const
receivingNoteQuerySchema
:
ISchema
=
{
type
:
'object'
,
properties
:
{
mageLayout
:
{
...
...
@@ -16,7 +16,7 @@
type
:
'object'
,
'x-component'
:
'mega-layout'
,
'x-component-props'
:
{
grid
:
true
,
className
:
'useMegaStart'
},
properties
:
{
ctl
:
{
...
...
@@ -42,9 +42,10 @@
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
justifyContent
:
'flex-start'
},
colStyle
:
{
marginLef
t
:
20
,
marginRigh
t
:
20
,
},
},
properties
:
{
...
...
@@ -83,4 +84,4 @@
}
}
}
}
\ No newline at end of file
}
\ No newline at end of file
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