Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
97ad34ed
Commit
97ad34ed
authored
Nov 23, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into dev
parents
97cc508e
44c8ff15
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
90 additions
and
71 deletions
+90
-71
global.d.ts
src/global/config/global.d.ts
+1
-1
index.tsx
src/pages/member/memberPr1/index.tsx
+6
-6
index.tsx
src/pages/member/memberPr2/index.tsx
+6
-6
index.tsx
src/pages/member/memberPrConfirm/index.tsx
+6
-6
index.tsx
src/pages/member/memberPrSubmit/index.tsx
+6
-6
index.tsx
...System/orderDetail/components/orderDeleveRecord/index.tsx
+29
-20
index.tsx
...orderSystem/orderDetail/components/orderPayTabs/index.tsx
+1
-1
index.tsx
...System/orderDetail/components/orderProductTable/index.tsx
+2
-1
index.tsx
...tem/orderDetail/components/orderTransformRecord/index.tsx
+29
-20
index.tsx
src/pages/platformSettlement/corporateAccount/index.tsx
+4
-4
No files found.
src/global/config/global.d.ts
View file @
97ad34ed
...
...
@@ -50,7 +50,7 @@ export interface ShopInfo {
type
:
number
;
environment
:
number
;
logoUrl
:
string
;
describe
?:
any
;
describe
:
string
;
state
:
number
;
url
:
string
;
}
...
...
src/pages/member/memberPr1/index.tsx
View file @
97ad34ed
...
...
@@ -180,9 +180,9 @@ const MemberPr1: React.FC<{}> = props => {
const
{
memberTypes
=
[],
status
=
[],
r
oles
=
[],
l
evels
=
[],
source
s
=
[],
memberR
oles
=
[],
memberL
evels
=
[],
source
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -199,9 +199,9 @@ const MemberPr1: React.FC<{}> = props => {
return
{
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
r
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
source
:
source
s
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
memberR
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
memberLevels
.
map
(
item
=>
({
label
:
item
.
levelTag
,
value
:
item
.
level
})),
source
:
source
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
return
{};
...
...
src/pages/member/memberPr2/index.tsx
View file @
97ad34ed
...
...
@@ -180,9 +180,9 @@ const MemberPr2: React.FC<{}> = props => {
const
{
memberTypes
=
[],
status
=
[],
r
oles
=
[],
l
evels
=
[],
source
s
=
[],
memberR
oles
=
[],
memberL
evels
=
[],
source
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -199,9 +199,9 @@ const MemberPr2: React.FC<{}> = props => {
return
{
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
r
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
source
:
source
s
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
memberR
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
memberLevels
.
map
(
item
=>
({
label
:
item
.
levelTag
,
value
:
item
.
level
})),
source
:
source
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
return
{};
...
...
src/pages/member/memberPrConfirm/index.tsx
View file @
97ad34ed
...
...
@@ -186,9 +186,9 @@ const MemberPrConfirm: React.FC<{}> = props => {
const
{
memberTypes
=
[],
status
=
[],
r
oles
=
[],
l
evels
=
[],
source
s
=
[],
memberR
oles
=
[],
memberL
evels
=
[],
source
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -205,9 +205,9 @@ const MemberPrConfirm: React.FC<{}> = props => {
return
{
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
r
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
source
:
source
s
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
memberR
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
memberLevels
.
map
(
item
=>
({
label
:
item
.
levelTag
,
value
:
item
.
level
})),
source
:
source
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
return
{};
...
...
src/pages/member/memberPrSubmit/index.tsx
View file @
97ad34ed
...
...
@@ -180,9 +180,9 @@ const MemberPrSubmit: React.FC<{}> = props => {
const
{
memberTypes
=
[],
memberStatus
=
[],
r
oles
=
[],
l
evels
=
[],
source
s
=
[],
memberR
oles
=
[],
memberL
evels
=
[],
source
=
[],
status
=
[],
}
=
data
;
...
...
@@ -200,9 +200,9 @@ const MemberPrSubmit: React.FC<{}> = props => {
return
{
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
r
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
source
:
source
s
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
memberR
oles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
memberLevels
.
map
(
item
=>
({
label
:
item
.
levelTag
,
value
:
item
.
level
})),
source
:
source
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
return
{};
...
...
src/pages/orderSystem/orderDetail/components/orderDeleveRecord/index.tsx
View file @
97ad34ed
...
...
@@ -241,26 +241,35 @@ const OrderDeleveRecord:React.FC<OrderDeleveRecordProps> = (props) => {
}
return
(
<
MellowCard
style=
{
{
marginTop
:
24
}
}
bordered=
{
false
}
id=
'deleveBox'
>
<
Tabs
defaultActiveKey=
"2"
animated=
{
false
}
>
<
Tabs
.
TabPane
tab=
'订单收货统计'
key=
"1"
>
<
Table
columns=
{
outOrderCols
}
dataSource=
{
orderReceivingStatisticsResponses
}
pagination=
{
false
}
rowKey=
"productId"
/>
</
Tabs
.
TabPane
>
<
Tabs
.
TabPane
tab=
'订单收货明细'
key=
"2"
>
<
NestTable
NestColumns=
{
[
sideOrderCols
,
sideChildrenCols
]
}
rowKey=
'id'
childrenDataKey=
'orderDeliveryProducts'
dataSource=
{
orderDeliveryDetailsResponses
}
/>
</
Tabs
.
TabPane
>
</
Tabs
>
</
MellowCard
>
<>
{
(
orderReceivingStatisticsResponses
?.
length
>
0
||
orderDeliveryDetailsResponses
?.
length
>
0
)
&&
<
MellowCard
style=
{
{
marginTop
:
24
}
}
bordered=
{
false
}
id=
'deleveBox'
>
<
Tabs
defaultActiveKey=
"2"
animated=
{
false
}
>
{
orderReceivingStatisticsResponses
?.
length
>
0
&&
<
Tabs
.
TabPane
tab=
'订单收货统计'
key=
"1"
>
<
Table
columns=
{
outOrderCols
}
dataSource=
{
orderReceivingStatisticsResponses
}
pagination=
{
false
}
rowKey=
"productId"
/>
</
Tabs
.
TabPane
>
}
{
orderDeliveryDetailsResponses
?.
length
>
0
&&
<
Tabs
.
TabPane
tab=
'订单收货明细'
key=
"2"
>
<
NestTable
NestColumns=
{
[
sideOrderCols
,
sideChildrenCols
]
}
rowKey=
'id'
childrenDataKey=
'orderDeliveryProducts'
dataSource=
{
orderDeliveryDetailsResponses
}
/>
</
Tabs
.
TabPane
>
}
</
Tabs
>
</
MellowCard
>
}
</>
)
}
...
...
src/pages/orderSystem/orderDetail/components/orderPayTabs/index.tsx
View file @
97ad34ed
...
...
@@ -49,7 +49,7 @@ const OrderPayTabs:React.FC<OrderPayTabsProps> = (props) => {
const
[
payList
,
setPaylist
]
=
useState
<
any
[]
>
([])
useEffect
(()
=>
{
PublicApi
.
getPayPayWayList
().
then
(
res
=>
{
PublicApi
.
getPayPayWayList
(
{
memberId
:
data
.
supplyMembersId
}
).
then
(
res
=>
{
const
{
code
,
data
}
=
res
if
(
code
===
1000
)
{
setPaylist
(
data
)
...
...
src/pages/orderSystem/orderDetail/components/orderProductTable/index.tsx
View file @
97ad34ed
...
...
@@ -13,6 +13,7 @@ import { SALE_ORDER_STATUS } from '../../constant'
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
import
ModalTable
from
'@/components/ModalTable'
import
{
formatTimeString
}
from
'@/utils'
import
{
DELIVERY_TYPE
}
from
'@/constants'
export
interface
OrderProductTableProps
{}
...
...
@@ -388,7 +389,7 @@ const OrderProductTable:React.FC<OrderProductTableProps> = (props) => {
dataIndex
:
'logistics'
,
align
:
'center'
,
key
:
'logistics'
,
render
:
text
=>
(
text
&&
text
.
render
)
||
''
render
:
(
text
)
=>
text
&&
text
.
deliveryType
&&
DELIVERY_TYPE
[
text
.
deliveryType
]
},
{
title
:
'仓位库存扣减记录'
,
...
...
src/pages/orderSystem/orderDetail/components/orderTransformRecord/index.tsx
View file @
97ad34ed
...
...
@@ -106,26 +106,35 @@ const OrderTransformRecord:React.FC<OrderTransformRecordProps> = (props) => {
const
{
data
}
=
useContext
(
OrderDetailContext
)
const
{
externalProcurementOrderLogResponses
,
interiorProcurementOrderLogResponses
}
=
data
return
(
<
MellowCard
style=
{
{
marginTop
:
24
}
}
bordered=
{
false
}
>
<
Tabs
defaultActiveKey=
"1"
animated=
{
false
}
>
<
Tabs
.
TabPane
tab=
'外部订单流转记录'
key=
"1"
>
<
Table
columns=
{
outOrderCols
}
dataSource=
{
externalProcurementOrderLogResponses
}
pagination=
{
false
}
rowKey=
"id"
/>
</
Tabs
.
TabPane
>
<
Tabs
.
TabPane
tab=
'内部订单流转记录'
key=
"2"
>
<
Table
columns=
{
sideOrderCols
}
dataSource=
{
interiorProcurementOrderLogResponses
}
pagination=
{
false
}
rowKey=
"id"
/>
</
Tabs
.
TabPane
>
</
Tabs
>
</
MellowCard
>
<>
{
(
externalProcurementOrderLogResponses
?.
length
>
0
||
interiorProcurementOrderLogResponses
?.
length
>
0
)
&&
<
MellowCard
style=
{
{
marginTop
:
24
}
}
bordered=
{
false
}
>
<
Tabs
defaultActiveKey=
"1"
animated=
{
false
}
>
{
externalProcurementOrderLogResponses
?.
length
>
0
&&
<
Tabs
.
TabPane
tab=
'外部订单流转记录'
key=
"1"
>
<
Table
columns=
{
outOrderCols
}
dataSource=
{
externalProcurementOrderLogResponses
}
pagination=
{
false
}
rowKey=
"id"
/>
</
Tabs
.
TabPane
>
}
{
interiorProcurementOrderLogResponses
?.
length
>
0
&&
<
Tabs
.
TabPane
tab=
'内部订单流转记录'
key=
"2"
>
<
Table
columns=
{
sideOrderCols
}
dataSource=
{
interiorProcurementOrderLogResponses
}
pagination=
{
false
}
rowKey=
"id"
/>
</
Tabs
.
TabPane
>
}
</
Tabs
>
</
MellowCard
>
}
</>
)
}
...
...
src/pages/platformSettlement/corporateAccount/index.tsx
View file @
97ad34ed
...
...
@@ -156,8 +156,8 @@ const CorporateAccount = () => {
name
:
'银行账号'
,
dataIndex
:
'bankAccount'
,
image
:
bank_account
,
value
:
data
.
bankAccount
,
cacheValue
:
data
.
bankAccount
,
value
:
data
&&
data
.
bankAccount
||
''
,
cacheValue
:
data
&&
data
.
bankAccount
||
''
,
isEdit
:
false
,
canEdit
:
true
,
pattern
:
/^
([
1-9
]{1})(\d{14}
|
\d{18})
$/
,
...
...
@@ -167,8 +167,8 @@ const CorporateAccount = () => {
name
:
'开户行'
,
dataIndex
:
'bankDeposit'
,
image
:
bank
,
value
:
data
.
bankDeposit
,
cacheValue
:
data
.
bankDeposit
,
value
:
data
&&
data
.
bankDeposit
||
''
,
cacheValue
:
data
&&
data
.
bankDeposit
||
''
,
isEdit
:
false
,
canEdit
:
true
,
pattern
:
/^
[\u
4e00-
\u
9fa5
]{0,50}
|
[
0-9a-zA-Z
]{0,100}
$/
,
...
...
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