|
|
@@ -223,9 +223,9 @@ class ReportingWork extends Api
|
|
|
if (empty($item['process_name'])) {
|
|
|
$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'] === '') {
|
|
|
$this->error('第' . $rowNo . '条标准工分不能为空');
|
|
|
}
|
|
|
@@ -255,7 +255,7 @@ class ReportingWork extends Api
|
|
|
'part_code' => $partCode,
|
|
|
'process_code' => $item['process_code'],
|
|
|
'process_name' => $item['process_name'],
|
|
|
- // 'standard_hour' => $standardHour,
|
|
|
+ 'standard_hour' => $standardHour,
|
|
|
'standard_score' => $standardScore,
|
|
|
'coefficient' => $coefficient,
|
|
|
'number' => $number,
|