Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
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
Maple
TOSTUMI
Commits
01a17551
Commit
01a17551
authored
Jan 23, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案更改
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
8d38c2a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
BookingDetail.tsx
...es/CommunityManagement/FacilityBookings/BookingDetail.tsx
+4
-4
Facility.tsx
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
+1
-0
No files found.
src/pages/CommunityManagement/FacilityBookings/BookingDetail.tsx
View file @
01a17551
...
@@ -63,7 +63,7 @@ const BookingDetail = (props: any) => {
...
@@ -63,7 +63,7 @@ const BookingDetail = (props: any) => {
const
onFinish
=
(
values
:
any
)
=>
{
const
onFinish
=
(
values
:
any
)
=>
{
var
val
=
values
;
var
val
=
values
;
if
(
backFeeFlag
&&
val
.
backMarginFeeReason
==
null
)
{
if
(
backFeeFlag
&&
val
.
backMarginFeeReason
==
null
)
{
message
.
error
(
'
Back MarginFee Reason Is Empty
!'
,
3
);
message
.
error
(
'
Reason for partial refund cannot be empty
!'
,
3
);
}
else
{
}
else
{
var
RAVAL
=
{
var
RAVAL
=
{
accountCategoriesId
:
DataSave
.
id
,
accountCategoriesId
:
DataSave
.
id
,
...
@@ -179,7 +179,7 @@ const BookingDetail = (props: any) => {
...
@@ -179,7 +179,7 @@ const BookingDetail = (props: any) => {
<
Descriptions
.
Item
label=
"Total Refundable Amount"
>
<
Descriptions
.
Item
label=
"Total Refundable Amount"
>
$
<
span
style=
{
{
color
:
'#f00'
}
}
>
{
DataSaveDetail
.
marginFee
.
toFixed
(
2
)
}
</
span
>
$
<
span
style=
{
{
color
:
'#f00'
}
}
>
{
DataSaveDetail
.
marginFee
.
toFixed
(
2
)
}
</
span
>
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"
Total Amount Return
ed"
span=
{
2
}
>
<
Descriptions
.
Item
label=
"
Amount Refund
ed"
span=
{
2
}
>
$
<
span
style=
{
{
color
:
'#f00'
}
}
>
{
DataSaveDetail
.
backMarginFee
.
toFixed
(
2
)
}
</
span
>
$
<
span
style=
{
{
color
:
'#f00'
}
}
>
{
DataSaveDetail
.
backMarginFee
.
toFixed
(
2
)
}
</
span
>
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Reasons For Refund"
span=
{
3
}
>
<
Descriptions
.
Item
label=
"Reasons For Refund"
span=
{
3
}
>
...
@@ -212,7 +212,7 @@ const BookingDetail = (props: any) => {
...
@@ -212,7 +212,7 @@ const BookingDetail = (props: any) => {
onFinishFailed=
{
onFinishFailed
}
onFinishFailed=
{
onFinishFailed
}
>
>
<
Descriptions
>
<
Descriptions
>
<
Descriptions
.
Item
label=
"Management
Expens
e"
>
<
Descriptions
.
Item
label=
"Management
Fe
e"
>
$
{
parseInt
(
DataSave
.
communityManagerFee
).
toFixed
(
2
)
}
$
{
parseInt
(
DataSave
.
communityManagerFee
).
toFixed
(
2
)
}
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Deposit"
>
<
Descriptions
.
Item
label=
"Deposit"
>
...
@@ -267,7 +267,7 @@ const BookingDetail = (props: any) => {
...
@@ -267,7 +267,7 @@ const BookingDetail = (props: any) => {
<
div
style=
{
{
marginTop
:
16
}
}
>
<
div
style=
{
{
marginTop
:
16
}
}
>
<
Form
.
Item
>
<
Form
.
Item
>
<
Button
type=
"primary"
htmlType=
"submit"
loading=
{
load
}
>
<
Button
type=
"primary"
htmlType=
"submit"
loading=
{
load
}
>
Deposit Refunds
Make Refund
</
Button
>
</
Button
>
</
Form
.
Item
>
</
Form
.
Item
>
</
div
>
</
div
>
...
...
src/pages/CommunityManagement/FacilityBookings/Facility.tsx
View file @
01a17551
...
@@ -152,6 +152,7 @@ const Facility = (props: any) => {
...
@@ -152,6 +152,7 @@ const Facility = (props: any) => {
}
}
// 提交
// 提交
const
onFinish
=
(
values
:
any
)
=>
{
const
onFinish
=
(
values
:
any
)
=>
{
console
.
log
(
FacilitysList
);
// 先判断是否填写完整
// 先判断是否填写完整
for
(
let
j
in
FacilitysList
)
{
for
(
let
j
in
FacilitysList
)
{
if
(
FacilitysList
[
j
].
fileList
.
length
==
0
)
{
if
(
FacilitysList
[
j
].
fileList
.
length
==
0
)
{
...
...
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