|
@@ -223,9 +223,9 @@ class ReportingWork extends Api
|
|
|
if (empty($item['process_name'])) {
|
|
if (empty($item['process_name'])) {
|
|
|
$this->error('第' . $rowNo . '条工艺名称不能为空');
|
|
$this->error('第' . $rowNo . '条工艺名称不能为空');
|
|
|
}
|
|
}
|
|
|
- if (!isset($item['standard_hour']) || $item['standard_hour'] === '') {
|
|
|
|
|
- $this->error('第' . $rowNo . '条标准工时不能为空');
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!isset($item['standard_hour']) || $item['standard_hour'] === '') {
|
|
|
|
|
+ // $this->error('第' . $rowNo . '条标准工时不能为空');
|
|
|
|
|
+ // }
|
|
|
if (!isset($item['standard_score']) || $item['standard_score'] === '') {
|
|
if (!isset($item['standard_score']) || $item['standard_score'] === '') {
|
|
|
$this->error('第' . $rowNo . '条标准工分不能为空');
|
|
$this->error('第' . $rowNo . '条标准工分不能为空');
|
|
|
}
|
|
}
|