add:新增同一个工单同一人可以多次拼单:拼单后台撤单,不影响母单状态

This commit is contained in:
2026-10-23 15:20:14 +08:00
parent 1d5615f1ae
commit 2befb57ef8
4 changed files with 43 additions and 34 deletions
@@ -700,7 +700,7 @@ export default function WorkOrdersPanel() {
cancelAdminWorkOrderShare(workOrderId, cancelShare.shareId, {
reason: String(values.reason || '').trim(),
}),
'该参与者已撤单,押金和拼单份数已恢复',
'该参与者已撤单,押金已退还,母单状态未变更',
)
if (!succeeded) return
await queryClient.invalidateQueries({
@@ -3305,7 +3305,7 @@ export default function WorkOrdersPanel() {
showIcon
type="warning"
message={`将撤销该打手承接的 ${cancelShare.quantity} 份拼单`}
description="撤单后会退还该份额冻结的押金,空出的份数重新回到接单大厅;已提交的验收资料会保留在后台记录中。"
description="撤单只释放这一份份额并退还该份额冻结的押金,母单状态保持不变(待验收/进行中的单不会被踢回大厅);已提交的验收资料会保留在后台记录中。"
style={{ marginBottom: 16 }}
/>
<Form.Item label="撤单原因" name="reason">