Commit 01a17551 authored by cellee's avatar cellee

文案更改

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 8d38c2a3
...@@ -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 Returned" span={2}> <Descriptions.Item label="Amount Refunded" 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 Expense"> <Descriptions.Item label="Management Fee">
$ {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>
......
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment