|
@@ -361,15 +361,15 @@ class WorkOrderProcess extends Api
|
|
|
if (empty($params['big_process'])) {
|
|
if (empty($params['big_process'])) {
|
|
|
$this->error('大工艺不能为空');
|
|
$this->error('大工艺不能为空');
|
|
|
}
|
|
}
|
|
|
- if (empty($params['standard_hour'])) {
|
|
|
|
|
- $this->error('标准工时不能为空');
|
|
|
|
|
- }
|
|
|
|
|
- if (empty($params['standard_score'])) {
|
|
|
|
|
- $this->error('标准公分不能为空');
|
|
|
|
|
- }
|
|
|
|
|
- if (empty($params['coefficient'])) {
|
|
|
|
|
- $params['coefficient'] = 1;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (empty($params['standard_hour'])) {
|
|
|
|
|
+ // $this->error('标准工时不能为空');
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (empty($params['standard_score'])) {
|
|
|
|
|
+ // $this->error('标准公分不能为空');
|
|
|
|
|
+ // // }
|
|
|
|
|
+ // if (empty($params['coefficient'])) {
|
|
|
|
|
+ // $params['coefficient'] = 'C';
|
|
|
|
|
+ // }
|
|
|
if (empty($params['sys_id'])) {
|
|
if (empty($params['sys_id'])) {
|
|
|
$this->error('系统人不能为空');
|
|
$this->error('系统人不能为空');
|
|
|
}
|
|
}
|