|
@@ -611,14 +611,14 @@ class ScrappService extends Service
|
|
|
$process_id = $map[$role];
|
|
|
|
|
|
if(in_array($role, [9,12,15,16,17])){
|
|
|
- $type = 1;
|
|
|
+ $type = 2;
|
|
|
$dispatch_no = DispatchSub::where('del_time',0)
|
|
|
->where('order_product_id',$order['id'])
|
|
|
->where('process_id', $process_id)
|
|
|
->value('dispatch_no');
|
|
|
list($status, $msg) = (new DispatchService())->dispatchOrderList(['dispatch_no' => $dispatch_no]);
|
|
|
}else{
|
|
|
- $type = 2;
|
|
|
+ $type = 1;
|
|
|
$crt_time = DispatchSub::where('del_time',0)
|
|
|
->where('order_product_id',$order['id'])
|
|
|
->where('process_id', $process_id)
|