fix():水资源调度bug修复
parent
99ae160e26
commit
a8224a6f05
|
|
@ -87,7 +87,7 @@ export default function Gsnlfx() {
|
|||
const res = await httpget2(apiurl.gsxl.gsWater, values)
|
||||
if (res.code == 200) {
|
||||
setLslOpen(false);
|
||||
setlslData((res.data / 10000).toFixed(2))
|
||||
setlslData(res.data.toFixed(2))
|
||||
getWaterTimeData(values)
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ const EditableRow = ({ index, ...props }) => {
|
|||
}}
|
||||
name={dataIndex}
|
||||
>
|
||||
<InputNumber min={0} max={record?.standardScore} ref={inputRef} onPressEnter={save} onBlur={save} />
|
||||
<InputNumber min={0} max={record?.standardScore} controls={false} ref={inputRef} onPressEnter={save} onBlur={save} />
|
||||
</Form.Item>
|
||||
|
||||
</Form>
|
||||
|
|
@ -423,7 +423,6 @@ const EditableRow = ({ index, ...props }) => {
|
|||
getZbTableData(Item?.id,2)
|
||||
}
|
||||
} else {
|
||||
// debugger
|
||||
const newData = tabs == 2 ? tableData.filter(item => item.standardScore > item.indicatorScore) :
|
||||
tableData.filter(item => item.standardScore > item.assessScore)
|
||||
newData.forEach(item => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue