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
黄庭坚
jinfa-platform
Commits
223c2691
Commit
223c2691
authored
Dec 29, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复修改供应会员 选择单据列表数据不会改变的问题
parent
57396c64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.tsx
src/pages/afterService/components/GoodsDrawer/index.tsx
+6
-2
index.tsx
...cation/exchangePrSubmit/components/ExchangeForm/index.tsx
+5
-0
No files found.
src/pages/afterService/components/GoodsDrawer/index.tsx
View file @
223c2691
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-2
4 10:32:10
* @LastEditTime: 2020-12-2
9 11:32:18
* @Description: 维修商品抽屉组件
* @Description: 维修商品抽屉组件
*/
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
@@ -248,7 +248,10 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
...
@@ -248,7 +248,10 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
});
});
if
(
!
payload
.
length
)
{
if
(
!
payload
.
length
)
{
this
.
setState
({
loading
:
false
});
this
.
setState
({
dataSource
:
orderListRes
,
loading
:
false
,
});
return
;
return
;
}
}
...
@@ -575,6 +578,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
...
@@ -575,6 +578,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
</
Button
>
</
Button
>
</
div
>
</
div
>
}
}
destroyOnClose
>
>
<
div
className=
{
styles
.
order
}
>
<
div
className=
{
styles
.
order
}
>
<
div
className=
{
styles
[
'order-head'
]
}
>
<
div
className=
{
styles
[
'order-head'
]
}
>
...
...
src/pages/afterService/exchangeApplication/exchangePrSubmit/components/ExchangeForm/index.tsx
View file @
223c2691
...
@@ -29,6 +29,7 @@ const addSchemaAction = createFormActions();
...
@@ -29,6 +29,7 @@ const addSchemaAction = createFormActions();
const
{
const
{
onFormInputChange$
,
onFormInputChange$
,
onFormInit$
,
onFormInit$
,
onFieldInputChange$
,
}
=
FormEffectHooks
;
}
=
FormEffectHooks
;
interface
BillsFormProps
{
interface
BillsFormProps
{
...
@@ -528,6 +529,10 @@ const ExchangeForm: React.FC<BillsFormProps> = ({
...
@@ -528,6 +529,10 @@ const ExchangeForm: React.FC<BillsFormProps> = ({
});
});
}
}
});
});
onFieldInputChange$
(
'supplierMember'
).
subscribe
(()
=>
{
setGoodsValue
([]);
});
}
}
}
}
onSubmit=
{
handleSubmit
}
onSubmit=
{
handleSubmit
}
actions=
{
addSchemaAction
}
actions=
{
addSchemaAction
}
...
...
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