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
b0f1f83a
Commit
b0f1f83a
authored
Jan 27, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改结算column dataIndex
parent
5087397f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
11 deletions
+25
-11
balanceRoute.ts
config/routes/balanceRoute.ts
+15
-0
index.ts
config/routes/index.ts
+3
-3
orderDetail.tsx
...es/balance/accountsPayable/settlementList/orderDetail.tsx
+2
-2
orderDetail.tsx
...balance/accountsReceivable/settlementList/orderDetail.tsx
+2
-3
columns.tsx
src/pages/balance/common/columns.tsx
+3
-3
No files found.
config/routes/balanceRoute.ts
View file @
b0f1f83a
...
...
@@ -114,6 +114,21 @@ const BalancedRoute = {
component
:
'@/pages/balance/platformSettlement/integral/info'
,
hideInMenu
:
true
,
},
// 平台结算管理 -> 优惠券管理
{
path
:
'/memberCenter/balance/platformSettlement/coupon'
,
name
:
'coupon'
,
icon
:
'smile'
,
component
:
'@/pages/balance/platformSettlement/couponSettlement'
,
},
// 平台结算管理 -> 优惠券管理详情页
{
path
:
'/memberCenter/balance/platformSettlement/coupon/detail'
,
name
:
'couponInfo'
,
icon
:
'smile'
,
component
:
'@/pages/balance/platformSettlement/couponSettlement/info'
,
hideInMenu
:
true
,
},
],
},
// 应付账款管理
...
...
config/routes/index.ts
View file @
b0f1f83a
...
...
@@ -16,6 +16,7 @@ import CommodityRoute from './commodityRoute' // 商品能力路由
// import HandlingRoute from './handlingRoute'; // 加工能力
// import DealAbilityRoute from './dealAbilityRoute'; //
// import marketingRoute from './marketingRoute';
// import BalancedRoute from './balanceRoute';
import
asyncRoutes
from
'../router.config.json'
;
// import ProcurementRoute from './procurementRoute';
// import { callForBidsRoute } from './procurementRoute/callForBids';
...
...
@@ -23,7 +24,6 @@ import asyncRoutes from '../router.config.json';
// import contracRoute from './contracRoute';
// export const routes = [CommodityRoute, MemberRoute, ShopRoute, ChannelRoute, TranactionRoute, AfterService, PayandSettleRoute, LogisticsRoute, AuthConfigRoute, HandlingRoute, BalaceRoute]
/** process.env.NODE_ENV === "development" */
const
isDev
=
false
;
const
homeRoute
=
{
path
:
`/memberCenter/home`
,
...
...
@@ -32,8 +32,8 @@ const homeRoute = {
key
:
'home'
,
component
:
'@/pages/home'
,
};
// const routes = isDev ? [ homeRoute, marketingRoute, Member
Route ] : asyncRoutes;
const
routes
=
isDev
?
[
CommodityRoute
]
:
asyncRoutes
;
const
routes
=
isDev
?
[
home
Route
]
:
asyncRoutes
;
//
const routes = isDev ? [ CommodityRoute ] : asyncRoutes;
const
memberCenterRoute
=
{
path
:
'/memberCenter'
,
...
...
src/pages/balance/accountsPayable/settlementList/orderDetail.tsx
View file @
b0f1f83a
...
...
@@ -18,7 +18,7 @@ import { useAsyncInitSelect } from '@/formSchema/effects/useAsyncInitSelect';
import
{
detailSchema
}
from
'./schema'
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
// import StatusTag from '../../components/StatusTag'
import
{
productNoticecolumns
}
from
'../../common/columns'
;
import
{
orderColumns
,
productNoticecolumns
}
from
'../../common/columns'
;
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
useFetchBillData
from
'../../hooks/useFetchBillData'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
...
...
@@ -49,7 +49,7 @@ const OrderDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
columns=
{
productNoticec
olumns
}
columns=
{
orderC
olumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
getSettleAccountsMemberSettlementPagePayableOrderSettlement
,
{
settlementId
:
id
,
...
params
})
}
controlRender=
{
...
...
src/pages/balance/accountsReceivable/settlementList/orderDetail.tsx
View file @
b0f1f83a
...
...
@@ -13,10 +13,9 @@ import { FORM_FILTER_PATH } from '@/formSchema/const';
import
{
createFormActions
}
from
'@formily/antd'
;
import
StandardTable
from
'@/components/StandardTable'
;
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
;
import
{
detailSchema
}
from
'./schema'
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
productNoticecolumns
}
from
'../../common/columns'
;
import
{
orderColumns
,
productNoticecolumns
}
from
'../../common/columns'
;
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
useFetchBillData
from
'../../hooks/useFetchBillData'
;
import
useBalanceInfo
from
'../../hooks/useBalanceInfo'
;
...
...
@@ -47,7 +46,7 @@ const OrderDetail: React.FC = () => {
tableProps=
{
{
rowKey
:
'orderNo'
,
}
}
columns=
{
productNoticec
olumns
}
columns=
{
orderC
olumns
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
getSettleAccountsMemberSettlementPagePayableOrderSettlement
,
{
settlementId
:
id
,
...
params
})
}
controlRender=
{
...
...
src/pages/balance/common/columns.tsx
View file @
b0f1f83a
...
...
@@ -104,10 +104,10 @@ export const orderColumns = [
return
record
.
isHasTax
?
`
${
record
.
isHasTaxName
}
/
${
record
.
taxRate
}
`
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.tax.none'
});
}
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.batch'
}),
dataIndex
:
'
batch
'
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.batch'
}),
dataIndex
:
'
payCount
'
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.amount'
}),
dataIndex
:
'
a
mount'
,
dataIndex
:
'
payA
mount'
,
render
:
(
text
)
=>
{
return
(
<
div
style=
{
{
display
:
"flex"
,
flexDirection
:
"row"
,
alignItems
:
'center'
}
}
>
...
...
@@ -121,7 +121,7 @@ export const orderColumns = [
)
}
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.payTime'
}),
dataIndex
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.payTime'
})
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.payTime'
}),
dataIndex
:
'payTime'
},
{
title
:
intl
.
formatMessage
({
id
:
'balance.common.columns.orderColumns.settlementAmount'
}),
dataIndex
:
'settlementAmount'
,
...
...
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