|
@@ -57,7 +57,7 @@ class Feeding extends Backend
|
|
|
return $this->view->fetch();
|
|
return $this->view->fetch();
|
|
|
}
|
|
}
|
|
|
$params = $this->request->post('row/a');
|
|
$params = $this->request->post('row/a');
|
|
|
-
|
|
|
|
|
|
|
+ print_r($params);die;
|
|
|
$params = $this->preExcludeFields($params);
|
|
$params = $this->preExcludeFields($params);
|
|
|
$tid = Db::name('task')->where('bach',$params['bach'])->order('id desc')->find();
|
|
$tid = Db::name('task')->where('bach',$params['bach'])->order('id desc')->find();
|
|
|
$arr = [];
|
|
$arr = [];
|
|
@@ -119,11 +119,9 @@ class Feeding extends Backend
|
|
|
$res = Db::name('task')->where('bach',$bach)->order('create','desc')->select();
|
|
$res = Db::name('task')->where('bach',$bach)->order('create','desc')->select();
|
|
|
//已有过工序
|
|
//已有过工序
|
|
|
if($row){
|
|
if($row){
|
|
|
-// Session::set('process',serialize($row));
|
|
|
|
|
$result['inspector'] = $row[0]['inspector'];
|
|
$result['inspector'] = $row[0]['inspector'];
|
|
|
$result['operator'] = $row[0]['operator'];
|
|
$result['operator'] = $row[0]['operator'];
|
|
|
}else{
|
|
}else{
|
|
|
-// Session::delete('process');
|
|
|
|
|
$result['inspector'] = '';
|
|
$result['inspector'] = '';
|
|
|
$result['operator'] = '';
|
|
$result['operator'] = '';
|
|
|
}
|
|
}
|