|
@@ -2151,7 +2151,7 @@ class WorkOrder extends Api
|
|
|
}
|
|
}
|
|
|
$ProcesslastId = \db('工单_工艺资料')->order('UniqId desc')->value('rtrim(UniqId)');
|
|
$ProcesslastId = \db('工单_工艺资料')->order('UniqId desc')->value('rtrim(UniqId)');
|
|
|
foreach ($ProcessList as $key=>$value){
|
|
foreach ($ProcessList as $key=>$value){
|
|
|
- if (empty($value['Gy0_shdh'])){
|
|
|
|
|
|
|
+ if (empty(trim($value['Gy0_shdh']))){
|
|
|
$rate['rate0'] = 0;
|
|
$rate['rate0'] = 0;
|
|
|
$rate['rate1'] = 0;
|
|
$rate['rate1'] = 0;
|
|
|
}else{
|
|
}else{
|