|
|
@ -2,7 +2,9 @@ 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, postCustodyunit, getCustodyunitOne } from "../../actions/infor" |
|
|
|
import { putOperaTional, postCustodyunit, getCustodyunitOne,getxiuyangas } from "../../actions/infor" |
|
|
|
|
|
|
|
|
|
|
|
import _ from 'lodash' |
|
|
|
|
|
|
|
const Guanli = (props) => { |
|
|
@ -26,8 +28,8 @@ const Guanli = (props) => { |
|
|
|
const query = { ...values, id: recortd?.id, serialNumber: recortd?.id } |
|
|
|
dispatch(postCustodyunit(query)).then((res) => { |
|
|
|
if (res.success === true) { |
|
|
|
let date = { fourceUpdate: true } |
|
|
|
dispatch(getCustodyunitOne(date)).then((res) => { |
|
|
|
let date = { fourceUpdate: false } |
|
|
|
dispatch(getxiuyangas(date)).then((res) => { |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|