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
b7c534cf
Commit
b7c534cf
authored
May 09, 2022
by
前端-甘科
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '20418order' into 'v2-220418'
receicerVO to receiceVO See merge request linkseeks-design/pro-platform!650
parents
312e64b2
4b12fc80
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
HandleFormSubmit.ts
src/pages/order/assets/handles/HandleFormSubmit.ts
+9
-9
add.tsx
src/pages/order/deliveryNotice/create/add.tsx
+6
-3
No files found.
src/pages/order/assets/handles/HandleFormSubmit.ts
View file @
b7c534cf
...
...
@@ -98,9 +98,9 @@ export class HandleFormSubmit {
moment
().
endOf
(
'day'
)
],
receiveVO
:
{
...
data
?.
receive
rB
O
,
receiverName
:
data
?.
receive
rB
O
?.
consignee
,
fullAddress
:
`
${
data
?.
receive
rBO
?.
provinceName
??
''
}
$
{
data
?.
receiverBO
?.
cityName
??
''
}
$
{
data
?.
receiverBO
?.
districtName
??
''
}
$
{
data
?.
receiverB
O
?.
streetName
??
''
}
`
...
data
?.
receive
V
O
,
receiverName
:
data
?.
receive
V
O
?.
consignee
,
fullAddress
:
`
${
data
?.
receive
VO
?.
provinceName
??
''
}
$
{
data
?.
receiveVO
?.
cityName
??
''
}
$
{
data
?.
receiveVO
?.
districtName
??
''
}
$
{
data
?.
receiveV
O
?.
streetName
??
''
}
`
},
executorVO: {
...data?.executorVO,
...
...
@@ -110,7 +110,7 @@ export class HandleFormSubmit {
"executorVO.phone": data?.executorVO?.phone,
sendTime: data?.sendTime ? moment(data?.sendTime) : moment().startOf('day'),
"executorVO.carNumbers": data?.executorVO?.carNumbers,
"receive
rBO.phone": data?.receiverB
O?.phone,
"receive
VO.phone": data?.receiveV
O?.phone,
logisticsNo: data?.logisticsNo,
logisticsCompanyInt: {
label: data?.logisticsCompany,
...
...
@@ -332,15 +332,15 @@ export class ReceiveOrderCreate extends DeliveryNoteAddService {
fullAddress: data.deliverVO?.provinceName ?? '' + data.deliverVO?.cityName ?? '' + data.deliverVO?.districtName ?? '' + data.deliverVO?.streetName ?? ''
},
receiveVO: {
...data.receive
rB
O,
receiverName: data.receive
rB
O?.consignee,
fullAddress: data?.receive
rBO?.provinceName ?? '' + data?.receiverBO?.cityName ?? '' + data?.receiverBO?.districtName ?? '' + data?.receiverB
O?.streetName ?? ''
...data.receive
V
O,
receiverName: data.receive
V
O?.consignee,
fullAddress: data?.receive
VO?.provinceName ?? '' + data?.receiveVO?.cityName ?? '' + data?.receiveVO?.districtName ?? '' + data?.receiveV
O?.streetName ?? ''
},
"executorVO.phone": data.executorVO.phone,
sendTime: moment(data.sendTime),
receiveTime: moment(data.receiveTime),
"executorVO.carNumbers": data.executorVO.carNumbers,
"receive
rBO.phone": data.receiverB
O.phone,
"receive
VO.phone": data.receiveV
O.phone,
logisticsNo: data.logisticsNo,
logisticsCompanyInt: {
label: data.logisticsCompany,
...
...
@@ -402,7 +402,7 @@ export class DeliveryNoticeOrderAddService extends DeliveryNoteAddService {
receiverName: data.receiveVO.consignee,
fullAddress: data.receiveVO.provinceName + data.receiveVO.cityName + data.receiveVO.districtName + data.receiveVO.streetName ?? '' + data.receiveVO.address
},
"receive
rB
O.phone": data.receiveVO.phone,
"receive
V
O.phone": data.receiveVO.phone,
products: data.products,
orderType: data.orderType,
sourceNo: data.sourceNo
...
...
src/pages/order/deliveryNotice/create/add.tsx
View file @
b7c534cf
...
...
@@ -198,7 +198,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
validatorByteObject
(
16
)
]
}
label=
{
DeliveryNameLabel
}
name=
"executorVO.consignee"
>
<
Input
maxLength=
{
16
}
/>
<
Input
maxLength=
{
16
}
placeholder=
{
`请输入${DeliveryNameLabel}`
}
/>
</
FormItem
>
<
FormItem
...
...
@@ -215,7 +215,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
validatorByteObject
(
20
)
]
}
label=
{
DeliveryPhoneLabel
}
name=
"executorVO.phone"
>
<
Input
type=
"tel"
maxLength=
{
20
}
/>
<
Input
type=
"tel"
maxLength=
{
20
}
placeholder=
{
`请输入${DeliveryPhoneLabel}`
}
/>
</
FormItem
>
</
ContentBox
>
...
...
@@ -236,7 +236,10 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
// ]}
label=
{
ReceivingAddressLabel
}
name=
"receiveVO"
>
<
ReceiverAddress
/>
<
ReceiverAddress
hiddenBtn=
{
true
}
disabled=
{
true
}
/>
</
FormItem
>
...
...
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