|
|
@ -1988,19 +1988,19 @@ const OperaTionalTable = (props) => { |
|
|
|
const query = {} |
|
|
|
setRowSelected([]); |
|
|
|
const res = await dispatch(getOperaTional(query)); |
|
|
|
setCounts(res.payload.data) |
|
|
|
setCounts(res.payload.data?.vehicleR) |
|
|
|
return { |
|
|
|
...res, |
|
|
|
total: res.payload.data ? res.payload.data.count : 0 |
|
|
|
total: res.payload.data ? res.payload.data?.vehicleR.count : 0 |
|
|
|
} |
|
|
|
} if (rewkeys == 'huoyun') { |
|
|
|
const query = {} |
|
|
|
setRowSelected([]); |
|
|
|
const res = await dispatch(getShippingList(query)); |
|
|
|
setCounts(res.payload.data) |
|
|
|
setCounts(res.payload.data?.vehicleR) |
|
|
|
return { |
|
|
|
...res, |
|
|
|
total: res.payload.data ? res.payload.data.count : 0 |
|
|
|
total: res.payload.data ? res.payload.data?.vehicleR.count : 0 |
|
|
|
} |
|
|
|
} |
|
|
|
if (rewkeys == 'chuzu') { |
|
|
@ -2038,7 +2038,7 @@ const OperaTionalTable = (props) => { |
|
|
|
setCounts(res.payload.data) |
|
|
|
return { |
|
|
|
...res, |
|
|
|
total: res.payload.data ? res.payload.data.count : 0 |
|
|
|
total: res.payload.data ? res.payload.data : 0 |
|
|
|
} |
|
|
|
} |
|
|
|
}} |
|
|
|