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
c3178554
Commit
c3178554
authored
Nov 09, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
e30c8a0b
10bc76c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
5 deletions
+24
-5
logisticsForm.tsx
...ages/commodity/products/addProductsItem/logisticsForm.tsx
+6
-2
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/commodity/products/addProductsItem/logisticsForm.tsx
View file @
c3178554
...
@@ -2,7 +2,11 @@ import React, { useState, useEffect, useRef } from 'react'
...
@@ -2,7 +2,11 @@ import React, { useState, useEffect, useRef } from 'react'
import
{
history
}
from
'umi'
import
{
history
}
from
'umi'
import
{
Form
,
Select
,
Radio
,
Checkbox
,
InputNumber
}
from
'antd'
import
{
Form
,
Select
,
Radio
,
Checkbox
,
InputNumber
}
from
'antd'
import
{
PublicApi
}
from
'@/services/api'
import
{
PublicApi
}
from
'@/services/api'
import
{
GetLogisticsSelectListCompanyResponse
,
GetLogisticsSelectListShipperAddressResponse
,
GetLogisticsSelectListFreightTemplateResponse
}
from
'@/services'
import
{
GetLogisticsSelectListCompanyResponse
,
GetLogisticsSelectListShipperAddressResponse
,
GetLogisticsSelectListFreightTemplateResponse
}
from
'@/services/LogisticsApi'
import
{
store
}
from
'@/store'
import
{
store
}
from
'@/store'
const
{
ProductStore
}
=
store
const
{
ProductStore
}
=
store
...
@@ -51,7 +55,7 @@ const LogisticsForm: React.FC<Iprops> = (props) => {
...
@@ -51,7 +55,7 @@ const LogisticsForm: React.FC<Iprops> = (props) => {
setLogisticsAddressList
(
res
.
data
)
setLogisticsAddressList
(
res
.
data
)
})
})
PublicApi
.
getLogisticsSelectListCompany
().
then
(
res
=>
{
PublicApi
.
getLogisticsSelectListCompany
(
{
cooperateType
:
'2'
}
).
then
(
res
=>
{
setLogisticsCompanyLists
(
res
.
data
)
setLogisticsCompanyLists
(
res
.
data
)
})
})
...
...
src/pages/repositories/adjustRepository.tsx
View file @
c3178554
...
@@ -87,7 +87,7 @@ const AddRepository:React.FC<{}> = (props) => {
...
@@ -87,7 +87,7 @@ const AddRepository:React.FC<{}> = (props) => {
<
p
><
span
>
调出前库存:
</
span
><
span
>
{
record
.
frontExportInventory
}
</
span
></
p
>
<
p
><
span
>
调出前库存:
</
span
><
span
>
{
record
.
frontExportInventory
}
</
span
></
p
>
</
div
>
</
div
>
}
},
}
},
{
dataIndex
:
'repositOut'
,
title
:
'调
出
库存'
,
align
:
'center'
,
render
:
(
_
,
record
)
=>
{
{
dataIndex
:
'repositOut'
,
title
:
'调
入
库存'
,
align
:
'center'
,
render
:
(
_
,
record
)
=>
{
return
<
div
>
return
<
div
>
<
p
><
span
>
调入库存:
</
span
><
span
>
{
record
.
foldInventory
}
</
span
></
p
>
<
p
><
span
>
调入库存:
</
span
><
span
>
{
record
.
foldInventory
}
</
span
></
p
>
<
p
><
span
>
调入后库存:
</
span
><
span
>
{
record
.
foldRearInventory
}
</
span
></
p
>
<
p
><
span
>
调入后库存:
</
span
><
span
>
{
record
.
foldRearInventory
}
</
span
></
p
>
...
...
src/pages/repositories/components/PositionSetting.tsx
View file @
c3178554
...
@@ -236,6 +236,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
...
@@ -236,6 +236,7 @@ const PositionSetting:React.FC<PositionSettingProps> = (props) => {
// 设置货品名称
// 设置货品名称
addSchemaAction
.
setFieldValue
(
'goodsName'
,
data
?.
name
||
''
)
addSchemaAction
.
setFieldValue
(
'goodsName'
,
data
?.
name
||
''
)
addSchemaAction
.
setFieldValue
(
'goodsId'
,
goodsId
)
addSchemaAction
.
setFieldValue
(
'goodsId'
,
goodsId
)
addSchemaAction
.
setFieldValue
(
'itemNo'
,
data
?.
code
||
''
)
}
}
}
}
...
...
src/pages/repositories/schema/index.tsx
View file @
c3178554
...
@@ -430,6 +430,20 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
...
@@ -430,6 +430,20 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
itemNo
:
{
itemNo
:
{
type
:
'string'
,
type
:
'string'
,
"x-component"
:
'Text'
,
"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
:
'对应货品'
,
title
:
'对应货品'
,
default
:
'暂无'
default
:
'暂无'
},
},
...
@@ -515,7 +529,7 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
...
@@ -515,7 +529,7 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
{
label
:
'所有会员共享(默认)'
,
value
:
1
},
{
label
:
'所有会员共享(默认)'
,
value
:
1
},
{
label
:
'指定会员'
,
value
:
0
},
{
label
:
'指定会员'
,
value
:
0
},
],
],
"title"
:
"选择
渠道
会员"
,
"title"
:
"选择会员"
,
default
:
1
,
default
:
1
,
required
:
true
,
required
:
true
,
"x-linkages"
:
[
"x-linkages"
:
[
...
@@ -630,7 +644,7 @@ export const repositTabOneSchema: ISchema = padRequiredMessage({
...
@@ -630,7 +644,7 @@ export const repositTabOneSchema: ISchema = padRequiredMessage({
editable
:
false
,
editable
:
false
,
enum
:
[]
enum
:
[]
},
},
itemNo
:
{
goodsName
:
{
type
:
'string'
,
type
:
'string'
,
"x-component"
:
'Text'
,
"x-component"
:
'Text'
,
title
:
'对应货品'
,
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