|
|
@@ -13,11 +13,11 @@ import DragIniter from '@/components/Modal/src/components/DragIniter'
|
|
|
import { ProFormTextArea } from '@ant-design/pro-form'
|
|
|
|
|
|
export const lockTypeEnum = {
|
|
|
- REMARK: 0,
|
|
|
- UPDATE: 1,
|
|
|
- CHANGE: 2,
|
|
|
- RECOVER: 3,
|
|
|
- RECEIVE: 5,
|
|
|
+ REMARK: 0, // 备注
|
|
|
+ UPDATE: 1, // 升级
|
|
|
+ CHANGE: 2, // 更换
|
|
|
+ RECOVER: 3, // 收回
|
|
|
+ RECEIVE: 5, // 接收
|
|
|
SALE: 6
|
|
|
}
|
|
|
|
|
|
@@ -139,6 +139,10 @@ const LockModal = props => {
|
|
|
const handleonOk = () => {
|
|
|
form.validateFields().then(values => {
|
|
|
onConfirm({ ...values, preserveStatus: type })
|
|
|
+ dispatch({
|
|
|
+ type: 'refresh/commitAction',
|
|
|
+ payload: 'longle'
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
|