|
|
@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'; |
|
|
|
import { connect } from 'react-redux'; |
|
|
|
import { Form, Spin, Table } from 'antd'; |
|
|
|
import { ModalForm, ProForm, ProFormText,ProFormSelect } from '@ant-design/pro-form'; |
|
|
|
import { putOperaTional,putHighways } from "../../actions/infor" |
|
|
|
import { putOperaTional,putHighways,putShippingList } from "../../actions/infor" |
|
|
|
import _ from 'lodash' |
|
|
|
|
|
|
|
const HightModal = (props) => { |
|
|
@ -32,6 +32,14 @@ const HightModal = (props) => { |
|
|
|
}) |
|
|
|
return true |
|
|
|
|
|
|
|
} if (rewkeys === 'freight') { |
|
|
|
setDelet(values) |
|
|
|
const query = { ...values, id:recortd?.id } |
|
|
|
dispatch(putShippingList(query)).then((res) => { |
|
|
|
setSuccess(res.success) |
|
|
|
}) |
|
|
|
return true |
|
|
|
|
|
|
|
} |
|
|
|
if (rewkeys === 'highways') { |
|
|
|
setDelet(values) |
|
|
|