|
@@ -269,7 +269,7 @@ class Entrust extends Backend
|
|
|
public function submit(){
|
|
public function submit(){
|
|
|
if (false === $this->request->isPost()) {
|
|
if (false === $this->request->isPost()) {
|
|
|
$id = input('id');
|
|
$id = input('id');
|
|
|
- $judgeData = Db::name('item_judge')->column('id,name');
|
|
|
|
|
|
|
+ $judgeData = Db::name('item_judge')->whereNull('delete')->column('id,name');
|
|
|
|
|
|
|
|
$this->view->assign('judgeData', $judgeData);
|
|
$this->view->assign('judgeData', $judgeData);
|
|
|
$this->view->assign('id', $id);
|
|
$this->view->assign('id', $id);
|
|
@@ -371,6 +371,10 @@ class Entrust extends Backend
|
|
|
}
|
|
}
|
|
|
$params['entrust_no'] = $entrust['no'];
|
|
$params['entrust_no'] = $entrust['no'];
|
|
|
$params['entrust_id'] = $entrust['id'];
|
|
$params['entrust_id'] = $entrust['id'];
|
|
|
|
|
+ $params['machine'] = 'GCMS';
|
|
|
|
|
+ if ($gather_tab = 'gather_txt_check_gc'){
|
|
|
|
|
+ $params['machine'] = 'GC';
|
|
|
|
|
+ }
|
|
|
$params['name'] = $entrust['name'];
|
|
$params['name'] = $entrust['name'];
|
|
|
$params['bach'] = $entrust['bach'];
|
|
$params['bach'] = $entrust['bach'];
|
|
|
$params['sample_no'] = $entrust['sample_no'];
|
|
$params['sample_no'] = $entrust['sample_no'];
|