Commit 61c5de68 authored by cellee's avatar cellee

取消设施费用修复,0001 反馈

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 12cab9bc
......@@ -94,13 +94,10 @@ export default {
*RA({ playload }, { call, put }) {
const resp = yield call(service.RA, playload);
if (resp.code == 500||resp.error_code!="0000") {
// window.location.href = '/500';
}
// if (resp.code == 500||resp.error_code!="0000") {
// // window.location.href = '/500';
// }
if (resp.error_code != "0000") {
console.log("请求错误码:"+"("+playload.index+")" + resp.error_code)
console.log(playload)
var Result = null
switch (playload.index) {
case 1:
......@@ -113,6 +110,7 @@ export default {
yield put({ type: 'returnResult', Result });
break;
}
message.error(`${resp.error_code}:${resp.error_msg}`);
}
else {
// console.log('===========================')
......
......@@ -122,6 +122,12 @@ const BookingDetail = (props: any) => {
const handleCancel = (e: any) => {
setModalVisible(false);
};
// 最大数量
const maxPar = () => {
return;
};
return (
<>
{DataSave != null ? (
......@@ -191,7 +197,12 @@ const BookingDetail = (props: any) => {
<InputNumber
placeholder="00.00"
min={0}
max={parseInt(DataSave.communityMargin).toFixed(2) as any}
max={
(
parseInt(DataSaveDetail.marginFee) +
parseInt(DataSaveDetail.managerFee)
).toFixed(2) as any
}
maxLength={6}
step={0.01}
prefix="$"
......
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