|
@@ -1052,14 +1052,16 @@ class JRFIDServerService extends Service
|
|
|
if(empty($data['id'])) return [false, 'ID不能为空'];
|
|
|
if(empty($data['contract_no'])) return [false, '合同号不能为空'];
|
|
|
if(empty($data['drawing_no'])) return [false, '图号不能为空'];
|
|
|
+ if(empty($data['procedure'])) return [false, '工序不能为空'];
|
|
|
+
|
|
|
$post = [
|
|
|
'type' => $data['type'],
|
|
|
'id' => $data['id'],
|
|
|
'contract_no' => $data['contract_no'],
|
|
|
'drawing_no' => $data['drawing_no'],
|
|
|
+ 'procedure' => $data['procedure'],
|
|
|
];
|
|
|
$url = config("j_rfid.screenAutoCreateDispatch");
|
|
|
- if(! empty($data['procedure'])) $post['procedure'] = $data['procedure'];
|
|
|
|
|
|
list($status,$result) = $this->post_helper($url,$post,$param['header']);
|
|
|
if(! $status) return [$status, $result];
|