Commit 8b667132 authored by 前端-许佳敏's avatar 前端-许佳敏

修复仓位提示语

parent ce56592b
...@@ -191,9 +191,9 @@ const AddRepository:React.FC<{}> = (props) => { ...@@ -191,9 +191,9 @@ const AddRepository:React.FC<{}> = (props) => {
onSubmit={handleRespotIn} onSubmit={handleRespotIn}
effects={async ($, {setFieldState}) => { effects={async ($, {setFieldState}) => {
const utils = useLinkageUtils() const utils = useLinkageUtils()
FormEffectHooks.onFormInputChange$().subscribe(() => { // FormEffectHooks.onFormInputChange$().subscribe(() => {
setIsEdit(true) // setIsEdit(true)
}) // })
FormEffectHooks.onFormMount$().subscribe(() => { FormEffectHooks.onFormMount$().subscribe(() => {
const name = spyForm.getFieldValue('name') const name = spyForm.getFieldValue('name')
const asyncEnums = reposits.map(v => ({ const asyncEnums = reposits.map(v => ({
...@@ -237,9 +237,9 @@ const AddRepository:React.FC<{}> = (props) => { ...@@ -237,9 +237,9 @@ const AddRepository:React.FC<{}> = (props) => {
onSubmit={handleRespotOut} onSubmit={handleRespotOut}
effects={async ($, {setFieldState}) => { effects={async ($, {setFieldState}) => {
const utils = useLinkageUtils() const utils = useLinkageUtils()
FormEffectHooks.onFormInputChange$().subscribe(() => { // FormEffectHooks.onFormInputChange$().subscribe(() => {
setIsEdit(true) // setIsEdit(true)
}) // })
FormEffectHooks.onFormMount$().subscribe(() => { FormEffectHooks.onFormMount$().subscribe(() => {
const name = spyForm.getFieldValue('name') const name = spyForm.getFieldValue('name')
const inventoryNumber = spyForm.getFieldValue('inventory') const inventoryNumber = spyForm.getFieldValue('inventory')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment