|
@@ -1053,6 +1053,9 @@ class JRFIDServerService extends Service
|
|
if(empty($data['contract_no'])) return [false, '合同号不能为空'];
|
|
if(empty($data['contract_no'])) return [false, '合同号不能为空'];
|
|
if(empty($data['drawing_no'])) return [false, '图号不能为空'];
|
|
if(empty($data['drawing_no'])) return [false, '图号不能为空'];
|
|
if(empty($data['procedure'])) return [false, '工序不能为空'];
|
|
if(empty($data['procedure'])) return [false, '工序不能为空'];
|
|
|
|
+ foreach ($data['procedure'] as $value){
|
|
|
|
+ if(empty($value)) return [false, '工序不能为空'];
|
|
|
|
+ }
|
|
|
|
|
|
$post = [
|
|
$post = [
|
|
'type' => $data['type'],
|
|
'type' => $data['type'],
|