21,887
社区成员
发帖
与我相关
我的任务
分享
<form action="include/compute.php" method="post" target="bottom">
<?php
$total = 0;
$i = 0;
while($detail[11][$i])//判断是否还有孩子节点
{
<?php //属装图号?>
<td align=center NOWRAP>
<input type="text" name="upcode<?php echo $i+1;?>" size="16" value="<?php echo $detail[3][$i];?>" <?php
if($i%2 == 1)
{
?>style="background:#DBDBDB"<?php
}
else
{
?>style="background:#EBEBEB"<?php
}?>/>
</td>
<?php //属装图名?>
<td align=center NOWRAP>
<input type="text" name="upname<?php echo $i+1;?>" size="20" value="<?php echo $detail[26][$i];?>" <?php
if($i%2 == 1)
{
?>style="background:#DBDBDB"<?php
}
else
{
?>style="background:#EBEBEB"<?php
}?>/>
</td>
$total = $total/10000;
$total = round($total,3);
$k = $i;
?>
<input type="submit" name="Submit" value="录入">
</form>
<table border="1" bgcolor="#EBEBEB" bordercolor="#888888" cellspacing="2" cellpadding="2">
<tr bordercolor="C6E2FF">
<th width = 50>序号</th>
<th width = 150>属装图号</td>
<th width = 250>图号</td>
<th width = 250>图名</td>
</tr>
<form action="include/compute.php" method="post" target="bottom">
<?php
$total = 0;
$i = 0;
while($detail[11][$i])//判断是否还有孩子节点
{
<?php //属装图号?>
<td align=center NOWRAP>
<input type="text" name="upcode<?php echo $i+1;?>" size="16" value="<?php echo $detail[3][$i];?>" <?php
if($i%2 == 1)
{
?>style="background:#DBDBDB"<?php
}
else
{
?>style="background:#EBEBEB"<?php
}?>/>
</td>
<?php //属装图名?>
<td align=center NOWRAP>
<input type="text" name="upname<?php echo $i+1;?>" size="20" value="<?php echo $detail[26][$i];?>" <?php
if($i%2 == 1)
{
?>style="background:#DBDBDB"<?php
}
else
{
?>style="background:#EBEBEB"<?php
}?>/>
</td>
$total = $total/10000;
$total = round($total,3);
$k = $i;
echo "</table>";//表
?>
[code=HTML] <input type="submit" name="Submit" value="录入">
</form>
<table border="1" bgcolor="#EBEBEB" bordercolor="#888888" cellspacing="2" cellpadding="2">
<tr bordercolor="C6E2FF">
<th width = 50>序号</th>
<th width = 100>领料单位</th>
<th width = 150>新物料码</th>
<th width = 150>用友码</th>
<th width = 100>转换率</td>
<th width = 100>计划价</td>
<th width = 100>设计用量</td>
<th width = 75>单项成本</td>
<th width = 150>属装图号</td>
<th width = 250>图号</td>
<th width = 250>图名</td>
<th width = 50>键号</td>
<th width = 250>材料</td>
<th width = 150>定额</td>
<th width = 220>下料尺寸</td>
<th width = 100>单重</td>
<th width = 100>总重</td>
<th width = 100>数量</td>
<th width = 200>备注</td>
<th width = 50>计量单位</td>
<th width = 150>工艺分工</td>
<th width = 150>所属产品</td>
<th width = 150>自制/外购</td>
<th width = 150>20</td>
<th width = 50>G1</td>
<th width = 50>G2</td>
<th width = 50>G3</td>
<th width = 50>G4</td>
<th width = 50>G5</td>
<th width = 50>G6</td>
<th width = 50>G7</td>
<th width = 50>G8</td>
<th width = 50>G9</td>
</tr>