You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
187 lines
9.2 KiB
187 lines
9.2 KiB
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
|
<?php
|
|
if(count($type1_items) > 0) {
|
|
?>
|
|
<tr>
|
|
<td colspan="8" style="text-align: left">更换清单</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>名称</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>价格</td>
|
|
<td width="50" align="center" class="bg_tr" nowrap>数量</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>合计</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>结算方式</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>实收</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>分类</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>维修人</td>
|
|
<td width="150" align="center" class="bg_tr" nowrap>备注</td>
|
|
</tr>
|
|
<?php
|
|
foreach($type1_items as $index => $item) {
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
|
|
<td class="td_bg" style="word-break: break-all"><?=$item->name?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->price?>元</td>
|
|
<td align="center" class="td_bg" style="word-break: break-all"><?=$item->count?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total?>元</td>
|
|
<td class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->type?></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->fix_remark?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<?php
|
|
if(count($type2_items) > 0) {
|
|
?>
|
|
<tr>
|
|
<td colspan="8" style="text-align: left">维修清单</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>名称</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>价格</td>
|
|
<td width="50" align="center" class="bg_tr" nowrap>数量</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>合计</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>结算方式</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>实收</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>分类</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>维修人</td>
|
|
<td width="150" align="center" class="bg_tr" nowrap>备注</td>
|
|
</tr>
|
|
<?php
|
|
foreach($type2_items as $index => $item) {
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
|
|
<td class="td_bg" style="word-break: break-all"><?=$item->name?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->price?>元</td>
|
|
<td align="center" class="td_bg" style="word-break: break-all"><?=$item->count?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total?>元</td>
|
|
<td class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->type?></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->fix_remark?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<?php
|
|
if(count($type3_items) > 0) {
|
|
?>
|
|
<tr>
|
|
<td colspan="8" style="text-align: left">待定清单</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>名称</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>价格</td>
|
|
<td width="50" align="center" class="bg_tr" nowrap>数量</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>合计</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>结算方式</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>实收</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>分类</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>维修人</td>
|
|
<td width="150" align="center" class="bg_tr" nowrap>备注</td>
|
|
</tr>
|
|
<?php
|
|
foreach($type3_items as $index => $item) {
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
|
|
<td class="td_bg" style="word-break: break-all"><?=$item->name?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->price?>元</td>
|
|
<td align="center" class="td_bg" style="word-break: break-all"><?=$item->count?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total?>元</td>
|
|
<td class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->type?></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->fix_remark?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<?php
|
|
if(count($type4_items) > 0) {
|
|
?>
|
|
<tr>
|
|
<td colspan="8" style="text-align: left">配件清单</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>名称</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>价格</td>
|
|
<td width="50" align="center" class="bg_tr" nowrap>数量</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>合计</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>结算方式</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>实收</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>分类</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>维修人</td>
|
|
<td width="150" align="center" class="bg_tr" nowrap>备注</td>
|
|
</tr>
|
|
<?php
|
|
foreach($type4_items as $index => $item) {
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
|
|
<td class="td_bg" style="word-break: break-all"><?=$item->name?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->price?>元</td>
|
|
<td align="center" class="td_bg" style="word-break: break-all"><?=$item->count?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total?>元</td>
|
|
<td class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->type?></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->fix_remark?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<?php
|
|
if(count($type5_items) > 0) {
|
|
?>
|
|
<tr>
|
|
<td colspan="8" style="text-align: left">工时清单</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>名称</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>价格</td>
|
|
<td width="50" align="center" class="bg_tr" nowrap>数量</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>合计</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>结算方式</td>
|
|
<td width="80" align="center" class="bg_tr" nowrap>实收</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>分类</td>
|
|
<td width="100" align="center" class="bg_tr" nowrap>维修人</td>
|
|
<td width="150" align="center" class="bg_tr" nowrap>备注</td>
|
|
</tr>
|
|
<?php
|
|
foreach($type5_items as $index => $item) {
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
|
|
<td class="td_bg" style="word-break: break-all"><?=$item->name?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->price?>元</td>
|
|
<td align="center" class="td_bg" style="word-break: break-all"><?=$item->count?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total?>元</td>
|
|
<td class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->type?></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->fix_remark?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</table>
|
|
|