|
@@ -334,10 +334,8 @@ class BoxService extends Service
|
|
|
|
|
|
foreach ($data as &$v){
|
|
|
$detail = $key_list[$v['top_id']];
|
|
|
- $v['process'] = $detail['technology_material'];
|
|
|
- $v['process_title'] = $detail['technology_name'];
|
|
|
- $v['material_name'] = $detail['wood_name'];
|
|
|
- $v['process_mark'] = $detail['process_mark'];
|
|
|
+ $v['customer_no'] = $detail['customer_no'];
|
|
|
+ $v['customer_name'] = $detail['customer_name'];
|
|
|
}
|
|
|
return [true, $data];
|
|
|
}
|
|
@@ -679,4 +677,27 @@ class BoxService extends Service
|
|
|
]);
|
|
|
return [true,''];
|
|
|
}
|
|
|
+
|
|
|
+ public function transportDetail($data){
|
|
|
+ if(empty($data['order_no'])) return [false,'包装单号不能为空'];
|
|
|
+
|
|
|
+ $return = [
|
|
|
+ [
|
|
|
+ 'product_no' => '',
|
|
|
+ 'technology_material' => '',
|
|
|
+ 'technology_name' => '',
|
|
|
+ 'wood_name' => '',
|
|
|
+ 'process_mark' => '',
|
|
|
+ 'customer_no' => '',
|
|
|
+ 'customer_name' => '',
|
|
|
+ 'product_title' => '',
|
|
|
+ 'product_size' => '',
|
|
|
+ 'transport_no' => '',
|
|
|
+ 'order_no' => '',
|
|
|
+ 'num' => '',
|
|
|
+ ]
|
|
|
+ ];
|
|
|
+ return [200,''];
|
|
|
+
|
|
|
+ }
|
|
|
}
|