⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addquanxian.asp

📁 现代化的企业越来越重视科学技术
💻 ASP
字号:
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<!--#include file="../Inc/Config.asp" -->
<!--#include file="../Inc/dbconn.asp" -->

<%
id=Request("select")
if id = "" then %>
<script language="javascript">
<!--
window.history.go(-1)
-->
</script>
<%
end if

set rs = server.CreateObject("adodb.recordset")
   sql="select * from pro_quanxian where yuangongbianhao='"&id&"'"
      rs.Open sql,conn,0,2,1  
 if not (rs.EOF or rs.BOF) then 
%>
<link href="../other/admin.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style4 {
	font-size: 9pt;
	color: #0000FF;
}
-->
</style>
<form name="form1" method="post" action="savequanxian.asp">
  <div align="center">  
   
    <table width="480" height="490" border="0" cellpadding="2" cellspacing="1" >
      <tr>
        <td colspan="6" class="back_southidc"><div align="center" ><strong>权限分配</strong></div></td>
      </tr>
      <tr class="tr_southidc">
        <td height="18">编号 : </td>
        <td class="blue"><%=rs("yuangongbianhao")%> <input name="bianhao" type="hidden" value="<%=rs("yuangongbianhao")%>"></td>
        <td>姓名:</td>
        <td class="blue"><%=rs("yuangongname")%> </td>
        <td>登陆号 : </td>
        <td class="red"><%=rs("loginname")%></td>
      </tr>
     
      <tr bgcolor="#FFCC00" class="tr_southidc">
        <td colspan="6" class="table_southidc">商品资料 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="spup" value="1" <%if rs("spup")=1 then response.write "checked" end if %>>
        修改/查询商品资料</td>
        <td colspan="2"><input type="checkbox" name="spadd" value="1" <%if rs("spadd")=1 then response.write "checked" end if %>>
          增加商品 </td>
        <td colspan="2"><input type="checkbox" name="spdel" value="1" <%if rs("spdel")=1 then response.write "checked" end if %>>
          删除商品</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="spsc" value="1" <%if rs("spsc")=1 then response.write "checked" end if %>> 
          查询商品 </td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td colspan="6" class="table_southidc">库存管理 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="ruku" value="1" <%if rs("ruku")=1 then response.write "checked" end if %>>
          入库操作</td>
        <td colspan="2"><input type="checkbox" name="rukushen" value="1" <%if rs("rukushen")=1 then response.write "checked" end if %>>
          入库审核 </td>
        <td colspan="2"><input type="checkbox" name="rukujingbao" value="1" <%if rs("rukujingbao")=1 then response.write "checked" end if %>>
          库存警报</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="rukulishi" value="1" <%if rs("rukulishi")=1 then response.write "checked" end if %>> 
          历史进价</td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="16" colspan="6" class="table_southidc">销售管理 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="xskaidan" value="1"<%if rs("xskaidan")=1 then response.write "checked" end if %>>
          销售开单</td>
        <td colspan="2"><input type="checkbox" name="xsshen" value="1"<%if rs("xsshen")=1 then response.write "checked" end if %>> 
          销售审核</td>
        <td colspan="2"><input type="checkbox" name="xssc" value="1"<%if rs("xssc")=1 then response.write "checked" end if %>>
          销售单查询</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="xslishi" value="1"<%if rs("xslishi")=1 then response.write "checked" end if %>>
          历史售价</td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="6" class="table_southidc">客户管理 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="kehuleixing" value="1"<%if rs("kehuleixing")=1 then response.write "checked" end if %>>
          客户类型维护</td>
        <td colspan="2"><input type="checkbox" name="kehuup" value="1"<%if rs("kehuup")=1 then response.write "checked" end if %>>
          编辑客户资料</td>
        <td colspan="2"><input type="checkbox" name="kehuadd" value="1"<%if rs("kehuadd")=1 then response.write "checked" end if %>>
          增加客户</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="kehudel" value="1"<%if rs("kehudel")=1 then response.write "checked" end if %>>
          查询客户</td>
        <td colspan="2"><input type="checkbox" name="kehulianxi" value="1"<%if rs("kehulianxi")=1 then response.write "checked" end if %>>
          客户联系记录</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="6" class="table_southidc">人事管理 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="rsdangan" value="1"<%if rs("rsdangan")=1 then response.write "checked" end if %>>
          人事档案</td>
        <td colspan="2"><input type="checkbox" name="rsadd" value="1"<%if rs("rsadd")=1 then response.write "checked" end if %>>
          增加员工资料</td>
        <td colspan="2"><input type="checkbox" name="rsdel" value="1"<%if rs("rsdel")=1 then response.write "checked" end if %>>
          删除员工资料</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="rstongxue" value="1"<%if rs("rstongxue")=1 then response.write "checked" end if %>>
          员工通讯录</td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="6" class="table_southidc">报表中心 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="baobiaoxs" value="1"<%if rs("baobiaoxs")=1 then response.write "checked" end if %>>
          销售报表</td>
        <td colspan="2"><input type="checkbox" name="baobiaoruku" value="1"<%if rs("baobiaoruku")=1 then response.write "checked" end if %>>
          进货报表</td>
        <td colspan="2"><input type="checkbox" name="baobiaokehu" value="1"<%if rs("baobiaokehu")=1 then response.write "checked" end if %>>
          客户报表</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="baobiaotuxing" value="1"<%if rs("baobiaotuxing")=1 then response.write "checked" end if %>>
          图形报表</td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="6" class="table_southidc"><p>合同管理 :</p>        </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="xmsc" value="1"<%if rs("xmsc")=1 then response.write "checked" end if %>>
          合同查询</td>
        <td colspan="2"><input type="checkbox" name="xmpizhun" value="1"<%if rs("xmpizhun")=1 then response.write "checked" end if %>>
          合同维护</td>
        <td colspan="2"><input type="checkbox" name="xmup" value="1"<%if rs("xmup")=1 then response.write "checked" end if %>>          
        收款查询</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="xmjianyi" value="1"<%if rs("xmjianyi")=1 then response.write "checked" end if %>>
          </td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="6" class="table_southidc">系统管理 : </td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2"><input type="checkbox" name="xtfenpei" value="1"<%if rs("xtfenpei")=1 then response.write "checked" end if %>>
          权限分配</td>
        <td colspan="2"><input type="checkbox" name="xthelp" value="1"<%if rs("xthelp")=1 then response.write "checked" end if %>>
          数据备份</td>
        <td colspan="2"><input type="checkbox" name="xtyijian" value="1"<%if rs("xtyijian")=1 then response.write "checked" end if %>>
          数据清空</td>
      </tr>
      <tr class="tr_southidc">
        <td height="22" colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr class="tr_southidc">
        <td width="44">&nbsp;</td>
        <td width="120"><div align="right">
          <input type="submit" name="Submit" value=" 提 交 ">
        </div></td>
        <td width="49">&nbsp;</td>
        <td width="95">&nbsp;</td>
        <td width="58"><input type="reset" name="Submit2" value=" 重 置 "></td>
        <td width="83">&nbsp;</td>
      </tr>
    </table>
  </div>
</form>

<%
else
 response.write "出错!请联系 管理员解决["&id&"]"
end if
rs.close
set rs=nothing
call endconn()
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -