|
|
@@ -452,18 +452,7 @@ class WorkOrderProcess extends Api
|
|
|
if (empty($params['big_process'])) {
|
|
|
$this->error('大工艺不能为空');
|
|
|
}
|
|
|
- if (empty($params['standard_hour'])) {
|
|
|
- $this->error('秒不能为空');
|
|
|
- }
|
|
|
- if (empty($params['standard_minutes'])) {
|
|
|
- $this->error('分钟不能为空');
|
|
|
- }
|
|
|
- if (empty($params['standard_score'])) {
|
|
|
- $this->error('定额分不能为空');
|
|
|
- }
|
|
|
- if (empty($params['money'])) {
|
|
|
- $this->error('金额不能为空');
|
|
|
- }
|
|
|
+
|
|
|
if (!isset($params['coefficient']) || $params['coefficient'] === '') {
|
|
|
$params['coefficient'] = 'C';
|
|
|
}
|