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
43eab8d0
Commit
43eab8d0
authored
Feb 10, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
cc3554c8
b34ae61c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
36 deletions
+57
-36
.npmrc
.npmrc
+2
-2
balance.ts
src/locales/en-US/balance.ts
+1
-1
balance.ts
src/locales/ko-KR/balance.ts
+1
-1
balance.ts
src/locales/zh-CN/balance.ts
+1
-1
useHandleSettlementList.tsx
...sPayable/settlementList/hooks/useHandleSettlementList.tsx
+12
-15
useHandleSettlementList.tsx
...ceivable/settlementList/hooks/useHandleSettlementList.tsx
+12
-15
index.tsx
...alance/accountsReceivable/settlementList/schema/index.tsx
+24
-0
index.tsx
...nagement/activePage/fixtures/components/Toolbar/index.tsx
+4
-1
No files found.
.npmrc
View file @
43eab8d0
registry
="http://npm.shushangyun.com
"
registry
= "https://registry.npmjs.org/
"
# registry = "https://registry.npmjs.org/
"
@linkseeks:registry="http://npm.shushangyun.com
"
src/locales/en-US/balance.ts
View file @
43eab8d0
...
@@ -48,7 +48,7 @@ export default {
...
@@ -48,7 +48,7 @@ export default {
'balance.accountsReceivable.invoice.exportBtn'
:
'Export'
,
'balance.accountsReceivable.invoice.exportBtn'
:
'Export'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'Issuing an invoice'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'Issuing an invoice'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'Search
order
number'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'Search
Doc
number'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'Document Summary'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'Document Summary'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'Order time (start time)'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'Order time (start time)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'Order time (end time)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'Order time (end time)'
,
...
...
src/locales/ko-KR/balance.ts
View file @
43eab8d0
...
@@ -48,7 +48,7 @@ export default {
...
@@ -48,7 +48,7 @@ export default {
'balance.accountsReceivable.invoice.exportBtn'
:
'내보내기'
,
'balance.accountsReceivable.invoice.exportBtn'
:
'내보내기'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'영수증을 발급하다'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'영수증을 발급하다'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'
주문
번호 검색'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'
영수증
번호 검색'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'증빙서류 요약'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'증빙서류 요약'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'주문 시간(시작 시간)'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'주문 시간(시작 시간)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'주문 시간(종료 시간)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'주문 시간(종료 시간)'
,
...
...
src/locales/zh-CN/balance.ts
View file @
43eab8d0
...
@@ -48,7 +48,7 @@ export default {
...
@@ -48,7 +48,7 @@ export default {
'balance.accountsReceivable.invoice.exportBtn'
:
'导出'
,
'balance.accountsReceivable.invoice.exportBtn'
:
'导出'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'开具发票'
,
'balance.accountsReceivable.invoice.invoiceCreate.title'
:
'开具发票'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'搜索
订单
号'
,
'balance.accountsReceivable.invoice.schema.orderNo'
:
'搜索
单据
号'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'单据摘要'
,
'balance.accountsReceivable.invoice.schema.orderAbstract'
:
'单据摘要'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'下单时间(开始时间)'
,
'balance.accountsReceivable.invoice.schema.orderStartTime'
:
'下单时间(开始时间)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'下单时间(结束时间)'
,
'balance.accountsReceivable.invoice.schema.orderEndTime'
:
'下单时间(结束时间)'
,
...
...
src/pages/balance/accountsPayable/settlementList/hooks/useHandleSettlementList.tsx
View file @
43eab8d0
...
@@ -17,12 +17,12 @@ import { message } from 'antd';
...
@@ -17,12 +17,12 @@ import { message } from 'antd';
import
{
getAuth
}
from
'@/utils/auth'
;
import
{
getAuth
}
from
'@/utils/auth'
;
const
intl
=
getIntl
();
const
intl
=
getIntl
();
const
format
=
"YYYY-MM-DD HH:mm:ss"
const
format
=
"YYYY-MM-DD HH:mm:ss"
const
URL_MAP
=
{
//
const URL_MAP = {
[
PRODUCT_NOTICE_SETTLEMENT_DETAIL
]:
"productNoticeSettlementDetail"
,
//
[PRODUCT_NOTICE_SETTLEMENT_DETAIL]: "productNoticeSettlementDetail",
[
LOGISTICS_DETAIL
]:
"logisticsDetail"
,
//
[LOGISTICS_DETAIL]: "logisticsDetail",
[
ORDER_DETAIL
]:
"orderDetail"
,
//
[ORDER_DETAIL]: "orderDetail",
[
CONTRACT_FUND_BILL
]:
''
,
//
[CONTRACT_FUND_BILL]: '',
}
//
}
const
STATUS_COLOR
=
[
"default"
,
"warning"
,
"primary"
,
"danger"
,
"success"
];
const
STATUS_COLOR
=
[
"default"
,
"warning"
,
"primary"
,
"danger"
,
"success"
];
...
@@ -149,22 +149,22 @@ function useHandleSettlementList() {
...
@@ -149,22 +149,22 @@ function useHandleSettlementList() {
title
:
intl
.
formatMessage
({
id
:
'balance.jiesuandanhao'
}),
title
:
intl
.
formatMessage
({
id
:
'balance.jiesuandanhao'
}),
dataIndex
:
'settlementNo'
,
dataIndex
:
'settlementNo'
,
render
:
(
text
,
record
)
=>
{
render
:
(
text
,
record
)
=>
{
const
prefix
=
`/memberCenter/balance/accountsPayable/settlementList/`
;
//
const prefix = `/memberCenter/balance/accountsPayable/settlementList/` ;
const
url
=
URL_MAP
[
record
.
orderType
];
//
const url = URL_MAP[record.orderType];
let
fullUrl
=
`
${
prefix
}${
url
}
?id=
${
record
.
id
}
`
;
let
fullUrl
=
``
;
switch
(
record
.
orderType
)
{
switch
(
record
.
orderType
)
{
// 生产单
// 生产单
case
1
:
case
1
:
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/productNoticeSettlementDetail?id=
${
record
.
orderI
d
}
`
;
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/productNoticeSettlementDetail?id=
${
record
.
i
d
}
`
;
break
;
break
;
// 物流单
// 物流单
case
2
:
case
2
:
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/logisticsDetail?id=
${
record
.
orderI
d
}
`
;
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/logisticsDetail?id=
${
record
.
i
d
}
`
;
break
;
break
;
// 订单
// 订单
case
3
:
case
3
:
case
4
:
case
4
:
fullUrl
=
`/memberCenter/
tranactionAbility/saleOrder/orderList/preview?orderNo=
${
record
.
orderNo
}
`
;
fullUrl
=
`/memberCenter/
balance/accountsPayable/settlementList/orderDetail?id=
${
record
.
id
}
`
;
break
;
break
;
// 退货
// 退货
case
5
:
case
5
:
...
@@ -175,9 +175,6 @@ function useHandleSettlementList() {
...
@@ -175,9 +175,6 @@ function useHandleSettlementList() {
case
7
:
case
7
:
fullUrl
=
`/memberCenter/balance/businessRequestFunds/search/preview?id=
${
record
.
orderId
}
&no=
${
record
.
orderNo
}
`
;
fullUrl
=
`/memberCenter/balance/businessRequestFunds/search/preview?id=
${
record
.
orderId
}
&no=
${
record
.
orderNo
}
`
;
break
;
break
;
// case 7:
// window.open(`/memberCenter/balance/businessReconciliation/search/preview?id=${record.dataId}&no=${record.orderNo}`)
// break;
default
:
default
:
break
;
break
;
}
}
...
...
src/pages/balance/accountsReceivable/settlementList/hooks/useHandleSettlementList.tsx
View file @
43eab8d0
...
@@ -14,12 +14,12 @@ import { ColumnsType } from 'antd/lib/table';
...
@@ -14,12 +14,12 @@ import { ColumnsType } from 'antd/lib/table';
import
{
getIntl
}
from
'umi'
;
import
{
getIntl
}
from
'umi'
;
const
intl
=
getIntl
();
const
intl
=
getIntl
();
const
format
=
"YYYY-MM-DD HH:mm:ss"
const
format
=
"YYYY-MM-DD HH:mm:ss"
const
URL_MAP
=
{
//
const URL_MAP = {
[
PRODUCT_NOTICE_SETTLEMENT_DETAIL
]:
"productNoticeSettlementDetail"
,
//
[PRODUCT_NOTICE_SETTLEMENT_DETAIL]: "productNoticeSettlementDetail",
[
LOGISTICS_DETAIL
]:
"logisticsDetail"
,
//
[LOGISTICS_DETAIL]: "logisticsDetail",
[
ORDER_DETAIL
]:
"orderDetail"
,
//
[ORDER_DETAIL]: "orderDetail",
[
CONTRACT_FUND_BILL
]:
''
,
//
[CONTRACT_FUND_BILL]: '',
}
//
}
const
KEY_MAP_TEXT
=
{
const
KEY_MAP_TEXT
=
{
[
TO_BE_RECONCILED
]:
intl
.
formatMessage
({
id
:
'balance.querenduizhangwancheng'
}),
[
TO_BE_RECONCILED
]:
intl
.
formatMessage
({
id
:
'balance.querenduizhangwancheng'
}),
...
@@ -85,22 +85,22 @@ function useHandleSettlementList() {
...
@@ -85,22 +85,22 @@ function useHandleSettlementList() {
title
:
intl
.
formatMessage
({
id
:
'balance.jiesuandanhao'
}),
title
:
intl
.
formatMessage
({
id
:
'balance.jiesuandanhao'
}),
dataIndex
:
'settlementNo'
,
dataIndex
:
'settlementNo'
,
render
:
(
text
,
record
)
=>
{
render
:
(
text
,
record
)
=>
{
const
prefix
=
'/memberCenter/balance/accountsReceivable/settlementList/'
;
//
const prefix = '/memberCenter/balance/accountsReceivable/settlementList/';
const
url
=
URL_MAP
[
record
.
orderType
];
//
const url = URL_MAP[record.orderType];
let
fullUrl
=
`
${
prefix
}${
url
}
?id=
${
record
.
id
}
`
;
let
fullUrl
=
``
;
switch
(
record
.
orderType
)
{
switch
(
record
.
orderType
)
{
// 生产单
// 生产单
case
1
:
case
1
:
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/productNoticeSettlementDetail?id=
${
record
.
orderI
d
}
`
;
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/productNoticeSettlementDetail?id=
${
record
.
i
d
}
`
;
break
;
break
;
// 物流单
// 物流单
case
2
:
case
2
:
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/logisticsDetail?id=
${
record
.
orderI
d
}
`
;
fullUrl
=
`/memberCenter/balance/accountsPayable/settlementList/logisticsDetail?id=
${
record
.
i
d
}
`
;
break
;
break
;
// 订单
// 订单
case
3
:
case
3
:
case
4
:
case
4
:
fullUrl
=
`/memberCenter/
tranactionAbility/saleOrder/orderList/preview?orderNo=
${
record
.
orderNo
}
`
;
fullUrl
=
`/memberCenter/
balance/accountsPayable/settlementList/orderDetail?id=
${
record
.
id
}
`
break
;
break
;
// 退货
// 退货
case
5
:
case
5
:
...
@@ -111,9 +111,6 @@ function useHandleSettlementList() {
...
@@ -111,9 +111,6 @@ function useHandleSettlementList() {
case
7
:
case
7
:
fullUrl
=
`/memberCenter/balance/businessRequestFundsCollaboration/search/preview?id=
${
record
.
orderId
}
&no=
${
record
.
orderNo
}
`
;
fullUrl
=
`/memberCenter/balance/businessRequestFundsCollaboration/search/preview?id=
${
record
.
orderId
}
&no=
${
record
.
orderNo
}
`
;
break
;
break
;
// case 7:
// window.open(`/memberCenter/balance/businessReconciliation/search/preview?id=${record.dataId}&no=${record.orderNo}`)
// break;
default
:
default
:
break
;
break
;
}
}
...
...
src/pages/balance/accountsReceivable/settlementList/schema/index.tsx
View file @
43eab8d0
...
@@ -53,6 +53,30 @@ export const schema: ISchema = {
...
@@ -53,6 +53,30 @@ export const schema: ISchema = {
}
}
}
}
},
},
/** 预计付款时间 */
// "[startTime, endTime]": {
// type: 'object',
// "x-component": 'RangePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: [intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.startTime'}), intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.endTime'})],
// style: {
// minWidth: "320px"
// }
// }
// },
/** 实际付款时间 */
// "[startTime, endTime]": {
// type: 'object',
// "x-component": 'RangePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: [intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.startTime'}), intl.formatMessage({id: 'balance.accountsReceivable.settlementList.schema.schema.endTime'})],
// style: {
// minWidth: "320px"
// }
// }
// },
status
:
{
status
:
{
type
:
'string'
,
type
:
'string'
,
enum
:
[],
enum
:
[],
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/components/Toolbar/index.tsx
View file @
43eab8d0
...
@@ -6,6 +6,7 @@ import { Modal } from 'antd';
...
@@ -6,6 +6,7 @@ import { Modal } from 'antd';
import
{
useIntl
}
from
'umi'
import
{
useIntl
}
from
'umi'
import
Color
from
'./color'
;
import
Color
from
'./color'
;
import
{
changeProps
,
SelectedInfoType
,
STATE_PROPS
,
useSelector
}
from
'@linkseeks/design-react'
;
import
{
changeProps
,
SelectedInfoType
,
STATE_PROPS
,
useSelector
}
from
'@linkseeks/design-react'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
interface
Iprops
{
interface
Iprops
{
extra
?:
React
.
ReactNode
,
extra
?:
React
.
ReactNode
,
...
@@ -18,6 +19,7 @@ type SettingPanelType = {
...
@@ -18,6 +19,7 @@ type SettingPanelType = {
const
Toolbar
:
React
.
FC
<
Iprops
>
=
(
props
:
Iprops
)
=>
{
const
Toolbar
:
React
.
FC
<
Iprops
>
=
(
props
:
Iprops
)
=>
{
const
{
pageConfig
}
=
useSelector
<
SettingPanelType
,
STATE_PROPS
>
([
'pageConfig'
]);
const
{
pageConfig
}
=
useSelector
<
SettingPanelType
,
STATE_PROPS
>
([
'pageConfig'
]);
const
{
id
}
=
usePageStatus
();
const
color
=
pageConfig
?.[
0
]?.
props
?.
backgroundColor
;
const
color
=
pageConfig
?.[
0
]?.
props
?.
backgroundColor
;
const
intl
=
useIntl
();
const
intl
=
useIntl
();
...
@@ -26,7 +28,8 @@ const Toolbar: React.FC<Iprops> = (props: Iprops) => {
...
@@ -26,7 +28,8 @@ const Toolbar: React.FC<Iprops> = (props: Iprops) => {
Modal
.
confirm
({
Modal
.
confirm
({
title
:
intl
.
formatMessage
({
id
:
'activityPage.confirmLeaveDecoratePage'
}),
title
:
intl
.
formatMessage
({
id
:
'activityPage.confirmLeaveDecoratePage'
}),
onOk
:
()
=>
{
onOk
:
()
=>
{
history
.
goBack
()
// history.goBack()
history
.
push
(
`/memberCenter/marketingAbility/activityPages/management/edit?id=
${
id
}
`
)
},
},
})
})
};
};
...
...
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