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