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
cb26145c
Commit
cb26145c
authored
May 09, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-v2-220518-order' into 'v2-220518'
chore: 修改订单物料置空逻辑 See merge request linkseeks-design/pro-platform!648
parents
3282fb1c
f99f10b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
index.tsx
...r/orderCollectSrm/components/contractModalTable/index.tsx
+5
-1
index.tsx
...orderCollectSrm/components/orderMaterialsDrawer/index.tsx
+0
-13
No files found.
src/pages/transaction/purchaseOrder/orderCollectSrm/components/contractModalTable/index.tsx
View file @
cb26145c
...
...
@@ -61,7 +61,11 @@ const ContractModalTable:React.FC<ContractModalTableProps> = (props) => {
const
handleConfirm
=
()
=>
{
const
item
=
rowSelectionCtl
.
selectRow
[
0
]
if
(
item
)
{
schemaAction
.
setFieldValue
(
'products'
,
[])
const
productValue
=
schemaAction
.
getFieldValue
(
'products'
)
// 有值才置空,否则会触发错误提示
if
(
productValue
&&
productValue
.
length
)
{
schemaAction
.
setFieldValue
(
'products'
,
[])
}
schemaAction
.
setFieldValue
(
'contractNo'
,
item
.
contractNo
)
schemaAction
.
setFieldValue
(
'contract'
,
item
)
schemaAction
.
setFieldValue
(
'vendorMemberName'
,
item
.
partyBName
)
...
...
src/pages/transaction/purchaseOrder/orderCollectSrm/components/orderMaterialsDrawer/index.tsx
View file @
cb26145c
...
...
@@ -374,19 +374,6 @@ const OrderMaterialsDrawer: React.ForwardRefRenderFunction<OrderMaterialsDrawerR
}
}
destroyOnClose
>
{
/* <NiceForm
previewPlaceholder=" "
onSubmit={handleSubmit}
actions={formActions}
value={{}}
components={{
MaterialsListField,
}}
schema={formSchema}
style={{
height: '100%',
}}
/> */
}
<
PolymericTable
rowKey=
"detailId"
columns=
{
columns
}
...
...
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