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
1fa85d51
Commit
1fa85d51
authored
Nov 09, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理仓位新增设置无法显示货品的问题
parent
bfe89d74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
adjustRepository.tsx
src/pages/repositories/adjustRepository.tsx
+1
-1
PositionSetting.tsx
src/pages/repositories/components/PositionSetting.tsx
+1
-0
index.tsx
src/pages/repositories/schema/index.tsx
+16
-2
No files found.
src/pages/repositories/adjustRepository.tsx
View file @
1fa85d51
...
...
@@ -87,7 +87,7 @@ const AddRepository:React.FC<{}> = (props) => {
<
p
><
span
>
调出前库存:
</
span
><
span
>
{
record
.
frontExportInventory
}
</
span
></
p
>
</
div
>
}
},
{
dataIndex
:
'repositOut'
,
title
:
'调
出
库存'
,
align
:
'center'
,
render
:
(
_
,
record
)
=>
{
{
dataIndex
:
'repositOut'
,
title
:
'调
入
库存'
,
align
:
'center'
,
render
:
(
_
,
record
)
=>
{
return
<
div
>
<
p
><
span
>
调入库存:
</
span
><
span
>
{
record
.
foldInventory
}
</
span
></
p
>
<
p
><
span
>
调入后库存:
</
span
><
span
>
{
record
.
foldRearInventory
}
</
span
></
p
>
...
...
src/pages/repositories/components/PositionSetting.tsx
View file @
1fa85d51
...
...
@@ -236,6 +236,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
// 设置货品名称
addSchemaAction
.
setFieldValue
(
'goodsName'
,
data
?.
name
||
''
)
addSchemaAction
.
setFieldValue
(
'goodsId'
,
goodsId
)
addSchemaAction
.
setFieldValue
(
'itemNo'
,
data
?.
code
||
''
)
}
}
...
...
src/pages/repositories/schema/index.tsx
View file @
1fa85d51
...
...
@@ -430,6 +430,20 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
itemNo
:
{
type
:
'string'
,
"x-component"
:
'Text'
,
title
:
'货号'
,
default
:
'暂无'
,
visible
:
false
,
},
goodsId
:
{
type
:
'string'
,
"x-component"
:
'Text'
,
title
:
'货品ID'
,
default
:
'暂无'
,
visible
:
false
,
},
goodsName
:
{
type
:
'string'
,
"x-component"
:
'Text'
,
title
:
'对应货品'
,
default
:
'暂无'
},
...
...
@@ -515,7 +529,7 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
{
label
:
'所有会员共享(默认)'
,
value
:
1
},
{
label
:
'指定会员'
,
value
:
0
},
],
"title"
:
"选择
渠道
会员"
,
"title"
:
"选择会员"
,
default
:
1
,
required
:
true
,
"x-linkages"
:
[
...
...
@@ -630,7 +644,7 @@ export const repositTabOneSchema: ISchema = padRequiredMessage({
editable
:
false
,
enum
:
[]
},
itemNo
:
{
goodsName
:
{
type
:
'string'
,
"x-component"
:
'Text'
,
title
:
'对应货品'
,
...
...
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