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
e8c269ba
Commit
e8c269ba
authored
May 10, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' of…
Merge branch 'v2-220418' of
ssh://gitlab.shushangyun.com:8122/linkseeks-design/pro-platform
into v2-220418
parents
7a41a347
8dfe6a0c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
16 deletions
+26
-16
label.ts
src/pages/order/constants/label.ts
+1
-1
edit.tsx
src/pages/order/deliveryNotice/manageB2B/edit.tsx
+0
-1
details.tsx
src/pages/order/receivingNote/deliveryNoteManage/details.tsx
+1
-1
edit.tsx
src/pages/order/receivingNote/deliveryNoteManage/edit.tsx
+24
-13
No files found.
src/pages/order/constants/label.ts
View file @
e8c269ba
...
@@ -77,5 +77,5 @@ export const AlreadyDeliveryNoteGenerated = intl.formatMessage({id: 'order.yishe
...
@@ -77,5 +77,5 @@ export const AlreadyDeliveryNoteGenerated = intl.formatMessage({id: 'order.yishe
export
const
Deliverylimit
=
intl
.
formatMessage
({
id
:
'order.songhuoshuliangbunengdayu'
,
defaultMessage
:
'送货数量不能大于待送货数量'
})
export
const
Deliverylimit
=
intl
.
formatMessage
({
id
:
'order.songhuoshuliangbunengdayu'
,
defaultMessage
:
'送货数量不能大于待送货数量'
})
export
const
PlearInput
=
'请输入'
src/pages/order/deliveryNotice/manageB2B/edit.tsx
View file @
e8c269ba
...
@@ -80,7 +80,6 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
...
@@ -80,7 +80,6 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
title: "提示",
title: "提示",
content: "确认送货单资料填写是否正确,提交后不能再撤回!",
content: "确认送货单资料填写是否正确,提交后不能再撤回!",
onOk: () => {
onOk: () => {
service.setTableData(tableDataSource);
service.setTableData(tableDataSource);
service.submit().then(res => {
service.submit().then(res => {
if (res.code === 1000) {
if (res.code === 1000) {
...
...
src/pages/order/receivingNote/deliveryNoteManage/details.tsx
View file @
e8c269ba
...
@@ -99,7 +99,7 @@ const DeliveryNoteManageDetails: React.FC = () => {
...
@@ -99,7 +99,7 @@ const DeliveryNoteManageDetails: React.FC = () => {
{info?.receiveTime}
{info?.receiveTime}
</ListInfoItem>
</ListInfoItem>
<ListInfoItem className="mt-16" label='收货
货
人'>
<ListInfoItem className="mt-16" label='收货人'>
{info?.receiverBO?.consignee}
{info?.receiverBO?.consignee}
</ListInfoItem>
</ListInfoItem>
<ListInfoItem className="mt-16" label='收货电话'>
<ListInfoItem className="mt-16" label='收货电话'>
...
...
src/pages/order/receivingNote/deliveryNoteManage/edit.tsx
View file @
e8c269ba
...
@@ -6,9 +6,9 @@ import {
...
@@ -6,9 +6,9 @@ import {
ReceiptAddLabel
,
NoteLabel
,
DeliveryTimeLabel
,
ReceiptAddLabel
,
NoteLabel
,
DeliveryTimeLabel
,
ConsigneeTimeLabel
,
LogisticsCompanyLabel
,
LogisticsCarNoLabel
,
LogisticsNoLabel
,
ConsigneeTimeLabel
,
LogisticsCompanyLabel
,
LogisticsCarNoLabel
,
LogisticsNoLabel
,
DeliveryAbstractLabel
,
BuyerLabel
,
DeliveryDateLabel
,
DeliveryNameLabel
,
DeliveryAbstractLabel
,
BuyerLabel
,
DeliveryDateLabel
,
DeliveryNameLabel
,
DeliveryPhoneLabel
,
ReceivingAddress
,
DeliveryTypeLabel
,
DeliveryNoLabel
,
ExternalRoamRecord
,
DeliverySlefAddrLabel
,
DeliveryDate
,
ReceivingTime
,
ConsigneeLabel
,
ConsigneePhoneLabel
DeliveryPhoneLabel
,
ReceivingAddress
,
DeliveryTypeLabel
,
DeliveryNoLabel
,
ExternalRoamRecord
,
DeliverySlefAddrLabel
,
DeliveryDate
,
ReceivingTime
,
ConsigneeLabel
,
ConsigneePhoneLabel
,
PlearInput
}
from
'../../constants'
}
from
'../../constants'
import
{
Button
,
Form
,
Input
,
message
,
Radio
,
Table
}
from
'antd'
import
{
Button
,
Form
,
Input
,
message
,
Modal
,
Radio
,
Table
}
from
'antd'
import
{
FormItem
,
required
}
from
'@/components/FormItem'
import
{
FormItem
,
required
}
from
'@/components/FormItem'
import
{
DeliveryNoticeTableColumn
,
DeliveryNoticeTableColumnSRM
,
ExternalRoamRecordTableColumn
}
from
"../../constants/page-table-column"
import
{
DeliveryNoticeTableColumn
,
DeliveryNoticeTableColumnSRM
,
ExternalRoamRecordTableColumn
}
from
"../../constants/page-table-column"
import
{
HarvestMaterialContextProvider
,
HarvestMaterialInput
}
from
'../../assets/context'
import
{
HarvestMaterialContextProvider
,
HarvestMaterialInput
}
from
'../../assets/context'
...
@@ -68,6 +68,8 @@ function DeliveryNoteAddForm() {
...
@@ -68,6 +68,8 @@ function DeliveryNoteAddForm() {
"executorVO.phone"
:
res
?.
executorVO
?.
phone
,
"executorVO.phone"
:
res
?.
executorVO
?.
phone
,
"executorVO.consignee"
:
res
?.
executorVO
?.
consignee
,
"executorVO.consignee"
:
res
?.
executorVO
?.
consignee
,
"executorVO.carNumbers"
:
res
?.
executorVO
?.
carNumbers
,
"executorVO.carNumbers"
:
res
?.
executorVO
?.
carNumbers
,
"receiveVO.phone"
:
res
?.
receiveVO
?.
phone
,
"receiveVO.consignee"
:
res
?.
receiveVO
?.
consignee
,
logisticsCompanyInt
:
{
logisticsCompanyInt
:
{
label
:
res
?.
logisticsCompany
,
label
:
res
?.
logisticsCompany
,
value
:
res
?.
logisticsCompanyId
value
:
res
?.
logisticsCompanyId
...
@@ -87,12 +89,20 @@ function DeliveryNoteAddForm() {
...
@@ -87,12 +89,20 @@ function DeliveryNoteAddForm() {
function
handleSubmit
()
{
function
handleSubmit
()
{
Modal
.
confirm
({
title
:
"提示"
,
content
:
"确认送货单资料填写是否正确,提交后不能再撤回!"
,
onOk
:
()
=>
{
service
.
setTableData
(
tableDataSource
);
service
.
submit
().
then
(
res
=>
{
service
.
submit
().
then
(
res
=>
{
if
(
res
.
code
==
1000
)
{
if
(
res
.
code
===
1000
)
{
message
.
success
(
res
.
message
)
handleLeave
(
false
)
setTimeout
(()
=>
{
history
.
go
(
-
1
)
history
.
go
(
-
1
)
}
else
{
},
1000
);
message
.
error
(
res
.
message
)
}
});
}
}
})
})
}
}
...
@@ -126,7 +136,7 @@ function DeliveryNoteAddForm() {
...
@@ -126,7 +136,7 @@ function DeliveryNoteAddForm() {
required
()
required
()
]
}
]
}
label=
{
DeliveryNoLabel
}
name=
"deliveryNo"
>
label=
{
DeliveryNoLabel
}
name=
"deliveryNo"
>
<
Input
disabled=
{
true
}
/>
<
Input
disabled=
{
true
}
placeholder=
{
`${PlearInput}${DeliveryNoLabel}`
}
/>
</
FormItem
>
</
FormItem
>
<
FormItem
<
FormItem
...
@@ -134,7 +144,7 @@ function DeliveryNoteAddForm() {
...
@@ -134,7 +144,7 @@ function DeliveryNoteAddForm() {
required
()
required
()
]
}
]
}
label=
{
DeliveryAbstractLabel
}
name=
"digest"
>
label=
{
DeliveryAbstractLabel
}
name=
"digest"
>
<
Input
disabled=
{
true
}
/>
<
Input
disabled=
{
true
}
placeholder=
{
`${PlearInput}${DeliveryAbstractLabel}`
}
/>
</
FormItem
>
</
FormItem
>
<
FormItem
<
FormItem
...
@@ -155,7 +165,7 @@ function DeliveryNoteAddForm() {
...
@@ -155,7 +165,7 @@ function DeliveryNoteAddForm() {
</
FormItem
>
</
FormItem
>
<
FormItem
label=
{
NoteLabel
}
name=
"remark"
>
<
FormItem
label=
{
NoteLabel
}
name=
"remark"
>
<
Input
/>
<
Input
placeholder=
{
`${PlearInput}${NoteLabel}`
}
/>
</
FormItem
>
</
FormItem
>
</
ContentBox
>
</
ContentBox
>
...
@@ -179,7 +189,7 @@ function DeliveryNoteAddForm() {
...
@@ -179,7 +189,7 @@ function DeliveryNoteAddForm() {
}
}
]
}
]
}
label=
{
ConsigneeLabel
}
name=
"receiveVO.consignee"
>
label=
{
ConsigneeLabel
}
name=
"receiveVO.consignee"
>
<
Input
/>
<
Input
placeholder=
{
`${PlearInput}${ConsigneeLabel}`
}
/>
</
FormItem
>
</
FormItem
>
<
FormItem
<
FormItem
rules=
{
[
rules=
{
[
...
@@ -188,6 +198,7 @@ function DeliveryNoteAddForm() {
...
@@ -188,6 +198,7 @@ function DeliveryNoteAddForm() {
label=
{
ReceivingAddress
}
name=
"receiveVO"
>
label=
{
ReceivingAddress
}
name=
"receiveVO"
>
<
ReceiverAddress
<
ReceiverAddress
disabled=
{
true
}
disabled=
{
true
}
hiddenBtn
/>
/>
</
FormItem
>
</
FormItem
>
...
@@ -199,7 +210,7 @@ function DeliveryNoteAddForm() {
...
@@ -199,7 +210,7 @@ function DeliveryNoteAddForm() {
}
}
]
}
]
}
label=
{
ConsigneePhoneLabel
}
name=
"receiveVO.phone"
>
label=
{
ConsigneePhoneLabel
}
name=
"receiveVO.phone"
>
<
Input
/>
<
Input
placeholder=
{
`${PlearInput}${ConsigneePhoneLabel}`
}
/>
</
FormItem
>
</
FormItem
>
...
@@ -238,7 +249,7 @@ function DeliveryNoteAddForm() {
...
@@ -238,7 +249,7 @@ function DeliveryNoteAddForm() {
</
FormItem
>
</
FormItem
>
<
FormItem
label=
{
LogisticsCarNoLabel
}
name=
"executorVO.carNumbers"
>
<
FormItem
label=
{
LogisticsCarNoLabel
}
name=
"executorVO.carNumbers"
>
<
Input
/>
<
Input
placeholder=
{
`${PlearInput}${LogisticsCarNoLabel}`
}
/>
</
FormItem
>
</
FormItem
>
<
FormItem
label=
{
LogisticsCompanyLabel
}
name=
"logisticsCompanyInt"
>
<
FormItem
label=
{
LogisticsCompanyLabel
}
name=
"logisticsCompanyInt"
>
<
LogisticsCompanyMerchantsSelect
/>
<
LogisticsCompanyMerchantsSelect
/>
...
@@ -250,7 +261,7 @@ function DeliveryNoteAddForm() {
...
@@ -250,7 +261,7 @@ function DeliveryNoteAddForm() {
}
}
]
}
]
}
name=
"logisticsNo"
>
name=
"logisticsNo"
>
<
Input
maxLength=
{
20
}
/>
<
Input
maxLength=
{
20
}
placeholder=
{
`${PlearInput}${LogisticsNoLabel}`
}
/>
</
FormItem
>
</
FormItem
>
</
ContentBox
>
</
ContentBox
>
...
...
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