<th>工序序号</th>
				<th>工序名称</th>
				<th>交验日期</th>
				<th>零件编号</th>
				<th>零件名称</th>
				<th>交验件数</th>
				<th>单件工时</th>
				<th>准备工时</th>
				<th>工时小计</th>
			</tr>
		</thead>
		<tbody>
			<?php 
foreach ($results as $group) {
    foreach ($group as $staff => $work_group) {
        $staff_id = get_staff_id($staff);
        $staff_name = get_staff_name($staff);
        foreach ($work_group['works'] as $count => $sub_grp) {
            //debug( $work_item );
            foreach ($sub_grp['works'] as $work_item) {
                ?>
							<tr>
								
								<td><?php 
                echo $staff_id;
                ?>
</td>
								<td><?php 
                echo $staff_name;
                ?>
</td>
				<td>零件</td>
				<td>合格/让步/报废</td>
				<td>单件工时</td>
				<td>准备工时</td>
				<td>小计工时</td>
				<td>考核率</td>
				<td>考核后工时</td>
				<td>返单日期</td>
				<td>备注</td>
			</tr>
		</thead>
		<tbody>
			<?php 
foreach ($works_group as $grp) {
    foreach ($grp as $staff_str => $work_group) {
        $staff_id = get_staff_id($staff_str);
        $staff_name = get_staff_name($staff_str);
        foreach ($work_group['works'] as $sub_grp) {
            foreach ($sub_grp['works'] as $work_item) {
                ?>
								<tr>
									
									<td><?php 
                echo $staff_id . '_' . $staff_name;
                ?>
</td>
									<td><?php 
                echo $work_item['prod_graphic_src'];
                ?>
</td>
									<td><?php