Commit a5794d15 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:

parent b6e64caa
...@@ -219,7 +219,7 @@ const ApprovedOrderModal:React.FC<ApprovedOrderModalProps> = (props) => { ...@@ -219,7 +219,7 @@ const ApprovedOrderModal:React.FC<ApprovedOrderModalProps> = (props) => {
} }
}) })
// 上级审核不通过 // 上级审核不通过
if(data && (data.purchaseOrderInteriorState === 7 || data.purchaseOrderInteriorState === 8)) { if(data && (data.purchaseOrderInteriorState === 6 || data.purchaseOrderInteriorState === 7 || data.purchaseOrderInteriorState === 8)) {
ctx.setFieldValue("state", 0) ctx.setFieldValue("state", 0)
ctx.setFieldState("state", state => { ctx.setFieldState("state", state => {
state.props["x-component-props"] = { state.props["x-component-props"] = {
......
...@@ -330,6 +330,7 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => { ...@@ -330,6 +330,7 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
} }
}) })
setBtnLoading(true) setBtnLoading(true)
delete params.type
fnResult = id ? fnResult = id ?
await PublicApi.postOrderProcurementOrderUpdate({...params, id}) await PublicApi.postOrderProcurementOrderUpdate({...params, id})
: :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment