|
@@ -424,7 +424,7 @@ class Whlabel_bh extends Start_Controller {
|
|
|
$info_list[$key]['num'] = $value['bhnum']-$printnum;
|
|
|
$info_list[$key]['time'] = date('Y-m-d',$value['time']).'<br>'.date('H:i:s',$value['time']);
|
|
|
if($value['extra_type'] == 1){
|
|
|
- if(($value['bhnum']-$printnum > 0) || ($value['printsl'] < $value['bhnum'])){
|
|
|
+ if(($value['bhnum']-$printnum > 0) && ($value['printsl'] < $value['bhnum'])){
|
|
|
$info_list[$key]['extra_type'] = "<span data-id='".$value['id']."' data-num='".$value['bhnum']."' class='whlabel_bh_print'>打印布标</span>";
|
|
|
}else{
|
|
|
$info_list[$key]['extra_type'] = "";
|