设备配件管理系统源码(通达OA)

本文介绍了一个设备管理系统的新增设备页面,该页面提供了详细的设备信息录入功能,包括设备的基本属性、使用情况、采购信息等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<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/auth.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">
 <form action="add.php" method="post" name="form1">
 <table class="TableBlock" width="600" align="center">
     <tbody>
         <tr>
             <td class="TableHeader" colspan="6" nowrap="nowrap"><b>基本信息</b></td>
         </tr>
         <tr>
             <td class="TableData" width="100" nowrap="nowrap">种类名称:</td>
             <td class="TableData" width="180"><input id="KIND_NAME" class="BigStatic" readonly="readonly"  value="流程与IT部" type="text" /></td>
             <td class="TableData" nowrap="nowrap">所属部门:</td>
             <td class="TableData" width="80%" colspan="3">        
 <select name="DEPT_CODE" class="inputSelect"><option value=""></option>
<?php echo my_dept_tree( 0, $DEPT_ID, 1 );?>
</select></td>
         </tr>
         <tr>
             <td class="TableData" width="100" nowrap="nowrap">设备名称:</td>
             <td class="TableData" width="180" colspan="6"><input title="设备名称" hidden="0" name="DEV_NAME" type="text" /></td>
         </tr>
         <tr>
             <td class="TableData" width="100" nowrap="nowrap">设备编号:</td>
             <td class="TableData" width="180"><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="hidden" name="CHARGEBY" value="admin">
         <input type="text" name="DEV_USE" size="13" class="BigStatic" readonly value="">
         <a href="javascript:;" class="orgAdd" onClick="SelectUserSingle('','TO_ID', 'TO_NAME')">选择</a>
        

</td>
             <td class="TableData" nowrap="nowrap">使用人:</td>
             <td class="TableData" colspan="3"> <input type="text" name="DEV_USEMAN" size="13" class="BigStatic" readonly value="">
         <a href="javascript:;" class="orgAdd" onClick="SelectUserSingle('','TO_ID', 'TO_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 onblur="checkDate()" class="BigInput" onclick="WdatePicker()" maxlength="10" size="10" name="MAINTENENDDATE" type="text" /></td>
             <td class="TableData" nowrap="nowrap">报废期至:</td>
             <td class="TableData" colspan="3" nowrap="nowrap"><input onblur="checkDate()" class="BigInput" onclick="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="100" 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="100" 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" width="180" 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="100" nowrap="nowrap">购买合同:</td>
             <td class="TableData" width="180" colspan="3"><input type="text" id="BUYCONTRACT" width="180"></td>
         </tr>
         <tr>
             <td class="TableData" nowrap="nowrap">启用日期:</td>
             <td class="TableData"><input onblur="checkDate()" class="BigInput" onclick="WdatePicker()" maxlength="10" size="10" name="DATA_99" type="text" /></td>
             <td class="TableData" width="100" nowrap="nowrap">财务编号:</td>
             <td class="TableData" width="180" 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="100" nowrap="nowrap">货币种类:</td>
             <td class="TableData" width="180" 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="100" nowrap="nowrap">出厂编号</td>
             <td class="TableData" width="180" 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="100" nowrap="nowrap">折旧方法:</td>
             <td class="TableData" width="180" 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="100" nowrap="nowrap">预计使用:</td>
             <td class="TableData" width="180" 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" />&#160;<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="100" nowrap="nowrap">下次检修:</td>
             <td class="TableData" width="180" colspan="3"><input onblur="checkDate()" class="BigInput" onclick="WdatePicker()" maxlength="10" size="10" name="NEXTCHECKDATE" type="text" /></td>
         </tr>
         <tr>
             <td class="TableData" width="100" nowrap="nowrap">备注:</td>
             <td class="TableData" width="180" 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>


 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值