|
@ -399,8 +399,9 @@ const MaintenanceSpotCheck = (props) => { |
|
|
setPreviewId(res?.payload.data?.previewId) |
|
|
setPreviewId(res?.payload.data?.previewId) |
|
|
setTotal(((res?.payload.data?.reportCount) * Number(values.percentValue)) / 100) |
|
|
setTotal(((res?.payload.data?.reportCount) * Number(values.percentValue)) / 100) |
|
|
form.setFieldsValue({ |
|
|
form.setFieldsValue({ |
|
|
'result': count, 'village': res?.payload.data?.lukyDepartment?.name, |
|
|
'result': res?.payload.data?.reportCount, |
|
|
'total': Math.ceil(((res?.payload.data?.reportCount) * Number(values.percentValue)) / 100) |
|
|
'village': res?.payload.data?.lukyDepartment?.name, |
|
|
|
|
|
'total': Math.ceil((res?.payload.data?.reportCount) * (Number(values.percentValue) / 100)) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|