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
linweijiong
jinfa-platform
Commits
23fda018
Commit
23fda018
authored
Aug 19, 2022
by
前端-许冠华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-jinfa-0518' into 'jinfa-0518'
fix: 修复编辑、查看物料编码调用获取物料编码接口bug See merge request project/jinfa-platform!304
parents
0437e922
9113071f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
add.tsx
src/pages/commodity/material/materialPendingAdd/add.tsx
+1
-1
No files found.
src/pages/commodity/material/materialPendingAdd/add.tsx
View file @
23fda018
...
...
@@ -566,7 +566,7 @@ const MaterialAdd: React.FC<IProps> = (props) => {
useAsyncSelect('chargeUserId', fetchUserPage, ["name", "userId"])
/* 获取物料编码 */
onFormInit$().subscribe(async () => {
if (id) {
if (
!
id) {
const { data } = await getProductGoodsGetGoodsNo()
formActions.setFieldValue('code', data)
}
...
...
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