MTS生产计划大纲报表(SOP报表)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>主生产计划报表(MPS报表)</title>
<style type="text/css">

body {
	background-color: #FFFFFF;
}
.ye {
	background-color: #FFFF00;
	
}
.bu{
	background-color: #59ABD3;	
	}
.ge{
		background-color: #7DCC90;	
}
	
#form1 div {
}

</style>
</head>

<body>
<?php 
?>
<script type="text/javascript">

function re(){alert("即将清空数据是否确认?");

for(var i=0;i<document.getElementsByTagName("input").length;i++){
document.getElementsByTagName("input")[i].value="";
}
		
	
}
</script>
<center>
<form  id="form" name="form" method="post" action="<?php echo $PHP_SELF;?>">
<h3 align="center">主生产计划运算报表 </h3>

  <table width="900" border="1">
    <tbody>
      <tr>
        <th scope="col">时区 </th>
        <th scope="col">&nbsp;</th>
        <th colspan="3" scope="col"> 需求时区</th>
        <th colspan="5" scope="col">计划时区 </th>
        <th colspan="3" scope="col"><p>预测时区 </p></th>
         <th  scope="col"><p>请输入以下各值</p></th>
      </tr>
      <tr>
        <td> 时段(周)</td>
        <td>当期 </td>
        <td>1 </td>
        <td>2 </td>
        <td>3 </td>
        <td>4 </td>
        <td>5 </td>
        <td> 6</td>
        <td>7 </td>
        <td>8 </td>
        <td>9 </td>
        <td>10 </td>
        <td>11 </td>
         <td class="ye" rowspan="3">安全库存量:<br>
         <input class="ye" type="text" name="aql" id="aql" value="<?php echo''.$apl.''; ?>"/></td>
      </tr>
      <tr class="ye">
        <td>预测量 </td>
        <td></td>
        <td><input style="width:18px" class="ye" type="text" name="y1" id="y1"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y2" id="y2"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y3" id="y3"/>></td>
        <td><input style="width:18px" class="ye" type="text" name="y4" id="y4"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y5" id="y5"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y6" id="y6"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y7" id="y7"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y8" id="y8"/></td>
          <td><input style="width:18px" class="ye" type="text" name="y9" id="y9"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y10" id="y10"/></td>
        <td><input style="width:18px" class="ye" type="text" name="y11" id="y11"/></td>
        
      </tr>
      <tr class="ye">
        <td>合同量 </td>
 		<td></td>
   
     <td><input style="width:18px" class="ye" type="text" name="h1" id="h1"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h2" id="h2"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h3" id="h3"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h4" id="h4"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h5" id="h5"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h6" id="h6"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h7" id="h7"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h8" id="h8"/></td>
          <td><input style="width:18px" class="ye" type="text" name="h9" id="h9"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h10" id="h10"/></td>
        <td><input style="width:18px" class="ye" type="text" name="h11" id="h11"/></td>
      </tr>
      <tr>
        <td>毛需量 </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
         <td class="bu" rowspan="3">现有量:<br><input class="bu" type="text" name="xyl"/></td>
      </tr>
      <tr>
        <td>计划接收量 </td>
        <td>&nbsp;</td>
        <td class="ge"><p>&nbsp;</p></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>PAB初值 </td>
        <td class="bu" rowspan="2">现有<br>
          量:</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>预计库存量 </td>
        
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
         <td class="ge" rowspan="3">第一周计划<br>接收量:<br>
         <input class="ge" type="text" name="dyl" id="dyl "  value="<?php echo''.$dyl.''; ?>"></td>
      </tr>
      <tr>
        <td>净需求 </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>计划产出量 </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>计划投入量 </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td class="ye" rowspan="2">批量增量:<br>
        <input class="ye" type="text" name="pzl" id="pzl" value="<?php echo''.$pzl.''; ?>"/><br>
        生产批量:<br><input class="ye" type="text" name="scl" id="scl" value="<?php echo''.$scl.''; ?>"></td>
      </tr>
      <tr>
        <td><p>可供销售量 </p></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><p>操作 </p></td>
        
        <td colspan="12"> <center><input  type="submit" name="Submit" value="提交" />   <button id="qingkong" onclick="re()"  >重置</button></center></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <div></div>
  &nbsp;
</form></center>
</body>
</html>

编制MTS生产计划大纲报表(SOP报表)。用Excel公式、VBA或PHP解决ERP课程中白本教材第四章报表4-3的运算问题,达到自动化通用化完成报表编制的目的。在老师给的表4-3文件的基础上修改,修改为“先重后轻”的均衡的销售计划、生产计划、库存计划。财会班用Excel公式或VBA在Excel文件中实现

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值