OA设备管理系统

  
<link rel="stylesheet" type="text/css" href="/theme/11/style.css">
<script src="/inc/js/module.js"></script>
<script src="/module/DatePicker/WdatePicker.js"></script>
<script src="/inc/js/ccorrect_btn.js"></script>
 
<?php 
include_once( "inc/conn.php" );
 include_once( "inc/editor.php" );
 include_once( "inc/utility_all.php" );
 include_once( "inc/check_type.php" );
 include_once( "inc/utility_field.php" );
 include_once( "inc/utility_file.php" );
  ?>
  <html>
  <head>
  <title>新建设备</title>
  <script  language="JavaScript">
  function CheckForm(){
     if(document.form1.DEV_NAME.value==""){
         alert("设备名称不能为空");
         return(false);
     }
     document.form1.OP.value="1";
    return (true);
 
 }
  function sendForm(publish)
 {
  document.form1.OP.value="1";
  if(CheckForm())
    document.form1.submit();
 }
 
 </script>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  <body class="bodycolor" topmargin="5"><table border="0" width="90%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td><img src="/images/notify_new.gif" align="absmiddle"><span class="big3"> 设备新增</span>  
    </td>
  </tr>
</table>
  <form action="add.php" method="post" name="form1">
  <table class="TableBlock" width="650" align="center">
      <tbody>
          <tr>
              <td class="TableHeader" colspan="6" nowrap="nowrap"><b>基本信息</b></td>
          </tr>
          <tr>
              <td class="TableData" width="86" nowrap="nowrap">种类名称:</td>
              <td class="TableData" width="230"><input id="KIND_NAME" class="BigStatic" readonly="readonly"  value="" type="text" /></td>
              <td class="TableData" nowrap="nowrap">所属部门:</td>
              <td class="TableData" width="232" colspan="3"><input type="hidden" name="SPONSORING_DEPARTMENT">
                <input type="text" name="SPONSORING_DEPARTMENT_NAME" value="" class=BigStatic size=12 maxlength=100 readonly>
                <a href="javascript:;" class="orgAdd" onClick="SelectDeptSingle('','SPONSORING_DEPARTMENT','SPONSORING_DEPARTMENT_NAME')">选择</a>         
            </td>
          </tr>
          <tr>
              <td class="TableData" width="86" nowrap="nowrap">设备名称:</td>
              <td class="TableData" colspan="6"><input title="设备名称" hidden="0" name="DEV_NAME" type="text" /></td>
          </tr>
          <tr>
              <td class="TableData" width="86" nowrap="nowrap">设备编号:</td>
              <td class="TableData" width="230"><input  id="STAFF_NO" class="BigInput" name="DEV_CODE" type="text" /></td>
              <td class="TableData" nowrap="nowrap">设备状态:</td>
              <td class="TableData" colspan="3"><select title="设备状态" name="DEV_STATUS">
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevState", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">责任人:</td>
              <td class="TableData"><input type="text" name="ASSESSING_OFFICER_NAME2" size="20" class="BigStatic" readonly value="">
                 
                <input type="hidden" name="ASSESSING_OFFICER2" value="">
              <a href="javascript:;" class="orgAdd" onClick="SelectUserSingle('','ASSESSING_OFFICER', 'ASSESSING_OFFICER_NAME')">选择</a></td>
              <td class="TableData" nowrap="nowrap">使用人:</td>
              <td class="TableData" colspan="3"><input type="text" name="ASSESSING_OFFICER_NAME" size="20" class="BigStatic" readonly value="">
                 
                <input type="hidden" name="ASSESSING_OFFICER" value="">
              <a href="javascript:;" class="orgAdd" onClick="SelectUserSingle('','ASSESSING_OFFICER', 'ASSESSING_OFFICER_NAME')">选择</a></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">采购日期:</td>
              <td class="TableData" > <input type="text" name="STOCK_DATE" size="10" maxlength="10" class="BigInput" value="" onClick="WdatePicker()">
  </td>
              <td class="TableData" nowrap="nowrap">设备来源:</td>
              <td class="TableData"  colspan="3"><select title="设备来源" name="DEV_SOURCE" >
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevSource", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">保修期至:</td>
              <td class="TableData" ><input οnblur="checkDate()" class="BigInput" οnclick="WdatePicker()" maxlength="10" size="10" name="MAINTENENDDATE" type="text" /></td>
              <td class="TableData" nowrap="nowrap">报废期至:</td>
              <td class="TableData" colspan="3" nowrap="nowrap"><input οnblur="checkDate()" class="BigInput" οnclick="WdatePicker()" maxlength="10" size="10" name="REJECTENDDATE" type="text" /></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">品牌:</td>
              <td class="TableData"><select title="设备品牌" name="BROND" >
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevBrand", "" );?>
              </select></td>
              <td class="TableData" nowrap="nowrap">规格型号:</td>
              <td class="TableData" colspan="3"><select title="规格型号"  name="MODEL">
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevModels", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" width="86" nowrap="nowrap">生产商:</td>
              <td class="TableData"><select title="设备供应商"  name="FAC">
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevProducer", "" );?>
              </select></td>
              <td class="TableData" width="82" nowrap="nowrap">供应商:</td>
              <td class="TableData" colspan="3"><select title="设备供应商" name="ACC" >
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevProducer", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">用途:</td>
              <td class="TableData" colspan="5"><select title="设备用途" name="DEV_USE">
              <option value=" " ></option>
            <?php echo code_list( "sbgl_DevPurpose", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">购买人:</td>
              <td class="TableData"><input type="text" name="BUYPRS" size="13" class="BigStatic" readonly value="">
          <a href="javascript:;" class="orgAdd" onClick="SelectUserSingle('','TO_ID', 'TO_NAME')">选择</a></td>
              <td class="TableData" width="82" nowrap="nowrap">购买合同:</td>
              <td class="TableData" width="232" colspan="3"><input type="text" id="BUYCONTRACT" width="180"></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">启用日期:</td>
              <td class="TableData"><input οnblur="checkDate()" class="BigInput" οnclick="WdatePicker()" maxlength="10" size="10" name="DATA_99" type="text" /></td>
              <td class="TableData" width="82" nowrap="nowrap">财务编号:</td>
              <td class="TableData" width="232" colspan="3"><input type="text" id="SER_CODE" width="180"></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">价格:</td>
              <td class="TableData"><input type="text" id="PRICE" width="180"></td>
              <td class="TableData" width="82" nowrap="nowrap">货币种类:</td>
              <td class="TableData" width="232" colspan="3"><select title="货币种类" name="CURRENCYKIND" >
              <option value=" " ></option>
            <?php echo code_list( "sbgl_CurrencyKind", "" );?>
              </select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">生产日期:</td>
              <td class="TableData"><input type="text" name="END_DATE" size="10" maxlength="10" class="BigInput" value="" onClick="WdatePicker()"></td>
              <td class="TableData" width="82" nowrap="nowrap">出厂编号</td>
              <td class="TableData" width="232" colspan="3"><input type="text" id="Finance" width="180" name="DEV_TERMINAL"></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">安装位置:</td>
              <td class="TableData"><input type="text" id="DEV_PLACE" width="180"></td>
              <td class="TableData" width="82" nowrap="nowrap">折旧方法:</td>
              <td class="TableData" width="232" colspan="3"><select><option value="不计提折旧">不计提折旧</option><option value="平均年限法">平均年限法</option><</select></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">净残值率:</td>
              <td class="TableData"><input type="text" id="Finance" width="100px">(%)</td>
              <td class="TableData" width="82" nowrap="nowrap">预计使用:</td>
              <td class="TableData" width="232" colspan="3"><input type="text" id="Finance" width="100px"></td>
          </tr>
          <tr>
              <td class="TableData" nowrap="nowrap">检修周期:</td>
              <td class="TableData"><input  title="检修周期" maxlength="3" name="FREQCOUNT" size="3" hidden="0" type="text" /> <select title="周期" name="FREQUNIT">
              <option value="" selected="selected"></option>
              <option value="天">天</option>
              <option value="周">周</option>
              <option value="月">月</option>
              <option value="年">年</option>
              </select></td>
              <td class="TableData" width="82" nowrap="nowrap">下次检修:</td>
              <td class="TableData" width="232" colspan="3"><input οnblur="checkDate()" class="BigInput" οnclick="WdatePicker()" maxlength="10" size="10" name="NEXTCHECKDATE" type="text" /></td>
          </tr>
          <tr>
              <td class="TableData" width="86" nowrap="nowrap">备注:</td>
              <td class="TableData" colspan="6"><textarea title="备注" rich="0" style="width: 400px; height: 50px" name="DEV_NOTE"></textarea></td>
          </tr>
           <tr align="center" class="TableControl">
     <td colspan=6 nowrap>
      <input type="hidden" name="OP" value="">
      <input type="button" value="保存" class="BigButton" onClick="CheckForm();">
      <input type="button" value="返回" class="BigButton" onClick="location='user_list.php?DEPT_ID=242'">
     </td>
   </tr>
 
     </tbody>
  </table>
  <form>
  </body>
  </html>

 
设备新增  
基本信息
种类名称:所属部门:选择
设备名称:
设备编号:设备状态:
  • <?php echo code_list( "sbgl_DevState", "" );?>
  • 责任人:   选择使用人:   选择
    采购日期:设备来源:
  • <?php echo code_list( "sbgl_DevSource", "" );?>
  • 保修期至:报废期至:
    品牌:
  • <?php echo code_list( "sbgl_DevBrand", "" );?>
  • 规格型号:
  • <?php echo code_list( "sbgl_DevModels", "" );?>
  • 生产商:
  • <?php echo code_list( "sbgl_DevProducer", "" );?>
  • 供应商:
  • <?php echo code_list( "sbgl_DevProducer", "" );?>
  • 用途:
  • <?php echo code_list( "sbgl_DevPurpose", "" );?>
  • 购买人:选择购买合同:
    启用日期:财务编号:
    价格:货币种类:
  • <?php echo code_list( "sbgl_CurrencyKind", "" );?>
  • 生产日期:出厂编号
    安装位置:折旧方法:
  • <
  • 净残值率:(%)预计使用:
    检修周期: 下次检修:
    备注:
    评论
    添加红包

    请填写红包祝福语或标题

    红包个数最小为10个

    红包金额最低5元

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

    抵扣说明:

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

    余额充值