|
@ -270,6 +270,7 @@ const TransporTationTable = (props) => { |
|
|
multipleLine: true, |
|
|
multipleLine: true, |
|
|
|
|
|
|
|
|
menu: { |
|
|
menu: { |
|
|
|
|
|
type: 'tab', |
|
|
activeKey, |
|
|
activeKey, |
|
|
onChange: (key) => setActiveKey(key), |
|
|
onChange: (key) => setActiveKey(key), |
|
|
items: [ |
|
|
items: [ |
|
@ -298,7 +299,7 @@ const TransporTationTable = (props) => { |
|
|
options={false} |
|
|
options={false} |
|
|
ref={c => { finishedProductTable = c; }} |
|
|
ref={c => { finishedProductTable = c; }} |
|
|
style={{ width: "100% ", overflow: "auto", height: '760px' }} |
|
|
style={{ width: "100% ", overflow: "auto", height: '760px' }} |
|
|
rowKey='id' |
|
|
//rowKey='id'
|
|
|
onReset={(v) => { |
|
|
onReset={(v) => { |
|
|
setSitename('') |
|
|
setSitename('') |
|
|
}} |
|
|
}} |
|
@ -317,7 +318,12 @@ const TransporTationTable = (props) => { |
|
|
} |
|
|
} |
|
|
setRowSelected([]); |
|
|
setRowSelected([]); |
|
|
const res = await dispatch(getHighways(query)); |
|
|
const res = await dispatch(getHighways(query)); |
|
|
let rslt = res.payload.data?.vehicleRes?.filter(item => item.name !== '路牌名') |
|
|
let rslt = res.payload.data?.vehicleRes?.map(item => { |
|
|
|
|
|
return { |
|
|
|
|
|
...item, |
|
|
|
|
|
name: item.name + "(个)" |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
const additionalProperties = Object.entries(res.payload.data?.conserveData[0]).map(([key, value]) => ({ |
|
|
const additionalProperties = Object.entries(res.payload.data?.conserveData[0]).map(([key, value]) => ({ |
|
|
id: null, |
|
|
id: null, |
|
|
name: key, |
|
|
name: key, |
|
|