|
|
@@ -228,14 +228,14 @@ class Index extends Api
|
|
|
{
|
|
|
$row = cache('yscjDbToRedis');
|
|
|
$result['columns']=[
|
|
|
- ['name'=>'机台号','id'=>'jtbh','width'=>'14','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'在产工单号','id'=>'gdbh','width'=>'16','textAlign'=>'left'],
|
|
|
- ['name'=>'工单名称','id'=>'gdmc','width'=>'20','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'工序','id'=>'gx','width'=>'16','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'计划产量','id'=>'jhcl','width'=>'14','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'已完成产量','id'=>'wccl','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
- ['name'=>'小时产能','id'=>'xscn','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
- ['name'=>'机台状态','id'=>'status','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'机台号','id'=>'jtbh','width'=>'11','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'在产工单号','id'=>'gdbh','width'=>'15','textAlign'=>'left'],
|
|
|
+ ['name'=>'工单名称','id'=>'gdmc','width'=>'35','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'工序','id'=>'gx','width'=>'15','textAlign'=>'left'],
|
|
|
+ ['name'=>'计划产量','id'=>'jhcl','width'=>'8','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'已完成产量','id'=>'wccl','width'=>'9','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'小时产能','id'=>'xscn','width'=>'8','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'机台状态','id'=>'status','width'=>'8','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
];
|
|
|
if($row){
|
|
|
foreach($row as $k=>$v){
|
|
|
@@ -261,14 +261,14 @@ class Index extends Api
|
|
|
{
|
|
|
$row = cache('yhcjDbToRedis');
|
|
|
$result['columns']=[
|
|
|
- ['name'=>'机台号','id'=>'jtbh','width'=>'14','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'在产工单号','id'=>'gdbh','width'=>'16','textAlign'=>'left'],
|
|
|
- ['name'=>'工单名称','id'=>'gdmc','width'=>'20','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'工序','id'=>'gx','width'=>'16','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'计划产量','id'=>'jhcl','width'=>'14','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
- ['name'=>'已完成产量','id'=>'wccl','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
- ['name'=>'小时产能','id'=>'xscn','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
- ['name'=>'机台状态','id'=>'status','width'=>'14','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'机台号','id'=>'jtbh','width'=>'11','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'在产工单号','id'=>'gdbh','width'=>'15','textAlign'=>'left'],
|
|
|
+ ['name'=>'工单名称','id'=>'gdmc','width'=>'35','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'工序','id'=>'gx','width'=>'15','textAlign'=>'left'],
|
|
|
+ ['name'=>'计划产量','id'=>'jhcl','width'=>'8','autoWrap'=>"true",'textAlign'=>'left'],
|
|
|
+ ['name'=>'已完成产量','id'=>'wccl','width'=>'9','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'小时产能','id'=>'xscn','width'=>'8','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
+ ['name'=>'机台状态','id'=>'status','width'=>'8','autoWrap'=>"true",'textAlign'=>'center'],
|
|
|
];
|
|
|
if($row){
|
|
|
foreach($row as $k=>$v){
|