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
d0b324b2
Commit
d0b324b2
authored
Apr 16, 2022
by
leimo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '20418order' into 'v2-220418'
修复一些bug See merge request linkseeks-design/pro-platform!374
parents
a4b70a91
90e2bacb
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
30 additions
and
15 deletions
+30
-15
add.tsx
src/pages/order/deliveryNotice/create/add.tsx
+5
-2
add.tsx
src/pages/order/deliveryNotice/manageB2B/add.tsx
+4
-2
edit.tsx
src/pages/order/deliveryNotice/manageB2B/edit.tsx
+6
-1
add.tsx
src/pages/order/deliveryNotice/manageSRM/add.tsx
+3
-2
edit.tsx
src/pages/order/deliveryNotice/manageSRM/edit.tsx
+7
-1
index.tsx
...eliveryNoticeAwaitB2B/components/AddEditContent/index.tsx
+1
-1
index.tsx
...eliveryNoticeAwaitSRM/components/AddEditContent/index.tsx
+1
-1
index.tsx
...liveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
+1
-1
add.tsx
src/pages/order/receivingNote/deliveryNoteManage/add.tsx
+1
-3
edit.tsx
src/pages/order/receivingNote/deliveryNoteQuery/edit.tsx
+1
-1
No files found.
src/pages/order/deliveryNotice/create/add.tsx
View file @
d0b324b2
...
...
@@ -29,6 +29,8 @@ import { useLocation } from 'umi';
import
{
SourceTypeEnum
}
from
'../../constants/SourceTypeEnum'
;
import
{
ShipperAddress
,
ReceiverAddress
}
from
'@/components/AddressDrawer'
import
{
checkRegExp
}
from
'@/utils/regExp'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
const
DeliveryNoticeManageSRMDetails
:
React
.
FC
=
()
=>
{
...
...
@@ -167,7 +169,8 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
FormItem
rules=
{
[
required
(
`${DeliveryPhoneLabel}不能为空`
)
required
(
`${DeliveryPhoneLabel}不能为空`
),
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
"手机号是否正确"
}
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
/>
...
...
@@ -255,7 +258,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
HarvestMaterialInput
value=
{
rcode
[
OrderNumColumn
.
key
]
}
index=
{
index
}
key
U
p=
"deliveryCount"
key
u
p=
"deliveryCount"
/>
)
}
...
...
src/pages/order/deliveryNotice/manageB2B/add.tsx
View file @
d0b324b2
...
...
@@ -22,6 +22,7 @@ import { DeliveryNumColumn, OrderNumColumn } from '../../constants/table-column'
import
moment
from
'moment'
;
import
{
addrFormatValue
}
from
'../../assets/format/addrValue'
;
import
DeliveryGoodTableSelectB2B
from
'../../components/DeliveryGoodTableSelect/DeliveryGoodTableSelectB2B'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
const
DeliveryNoticeManageSRMDetails
:
React
.
FC
=
()
=>
{
...
...
@@ -150,7 +151,8 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
FormItem
rules=
{
[
required
()
required
(
'请出入正确的手机号'
),
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
"手机号是否正确"
}
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
/>
...
...
@@ -266,7 +268,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
HarvestMaterialInput
value=
{
rcode
[
OrderNumColumn
.
key
]
}
index=
{
index
}
key
U
p=
"deliveryCount"
key
u
p=
"deliveryCount"
/>
)
}
...
...
src/pages/order/deliveryNotice/manageB2B/edit.tsx
View file @
d0b324b2
...
...
@@ -155,7 +155,12 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
<
Input
/>
</
FormItem
>
<
FormItem
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
FormItem
rules=
{
[
required
(
'请出入正确的手机号'
),
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
"手机号是否正确"
}
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
/>
</
FormItem
>
</
ContentBox
>
...
...
src/pages/order/deliveryNotice/manageSRM/add.tsx
View file @
d0b324b2
...
...
@@ -147,7 +147,8 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
FormItem
rules=
{
[
required
()
required
(
'请出入正确的手机号'
),
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
"手机号是否正确"
}
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
/>
...
...
@@ -261,7 +262,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
<
HarvestMaterialInput
value=
{
rcode
[
OrderNumColumn
.
key
]
}
index=
{
index
}
key
U
p=
"deliveryCount"
key
u
p=
"deliveryCount"
/>
)
}
...
...
src/pages/order/deliveryNotice/manageSRM/edit.tsx
View file @
d0b324b2
...
...
@@ -24,6 +24,7 @@ import LogisticsCompanyMerchantsSelect from '@/components/LogisticsCompanySelect
import
{
useLocation
}
from
'umi'
;
import
{
DeliveryNumColumn
}
from
'../../constants/table-column'
;
import
{
addrFormatValue
}
from
'../../assets/format/addrValue'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
const
ContentBoxItem
=
ContentBox
.
BaseInfoItem
;
...
...
@@ -154,7 +155,12 @@ const DeliveryNoticeManageSRMEdit: React.FC = () => {
<
DatePickerSelect
.
RangePicker
disabled=
{
true
}
className=
"w-full"
picker=
'time'
/>
</
FormItem
>
<
FormItem
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
FormItem
rules=
{
[
required
(
'请出入正确的手机号'
),
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
"手机号是否正确"
}
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
/>
</
FormItem
>
</
ContentBox
>
...
...
src/pages/order/deliveryNoticeManagement/deliveryNoticeAwaitB2B/components/AddEditContent/index.tsx
View file @
d0b324b2
...
...
@@ -200,7 +200,7 @@ const DeliveryNoticeManagementAwaitB2BDetails: React.FC<PropsType> = ({ type, id
disabled=
{
!!
planData
}
value=
{
rcode
[
'planCount'
]
}
index=
{
index
}
key
U
p=
"planCount"
key
u
p=
"planCount"
/>
)
}
...
...
src/pages/order/deliveryNoticeManagement/deliveryNoticeAwaitSRM/components/AddEditContent/index.tsx
View file @
d0b324b2
...
...
@@ -198,7 +198,7 @@ const DeliveryNoticeManagementAwaitSRMDetails: React.FC<PropsType> = ({ type, id
disabled=
{
!!
planData
}
value=
{
rcode
[
'planCount'
]
}
index=
{
index
}
key
U
p=
"planCount"
key
u
p=
"planCount"
/>
)
}
...
...
src/pages/order/deliveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
View file @
d0b324b2
...
...
@@ -254,7 +254,7 @@ function DeliveryNoticeFromCreate() {
<
HarvestMaterialInput
value=
{
rcode
[
OrderNumColumn
.
key
]
}
index=
{
index
}
key
U
p=
"deliveryCount"
key
u
p=
"deliveryCount"
/>
)
}
...
...
src/pages/order/receivingNote/deliveryNoteManage/add.tsx
View file @
d0b324b2
...
...
@@ -57,9 +57,7 @@ function DeliveryNoteAddForm() {
service
.
getDetailById
(
id
).
then
(
res
=>
{
form
.
setFieldsValue
({
deliveryOrderId
:
id
,
// ...res,
deliveryTime
:
moment
(
res
.
deliveryTime
),
deliveryRangeTime
:
[
moment
(
res
.
deliveryStartTime
,
'HH:mm:ss'
),
moment
(
res
.
deliveryEndTime
,
'HH:mm:ss'
)]
...
noteService
.
formatField
(
res
)
})
setOuterHistoryList
(
res
.
outerHistoryList
)
})
...
...
src/pages/order/receivingNote/deliveryNoteQuery/edit.tsx
View file @
d0b324b2
...
...
@@ -237,7 +237,7 @@ function DeliveryNoteAddForm() {
<
HarvestMaterialInput
value=
{
rcode
[
OrderNumColumn
.
key
]
}
index=
{
index
}
key
U
p=
"deliveryCount"
key
u
p=
"deliveryCount"
/>
)
}
...
...
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