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
1c461b8d
Commit
1c461b8d
authored
Jan 08, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改结算能力搜索 以及 加工继续发货按钮
parent
cd326e05
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
100 additions
and
58 deletions
+100
-58
index.tsx
...s/balance/accountsPayable/settlementList/schema/index.tsx
+15
-3
index.tsx
...alance/accountsReceivable/settlementList/schema/index.tsx
+3
-0
index.tsx
...es/balance/platformSettlement/accountReceivable/index.tsx
+3
-2
index.tsx
...nce/platformSettlement/accountReceivable/schema/index.tsx
+30
-17
index.tsx
src/pages/balance/platformSettlement/integral/index.tsx
+2
-1
index.tsx
...ages/balance/platformSettlement/integral/schema/index.tsx
+30
-17
index.tsx
src/pages/handling/assign/detail/index.tsx
+17
-18
No files found.
src/pages/balance/accountsPayable/settlementList/schema/index.tsx
View file @
1c461b8d
...
...
@@ -44,6 +44,9 @@ export const schema: ISchema = {
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
[
"结算时间(开始时间)"
,
"结算时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
}
},
status
:
{
...
...
@@ -146,7 +149,10 @@ export const detailSchema: ISchema = {
'x-component-props'
:
{
showTime
:
false
,
allowClear
:
true
,
placeholder
:
[
"单据时间(开始时间)"
,
"单据时间(结束时间)"
]
placeholder
:
[
"单据时间(开始时间)"
,
"单据时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
},
},
"[receiveStartTime, receiveEndTime]"
:
{
...
...
@@ -155,7 +161,10 @@ export const detailSchema: ISchema = {
'x-component-props'
:
{
showTime
:
false
,
allowClear
:
true
,
placeholder
:
[
"收货时间(开始时间)"
,
"收货时间(结束时间)"
]
placeholder
:
[
"收货时间(开始时间)"
,
"收货时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
},
},
...
...
@@ -229,7 +238,10 @@ export const logisticsDetailSchema: ISchema = {
'x-component-props'
:
{
showTime
:
false
,
allowClear
:
true
,
placeholder
:
[
"单据时间(开始时间)"
,
"单据时间(结束时间)"
]
placeholder
:
[
"单据时间(开始时间)"
,
"单据时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
},
},
...
...
src/pages/balance/accountsReceivable/settlementList/schema/index.tsx
View file @
1c461b8d
...
...
@@ -44,6 +44,9 @@ export const schema: ISchema = {
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
[
"结算时间(开始时间)"
,
"结算时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
}
},
status
:
{
...
...
src/pages/balance/platformSettlement/accountReceivable/index.tsx
View file @
1c461b8d
...
...
@@ -22,6 +22,7 @@ import EyePreview from '@/components/EyePreview'
import
{
fetchOptions
}
from
'../../common'
;
const
formActions
=
createFormActions
();
const
{
RangePicker
}
=
DatePicker
;
// 平台代收账款结算 - 收款方查看凭证 能力中心
const
PLATFORM_BENEFICIARY
=
3
;
...
...
@@ -138,7 +139,7 @@ const AccountReceivable = () => {
const
handleSearch
=
(
values
:
any
)
=>
{
const
format
=
'YYYY-MM-DD'
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
endTime
=
values
.
endTime
?.
format
(
format
)
;
const
endTime
=
values
.
endTime
?
values
.
endTime
.
format
(
format
)
+
" 23:59:59"
:
""
;
;
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
});
}
...
...
@@ -157,7 +158,7 @@ const AccountReceivable = () => {
<
NiceForm
actions=
{
formActions
}
expressionScope=
{
{}
}
components=
{
{
Dat
ePicker
}
}
components=
{
{
Rang
ePicker
}
}
effects=
{
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'megaLayout.settlementNo'
,
FORM_FILTER_PATH
);
useAsyncSelect
(
...
...
src/pages/balance/platformSettlement/accountReceivable/schema/index.tsx
View file @
1c461b8d
...
...
@@ -24,30 +24,43 @@ export const schema: ISchema = {
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'
mega
-layout'
,
'x-component'
:
'
flex
-layout'
,
'x-component-props'
:
{
grid
:
true
,
full
:
true
,
autoRow
:
true
,
columns
:
6
,
rowStyle
:
{
justifyContent
:
"flex-start"
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
startTime
:
{
type
:
'string'
,
'x-component'
:
'DatePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
'结算日期(开始时间)'
}
},
endTime
:
{
type
:
'string'
,
'x-component'
:
'DatePicker'
,
"[startTime, endTime]"
:
{
type
:
'object'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
'结算日期(结束时间)'
placeholder
:
[
"结算时间(开始时间)"
,
"结算时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
}
},
// startTime: {
// type: 'string',
// 'x-component': 'DatePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: '结算日期(开始时间)'
// }
// },
// endTime: {
// type: 'string',
// 'x-component': 'DatePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: '结算日期(结束时间)'
// }
// },
status
:
{
type
:
'string'
,
enum
:
[
...
...
src/pages/balance/platformSettlement/integral/index.tsx
View file @
1c461b8d
...
...
@@ -21,6 +21,7 @@ import EyePreview from '@/components/EyePreview';
import
{
fetchOptions
}
from
'../../common'
;
import
{
useAsyncSelect
}
from
'@/formSchema/effects/useAsyncSelect'
;
const
{
RangePicker
}
=
DatePicker
;
// 平台积分结算-收款方查看凭证, 能力中心
const
SCORE_BENEFINCIARY
=
5
;
const
formActions
=
createFormActions
();
...
...
@@ -140,7 +141,7 @@ const Integral: React.FC = () => {
const
handleSearch
=
(
values
:
any
)
=>
{
const
format
=
'YYYY-MM-DD'
const
startTime
=
values
.
startTime
?.
format
(
format
);
const
endTime
=
values
.
endTime
?.
format
(
format
)
;
const
endTime
=
values
.
endTime
?
values
.
endTime
.
format
(
format
)
+
" 23:59:59"
:
""
;
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
});
}
...
...
src/pages/balance/platformSettlement/integral/schema/index.tsx
View file @
1c461b8d
...
...
@@ -29,30 +29,43 @@ export const schema: ISchema = {
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'
mega
-layout'
,
'x-component'
:
'
flex
-layout'
,
'x-component-props'
:
{
grid
:
true
,
full
:
true
,
autoRow
:
true
,
columns
:
6
,
rowStyle
:
{
justifyContent
:
"flex-start"
,
},
colStyle
:
{
marginRight
:
20
,
},
},
properties
:
{
startTime
:
{
type
:
'string'
,
'x-component'
:
'DatePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
'结算日期(开始时间)'
}
},
endTime
:
{
type
:
'string'
,
'x-component'
:
'DatePicker'
,
"[startTime, endTime]"
:
{
type
:
'object'
,
"x-component"
:
'RangePicker'
,
'x-component-props'
:
{
allowClear
:
true
,
placeholder
:
'结算日期(结束时间)'
placeholder
:
[
"结算时间(开始时间)"
,
"结算时间(结束时间)"
],
style
:
{
minWidth
:
"320px"
}
}
},
// startTime: {
// type: 'string',
// 'x-component': 'DatePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: '结算日期(开始时间)'
// }
// },
// endTime: {
// type: 'string',
// 'x-component': 'DatePicker',
// 'x-component-props': {
// allowClear: true,
// placeholder: '结算日期(结束时间)'
// }
// },
status
:
{
type
:
'string'
,
enum
:
[
...
...
src/pages/handling/assign/detail/index.tsx
View file @
1c461b8d
...
...
@@ -251,27 +251,26 @@ const Detail: React.FC<{}> = () => {
const
SubmitBtn
=
<
Button
loading=
{
loading
}
icon=
{
<
FormOutlined
/>
}
onClick=
{
submit
}
type=
"primary"
>
提交通知单
</
Button
>
const
NextBtn
=
<
Button
loading=
{
loading
}
icon=
{
<
SaveOutlined
/>
}
onClick=
{
toNext
}
type=
"primary"
>
提交
</
Button
>
const
AllReceiptReceive
=
(
<
Space
direction=
{
"vertical"
}
>
{
!
hasProductNoReply
?
<
Popconfirm
title=
{
'确认本单全部发货单是否已全部收到回单'
}
onConfirm=
{
()
=>
handleAllReceiptReceive
(
true
)
}
>
<
Button
loading=
{
loading
}
type=
"primary"
style=
{
{
width
:
'100%'
}
}
>
确认本单全部发货单已收到回单
</
Button
>
</
Popconfirm
>
:
null
}
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
!
hasProductNoReply
?
(
<
Space
direction=
{
"vertical"
}
>
<
Popconfirm
title=
{
hasProductNoDelievery
?
'是否继续发货'
:
'您商品都已发货,是否确认还需要继续发货
'
}
onConfirm=
{
()
=>
handleAllReceiptReceive
(
fals
e
)
}
title=
{
'确认本单全部发货单是否已全部收到回单
'
}
onConfirm=
{
()
=>
handleAllReceiptReceive
(
tru
e
)
}
>
<
Button
loading=
{
loading
}
>
继续发货
</
Button
>
<
Button
loading=
{
loading
}
type=
"primary"
style=
{
{
width
:
'100%'
}
}
>
确认本单全部发货单已收到回单
</
Button
>
</
Popconfirm
>
</
div
>
</
Space
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
<
Popconfirm
title=
{
hasProductNoDelievery
?
'是否继续发货'
:
'您商品都已发货,是否确认还需要继续发货'
}
onConfirm=
{
()
=>
handleAllReceiptReceive
(
false
)
}
>
<
Button
loading=
{
loading
}
>
继续发货
</
Button
>
</
Popconfirm
>
</
div
>
</
Space
>
)
:
null
)
const
COMPONENT_MAP
=
{
...
...
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