diff --git a/web/client/src/sections/fillion/components/transportationTable.js b/web/client/src/sections/fillion/components/transportationTable.js index dc469633..487f626b 100644 --- a/web/client/src/sections/fillion/components/transportationTable.js +++ b/web/client/src/sections/fillion/components/transportationTable.js @@ -1252,7 +1252,7 @@ const TransporTationTable = (props) => { } }, { - title: '是否隐藏字段', + title: '是否隐藏', search: false, dataIndex: 'time9', valueType: 'dateRange', @@ -2458,6 +2458,28 @@ const TransporTationTable = (props) => { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, + { + title: '是否隐藏', + search: false, + dataIndex: 'time9', + valueType: 'dateRange', + + + width: 140, + + render: (dom, record) => { + console.log(record.spot) + if (record.spot) { + return "是" + } else { + return "否" + } + + }, + fieldProps: { + getPopupContainer: (triggerNode) => triggerNode.parentNode, + } + }, { title: '操作', dataIndex: 'creatTime', @@ -3668,6 +3690,28 @@ const TransporTationTable = (props) => { } }, + { + title: '是否隐藏', + search: false, + dataIndex: 'time9', + valueType: 'dateRange', + + + width: 140, + + render: (dom, record) => { + console.log(record.spot) + if (record.spot) { + return "是" + } else { + return "否" + } + + }, + fieldProps: { + getPopupContainer: (triggerNode) => triggerNode.parentNode, + } + }, { key: "direction", hideInTable: true, diff --git a/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js b/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js index 20512602..4374ca62 100644 --- a/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js +++ b/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js @@ -140,9 +140,9 @@ const MaintenanceSpotCheck = (props) => { const res = await dispatch(roadSpotPrepare({ countyPercentage: values.percentValue })) setPreviewId(res?.payload.data?.previewId) form.setFieldsValue({ - 'countryMil': res?.payload.data?.countryMil, - 'townMil': res?.payload.data?.townMil, - 'villageMil': res?.payload.data?.villageMil, + 'countryMil': res?.payload.data?.countryMil.toFixed(3), + 'townMil': res?.payload.data?.townMil.toFixed(3), + 'villageMil': res?.payload.data?.villageMil.toFixed(3), }) } })