改进 工单投递
This commit is contained in:
parent
99a7896fb1
commit
22cbc1145c
@ -40,6 +40,10 @@ public function handle(): void
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->workOrder->status === 'error' && $this->type !== 'delete') {
|
||||
$this->type = 'post';
|
||||
}
|
||||
|
||||
|
||||
if ($this->type == 'post') {
|
||||
$response = $this->workOrder->module->http()->post('work-orders', $this->workOrder->toArray());
|
||||
|
Loading…
Reference in New Issue
Block a user