Commit a96ab8e9 authored by 前端-许佳敏's avatar 前端-许佳敏

fix:归档订单批量提交-fix

parent 2c14c119
......@@ -40,7 +40,7 @@ const FirstApprovedOrder:React.FC<FirstApprovedOrderProps> = (props) => {
message.error('请先勾选订单')
return ;
}
const canBitch = !rowSelectionCtl.selectRow.some(v => v.purchaseOrderInteriorState !== SaleOrderInsideWorkState.ONE_LEVEL_AUDIT_ORDER)
const canBitch = !rowSelectionCtl.selectRow.some(v => v.purchaseOrderInteriorState !== SaleOrderInsideWorkState.FILLING_ORDER)
if (canBitch) {
const { code } = await run({ids: rowSelectionCtl.selectedRowKeys})
if (code === 1000) {
......@@ -49,7 +49,7 @@ const FirstApprovedOrder:React.FC<FirstApprovedOrderProps> = (props) => {
ref.current.reload()
}
} else {
message.error('只能批量提交内部状态为审核中的订单')
message.error('只能批量提交内部状态为待确认归档的订单')
}
}
return <PageHeaderWrapper>
......
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