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
8f4020bd
Commit
8f4020bd
authored
May 07, 2022
by
前端-甘科
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '20418order' into 'v2-220418'
字段显示问题 See merge request linkseeks-design/pro-platform!638
parents
87a5e98d
5d233f05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
index.tsx
...liveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
+5
-4
add.tsx
src/pages/order/receivingNote/deliveryNoteManage/add.tsx
+8
-0
No files found.
src/pages/order/deliveryNoticeManagement/deliveryNoticeFromCreate/index.tsx
View file @
8f4020bd
...
...
@@ -55,19 +55,20 @@ function DeliveryNoticeFromCreate() {
}
const
type
=
res
.
orderType
;
service
.
setFormService
(
type
);
setType
(
type
);
form
.
setFieldsValue
(
res
)
handleAnchor
(
res
.
products
.
length
)
handleAnchor
(
type
,
res
.
products
.
length
)
setTableDataSource
(
res
.
products
)
})
},
[])
const
handleAnchor
=
(
len
)
=>
{
const
handleAnchor
=
(
type
,
len
)
=>
{
update
([
type
===
RoleTypeEnum
.
B2B
?
{
...
DeliveryGood
,
...
...
@@ -159,7 +160,7 @@ function DeliveryNoticeFromCreate() {
]
}
label=
{
BuyerLabel
}
name=
"member"
>
<
RoleSelect
formProp=
{
form
}
formProp=
{
form
}
disabled=
{
true
}
formatFeils=
{
(
e
)
=>
{
return
{
...
...
@@ -218,7 +219,7 @@ function DeliveryNoticeFromCreate() {
<
ReceiverAddress
hiddenBtn=
{
true
}
disabled=
{
fals
e
}
disabled=
{
tru
e
}
/>
</
FormItem
>
...
...
src/pages/order/receivingNote/deliveryNoteManage/add.tsx
View file @
8f4020bd
...
...
@@ -57,6 +57,14 @@ function DeliveryNoteAddForm() {
service
.
getDetailById
(
id
).
then
(
info
=>
{
const
target
=
noteService
.
formatField
(
info
);
target
.
member
=
{
buyerMemberId
:
info
?.
buyerMemberId
,
buyerMemberName
:
info
?.
buyerMemberName
,
buyerRoleId
:
info
?.
buyerRoleId
,
roleType
:
2
,
name
:
info
?.
vendorMemberName
},
form
.
setFieldsValue
({
deliveryOrderId
:
id
,
...
target
...
...
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