|
|
@@ -620,7 +620,7 @@ class MachineProductionReport extends Api
|
|
|
}else{
|
|
|
$this->error('参数错误');
|
|
|
}
|
|
|
-
|
|
|
+ //获取印件名称
|
|
|
$row = db('工单_印件资料')
|
|
|
->field('rtrim(yj_yjmc) as yj_yjmc,yj_ls as sczl_ls')
|
|
|
->where(['Yj_Gdbh'=>$gdbh,'yj_Yjno'=>$yjno])
|
|
|
@@ -636,6 +636,10 @@ class MachineProductionReport extends Api
|
|
|
}
|
|
|
$gxmc['sczl_ls'] = $row['sczl_ls'];
|
|
|
unset($gxmc['Add_gxmc']);
|
|
|
+ //获取拆片联拼系数
|
|
|
+ $list = db('db_拆片系数')->where('ls',(int)$gxmc['sczl_ls'])->find();
|
|
|
+ $gxmc['拆片联拼系数'] = $list['lpxs'];
|
|
|
+ $gxmc['拆片条小盒系数'] = $list['txxs'];
|
|
|
$row['gxmc'] = $gxmc;
|
|
|
if (!$row) $this->error('印件编号不存在, 将恢复默认值, 请仔细确认数据准确性!');
|
|
|
$this->success('成功',$row);
|